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_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 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.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 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.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3637 class wxGraphicsRenderer
;
3638 class wxGraphicsMatrix
;
3641 class wxGraphicsObject
: public wxObject
3644 wxGraphicsObject() {}
3645 wxGraphicsObject( wxGraphicsRenderer
* ) {
3646 PyErr_SetString(PyExc_NotImplementedError
,
3647 "wx.GraphicsObject is not available on this platform.");
3649 wxGraphicsObject( const wxGraphicsObject
& ) {}
3650 virtual ~wxGraphicsObject() {}
3651 bool IsNull() const { return false; }
3652 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3657 class wxGraphicsPen
: public wxGraphicsObject
3661 virtual ~wxGraphicsPen() {}
3663 wxGraphicsPen wxNullGraphicsPen
;
3667 class wxGraphicsBrush
: public wxGraphicsObject
3670 wxGraphicsBrush() {}
3671 virtual ~wxGraphicsBrush() {}
3673 wxGraphicsBrush wxNullGraphicsBrush
;
3677 class wxGraphicsFont
: public wxGraphicsObject
3681 virtual ~wxGraphicsFont() {}
3683 wxGraphicsFont wxNullGraphicsFont
;
3687 class wxGraphicsPath
: public wxGraphicsObject
3690 wxGraphicsPath() { }
3691 wxGraphicsPath(wxGraphicsRenderer
* ) {
3692 PyErr_SetString(PyExc_NotImplementedError
,
3693 "wx.GraphicsPath is not available on this platform.");
3695 virtual ~wxGraphicsPath() {}
3697 void MoveToPoint( wxDouble
, wxDouble
) {}
3698 void MoveToPoint( const wxPoint2DDouble
& ) {}
3699 void AddLineToPoint( wxDouble
, wxDouble
) {}
3700 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3701 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3702 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3703 void AddPath( const wxGraphicsPath
& ) {}
3704 void CloseSubpath() {}
3705 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3706 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3707 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3710 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void * GetNativePath() const { return NULL
; }
3718 void UnGetNativePath(void *) const {}
3719 void Transform( const wxGraphicsMatrix
& ) {}
3720 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3721 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3723 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3724 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3726 wxGraphicsPath wxNullGraphicsPath
;
3729 class wxGraphicsMatrix
: public wxGraphicsObject
3732 wxGraphicsMatrix() { }
3733 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3734 PyErr_SetString(PyExc_NotImplementedError
,
3735 "wx.GraphicsMatrix is not available on this platform.");
3737 virtual ~wxGraphicsMatrix() {}
3738 virtual void Concat( const wxGraphicsMatrix
& ) {}
3739 virtual void Copy( const wxGraphicsMatrix
& ) {}
3740 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3741 wxDouble
, wxDouble
) {}
3742 virtual void Invert() {}
3743 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3744 virtual bool IsIdentity() const { return false; }
3745 virtual void Translate( wxDouble
, wxDouble
) {}
3746 virtual void Scale( wxDouble
, wxDouble
) {}
3747 virtual void Rotate( wxDouble
) {}
3748 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3749 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3750 virtual void * GetNativeMatrix() const { return NULL
; }
3752 wxGraphicsMatrix wxNullGraphicsMatrix
;
3755 class wxGraphicsContext
: public wxGraphicsObject
3759 wxGraphicsContext(wxGraphicsRenderer
* ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3764 virtual ~wxGraphicsContext() {}
3766 static wxGraphicsContext
* Create() {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3771 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3777 static wxGraphicsContext
* CreateFromNative( void * ) {
3778 PyErr_SetString(PyExc_NotImplementedError
,
3779 "wx.GraphicsContext is not available on this platform.");
3783 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3784 PyErr_SetString(PyExc_NotImplementedError
,
3785 "wx.GraphicsContext is not available on this platform.");
3789 static wxGraphicsContext
* Create( wxWindow
* ) {
3790 PyErr_SetString(PyExc_NotImplementedError
,
3791 "wx.GraphicsContext is not available on this platform.");
3795 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3797 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3799 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3801 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3802 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3804 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3805 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3806 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3810 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3811 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3813 virtual void PushState() {}
3814 virtual void PopState() {}
3815 virtual void Clip( const wxRegion
& ) {}
3816 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3817 virtual void ResetClip() {}
3818 virtual void * GetNativeContext() { return NULL
; }
3819 virtual void Translate( wxDouble
, wxDouble
) {}
3820 virtual void Scale( wxDouble
, wxDouble
) {}
3821 virtual void Rotate( wxDouble
) {}
3822 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3823 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3824 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3826 virtual void SetPen( const wxGraphicsPen
& ) {}
3827 void SetPen( const wxPen
& ) {}
3829 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3830 void SetBrush( const wxBrush
& ) {}
3832 virtual void SetFont( const wxGraphicsFont
& ) {}
3833 void SetFont( const wxFont
&, const wxColour
& ) {}
3835 virtual void StrokePath( const wxGraphicsPath
& ) {}
3836 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3837 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3839 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3840 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3842 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3843 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3844 wxDouble
*, wxDouble
* ) const {}
3845 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3847 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3848 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3850 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3851 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3852 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3853 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3854 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3856 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual bool ShouldOffset() const { return false; }
3862 class wxGraphicsRenderer
: public wxObject
3865 wxGraphicsRenderer() {
3866 PyErr_SetString(PyExc_NotImplementedError
,
3867 "wx.GraphicsRenderer is not available on this platform.");
3870 virtual ~wxGraphicsRenderer() {}
3872 static wxGraphicsRenderer
* GetDefaultRenderer() {
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wx.GraphicsRenderer is not available on this platform.");
3878 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3879 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3880 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3881 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3882 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3884 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3886 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3887 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3889 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3890 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3891 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3892 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3893 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3894 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3900 class wxGCDC
: public wxWindowDC
3903 wxGCDC(const wxWindowDC
&) {
3904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3905 PyErr_SetString(PyExc_NotImplementedError
,
3906 "wxGCDC is not available on this platform.");
3907 wxPyEndBlockThreads(blocked
);
3910 wxGCDC(const wxWindow
*) {
3911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3912 PyErr_SetString(PyExc_NotImplementedError
,
3913 "wxGCDC is not available on this platform.");
3914 wxPyEndBlockThreads(blocked
);
3918 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3919 PyErr_SetString(PyExc_NotImplementedError
,
3920 "wxGCDC is not available on this platform.");
3921 wxPyEndBlockThreads(blocked
);
3924 virtual ~wxGCDC() {}
3926 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3927 void SetGraphicsContext( wxGraphicsContext
* ) {}
3932 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3933 if ( !backgroundBrush
.IsNull() )
3934 self
->DrawText(str
, x
, y
, backgroundBrush
);
3936 self
->DrawText(str
, x
, y
);
3938 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3939 if ( !backgroundBrush
.IsNull() )
3940 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3942 self
->DrawText(str
, x
, y
, angle
);
3944 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3945 wxDouble width
= 0.0,
3947 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3948 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3949 PyObject
* rv
= PyTuple_New(2);
3950 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3951 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3954 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3955 wxArrayDouble widths
;
3956 self
->GetPartialTextExtents(text
, widths
);
3959 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3960 size_t c1
, c2
, count
;
3961 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3962 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3964 if ( beginP
!= NULL
&& endP
!= NULL
)
3966 count
= wxMin(c1
, c2
);
3967 self
->StrokeLines(count
, beginP
, endP
);
3973 #include "wx/dcgraph.h"
3976 #include <wx/overlay.h>
3980 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3981 self
->AddColour(name
, wxColour(red
, green
, blue
));
3984 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3985 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3986 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3987 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3990 #include <wx/effects.h>
3993 #include "wx/renderer.h"
3996 SWIGINTERNINLINE PyObject
*
3997 SWIG_From_bool (bool value
)
3999 return PyBool_FromLong(value
? 1 : 0);
4003 #include "wx/wxPython/pseudodc.h"
4005 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4007 self
->GetIdBounds(id
, rect
);
4013 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4014 PyObject
*resultobj
= 0;
4015 wxGDIObject
*result
= 0 ;
4017 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4019 if (!wxPyCheckForApp()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (wxGDIObject
*)new wxGDIObject();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4032 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 PyObject
*resultobj
= 0;
4034 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4037 PyObject
*swig_obj
[1] ;
4039 if (!args
) SWIG_fail
;
4041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4042 if (!SWIG_IsOK(res1
)) {
4043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4045 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_Py_Void();
4060 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4061 PyObject
*resultobj
= 0;
4062 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4066 PyObject
*swig_obj
[1] ;
4068 if (!args
) SWIG_fail
;
4070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4071 if (!SWIG_IsOK(res1
)) {
4072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4074 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (bool)(arg1
)->IsNull();
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4090 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4093 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4094 return SWIG_Py_Void();
4097 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 return SWIG_Python_InitShadowInstance(args
);
4101 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= 0;
4103 byte arg1
= (byte
) 0 ;
4104 byte arg2
= (byte
) 0 ;
4105 byte arg3
= (byte
) 0 ;
4106 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4107 wxColour
*result
= 0 ;
4108 unsigned char val1
;
4110 unsigned char val2
;
4112 unsigned char val3
;
4114 unsigned char val4
;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4118 PyObject
* obj2
= 0 ;
4119 PyObject
* obj3
= 0 ;
4120 char * kwnames
[] = {
4121 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4126 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4127 if (!SWIG_IsOK(ecode1
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4130 arg1
= static_cast< byte
>(val1
);
4133 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4134 if (!SWIG_IsOK(ecode2
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4137 arg2
= static_cast< byte
>(val2
);
4140 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4141 if (!SWIG_IsOK(ecode3
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4144 arg3
= static_cast< byte
>(val3
);
4147 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4148 if (!SWIG_IsOK(ecode4
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4151 arg4
= static_cast< byte
>(val4
);
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4166 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
= 0;
4168 wxString
*arg1
= 0 ;
4169 wxColour
*result
= 0 ;
4170 bool temp1
= false ;
4171 PyObject
* obj0
= 0 ;
4172 char * kwnames
[] = {
4173 (char *) "colorName", NULL
4176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4178 arg1
= wxString_in_helper(obj0
);
4179 if (arg1
== NULL
) SWIG_fail
;
4183 if (!wxPyCheckForApp()) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4204 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
= 0;
4206 unsigned long arg1
;
4207 wxColour
*result
= 0 ;
4208 unsigned long val1
;
4210 PyObject
* obj0
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "colRGB", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4216 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4217 if (!SWIG_IsOK(ecode1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4220 arg1
= static_cast< unsigned long >(val1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (wxColour
*)new wxColour(arg1
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4234 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4235 PyObject
*resultobj
= 0;
4236 wxColour
*arg1
= (wxColour
*) 0 ;
4239 PyObject
*swig_obj
[1] ;
4241 if (!args
) SWIG_fail
;
4243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4244 if (!SWIG_IsOK(res1
)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4247 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4262 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4263 PyObject
*resultobj
= 0;
4264 wxColour
*arg1
= (wxColour
*) 0 ;
4268 PyObject
*swig_obj
[1] ;
4270 if (!args
) SWIG_fail
;
4272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4273 if (!SWIG_IsOK(res1
)) {
4274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4276 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (byte
)(arg1
)->Red();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4290 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 PyObject
*resultobj
= 0;
4292 wxColour
*arg1
= (wxColour
*) 0 ;
4296 PyObject
*swig_obj
[1] ;
4298 if (!args
) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4304 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (byte
)(arg1
)->Green();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4318 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 PyObject
*resultobj
= 0;
4320 wxColour
*arg1
= (wxColour
*) 0 ;
4324 PyObject
*swig_obj
[1] ;
4326 if (!args
) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4332 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (byte
)(arg1
)->Blue();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4346 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4347 PyObject
*resultobj
= 0;
4348 wxColour
*arg1
= (wxColour
*) 0 ;
4352 PyObject
*swig_obj
[1] ;
4354 if (!args
) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4360 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (byte
)(arg1
)->Alpha();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4374 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4375 PyObject
*resultobj
= 0;
4376 wxColour
*arg1
= (wxColour
*) 0 ;
4380 PyObject
*swig_obj
[1] ;
4382 if (!args
) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4388 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)(arg1
)->IsOk();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4404 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
= 0;
4406 wxColour
*arg1
= (wxColour
*) 0 ;
4410 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4413 unsigned char val2
;
4415 unsigned char val3
;
4417 unsigned char val4
;
4419 unsigned char val5
;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 PyObject
* obj2
= 0 ;
4424 PyObject
* obj3
= 0 ;
4425 PyObject
* obj4
= 0 ;
4426 char * kwnames
[] = {
4427 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4432 if (!SWIG_IsOK(res1
)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4435 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4436 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4437 if (!SWIG_IsOK(ecode2
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4440 arg2
= static_cast< byte
>(val2
);
4441 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4442 if (!SWIG_IsOK(ecode3
)) {
4443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4445 arg3
= static_cast< byte
>(val3
);
4446 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4447 if (!SWIG_IsOK(ecode4
)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4450 arg4
= static_cast< byte
>(val4
);
4452 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4453 if (!SWIG_IsOK(ecode5
)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4456 arg5
= static_cast< byte
>(val5
);
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_Py_Void();
4471 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxColour
*arg1
= (wxColour
*) 0 ;
4474 unsigned long arg2
;
4477 unsigned long val2
;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 char * kwnames
[] = {
4482 (char *) "self",(char *) "colRGB", NULL
4485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4487 if (!SWIG_IsOK(res1
)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4490 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4491 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4492 if (!SWIG_IsOK(ecode2
)) {
4493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4495 arg2
= static_cast< unsigned long >(val2
);
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_Py_Void();
4509 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
= 0;
4511 wxColour
*arg1
= (wxColour
*) 0 ;
4512 wxString
*arg2
= 0 ;
4515 bool temp2
= false ;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4518 char * kwnames
[] = {
4519 (char *) "self",(char *) "colourName", NULL
4522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4524 if (!SWIG_IsOK(res1
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4527 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4529 arg2
= wxString_in_helper(obj1
);
4530 if (arg2
== NULL
) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 (arg1
)->Set((wxString
const &)*arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_Py_Void();
4554 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
= 0;
4556 wxColour
*arg1
= (wxColour
*) 0 ;
4557 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4565 char * kwnames
[] = {
4566 (char *) "self",(char *) "flags", NULL
4569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4571 if (!SWIG_IsOK(res1
)) {
4572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4574 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4577 if (!SWIG_IsOK(ecode2
)) {
4578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4580 arg2
= static_cast< long >(val2
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4601 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4602 PyObject
*resultobj
= 0;
4603 wxColour
*arg1
= (wxColour
*) 0 ;
4607 PyObject
*swig_obj
[1] ;
4609 if (!args
) SWIG_fail
;
4611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4612 if (!SWIG_IsOK(res1
)) {
4613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4615 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_From_long(static_cast< long >(result
));
4629 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxColour
*arg1
= (wxColour
*) 0 ;
4632 PyObject
*arg2
= (PyObject
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "self",(char *) "other", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4647 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4650 result
= (bool)wxColour___eq__(arg1
,arg2
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4664 wxColour
*arg1
= (wxColour
*) 0 ;
4665 PyObject
*arg2
= (PyObject
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 char * kwnames
[] = {
4672 (char *) "self",(char *) "other", NULL
4675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4677 if (!SWIG_IsOK(res1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4680 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4683 result
= (bool)wxColour___ne__(arg1
,arg2
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4695 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
= 0;
4697 wxColour
*arg1
= (wxColour
*) 0 ;
4698 bool arg2
= (bool) false ;
4699 PyObject
*result
= 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 char * kwnames
[] = {
4707 (char *) "self",(char *) "includeAlpha", NULL
4710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4715 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4717 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4718 if (!SWIG_IsOK(ecode2
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4721 arg2
= static_cast< bool >(val2
);
4724 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4734 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 PyObject
*resultobj
= 0;
4736 wxColour
*arg1
= (wxColour
*) 0 ;
4737 unsigned long result
;
4740 PyObject
*swig_obj
[1] ;
4742 if (!args
) SWIG_fail
;
4744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4745 if (!SWIG_IsOK(res1
)) {
4746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4748 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4750 result
= (unsigned long)wxColour_GetRGB(arg1
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4760 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4763 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4764 return SWIG_Py_Void();
4767 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4768 return SWIG_Python_InitShadowInstance(args
);
4771 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
= 0;
4774 unsigned char *arg2
= (unsigned char *) 0 ;
4775 unsigned char *arg3
= (unsigned char *) 0 ;
4776 unsigned char *arg4
= (unsigned char *) 0 ;
4777 wxPalette
*result
= 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4789 PyObject
* obj3
= 0 ;
4790 char * kwnames
[] = {
4791 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4795 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4796 if (!SWIG_IsOK(ecode1
)) {
4797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4799 arg1
= static_cast< int >(val1
);
4800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4801 if (!SWIG_IsOK(res2
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4804 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4805 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4806 if (!SWIG_IsOK(res3
)) {
4807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4809 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4810 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4811 if (!SWIG_IsOK(res4
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4814 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4816 if (!wxPyCheckForApp()) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4829 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4830 PyObject
*resultobj
= 0;
4831 wxPalette
*arg1
= (wxPalette
*) 0 ;
4834 PyObject
*swig_obj
[1] ;
4836 if (!args
) SWIG_fail
;
4838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4839 if (!SWIG_IsOK(res1
)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4842 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_Py_Void();
4857 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 wxPalette
*arg1
= (wxPalette
*) 0 ;
4866 unsigned char val2
;
4868 unsigned char val3
;
4870 unsigned char val4
;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 PyObject
* obj2
= 0 ;
4875 PyObject
* obj3
= 0 ;
4876 char * kwnames
[] = {
4877 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4885 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4886 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4887 if (!SWIG_IsOK(ecode2
)) {
4888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4890 arg2
= static_cast< byte
>(val2
);
4891 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4892 if (!SWIG_IsOK(ecode3
)) {
4893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4895 arg3
= static_cast< byte
>(val3
);
4896 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4897 if (!SWIG_IsOK(ecode4
)) {
4898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4900 arg4
= static_cast< byte
>(val4
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_From_int(static_cast< int >(result
));
4914 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
= 0;
4916 wxPalette
*arg1
= (wxPalette
*) 0 ;
4918 byte
*arg3
= (byte
*) 0 ;
4919 byte
*arg4
= (byte
*) 0 ;
4920 byte
*arg5
= (byte
*) 0 ;
4927 int res3
= SWIG_TMPOBJ
;
4929 int res4
= SWIG_TMPOBJ
;
4931 int res5
= SWIG_TMPOBJ
;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4934 char * kwnames
[] = {
4935 (char *) "self",(char *) "pixel", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4946 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4951 arg2
= static_cast< int >(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4961 if (SWIG_IsTmpObj(res3
)) {
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4964 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4967 if (SWIG_IsTmpObj(res4
)) {
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4970 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4973 if (SWIG_IsTmpObj(res5
)) {
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4976 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4985 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4987 wxPalette
*arg1
= (wxPalette
*) 0 ;
4991 PyObject
*swig_obj
[1] ;
4993 if (!args
) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4999 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= SWIG_From_int(static_cast< int >(result
));
5013 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5014 PyObject
*resultobj
= 0;
5015 wxPalette
*arg1
= (wxPalette
*) 0 ;
5019 PyObject
*swig_obj
[1] ;
5021 if (!args
) SWIG_fail
;
5023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5024 if (!SWIG_IsOK(res1
)) {
5025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5027 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (bool)(arg1
)->IsOk();
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5043 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5046 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5047 return SWIG_Py_Void();
5050 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 return SWIG_Python_InitShadowInstance(args
);
5054 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
= 0;
5056 wxColour
*arg1
= 0 ;
5057 int arg2
= (int) 1 ;
5058 int arg3
= (int) wxSOLID
;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5067 PyObject
* obj2
= 0 ;
5068 char * kwnames
[] = {
5069 (char *) "colour",(char *) "width",(char *) "style", NULL
5072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5075 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5079 if (!SWIG_IsOK(ecode2
)) {
5080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5082 arg2
= static_cast< int >(val2
);
5085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5086 if (!SWIG_IsOK(ecode3
)) {
5087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5089 arg3
= static_cast< int >(val3
);
5092 if (!wxPyCheckForApp()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5105 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5107 wxPen
*arg1
= (wxPen
*) 0 ;
5110 PyObject
*swig_obj
[1] ;
5112 if (!args
) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5118 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= SWIG_Py_Void();
5133 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5134 PyObject
*resultobj
= 0;
5135 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
*swig_obj
[1] ;
5141 if (!args
) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5147 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (int)(arg1
)->GetCap();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_From_int(static_cast< int >(result
));
5161 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5162 PyObject
*resultobj
= 0;
5163 wxPen
*arg1
= (wxPen
*) 0 ;
5167 PyObject
*swig_obj
[1] ;
5169 if (!args
) SWIG_fail
;
5171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5172 if (!SWIG_IsOK(res1
)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5175 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (arg1
)->GetColour();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5189 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5190 PyObject
*resultobj
= 0;
5191 wxPen
*arg1
= (wxPen
*) 0 ;
5195 PyObject
*swig_obj
[1] ;
5197 if (!args
) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5203 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (int)(arg1
)->GetJoin();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_From_int(static_cast< int >(result
));
5217 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5218 PyObject
*resultobj
= 0;
5219 wxPen
*arg1
= (wxPen
*) 0 ;
5223 PyObject
*swig_obj
[1] ;
5225 if (!args
) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5231 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (int)(arg1
)->GetStyle();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_From_int(static_cast< int >(result
));
5245 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5251 PyObject
*swig_obj
[1] ;
5253 if (!args
) SWIG_fail
;
5255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5256 if (!SWIG_IsOK(res1
)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5259 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (int)(arg1
)->GetWidth();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_From_int(static_cast< int >(result
));
5273 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 PyObject
*resultobj
= 0;
5275 wxPen
*arg1
= (wxPen
*) 0 ;
5279 PyObject
*swig_obj
[1] ;
5281 if (!args
) SWIG_fail
;
5283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5284 if (!SWIG_IsOK(res1
)) {
5285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5287 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)(arg1
)->IsOk();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5303 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxPen
*arg1
= (wxPen
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 char * kwnames
[] = {
5314 (char *) "self",(char *) "cap_style", NULL
5317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5324 if (!SWIG_IsOK(ecode2
)) {
5325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5327 arg2
= static_cast< int >(val2
);
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetCap(arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= SWIG_Py_Void();
5341 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
= 0;
5343 wxPen
*arg1
= (wxPen
*) 0 ;
5344 wxColour
*arg2
= 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 char * kwnames
[] = {
5351 (char *) "self",(char *) "colour", NULL
5354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5356 if (!SWIG_IsOK(res1
)) {
5357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5359 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->SetColour(*arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= SWIG_Py_Void();
5377 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
= 0;
5379 wxPen
*arg1
= (wxPen
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 char * kwnames
[] = {
5388 (char *) "self",(char *) "join_style", NULL
5391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5396 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5398 if (!SWIG_IsOK(ecode2
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5401 arg2
= static_cast< int >(val2
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetJoin(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_Py_Void();
5415 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
= 0;
5417 wxPen
*arg1
= (wxPen
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "self",(char *) "style", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5436 if (!SWIG_IsOK(ecode2
)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5439 arg2
= static_cast< int >(val2
);
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 (arg1
)->SetStyle(arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_Py_Void();
5453 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
= 0;
5455 wxPen
*arg1
= (wxPen
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 char * kwnames
[] = {
5464 (char *) "self",(char *) "width", NULL
5467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5469 if (!SWIG_IsOK(res1
)) {
5470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5472 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5474 if (!SWIG_IsOK(ecode2
)) {
5475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5477 arg2
= static_cast< int >(val2
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 (arg1
)->SetWidth(arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_Py_Void();
5491 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
= 0;
5493 wxPen
*arg1
= (wxPen
*) 0 ;
5495 wxDash
*arg3
= (wxDash
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 char * kwnames
[] = {
5501 (char *) "self",(char *) "dashes", NULL
5504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5509 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5511 arg2
= PyList_Size(obj1
);
5512 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5513 if (arg3
== NULL
) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->SetDashes(arg2
,arg3
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= SWIG_Py_Void();
5523 if (arg3
) delete [] arg3
;
5528 if (arg3
) delete [] arg3
;
5534 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5535 PyObject
*resultobj
= 0;
5536 wxPen
*arg1
= (wxPen
*) 0 ;
5537 PyObject
*result
= 0 ;
5540 PyObject
*swig_obj
[1] ;
5542 if (!args
) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5562 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxPen
*arg1
= (wxPen
*) 0 ;
5565 PyObject
*arg2
= (PyObject
*) 0 ;
5566 PyObject
*arg3
= (PyObject
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 PyObject
* obj2
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5581 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxPen__SetDashes(arg1
,arg2
,arg3
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_Py_Void();
5597 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5598 PyObject
*resultobj
= 0;
5599 wxPen
*arg1
= (wxPen
*) 0 ;
5603 PyObject
*swig_obj
[1] ;
5605 if (!args
) SWIG_fail
;
5607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5608 if (!SWIG_IsOK(res1
)) {
5609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5611 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_From_int(static_cast< int >(result
));
5625 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxPen
*arg1
= (wxPen
*) 0 ;
5628 wxPen
*arg2
= (wxPen
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 char * kwnames
[] = {
5637 (char *) "self",(char *) "other", NULL
5640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5642 if (!SWIG_IsOK(res1
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5645 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5647 if (!SWIG_IsOK(res2
)) {
5648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5650 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5666 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxPen
*arg1
= (wxPen
*) 0 ;
5669 wxPen
*arg2
= (wxPen
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 char * kwnames
[] = {
5678 (char *) "self",(char *) "other", NULL
5681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5683 if (!SWIG_IsOK(res1
)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5686 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5688 if (!SWIG_IsOK(res2
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5691 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5710 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5711 return SWIG_Py_Void();
5714 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 return SWIG_Python_InitShadowInstance(args
);
5718 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 wxColour
*arg1
= 0 ;
5721 int arg2
= (int) wxSOLID
;
5722 wxBrush
*result
= 0 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5728 char * kwnames
[] = {
5729 (char *) "colour",(char *) "style", NULL
5732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5735 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5739 if (!SWIG_IsOK(ecode2
)) {
5740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5742 arg2
= static_cast< int >(val2
);
5745 if (!wxPyCheckForApp()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5758 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= 0;
5760 wxBitmap
*arg1
= 0 ;
5761 wxBrush
*result
= 0 ;
5764 PyObject
* obj0
= 0 ;
5765 char * kwnames
[] = {
5766 (char *) "stippleBitmap", NULL
5769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5770 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5771 if (!SWIG_IsOK(res1
)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5777 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5779 if (!wxPyCheckForApp()) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5792 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5793 PyObject
*resultobj
= 0;
5794 wxBrush
*arg1
= (wxBrush
*) 0 ;
5797 PyObject
*swig_obj
[1] ;
5799 if (!args
) SWIG_fail
;
5801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5802 if (!SWIG_IsOK(res1
)) {
5803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5805 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= SWIG_Py_Void();
5820 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
= 0;
5822 wxBrush
*arg1
= (wxBrush
*) 0 ;
5823 wxColour
*arg2
= 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "col", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5838 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetColour((wxColour
const &)*arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_Py_Void();
5856 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
= 0;
5858 wxBrush
*arg1
= (wxBrush
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 char * kwnames
[] = {
5867 (char *) "self",(char *) "style", NULL
5870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5872 if (!SWIG_IsOK(res1
)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5875 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5877 if (!SWIG_IsOK(ecode2
)) {
5878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5880 arg2
= static_cast< int >(val2
);
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 (arg1
)->SetStyle(arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_Py_Void();
5894 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
= 0;
5896 wxBrush
*arg1
= (wxBrush
*) 0 ;
5897 wxBitmap
*arg2
= 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5904 char * kwnames
[] = {
5905 (char *) "self",(char *) "stipple", NULL
5908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5913 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5915 if (!SWIG_IsOK(res2
)) {
5916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5921 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= SWIG_Py_Void();
5935 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5936 PyObject
*resultobj
= 0;
5937 wxBrush
*arg1
= (wxBrush
*) 0 ;
5941 PyObject
*swig_obj
[1] ;
5943 if (!args
) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5949 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= ((wxBrush
const *)arg1
)->GetColour();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5963 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5964 PyObject
*resultobj
= 0;
5965 wxBrush
*arg1
= (wxBrush
*) 0 ;
5969 PyObject
*swig_obj
[1] ;
5971 if (!args
) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5977 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_From_int(static_cast< int >(result
));
5991 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5992 PyObject
*resultobj
= 0;
5993 wxBrush
*arg1
= (wxBrush
*) 0 ;
5994 wxBitmap
*result
= 0 ;
5997 PyObject
*swig_obj
[1] ;
5999 if (!args
) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6005 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6019 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxBrush
*arg1
= (wxBrush
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6033 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 PyObject
*resultobj
= 0;
6051 wxBrush
*arg1
= (wxBrush
*) 0 ;
6055 PyObject
*swig_obj
[1] ;
6057 if (!args
) SWIG_fail
;
6059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6060 if (!SWIG_IsOK(res1
)) {
6061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6063 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (bool)(arg1
)->IsOk();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6079 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6082 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6083 return SWIG_Py_Void();
6086 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6087 return SWIG_Python_InitShadowInstance(args
);
6090 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
= 0;
6092 wxString
*arg1
= 0 ;
6093 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6094 wxBitmap
*result
= 0 ;
6095 bool temp1
= false ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 char * kwnames
[] = {
6101 (char *) "name",(char *) "type", NULL
6104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6106 arg1
= wxString_in_helper(obj0
);
6107 if (arg1
== NULL
) SWIG_fail
;
6111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6112 if (!SWIG_IsOK(ecode2
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6115 arg2
= static_cast< wxBitmapType
>(val2
);
6118 if (!wxPyCheckForApp()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6139 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6140 PyObject
*resultobj
= 0;
6141 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6144 PyObject
*swig_obj
[1] ;
6146 if (!args
) SWIG_fail
;
6148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6149 if (!SWIG_IsOK(res1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6152 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_Py_Void();
6165 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= 0;
6169 int arg3
= (int) -1 ;
6170 wxBitmap
*result
= 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 PyObject
* obj2
= 0 ;
6180 char * kwnames
[] = {
6181 (char *) "width",(char *) "height",(char *) "depth", NULL
6184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6186 if (!SWIG_IsOK(ecode1
)) {
6187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6189 arg1
= static_cast< int >(val1
);
6190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6191 if (!SWIG_IsOK(ecode2
)) {
6192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6194 arg2
= static_cast< int >(val2
);
6196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6197 if (!SWIG_IsOK(ecode3
)) {
6198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6200 arg3
= static_cast< int >(val3
);
6203 if (!wxPyCheckForApp()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6216 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= 0;
6219 wxBitmap
*result
= 0 ;
6222 PyObject
* obj0
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "icon", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6235 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6237 if (!wxPyCheckForApp()) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6250 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
= 0;
6253 int arg2
= (int) -1 ;
6254 wxBitmap
*result
= 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 char * kwnames
[] = {
6262 (char *) "image",(char *) "depth", NULL
6265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6266 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6267 if (!SWIG_IsOK(res1
)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6273 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6276 if (!SWIG_IsOK(ecode2
)) {
6277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6279 arg2
= static_cast< int >(val2
);
6282 if (!wxPyCheckForApp()) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6295 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= 0;
6297 PyObject
*arg1
= (PyObject
*) 0 ;
6298 wxBitmap
*result
= 0 ;
6299 PyObject
* obj0
= 0 ;
6300 char * kwnames
[] = {
6301 (char *) "listOfStrings", NULL
6304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6307 if (!wxPyCheckForApp()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6320 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6322 PyObject
*arg1
= (PyObject
*) 0 ;
6325 int arg4
= (int) 1 ;
6326 wxBitmap
*result
= 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 PyObject
* obj2
= 0 ;
6336 PyObject
* obj3
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6344 if (!SWIG_IsOK(ecode2
)) {
6345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6347 arg2
= static_cast< int >(val2
);
6348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6349 if (!SWIG_IsOK(ecode3
)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6352 arg3
= static_cast< int >(val3
);
6354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6355 if (!SWIG_IsOK(ecode4
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6358 arg4
= static_cast< int >(val4
);
6361 if (!wxPyCheckForApp()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6374 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6375 PyObject
*resultobj
= 0;
6376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6380 PyObject
*swig_obj
[1] ;
6382 if (!args
) SWIG_fail
;
6384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6385 if (!SWIG_IsOK(res1
)) {
6386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6388 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6390 result
= (bool)(arg1
)->IsOk();
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6402 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6403 PyObject
*resultobj
= 0;
6404 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6408 PyObject
*swig_obj
[1] ;
6410 if (!args
) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6416 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6418 result
= (int)(arg1
)->GetWidth();
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_From_int(static_cast< int >(result
));
6428 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6429 PyObject
*resultobj
= 0;
6430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6434 PyObject
*swig_obj
[1] ;
6436 if (!args
) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6444 result
= (int)(arg1
)->GetHeight();
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_From_int(static_cast< int >(result
));
6454 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6468 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6470 result
= (int)(arg1
)->GetDepth();
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_From_int(static_cast< int >(result
));
6480 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 PyObject
*resultobj
= 0;
6482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6486 PyObject
*swig_obj
[1] ;
6488 if (!args
) SWIG_fail
;
6490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6491 if (!SWIG_IsOK(res1
)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6494 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6496 result
= wxBitmap_GetSize(arg1
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6506 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6507 PyObject
*resultobj
= 0;
6508 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6509 SwigValueWrapper
<wxImage
> result
;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6522 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6532 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6533 PyObject
*resultobj
= 0;
6534 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6535 wxMask
*result
= 0 ;
6538 PyObject
*swig_obj
[1] ;
6540 if (!args
) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6546 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6548 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6558 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
= 0;
6560 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6561 wxMask
*arg2
= (wxMask
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 char * kwnames
[] = {
6568 (char *) "self",(char *) "mask", NULL
6571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6576 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6577 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6578 if (!SWIG_IsOK(res2
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6582 (arg1
)->SetMask(arg2
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_Py_Void();
6592 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
= 0;
6594 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6595 wxColour
*arg2
= 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6601 char * kwnames
[] = {
6602 (char *) "self",(char *) "colour", NULL
6605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6610 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6616 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= SWIG_Py_Void();
6626 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
= 0;
6628 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6630 SwigValueWrapper
<wxBitmap
> result
;
6634 PyObject
* obj0
= 0 ;
6635 PyObject
* obj1
= 0 ;
6636 char * kwnames
[] = {
6637 (char *) "self",(char *) "rect", NULL
6640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6642 if (!SWIG_IsOK(res1
)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6645 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6651 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6661 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
= 0;
6663 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6664 wxString
*arg2
= 0 ;
6666 wxPalette
*arg4
= (wxPalette
*) NULL
;
6670 bool temp2
= false ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 PyObject
* obj2
= 0 ;
6678 PyObject
* obj3
= 0 ;
6679 char * kwnames
[] = {
6680 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6688 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6690 arg2
= wxString_in_helper(obj1
);
6691 if (arg2
== NULL
) SWIG_fail
;
6694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6695 if (!SWIG_IsOK(ecode3
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6698 arg3
= static_cast< wxBitmapType
>(val3
);
6700 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6701 if (!SWIG_IsOK(res4
)) {
6702 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6704 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6707 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6727 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
= 0;
6729 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6730 wxString
*arg2
= 0 ;
6735 bool temp2
= false ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6740 PyObject
* obj2
= 0 ;
6741 char * kwnames
[] = {
6742 (char *) "self",(char *) "name",(char *) "type", NULL
6745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6747 if (!SWIG_IsOK(res1
)) {
6748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6750 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6752 arg2
= wxString_in_helper(obj1
);
6753 if (arg2
== NULL
) SWIG_fail
;
6756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6757 if (!SWIG_IsOK(ecode3
)) {
6758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6760 arg3
= static_cast< wxBitmapType
>(val3
);
6762 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6783 PyObject
*resultobj
= 0;
6784 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6785 wxPalette
*result
= 0 ;
6788 PyObject
*swig_obj
[1] ;
6790 if (!args
) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6796 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6798 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6808 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
= 0;
6810 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6819 char * kwnames
[] = {
6820 (char *) "self",(char *) "icon", NULL
6823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6825 if (!SWIG_IsOK(res1
)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6828 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6830 if (!SWIG_IsOK(res2
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6836 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6838 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6850 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
= 0;
6852 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 char * kwnames
[] = {
6861 (char *) "self",(char *) "height", NULL
6864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6869 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6871 if (!SWIG_IsOK(ecode2
)) {
6872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6874 arg2
= static_cast< int >(val2
);
6876 (arg1
)->SetHeight(arg2
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_Py_Void();
6886 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
= 0;
6888 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 char * kwnames
[] = {
6897 (char *) "self",(char *) "width", NULL
6900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6907 if (!SWIG_IsOK(ecode2
)) {
6908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6910 arg2
= static_cast< int >(val2
);
6912 (arg1
)->SetWidth(arg2
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_Py_Void();
6922 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= 0;
6924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6931 PyObject
* obj1
= 0 ;
6932 char * kwnames
[] = {
6933 (char *) "self",(char *) "depth", NULL
6936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6941 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6943 if (!SWIG_IsOK(ecode2
)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6946 arg2
= static_cast< int >(val2
);
6948 (arg1
)->SetDepth(arg2
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_Py_Void();
6958 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
= 0;
6960 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 char * kwnames
[] = {
6968 (char *) "self",(char *) "size", NULL
6971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6973 if (!SWIG_IsOK(res1
)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6976 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6982 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_Py_Void();
6992 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
= 0;
6994 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 char * kwnames
[] = {
7003 (char *) "self",(char *) "data", NULL
7006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7008 if (!SWIG_IsOK(res1
)) {
7009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7013 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7017 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_Py_Void();
7027 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
= 0;
7029 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7037 char * kwnames
[] = {
7038 (char *) "self",(char *) "data", NULL
7041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7043 if (!SWIG_IsOK(res1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7046 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7048 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7052 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_Py_Void();
7062 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
= 0;
7064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7065 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "other", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7082 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7084 if (!SWIG_IsOK(res2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7087 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7089 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7101 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
= 0;
7103 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7104 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7112 char * kwnames
[] = {
7113 (char *) "self",(char *) "other", NULL
7116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7121 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7123 if (!SWIG_IsOK(res2
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7126 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7128 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7140 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7143 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7144 return SWIG_Py_Void();
7147 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7148 return SWIG_Python_InitShadowInstance(args
);
7151 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
= 0;
7159 wxBitmap
*result
= 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7168 PyObject
* obj2
= 0 ;
7169 PyObject
* obj3
= 0 ;
7170 char * kwnames
[] = {
7171 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7176 if (!SWIG_IsOK(ecode1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7179 arg1
= static_cast< int >(val1
);
7180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7181 if (!SWIG_IsOK(ecode2
)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7184 arg2
= static_cast< int >(val2
);
7186 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7190 if (obj3
!= Py_None
) {
7191 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7196 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7206 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7212 wxBitmap
*result
= 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 char * kwnames
[] = {
7222 (char *) "width",(char *) "height",(char *) "data", NULL
7225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7227 if (!SWIG_IsOK(ecode1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7230 arg1
= static_cast< int >(val1
);
7231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7232 if (!SWIG_IsOK(ecode2
)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7235 arg2
= static_cast< int >(val2
);
7237 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7241 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7251 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7257 wxBitmap
*result
= 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "width",(char *) "height",(char *) "data", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7272 if (!SWIG_IsOK(ecode1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7275 arg1
= static_cast< int >(val1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7286 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7296 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7297 PyObject
*resultobj
= 0;
7298 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7302 PyObject
*swig_obj
[1] ;
7304 if (!args
) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7310 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7312 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7322 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7323 PyObject
*resultobj
= 0;
7324 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7328 PyObject
*swig_obj
[1] ;
7330 if (!args
) SWIG_fail
;
7332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7333 if (!SWIG_IsOK(res1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7336 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7338 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_From_int(static_cast< int >(result
));
7348 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7349 PyObject
*resultobj
= 0;
7350 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7354 PyObject
*swig_obj
[1] ;
7356 if (!args
) SWIG_fail
;
7358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7359 if (!SWIG_IsOK(res1
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7362 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7364 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_From_int(static_cast< int >(result
));
7374 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 PyObject
*resultobj
= 0;
7376 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7380 PyObject
*swig_obj
[1] ;
7382 if (!args
) SWIG_fail
;
7384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7385 if (!SWIG_IsOK(res1
)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7388 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7390 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7400 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7401 PyObject
*resultobj
= 0;
7402 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7406 PyObject
*swig_obj
[1] ;
7408 if (!args
) SWIG_fail
;
7410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7411 if (!SWIG_IsOK(res1
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7414 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7416 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_From_int(static_cast< int >(result
));
7426 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7430 return SWIG_Py_Void();
7433 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7434 PyObject
*resultobj
= 0;
7435 wxBitmap
*arg1
= 0 ;
7436 wxNativePixelData
*result
= 0 ;
7440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7442 if (!SWIG_IsOK(res1
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7448 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7450 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7460 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7461 PyObject
*resultobj
= 0;
7462 wxBitmap
*arg1
= 0 ;
7464 wxNativePixelData
*result
= 0 ;
7469 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7477 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7480 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7483 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7493 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7494 PyObject
*resultobj
= 0;
7495 wxBitmap
*arg1
= 0 ;
7498 wxNativePixelData
*result
= 0 ;
7504 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7515 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7519 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7522 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7532 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7536 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7539 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7542 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7545 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7549 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7554 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7555 PyObject
*resultobj
= 0;
7556 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7567 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_Py_Void();
7580 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7581 PyObject
*resultobj
= 0;
7582 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7583 wxNativePixelData_Accessor result
;
7586 PyObject
*swig_obj
[1] ;
7588 if (!args
) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7594 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7596 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7606 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7611 PyObject
*swig_obj
[1] ;
7613 if (!args
) SWIG_fail
;
7615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7616 if (!SWIG_IsOK(res1
)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7619 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7632 PyObject
*resultobj
= 0;
7633 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7637 PyObject
*swig_obj
[1] ;
7639 if (!args
) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7645 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7647 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7659 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7662 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7663 return SWIG_Py_Void();
7666 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7667 return SWIG_Python_InitShadowInstance(args
);
7670 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7671 PyObject
*resultobj
= 0;
7672 wxNativePixelData
*arg1
= 0 ;
7673 wxNativePixelData_Accessor
*result
= 0 ;
7677 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7685 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7687 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7697 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7698 PyObject
*resultobj
= 0;
7699 wxBitmap
*arg1
= 0 ;
7700 wxNativePixelData
*arg2
= 0 ;
7701 wxNativePixelData_Accessor
*result
= 0 ;
7707 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7709 if (!SWIG_IsOK(res1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7715 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7716 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7717 if (!SWIG_IsOK(res2
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7723 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7725 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7735 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7736 PyObject
*resultobj
= 0;
7737 wxNativePixelData_Accessor
*result
= 0 ;
7739 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7741 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7751 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7755 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7758 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7761 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7764 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7768 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7773 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7774 PyObject
*resultobj
= 0;
7775 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7778 PyObject
*swig_obj
[1] ;
7780 if (!args
) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7786 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_Py_Void();
7799 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
= 0;
7801 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7802 wxNativePixelData
*arg2
= 0 ;
7807 PyObject
* obj0
= 0 ;
7808 PyObject
* obj1
= 0 ;
7809 char * kwnames
[] = {
7810 (char *) "self",(char *) "data", NULL
7813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7815 if (!SWIG_IsOK(res1
)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7818 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7820 if (!SWIG_IsOK(res2
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7826 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7828 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_Py_Void();
7838 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7852 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7854 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7866 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7867 PyObject
*resultobj
= 0;
7868 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7871 PyObject
*swig_obj
[1] ;
7873 if (!args
) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7879 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7881 wxNativePixelData_Accessor_nextPixel(arg1
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_Py_Void();
7891 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
= 0;
7893 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7894 wxNativePixelData
*arg2
= 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7908 PyObject
* obj3
= 0 ;
7909 char * kwnames
[] = {
7910 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7918 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7920 if (!SWIG_IsOK(res2
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7926 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7928 if (!SWIG_IsOK(ecode3
)) {
7929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7931 arg3
= static_cast< int >(val3
);
7932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7933 if (!SWIG_IsOK(ecode4
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7936 arg4
= static_cast< int >(val4
);
7938 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_Py_Void();
7948 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= 0;
7950 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7951 wxNativePixelData
*arg2
= 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 PyObject
* obj2
= 0 ;
7962 char * kwnames
[] = {
7963 (char *) "self",(char *) "data",(char *) "x", NULL
7966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7968 if (!SWIG_IsOK(res1
)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7971 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7973 if (!SWIG_IsOK(res2
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7979 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7981 if (!SWIG_IsOK(ecode3
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7984 arg3
= static_cast< int >(val3
);
7986 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_Py_Void();
7996 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
= 0;
7998 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7999 wxNativePixelData
*arg2
= 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8009 PyObject
* obj2
= 0 ;
8010 char * kwnames
[] = {
8011 (char *) "self",(char *) "data",(char *) "y", NULL
8014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8019 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8021 if (!SWIG_IsOK(res2
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8027 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8029 if (!SWIG_IsOK(ecode3
)) {
8030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8032 arg3
= static_cast< int >(val3
);
8034 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_Py_Void();
8044 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
= 0;
8046 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8047 wxNativePixelData
*arg2
= 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8061 PyObject
* obj3
= 0 ;
8062 char * kwnames
[] = {
8063 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8068 if (!SWIG_IsOK(res1
)) {
8069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8071 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8073 if (!SWIG_IsOK(res2
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8079 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8081 if (!SWIG_IsOK(ecode3
)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8084 arg3
= static_cast< int >(val3
);
8085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8086 if (!SWIG_IsOK(ecode4
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8089 arg4
= static_cast< int >(val4
);
8091 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_Py_Void();
8101 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
= 0;
8103 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8109 unsigned char val2
;
8111 unsigned char val3
;
8113 unsigned char val4
;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8117 PyObject
* obj2
= 0 ;
8118 PyObject
* obj3
= 0 ;
8119 char * kwnames
[] = {
8120 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8128 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8129 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8130 if (!SWIG_IsOK(ecode2
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8133 arg2
= static_cast< byte
>(val2
);
8134 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8135 if (!SWIG_IsOK(ecode3
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8138 arg3
= static_cast< byte
>(val3
);
8139 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8140 if (!SWIG_IsOK(ecode4
)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8143 arg4
= static_cast< byte
>(val4
);
8145 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_Py_Void();
8155 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 PyObject
*resultobj
= 0;
8157 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8158 PyObject
*result
= 0 ;
8161 PyObject
*swig_obj
[1] ;
8163 if (!args
) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8169 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8171 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8181 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8184 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8185 return SWIG_Py_Void();
8188 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8189 return SWIG_Python_InitShadowInstance(args
);
8192 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8193 PyObject
*resultobj
= 0;
8194 wxBitmap
*arg1
= 0 ;
8195 wxAlphaPixelData
*result
= 0 ;
8199 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8201 if (!SWIG_IsOK(res1
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8209 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8219 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8220 PyObject
*resultobj
= 0;
8221 wxBitmap
*arg1
= 0 ;
8223 wxAlphaPixelData
*result
= 0 ;
8228 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8239 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8242 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8252 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8253 PyObject
*resultobj
= 0;
8254 wxBitmap
*arg1
= 0 ;
8257 wxAlphaPixelData
*result
= 0 ;
8263 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8271 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8274 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8278 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8281 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8291 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8295 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8298 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8301 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8304 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8308 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8313 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8314 PyObject
*resultobj
= 0;
8315 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8318 PyObject
*swig_obj
[1] ;
8320 if (!args
) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8326 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_Py_Void();
8339 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 PyObject
*resultobj
= 0;
8341 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8342 wxAlphaPixelData_Accessor result
;
8345 PyObject
*swig_obj
[1] ;
8347 if (!args
) SWIG_fail
;
8349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8350 if (!SWIG_IsOK(res1
)) {
8351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8353 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8355 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8365 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 PyObject
*resultobj
= 0;
8367 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8370 PyObject
*swig_obj
[1] ;
8372 if (!args
) SWIG_fail
;
8374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8375 if (!SWIG_IsOK(res1
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8378 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_Py_Void();
8390 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 PyObject
*resultobj
= 0;
8392 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8404 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8406 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8418 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8422 return SWIG_Py_Void();
8425 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 return SWIG_Python_InitShadowInstance(args
);
8429 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8430 PyObject
*resultobj
= 0;
8431 wxAlphaPixelData
*arg1
= 0 ;
8432 wxAlphaPixelData_Accessor
*result
= 0 ;
8436 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8444 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8446 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8456 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8457 PyObject
*resultobj
= 0;
8458 wxBitmap
*arg1
= 0 ;
8459 wxAlphaPixelData
*arg2
= 0 ;
8460 wxAlphaPixelData_Accessor
*result
= 0 ;
8466 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8475 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8476 if (!SWIG_IsOK(res2
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8482 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8484 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8494 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8495 PyObject
*resultobj
= 0;
8496 wxAlphaPixelData_Accessor
*result
= 0 ;
8498 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8500 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8510 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8514 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8517 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8520 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8523 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8527 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8532 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8533 PyObject
*resultobj
= 0;
8534 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8537 PyObject
*swig_obj
[1] ;
8539 if (!args
) SWIG_fail
;
8541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8542 if (!SWIG_IsOK(res1
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8545 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_Py_Void();
8558 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
= 0;
8560 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8561 wxAlphaPixelData
*arg2
= 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 char * kwnames
[] = {
8569 (char *) "self",(char *) "data", NULL
8572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8577 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8579 if (!SWIG_IsOK(res2
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8585 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8587 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= SWIG_Py_Void();
8597 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8598 PyObject
*resultobj
= 0;
8599 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8603 PyObject
*swig_obj
[1] ;
8605 if (!args
) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8611 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8613 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8626 PyObject
*resultobj
= 0;
8627 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8630 PyObject
*swig_obj
[1] ;
8632 if (!args
) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8638 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8640 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_Py_Void();
8650 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
= 0;
8652 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8653 wxAlphaPixelData
*arg2
= 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 PyObject
* obj2
= 0 ;
8667 PyObject
* obj3
= 0 ;
8668 char * kwnames
[] = {
8669 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8677 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8679 if (!SWIG_IsOK(res2
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8685 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8687 if (!SWIG_IsOK(ecode3
)) {
8688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8690 arg3
= static_cast< int >(val3
);
8691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8692 if (!SWIG_IsOK(ecode4
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8695 arg4
= static_cast< int >(val4
);
8697 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= 0;
8709 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8710 wxAlphaPixelData
*arg2
= 0 ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8720 PyObject
* obj2
= 0 ;
8721 char * kwnames
[] = {
8722 (char *) "self",(char *) "data",(char *) "x", NULL
8725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8730 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8732 if (!SWIG_IsOK(res2
)) {
8733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8738 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8743 arg3
= static_cast< int >(val3
);
8745 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_Py_Void();
8755 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= 0;
8757 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8758 wxAlphaPixelData
*arg2
= 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 PyObject
* obj2
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "data",(char *) "y", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8778 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8780 if (!SWIG_IsOK(res2
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8786 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8788 if (!SWIG_IsOK(ecode3
)) {
8789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8791 arg3
= static_cast< int >(val3
);
8793 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_Py_Void();
8803 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8806 wxAlphaPixelData
*arg2
= 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8830 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8832 if (!SWIG_IsOK(res2
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8838 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8840 if (!SWIG_IsOK(ecode3
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8843 arg3
= static_cast< int >(val3
);
8844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8845 if (!SWIG_IsOK(ecode4
)) {
8846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8848 arg4
= static_cast< int >(val4
);
8850 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_Py_Void();
8860 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
= 0;
8862 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8869 unsigned char val2
;
8871 unsigned char val3
;
8873 unsigned char val4
;
8875 unsigned char val5
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8879 PyObject
* obj2
= 0 ;
8880 PyObject
* obj3
= 0 ;
8881 PyObject
* obj4
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8891 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8892 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8893 if (!SWIG_IsOK(ecode2
)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8896 arg2
= static_cast< byte
>(val2
);
8897 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8898 if (!SWIG_IsOK(ecode3
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8901 arg3
= static_cast< byte
>(val3
);
8902 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8903 if (!SWIG_IsOK(ecode4
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8906 arg4
= static_cast< byte
>(val4
);
8907 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8908 if (!SWIG_IsOK(ecode5
)) {
8909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8911 arg5
= static_cast< byte
>(val5
);
8913 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_Py_Void();
8923 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8924 PyObject
*resultobj
= 0;
8925 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8926 PyObject
*result
= 0 ;
8929 PyObject
*swig_obj
[1] ;
8931 if (!args
) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8937 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8939 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8949 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8952 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8953 return SWIG_Py_Void();
8956 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8957 return SWIG_Python_InitShadowInstance(args
);
8960 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
= 0;
8962 wxBitmap
*arg1
= 0 ;
8963 wxColour
const &arg2_defvalue
= wxNullColour
;
8964 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8965 wxMask
*result
= 0 ;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8971 char * kwnames
[] = {
8972 (char *) "bitmap",(char *) "colour", NULL
8975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8991 if (!wxPyCheckForApp()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9004 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9005 PyObject
*resultobj
= 0;
9006 wxMask
*arg1
= (wxMask
*) 0 ;
9009 PyObject
*swig_obj
[1] ;
9011 if (!args
) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9017 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_Py_Void();
9030 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9033 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9034 return SWIG_Py_Void();
9037 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 return SWIG_Python_InitShadowInstance(args
);
9041 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 wxString
*arg1
= 0 ;
9045 int arg3
= (int) -1 ;
9046 int arg4
= (int) -1 ;
9047 wxIcon
*result
= 0 ;
9048 bool temp1
= false ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9058 PyObject
* obj3
= 0 ;
9059 char * kwnames
[] = {
9060 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9065 arg1
= wxString_in_helper(obj0
);
9066 if (arg1
== NULL
) SWIG_fail
;
9069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9070 if (!SWIG_IsOK(ecode2
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9073 arg2
= static_cast< wxBitmapType
>(val2
);
9075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9076 if (!SWIG_IsOK(ecode3
)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9079 arg3
= static_cast< int >(val3
);
9082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9083 if (!SWIG_IsOK(ecode4
)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9086 arg4
= static_cast< int >(val4
);
9089 if (!wxPyCheckForApp()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9110 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 PyObject
*resultobj
= 0;
9112 wxIcon
*arg1
= (wxIcon
*) 0 ;
9115 PyObject
*swig_obj
[1] ;
9117 if (!args
) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9123 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_Py_Void();
9138 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9139 PyObject
*resultobj
= 0;
9140 wxIcon
*result
= 0 ;
9142 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9144 if (!wxPyCheckForApp()) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (wxIcon
*)new wxIcon();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9157 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxIconLocation
*arg1
= 0 ;
9160 wxIcon
*result
= 0 ;
9163 PyObject
* obj0
= 0 ;
9164 char * kwnames
[] = {
9165 (char *) "loc", NULL
9168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9169 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9170 if (!SWIG_IsOK(res1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9176 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9178 if (!wxPyCheckForApp()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9191 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
= 0;
9193 wxBitmap
*arg1
= 0 ;
9194 wxIcon
*result
= 0 ;
9197 PyObject
* obj0
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "bmp", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9212 if (!wxPyCheckForApp()) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9225 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
= 0;
9227 PyObject
*arg1
= (PyObject
*) 0 ;
9228 wxIcon
*result
= 0 ;
9229 PyObject
* obj0
= 0 ;
9230 char * kwnames
[] = {
9231 (char *) "listOfStrings", NULL
9234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9237 if (!wxPyCheckForApp()) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (wxIcon
*)new_wxIcon(arg1
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9250 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= 0;
9252 wxIcon
*arg1
= (wxIcon
*) 0 ;
9253 wxString
*arg2
= 0 ;
9258 bool temp2
= false ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "name",(char *) "type", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) 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_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9273 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9275 arg2
= wxString_in_helper(obj1
);
9276 if (arg2
== NULL
) SWIG_fail
;
9279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9280 if (!SWIG_IsOK(ecode3
)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9283 arg3
= static_cast< wxBitmapType
>(val3
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9307 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxIcon
*arg1
= (wxIcon
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9321 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->IsOk();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9337 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxIcon
*arg1
= (wxIcon
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9351 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (int)(arg1
)->GetWidth();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_From_int(static_cast< int >(result
));
9365 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 PyObject
*resultobj
= 0;
9367 wxIcon
*arg1
= (wxIcon
*) 0 ;
9371 PyObject
*swig_obj
[1] ;
9373 if (!args
) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9379 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (int)(arg1
)->GetHeight();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_From_int(static_cast< int >(result
));
9393 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9394 PyObject
*resultobj
= 0;
9395 wxIcon
*arg1
= (wxIcon
*) 0 ;
9399 PyObject
*swig_obj
[1] ;
9401 if (!args
) SWIG_fail
;
9403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9404 if (!SWIG_IsOK(res1
)) {
9405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9407 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (int)(arg1
)->GetDepth();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_From_int(static_cast< int >(result
));
9421 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
= 0;
9423 wxIcon
*arg1
= (wxIcon
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 char * kwnames
[] = {
9432 (char *) "self",(char *) "w", NULL
9435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9440 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9442 if (!SWIG_IsOK(ecode2
)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9445 arg2
= static_cast< int >(val2
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 (arg1
)->SetWidth(arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_Py_Void();
9459 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
= 0;
9461 wxIcon
*arg1
= (wxIcon
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 char * kwnames
[] = {
9470 (char *) "self",(char *) "h", NULL
9473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9478 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9480 if (!SWIG_IsOK(ecode2
)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9483 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->SetHeight(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxIcon
*arg1
= (wxIcon
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "d", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9516 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9518 if (!SWIG_IsOK(ecode2
)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9521 arg2
= static_cast< int >(val2
);
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 (arg1
)->SetDepth(arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxIcon
*arg1
= (wxIcon
*) 0 ;
9538 wxBitmap
*arg2
= 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "self",(char *) "bmp", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9554 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9556 if (!SWIG_IsOK(res2
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9562 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= SWIG_Py_Void();
9576 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9579 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9580 return SWIG_Py_Void();
9583 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 return SWIG_Python_InitShadowInstance(args
);
9587 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9590 int arg2
= (int) 0 ;
9591 wxIconLocation
*result
= 0 ;
9592 bool temp1
= false ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "filename",(char *) "num", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9604 arg1
= wxString_in_helper(obj0
);
9605 if (arg1
== NULL
) SWIG_fail
;
9610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9611 if (!SWIG_IsOK(ecode2
)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9614 arg2
= static_cast< int >(val2
);
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9637 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9638 PyObject
*resultobj
= 0;
9639 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9642 PyObject
*swig_obj
[1] ;
9644 if (!args
) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9650 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9666 PyObject
*resultobj
= 0;
9667 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9671 PyObject
*swig_obj
[1] ;
9673 if (!args
) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9679 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9695 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= 0;
9697 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9698 wxString
*arg2
= 0 ;
9701 bool temp2
= false ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "filename", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9713 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9715 arg2
= wxString_in_helper(obj1
);
9716 if (arg2
== NULL
) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->SetFileName((wxString
const &)*arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_Py_Void();
9740 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 PyObject
*resultobj
= 0;
9742 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9743 wxString
*result
= 0 ;
9746 PyObject
*swig_obj
[1] ;
9748 if (!args
) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9754 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9759 result
= (wxString
*) &_result_ref
;
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9768 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9777 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
= 0;
9779 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 char * kwnames
[] = {
9788 (char *) "self",(char *) "num", NULL
9791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9793 if (!SWIG_IsOK(res1
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9796 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9798 if (!SWIG_IsOK(ecode2
)) {
9799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9801 arg2
= static_cast< int >(val2
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxIconLocation_SetIndex(arg1
,arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_Py_Void();
9815 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9816 PyObject
*resultobj
= 0;
9817 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9821 PyObject
*swig_obj
[1] ;
9823 if (!args
) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9829 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (int)wxIconLocation_GetIndex(arg1
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_From_int(static_cast< int >(result
));
9843 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9846 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9847 return SWIG_Py_Void();
9850 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9851 return SWIG_Python_InitShadowInstance(args
);
9854 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9855 PyObject
*resultobj
= 0;
9856 wxIconBundle
*result
= 0 ;
9858 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (wxIconBundle
*)new wxIconBundle();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9872 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxString
*arg1
= 0 ;
9876 wxIconBundle
*result
= 0 ;
9877 bool temp1
= false ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "file",(char *) "type", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9888 arg1
= wxString_in_helper(obj0
);
9889 if (arg1
== NULL
) SWIG_fail
;
9892 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9893 if (!SWIG_IsOK(ecode2
)) {
9894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9896 arg2
= static_cast< long >(val2
);
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9918 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
= 0;
9921 wxIconBundle
*result
= 0 ;
9924 PyObject
* obj0
= 0 ;
9925 char * kwnames
[] = {
9926 (char *) "icon", NULL
9929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9930 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9931 if (!SWIG_IsOK(res1
)) {
9932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9937 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9951 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9952 PyObject
*resultobj
= 0;
9953 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9956 PyObject
*swig_obj
[1] ;
9958 if (!args
) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9964 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_Py_Void();
9979 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
= 0;
9981 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 char * kwnames
[] = {
9990 (char *) "self",(char *) "icon", NULL
9993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9998 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10000 if (!SWIG_IsOK(res2
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10006 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10020 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
= 0;
10022 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10023 wxString
*arg2
= 0 ;
10027 bool temp2
= false ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "self",(char *) "file",(char *) "type", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10042 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10048 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10049 if (!SWIG_IsOK(ecode3
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10052 arg3
= static_cast< long >(val3
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_Py_Void();
10074 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10078 wxIcon
*result
= 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "size", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10093 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10096 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10102 result
= (wxIcon
*) &_result_ref
;
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 wxIcon
* resultptr
= new wxIcon(*result
);
10109 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10117 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10120 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10121 return SWIG_Py_Void();
10124 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10125 return SWIG_Python_InitShadowInstance(args
);
10128 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
= 0;
10130 wxString
*arg1
= 0 ;
10132 int arg3
= (int) 0 ;
10133 int arg4
= (int) 0 ;
10134 wxCursor
*result
= 0 ;
10135 bool temp1
= false ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 PyObject
* obj2
= 0 ;
10145 PyObject
* obj3
= 0 ;
10146 char * kwnames
[] = {
10147 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10152 arg1
= wxString_in_helper(obj0
);
10153 if (arg1
== NULL
) SWIG_fail
;
10156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10157 if (!SWIG_IsOK(ecode2
)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10160 arg2
= static_cast< long >(val2
);
10162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10163 if (!SWIG_IsOK(ecode3
)) {
10164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10166 arg3
= static_cast< int >(val3
);
10169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10170 if (!SWIG_IsOK(ecode4
)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10173 arg4
= static_cast< int >(val4
);
10176 if (!wxPyCheckForApp()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10197 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10198 PyObject
*resultobj
= 0;
10199 wxCursor
*arg1
= (wxCursor
*) 0 ;
10202 PyObject
*swig_obj
[1] ;
10204 if (!args
) SWIG_fail
;
10205 swig_obj
[0] = args
;
10206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10210 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_Py_Void();
10225 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
= 0;
10228 wxCursor
*result
= 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char * kwnames
[] = {
10233 (char *) "id", NULL
10236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10238 if (!SWIG_IsOK(ecode1
)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10241 arg1
= static_cast< int >(val1
);
10243 if (!wxPyCheckForApp()) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (wxCursor
*)new wxCursor(arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10256 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxImage
*arg1
= 0 ;
10259 wxCursor
*result
= 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char * kwnames
[] = {
10264 (char *) "image", NULL
10267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10268 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10275 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10277 if (!wxPyCheckForApp()) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10290 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 PyObject
*resultobj
= 0;
10292 wxCursor
*arg1
= (wxCursor
*) 0 ;
10296 PyObject
*swig_obj
[1] ;
10298 if (!args
) SWIG_fail
;
10299 swig_obj
[0] = args
;
10300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10304 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->IsOk();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10320 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10323 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10324 return SWIG_Py_Void();
10327 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10328 return SWIG_Python_InitShadowInstance(args
);
10331 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
= 0;
10333 int arg1
= (int) 0 ;
10334 int arg2
= (int) 0 ;
10335 int arg3
= (int) 0 ;
10336 int arg4
= (int) 0 ;
10337 wxRegion
*result
= 0 ;
10346 PyObject
* obj0
= 0 ;
10347 PyObject
* obj1
= 0 ;
10348 PyObject
* obj2
= 0 ;
10349 PyObject
* obj3
= 0 ;
10350 char * kwnames
[] = {
10351 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10356 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10357 if (!SWIG_IsOK(ecode1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10360 arg1
= static_cast< int >(val1
);
10363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10364 if (!SWIG_IsOK(ecode2
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10367 arg2
= static_cast< int >(val2
);
10370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10371 if (!SWIG_IsOK(ecode3
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10374 arg3
= static_cast< int >(val3
);
10377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10378 if (!SWIG_IsOK(ecode4
)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10381 arg4
= static_cast< int >(val4
);
10384 if (!wxPyCheckForApp()) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10397 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= 0;
10399 wxBitmap
*arg1
= 0 ;
10400 wxRegion
*result
= 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "bmp", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10416 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10418 if (!wxPyCheckForApp()) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10431 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10433 wxBitmap
*arg1
= 0 ;
10434 wxColour
*arg2
= 0 ;
10435 int arg3
= (int) 0 ;
10436 wxRegion
*result
= 0 ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10450 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10457 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10464 if (!SWIG_IsOK(ecode3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10467 arg3
= static_cast< int >(val3
);
10470 if (!wxPyCheckForApp()) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10483 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
= 0;
10486 wxPoint
*arg2
= (wxPoint
*) 0 ;
10487 int arg3
= (int) wxWINDING_RULE
;
10488 wxRegion
*result
= 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 char * kwnames
[] = {
10494 (char *) "points",(char *) "fillStyle", NULL
10497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10499 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10500 if (arg2
== NULL
) SWIG_fail
;
10503 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10504 if (!SWIG_IsOK(ecode3
)) {
10505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10507 arg3
= static_cast< int >(val3
);
10510 if (!wxPyCheckForApp()) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10518 if (arg2
) delete [] arg2
;
10523 if (arg2
) delete [] arg2
;
10529 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10530 PyObject
*resultobj
= 0;
10531 wxRegion
*arg1
= (wxRegion
*) 0 ;
10534 PyObject
*swig_obj
[1] ;
10536 if (!args
) SWIG_fail
;
10537 swig_obj
[0] = args
;
10538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10539 if (!SWIG_IsOK(res1
)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10542 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_Py_Void();
10557 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10558 PyObject
*resultobj
= 0;
10559 wxRegion
*arg1
= (wxRegion
*) 0 ;
10562 PyObject
*swig_obj
[1] ;
10564 if (!args
) SWIG_fail
;
10565 swig_obj
[0] = args
;
10566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_Py_Void();
10584 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxRegion
*arg1
= (wxRegion
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 PyObject
* obj2
= 0 ;
10599 char * kwnames
[] = {
10600 (char *) "self",(char *) "x",(char *) "y", NULL
10603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10605 if (!SWIG_IsOK(res1
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10608 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10610 if (!SWIG_IsOK(ecode2
)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10613 arg2
= static_cast< int >(val2
);
10614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10615 if (!SWIG_IsOK(ecode3
)) {
10616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10618 arg3
= static_cast< int >(val3
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxRegion
*arg1
= (wxRegion
*) 0 ;
10639 wxRegionContain result
;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 PyObject
* obj2
= 0 ;
10649 char * kwnames
[] = {
10650 (char *) "self",(char *) "x",(char *) "y", NULL
10653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10658 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10660 if (!SWIG_IsOK(ecode2
)) {
10661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10663 arg2
= static_cast< int >(val2
);
10664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10665 if (!SWIG_IsOK(ecode3
)) {
10666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10668 arg3
= static_cast< int >(val3
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_From_int(static_cast< int >(result
));
10682 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10685 wxPoint
*arg2
= 0 ;
10686 wxRegionContain result
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 char * kwnames
[] = {
10693 (char *) "self",(char *) "pt", NULL
10696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10698 if (!SWIG_IsOK(res1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxRegion
*arg1
= (wxRegion
*) 0 ;
10723 wxRegionContain result
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "rect", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10738 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_From_int(static_cast< int >(result
));
10756 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= 0;
10758 wxRegion
*arg1
= (wxRegion
*) 0 ;
10763 wxRegionContain result
;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 PyObject
* obj2
= 0 ;
10777 PyObject
* obj3
= 0 ;
10778 PyObject
* obj4
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10793 arg2
= static_cast< int >(val2
);
10794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10795 if (!SWIG_IsOK(ecode3
)) {
10796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10798 arg3
= static_cast< int >(val3
);
10799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10800 if (!SWIG_IsOK(ecode4
)) {
10801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10803 arg4
= static_cast< int >(val4
);
10804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10805 if (!SWIG_IsOK(ecode5
)) {
10806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10808 arg5
= static_cast< int >(val5
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_From_int(static_cast< int >(result
));
10822 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10823 PyObject
*resultobj
= 0;
10824 wxRegion
*arg1
= (wxRegion
*) 0 ;
10828 PyObject
*swig_obj
[1] ;
10830 if (!args
) SWIG_fail
;
10831 swig_obj
[0] = args
;
10832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10833 if (!SWIG_IsOK(res1
)) {
10834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10836 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (arg1
)->GetBox();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10850 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
= 0;
10852 wxRegion
*arg1
= (wxRegion
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 PyObject
* obj3
= 0 ;
10872 PyObject
* obj4
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10882 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10884 if (!SWIG_IsOK(ecode2
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10887 arg2
= static_cast< int >(val2
);
10888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10889 if (!SWIG_IsOK(ecode3
)) {
10890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10892 arg3
= static_cast< int >(val3
);
10893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10894 if (!SWIG_IsOK(ecode4
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10897 arg4
= static_cast< int >(val4
);
10898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10899 if (!SWIG_IsOK(ecode5
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10902 arg5
= static_cast< int >(val5
);
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10918 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
= 0;
10920 wxRegion
*arg1
= (wxRegion
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char * kwnames
[] = {
10929 (char *) "self",(char *) "rect", NULL
10932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10934 if (!SWIG_IsOK(res1
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10937 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10940 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10957 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= 0;
10959 wxRegion
*arg1
= (wxRegion
*) 0 ;
10960 wxRegion
*arg2
= 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "region", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10979 if (!SWIG_IsOK(res2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10985 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxRegion
*arg1
= (wxRegion
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11015 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)(arg1
)->IsEmpty();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
= 0;
11033 wxRegion
*arg1
= (wxRegion
*) 0 ;
11034 wxRegion
*arg2
= 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char * kwnames
[] = {
11043 (char *) "self",(char *) "region", NULL
11046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11051 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11053 if (!SWIG_IsOK(res2
)) {
11054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11059 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= 0;
11077 wxRegion
*arg1
= (wxRegion
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 PyObject
* obj3
= 0 ;
11097 PyObject
* obj4
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11107 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11109 if (!SWIG_IsOK(ecode2
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11112 arg2
= static_cast< int >(val2
);
11113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11114 if (!SWIG_IsOK(ecode3
)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11117 arg3
= static_cast< int >(val3
);
11118 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11119 if (!SWIG_IsOK(ecode4
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11122 arg4
= static_cast< int >(val4
);
11123 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11124 if (!SWIG_IsOK(ecode5
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11127 arg5
= static_cast< int >(val5
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxRegion
*arg1
= (wxRegion
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "rect", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11162 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxRegion
*arg1
= (wxRegion
*) 0 ;
11185 wxRegion
*arg2
= 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char * kwnames
[] = {
11194 (char *) "self",(char *) "region", NULL
11197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11202 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11204 if (!SWIG_IsOK(res2
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11210 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxRegion
*arg1
= (wxRegion
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 PyObject
* obj2
= 0 ;
11247 PyObject
* obj3
= 0 ;
11248 PyObject
* obj4
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11260 if (!SWIG_IsOK(ecode2
)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11263 arg2
= static_cast< int >(val2
);
11264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11265 if (!SWIG_IsOK(ecode3
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11268 arg3
= static_cast< int >(val3
);
11269 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11270 if (!SWIG_IsOK(ecode4
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11273 arg4
= static_cast< int >(val4
);
11274 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11275 if (!SWIG_IsOK(ecode5
)) {
11276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11278 arg5
= static_cast< int >(val5
);
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11294 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
= 0;
11296 wxRegion
*arg1
= (wxRegion
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "self",(char *) "rect", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11313 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11333 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
= 0;
11335 wxRegion
*arg1
= (wxRegion
*) 0 ;
11336 wxRegion
*arg2
= 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char * kwnames
[] = {
11345 (char *) "self",(char *) "region", NULL
11348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11350 if (!SWIG_IsOK(res1
)) {
11351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11353 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11355 if (!SWIG_IsOK(res2
)) {
11356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11361 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11377 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
= 0;
11379 wxRegion
*arg1
= (wxRegion
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 PyObject
* obj3
= 0 ;
11399 PyObject
* obj4
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11409 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11411 if (!SWIG_IsOK(ecode2
)) {
11412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11414 arg2
= static_cast< int >(val2
);
11415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11416 if (!SWIG_IsOK(ecode3
)) {
11417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11419 arg3
= static_cast< int >(val3
);
11420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11421 if (!SWIG_IsOK(ecode4
)) {
11422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11424 arg4
= static_cast< int >(val4
);
11425 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11426 if (!SWIG_IsOK(ecode5
)) {
11427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11429 arg5
= static_cast< int >(val5
);
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11445 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
= 0;
11447 wxRegion
*arg1
= (wxRegion
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "self",(char *) "rect", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11464 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11484 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
= 0;
11486 wxRegion
*arg1
= (wxRegion
*) 0 ;
11487 wxRegion
*arg2
= 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "self",(char *) "region", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11506 if (!SWIG_IsOK(res2
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11512 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11528 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 PyObject
*resultobj
= 0;
11530 wxRegion
*arg1
= (wxRegion
*) 0 ;
11531 SwigValueWrapper
<wxBitmap
> result
;
11534 PyObject
*swig_obj
[1] ;
11536 if (!args
) SWIG_fail
;
11537 swig_obj
[0] = args
;
11538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11539 if (!SWIG_IsOK(res1
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11542 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (arg1
)->ConvertToBitmap();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11556 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxRegion
*arg1
= (wxRegion
*) 0 ;
11559 wxBitmap
*arg2
= 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "bmp", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11576 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11578 if (!SWIG_IsOK(res2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11584 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11600 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
= 0;
11602 wxRegion
*arg1
= (wxRegion
*) 0 ;
11603 wxBitmap
*arg2
= 0 ;
11604 wxColour
*arg3
= 0 ;
11605 int arg4
= (int) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 PyObject
* obj3
= 0 ;
11618 char * kwnames
[] = {
11619 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11627 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11629 if (!SWIG_IsOK(res2
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11635 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11642 if (!SWIG_IsOK(ecode4
)) {
11643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11645 arg4
= static_cast< int >(val4
);
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11662 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11665 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11666 return SWIG_Py_Void();
11669 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11670 return SWIG_Python_InitShadowInstance(args
);
11673 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= 0;
11675 wxRegion
*arg1
= 0 ;
11676 wxRegionIterator
*result
= 0 ;
11679 PyObject
* obj0
= 0 ;
11680 char * kwnames
[] = {
11681 (char *) "region", NULL
11684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11685 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11686 if (!SWIG_IsOK(res1
)) {
11687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11692 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11694 if (!wxPyCheckForApp()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11707 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11708 PyObject
*resultobj
= 0;
11709 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11712 PyObject
*swig_obj
[1] ;
11714 if (!args
) SWIG_fail
;
11715 swig_obj
[0] = args
;
11716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11717 if (!SWIG_IsOK(res1
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11720 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_Py_Void();
11735 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11741 PyObject
*swig_obj
[1] ;
11743 if (!args
) SWIG_fail
;
11744 swig_obj
[0] = args
;
11745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11749 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (int)(arg1
)->GetX();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_int(static_cast< int >(result
));
11763 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 PyObject
*resultobj
= 0;
11765 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11769 PyObject
*swig_obj
[1] ;
11771 if (!args
) SWIG_fail
;
11772 swig_obj
[0] = args
;
11773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11777 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)(arg1
)->GetY();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_From_int(static_cast< int >(result
));
11791 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11792 PyObject
*resultobj
= 0;
11793 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11797 PyObject
*swig_obj
[1] ;
11799 if (!args
) SWIG_fail
;
11800 swig_obj
[0] = args
;
11801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11802 if (!SWIG_IsOK(res1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11805 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (int)(arg1
)->GetW();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_int(static_cast< int >(result
));
11819 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 PyObject
*resultobj
= 0;
11821 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11825 PyObject
*swig_obj
[1] ;
11827 if (!args
) SWIG_fail
;
11828 swig_obj
[0] = args
;
11829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11833 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (int)(arg1
)->GetWidth();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int(static_cast< int >(result
));
11847 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 PyObject
*resultobj
= 0;
11849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11853 PyObject
*swig_obj
[1] ;
11855 if (!args
) SWIG_fail
;
11856 swig_obj
[0] = args
;
11857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11861 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)(arg1
)->GetH();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int(static_cast< int >(result
));
11875 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11876 PyObject
*resultobj
= 0;
11877 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11881 PyObject
*swig_obj
[1] ;
11883 if (!args
) SWIG_fail
;
11884 swig_obj
[0] = args
;
11885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11886 if (!SWIG_IsOK(res1
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11889 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (int)(arg1
)->GetHeight();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_int(static_cast< int >(result
));
11903 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 PyObject
*resultobj
= 0;
11905 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11909 PyObject
*swig_obj
[1] ;
11911 if (!args
) SWIG_fail
;
11912 swig_obj
[0] = args
;
11913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11917 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (arg1
)->GetRect();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11931 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 PyObject
*resultobj
= 0;
11933 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11937 PyObject
*swig_obj
[1] ;
11939 if (!args
) SWIG_fail
;
11940 swig_obj
[0] = args
;
11941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11945 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (bool)(arg1
)->HaveRects();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11961 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11974 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_Py_Void();
11988 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11989 PyObject
*resultobj
= 0;
11990 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11993 PyObject
*swig_obj
[1] ;
11995 if (!args
) SWIG_fail
;
11996 swig_obj
[0] = args
;
11997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12001 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 wxRegionIterator_Next(arg1
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_Py_Void();
12015 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12016 PyObject
*resultobj
= 0;
12017 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12021 PyObject
*swig_obj
[1] ;
12023 if (!args
) SWIG_fail
;
12024 swig_obj
[0] = args
;
12025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12026 if (!SWIG_IsOK(res1
)) {
12027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12029 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12045 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12048 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12049 return SWIG_Py_Void();
12052 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12053 return SWIG_Python_InitShadowInstance(args
);
12056 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 PyObject
*resultobj
= 0;
12058 wxNativeFontInfo
*result
= 0 ;
12060 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12074 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12079 PyObject
*swig_obj
[1] ;
12081 if (!args
) SWIG_fail
;
12082 swig_obj
[0] = args
;
12083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12087 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12115 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_Py_Void();
12129 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "font", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12148 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12150 if (!SWIG_IsOK(res2
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12156 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_Py_Void();
12170 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12184 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_From_int(static_cast< int >(result
));
12198 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12201 wxFontStyle result
;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12212 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_From_int(static_cast< int >(result
));
12226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12229 wxFontWeight result
;
12232 PyObject
*swig_obj
[1] ;
12234 if (!args
) SWIG_fail
;
12235 swig_obj
[0] = args
;
12236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12240 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_From_int(static_cast< int >(result
));
12254 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12255 PyObject
*resultobj
= 0;
12256 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12260 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12268 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12284 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12285 PyObject
*resultobj
= 0;
12286 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12290 PyObject
*swig_obj
[1] ;
12292 if (!args
) SWIG_fail
;
12293 swig_obj
[0] = args
;
12294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12295 if (!SWIG_IsOK(res1
)) {
12296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12298 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12318 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12319 PyObject
*resultobj
= 0;
12320 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12321 wxFontFamily result
;
12324 PyObject
*swig_obj
[1] ;
12326 if (!args
) SWIG_fail
;
12327 swig_obj
[0] = args
;
12328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12329 if (!SWIG_IsOK(res1
)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12332 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_From_int(static_cast< int >(result
));
12346 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12349 wxFontEncoding result
;
12352 PyObject
*swig_obj
[1] ;
12354 if (!args
) SWIG_fail
;
12355 swig_obj
[0] = args
;
12356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12360 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_From_int(static_cast< int >(result
));
12374 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= 0;
12376 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "self",(char *) "pointsize", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12393 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12395 if (!SWIG_IsOK(ecode2
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12398 arg2
= static_cast< int >(val2
);
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetPointSize(arg2
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_Py_Void();
12412 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char * kwnames
[] = {
12423 (char *) "self",(char *) "style", NULL
12426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12431 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12433 if (!SWIG_IsOK(ecode2
)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12436 arg2
= static_cast< wxFontStyle
>(val2
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetStyle(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12453 wxFontWeight arg2
;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "self",(char *) "weight", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12469 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12471 if (!SWIG_IsOK(ecode2
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12474 arg2
= static_cast< wxFontWeight
>(val2
);
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetWeight(arg2
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_Py_Void();
12488 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char * kwnames
[] = {
12499 (char *) "self",(char *) "underlined", NULL
12502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12507 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12508 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12509 if (!SWIG_IsOK(ecode2
)) {
12510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12512 arg2
= static_cast< bool >(val2
);
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 (arg1
)->SetUnderlined(arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_Py_Void();
12526 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
= 0;
12528 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "self",(char *) "facename", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12544 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12546 wxString
* sptr
= wxString_in_helper(obj1
);
12547 if (sptr
== NULL
) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)(arg1
)->SetFaceName(arg2
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12569 wxFontFamily arg2
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char * kwnames
[] = {
12577 (char *) "self",(char *) "family", NULL
12580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12585 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12587 if (!SWIG_IsOK(ecode2
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12590 arg2
= static_cast< wxFontFamily
>(val2
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetFamily(arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12607 wxFontEncoding arg2
;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "encoding", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12623 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12625 if (!SWIG_IsOK(ecode2
)) {
12626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12628 arg2
= static_cast< wxFontEncoding
>(val2
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->SetEncoding(arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12645 wxString
*arg2
= 0 ;
12649 bool temp2
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "s", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12661 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12690 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12691 PyObject
*resultobj
= 0;
12692 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12696 PyObject
*swig_obj
[1] ;
12698 if (!args
) SWIG_fail
;
12699 swig_obj
[0] = args
;
12700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12704 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12724 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12725 PyObject
*resultobj
= 0;
12726 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12730 PyObject
*swig_obj
[1] ;
12732 if (!args
) SWIG_fail
;
12733 swig_obj
[0] = args
;
12734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12738 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= wxNativeFontInfo___str__(arg1
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12758 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
= 0;
12760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12761 wxString
*arg2
= 0 ;
12765 bool temp2
= false ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "s", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12777 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12779 arg2
= wxString_in_helper(obj1
);
12780 if (arg2
== NULL
) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12806 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12807 PyObject
*resultobj
= 0;
12808 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12812 PyObject
*swig_obj
[1] ;
12814 if (!args
) SWIG_fail
;
12815 swig_obj
[0] = args
;
12816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12817 if (!SWIG_IsOK(res1
)) {
12818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12820 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12840 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12843 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12844 return SWIG_Py_Void();
12847 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12848 return SWIG_Python_InitShadowInstance(args
);
12851 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12854 wxString
*arg2
= (wxString
*) 0 ;
12857 bool temp2
= false ;
12858 PyObject
*swig_obj
[2] ;
12860 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12865 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12867 arg2
= wxString_in_helper(swig_obj
[1]);
12868 if (arg2
== NULL
) SWIG_fail
;
12871 if (arg1
) (arg1
)->facename
= *arg2
;
12873 resultobj
= SWIG_Py_Void();
12888 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 PyObject
*resultobj
= 0;
12890 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12891 wxString
*result
= 0 ;
12894 PyObject
*swig_obj
[1] ;
12896 if (!args
) SWIG_fail
;
12897 swig_obj
[0] = args
;
12898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12899 if (!SWIG_IsOK(res1
)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12902 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12903 result
= (wxString
*)& ((arg1
)->facename
);
12906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12917 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12918 PyObject
*resultobj
= 0;
12919 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12920 wxFontEncoding arg2
;
12925 PyObject
*swig_obj
[2] ;
12927 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12932 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12933 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12934 if (!SWIG_IsOK(ecode2
)) {
12935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12937 arg2
= static_cast< wxFontEncoding
>(val2
);
12938 if (arg1
) (arg1
)->encoding
= arg2
;
12940 resultobj
= SWIG_Py_Void();
12947 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12948 PyObject
*resultobj
= 0;
12949 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12950 wxFontEncoding result
;
12953 PyObject
*swig_obj
[1] ;
12955 if (!args
) SWIG_fail
;
12956 swig_obj
[0] = args
;
12957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12958 if (!SWIG_IsOK(res1
)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12961 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12962 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12963 resultobj
= SWIG_From_int(static_cast< int >(result
));
12970 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 PyObject
*resultobj
= 0;
12972 wxNativeEncodingInfo
*result
= 0 ;
12974 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12988 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 PyObject
*resultobj
= 0;
12990 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12993 PyObject
*swig_obj
[1] ;
12995 if (!args
) SWIG_fail
;
12996 swig_obj
[0] = args
;
12997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13001 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13016 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
= 0;
13018 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13019 wxString
*arg2
= 0 ;
13023 bool temp2
= false ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "s", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13035 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13037 arg2
= wxString_in_helper(obj1
);
13038 if (arg2
== NULL
) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13065 PyObject
*resultobj
= 0;
13066 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13070 PyObject
*swig_obj
[1] ;
13072 if (!args
) SWIG_fail
;
13073 swig_obj
[0] = args
;
13074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13078 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13098 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13101 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13102 return SWIG_Py_Void();
13105 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 return SWIG_Python_InitShadowInstance(args
);
13109 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
= 0;
13111 wxFontEncoding arg1
;
13112 wxNativeEncodingInfo
*result
= 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char * kwnames
[] = {
13117 (char *) "encoding", NULL
13120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13122 if (!SWIG_IsOK(ecode1
)) {
13123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13125 arg1
= static_cast< wxFontEncoding
>(val1
);
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13139 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= 0;
13141 wxNativeEncodingInfo
*arg1
= 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "info", NULL
13150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13151 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13158 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13174 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13175 PyObject
*resultobj
= 0;
13176 wxFontMapper
*result
= 0 ;
13178 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (wxFontMapper
*)new wxFontMapper();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13192 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13193 PyObject
*resultobj
= 0;
13194 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13197 PyObject
*swig_obj
[1] ;
13199 if (!args
) SWIG_fail
;
13200 swig_obj
[0] = args
;
13201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13205 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_Py_Void();
13220 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 PyObject
*resultobj
= 0;
13222 wxFontMapper
*result
= 0 ;
13224 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxFontMapper
*)wxFontMapper::Get();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13238 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= 0;
13240 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13241 wxFontMapper
*result
= 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "mapper", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13254 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13268 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13271 wxString
*arg2
= 0 ;
13272 bool arg3
= (bool) true ;
13273 wxFontEncoding result
;
13276 bool temp2
= false ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj2
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13291 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13293 arg2
= wxString_in_helper(obj1
);
13294 if (arg2
== NULL
) SWIG_fail
;
13298 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13299 if (!SWIG_IsOK(ecode3
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13302 arg3
= static_cast< bool >(val3
);
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_From_int(static_cast< int >(result
));
13325 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13326 PyObject
*resultobj
= 0;
13329 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13343 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
= 0;
13346 wxFontEncoding result
;
13349 PyObject
* obj0
= 0 ;
13350 char * kwnames
[] = {
13354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13355 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13356 if (!SWIG_IsOK(ecode1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13359 arg1
= static_cast< size_t >(val1
);
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_From_int(static_cast< int >(result
));
13373 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
= 0;
13375 wxFontEncoding arg1
;
13379 PyObject
* obj0
= 0 ;
13380 char * kwnames
[] = {
13381 (char *) "encoding", NULL
13384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13386 if (!SWIG_IsOK(ecode1
)) {
13387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13389 arg1
= static_cast< wxFontEncoding
>(val1
);
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= wxFontMapper::GetEncodingName(arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13409 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxFontEncoding arg1
;
13415 PyObject
* obj0
= 0 ;
13416 char * kwnames
[] = {
13417 (char *) "encoding", NULL
13420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13422 if (!SWIG_IsOK(ecode1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13425 arg1
= static_cast< wxFontEncoding
>(val1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= wxFontMapper::GetEncodingDescription(arg1
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13445 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxString
*arg1
= 0 ;
13448 wxFontEncoding result
;
13449 bool temp1
= false ;
13450 PyObject
* obj0
= 0 ;
13451 char * kwnames
[] = {
13452 (char *) "name", NULL
13455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13457 arg1
= wxString_in_helper(obj0
);
13458 if (arg1
== NULL
) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_From_int(static_cast< int >(result
));
13482 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
= 0;
13484 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13485 wxString
*arg2
= 0 ;
13488 bool temp2
= false ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char * kwnames
[] = {
13492 (char *) "self",(char *) "prefix", NULL
13495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13500 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13502 arg2
= wxString_in_helper(obj1
);
13503 if (arg2
== NULL
) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_Py_Void();
13527 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13531 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= wxFontMapper::GetDefaultConfigPath();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13551 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
= 0;
13553 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13554 wxFontEncoding arg2
;
13555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13557 bool arg4
= (bool) true ;
13558 PyObject
*result
= 0 ;
13563 bool temp3
= false ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 char * kwnames
[] = {
13571 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13579 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13581 if (!SWIG_IsOK(ecode2
)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13584 arg2
= static_cast< wxFontEncoding
>(val2
);
13587 arg3
= wxString_in_helper(obj2
);
13588 if (arg3
== NULL
) SWIG_fail
;
13593 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13594 if (!SWIG_IsOK(ecode4
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13597 arg4
= static_cast< bool >(val4
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= result
;
13620 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
= 0;
13622 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13623 wxFontEncoding arg2
;
13624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13631 bool temp3
= false ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13644 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13646 if (!SWIG_IsOK(ecode2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13649 arg2
= static_cast< wxFontEncoding
>(val2
);
13652 arg3
= wxString_in_helper(obj2
);
13653 if (arg3
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13680 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13682 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13683 wxWindow
*arg2
= (wxWindow
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "parent", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13699 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13701 if (!SWIG_IsOK(res2
)) {
13702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->SetDialogParent(arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= SWIG_Py_Void();
13718 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
= 0;
13720 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13721 wxString
*arg2
= 0 ;
13724 bool temp2
= false ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "self",(char *) "title", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13736 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13738 arg2
= wxString_in_helper(obj1
);
13739 if (arg2
== NULL
) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_Py_Void();
13763 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13766 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13767 return SWIG_Py_Void();
13770 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13771 return SWIG_Python_InitShadowInstance(args
);
13774 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
= 0;
13780 bool arg5
= (bool) false ;
13781 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13782 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13783 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13784 wxFont
*result
= 0 ;
13795 bool temp6
= false ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 PyObject
* obj2
= 0 ;
13801 PyObject
* obj3
= 0 ;
13802 PyObject
* obj4
= 0 ;
13803 PyObject
* obj5
= 0 ;
13804 PyObject
* obj6
= 0 ;
13805 char * kwnames
[] = {
13806 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13810 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13811 if (!SWIG_IsOK(ecode1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13814 arg1
= static_cast< int >(val1
);
13815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13816 if (!SWIG_IsOK(ecode2
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13819 arg2
= static_cast< int >(val2
);
13820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13821 if (!SWIG_IsOK(ecode3
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13824 arg3
= static_cast< int >(val3
);
13825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13826 if (!SWIG_IsOK(ecode4
)) {
13827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13829 arg4
= static_cast< int >(val4
);
13831 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13832 if (!SWIG_IsOK(ecode5
)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13835 arg5
= static_cast< bool >(val5
);
13839 arg6
= wxString_in_helper(obj5
);
13840 if (arg6
== NULL
) SWIG_fail
;
13845 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13846 if (!SWIG_IsOK(ecode7
)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13849 arg7
= static_cast< wxFontEncoding
>(val7
);
13852 if (!wxPyCheckForApp()) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13873 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13874 PyObject
*resultobj
= 0;
13875 wxFont
*arg1
= (wxFont
*) 0 ;
13878 PyObject
*swig_obj
[1] ;
13880 if (!args
) SWIG_fail
;
13881 swig_obj
[0] = args
;
13882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13886 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_Py_Void();
13901 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxNativeFontInfo
*arg1
= 0 ;
13904 wxFont
*result
= 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char * kwnames
[] = {
13909 (char *) "info", NULL
13912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13913 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13914 if (!SWIG_IsOK(res1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13920 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13922 if (!wxPyCheckForApp()) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13935 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
= 0;
13937 wxString
*arg1
= 0 ;
13938 wxFont
*result
= 0 ;
13939 bool temp1
= false ;
13940 PyObject
* obj0
= 0 ;
13941 char * kwnames
[] = {
13942 (char *) "info", NULL
13945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13947 arg1
= wxString_in_helper(obj0
);
13948 if (arg1
== NULL
) SWIG_fail
;
13952 if (!wxPyCheckForApp()) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13973 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
= 0;
13976 wxFontFamily arg2
;
13977 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13980 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13981 wxFont
*result
= 0 ;
13988 bool temp4
= false ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 PyObject
* obj2
= 0 ;
13994 PyObject
* obj3
= 0 ;
13995 PyObject
* obj4
= 0 ;
13996 char * kwnames
[] = {
13997 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14002 if (!SWIG_IsOK(ecode1
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14005 arg1
= static_cast< int >(val1
);
14006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14007 if (!SWIG_IsOK(ecode2
)) {
14008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14010 arg2
= static_cast< wxFontFamily
>(val2
);
14012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14013 if (!SWIG_IsOK(ecode3
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14016 arg3
= static_cast< int >(val3
);
14020 arg4
= wxString_in_helper(obj3
);
14021 if (arg4
== NULL
) SWIG_fail
;
14026 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14027 if (!SWIG_IsOK(ecode5
)) {
14028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14030 arg5
= static_cast< wxFontEncoding
>(val5
);
14033 if (!wxPyCheckForApp()) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14054 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
= 0;
14060 bool arg5
= (bool) false ;
14061 wxString
const &arg6_defvalue
= wxEmptyString
;
14062 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14063 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14064 wxFont
*result
= 0 ;
14074 bool temp6
= false ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 PyObject
* obj2
= 0 ;
14080 PyObject
* obj3
= 0 ;
14081 PyObject
* obj4
= 0 ;
14082 PyObject
* obj5
= 0 ;
14083 PyObject
* obj6
= 0 ;
14084 char * kwnames
[] = {
14085 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14091 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14094 if (!SWIG_IsOK(ecode2
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14097 arg2
= static_cast< int >(val2
);
14098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14099 if (!SWIG_IsOK(ecode3
)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14102 arg3
= static_cast< int >(val3
);
14103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14104 if (!SWIG_IsOK(ecode4
)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14107 arg4
= static_cast< int >(val4
);
14109 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14110 if (!SWIG_IsOK(ecode5
)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14113 arg5
= static_cast< bool >(val5
);
14117 arg6
= wxString_in_helper(obj5
);
14118 if (arg6
== NULL
) SWIG_fail
;
14123 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14124 if (!SWIG_IsOK(ecode7
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14127 arg7
= static_cast< wxFontEncoding
>(val7
);
14130 if (!wxPyCheckForApp()) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14151 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
= 0;
14154 wxFontFamily arg2
;
14155 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14156 wxString
const &arg4_defvalue
= wxEmptyString
;
14157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14158 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14159 wxFont
*result
= 0 ;
14165 bool temp4
= false ;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 PyObject
* obj2
= 0 ;
14171 PyObject
* obj3
= 0 ;
14172 PyObject
* obj4
= 0 ;
14173 char * kwnames
[] = {
14174 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14180 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14183 if (!SWIG_IsOK(ecode2
)) {
14184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14186 arg2
= static_cast< wxFontFamily
>(val2
);
14188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14189 if (!SWIG_IsOK(ecode3
)) {
14190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14192 arg3
= static_cast< int >(val3
);
14196 arg4
= wxString_in_helper(obj3
);
14197 if (arg4
== NULL
) SWIG_fail
;
14202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14203 if (!SWIG_IsOK(ecode5
)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14206 arg5
= static_cast< wxFontEncoding
>(val5
);
14209 if (!wxPyCheckForApp()) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14230 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 PyObject
*resultobj
= 0;
14232 wxFont
*arg1
= (wxFont
*) 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14260 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
= 0;
14262 wxFont
*arg1
= (wxFont
*) 0 ;
14263 wxFont
*arg2
= (wxFont
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char * kwnames
[] = {
14272 (char *) "self",(char *) "other", NULL
14275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14277 if (!SWIG_IsOK(res1
)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14280 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14282 if (!SWIG_IsOK(res2
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14285 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14301 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
= 0;
14303 wxFont
*arg1
= (wxFont
*) 0 ;
14304 wxFont
*arg2
= (wxFont
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 char * kwnames
[] = {
14313 (char *) "self",(char *) "other", NULL
14316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14318 if (!SWIG_IsOK(res1
)) {
14319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14321 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14323 if (!SWIG_IsOK(res2
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14326 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxFont
*arg1
= (wxFont
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_int(static_cast< int >(result
));
14370 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14371 PyObject
*resultobj
= 0;
14372 wxFont
*arg1
= (wxFont
*) 0 ;
14376 PyObject
*swig_obj
[1] ;
14378 if (!args
) SWIG_fail
;
14379 swig_obj
[0] = args
;
14380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14398 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxFont
*arg1
= (wxFont
*) 0 ;
14404 PyObject
*swig_obj
[1] ;
14406 if (!args
) SWIG_fail
;
14407 swig_obj
[0] = args
;
14408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14428 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 PyObject
*resultobj
= 0;
14430 wxFont
*arg1
= (wxFont
*) 0 ;
14434 PyObject
*swig_obj
[1] ;
14436 if (!args
) SWIG_fail
;
14437 swig_obj
[0] = args
;
14438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14439 if (!SWIG_IsOK(res1
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14442 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_From_int(static_cast< int >(result
));
14456 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 PyObject
*resultobj
= 0;
14458 wxFont
*arg1
= (wxFont
*) 0 ;
14462 PyObject
*swig_obj
[1] ;
14464 if (!args
) SWIG_fail
;
14465 swig_obj
[0] = args
;
14466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14470 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_From_int(static_cast< int >(result
));
14484 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14485 PyObject
*resultobj
= 0;
14486 wxFont
*arg1
= (wxFont
*) 0 ;
14490 PyObject
*swig_obj
[1] ;
14492 if (!args
) SWIG_fail
;
14493 swig_obj
[0] = args
;
14494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14495 if (!SWIG_IsOK(res1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14498 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_From_int(static_cast< int >(result
));
14512 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14513 PyObject
*resultobj
= 0;
14514 wxFont
*arg1
= (wxFont
*) 0 ;
14518 PyObject
*swig_obj
[1] ;
14520 if (!args
) SWIG_fail
;
14521 swig_obj
[0] = args
;
14522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14523 if (!SWIG_IsOK(res1
)) {
14524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14526 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14542 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14543 PyObject
*resultobj
= 0;
14544 wxFont
*arg1
= (wxFont
*) 0 ;
14548 PyObject
*swig_obj
[1] ;
14550 if (!args
) SWIG_fail
;
14551 swig_obj
[0] = args
;
14552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14556 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= ((wxFont
const *)arg1
)->GetFaceName();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14576 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxFont
*arg1
= (wxFont
*) 0 ;
14579 wxFontEncoding result
;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14590 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_From_int(static_cast< int >(result
));
14604 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxFont
*arg1
= (wxFont
*) 0 ;
14607 wxNativeFontInfo
*result
= 0 ;
14610 PyObject
*swig_obj
[1] ;
14612 if (!args
) SWIG_fail
;
14613 swig_obj
[0] = args
;
14614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14618 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14632 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14633 PyObject
*resultobj
= 0;
14634 wxFont
*arg1
= (wxFont
*) 0 ;
14638 PyObject
*swig_obj
[1] ;
14640 if (!args
) SWIG_fail
;
14641 swig_obj
[0] = args
;
14642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14643 if (!SWIG_IsOK(res1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14646 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14662 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14663 PyObject
*resultobj
= 0;
14664 wxFont
*arg1
= (wxFont
*) 0 ;
14668 PyObject
*swig_obj
[1] ;
14670 if (!args
) SWIG_fail
;
14671 swig_obj
[0] = args
;
14672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14673 if (!SWIG_IsOK(res1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14676 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14696 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 PyObject
*resultobj
= 0;
14698 wxFont
*arg1
= (wxFont
*) 0 ;
14702 PyObject
*swig_obj
[1] ;
14704 if (!args
) SWIG_fail
;
14705 swig_obj
[0] = args
;
14706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14710 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14730 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
= 0;
14732 wxFont
*arg1
= (wxFont
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char * kwnames
[] = {
14741 (char *) "self",(char *) "pointSize", NULL
14744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14749 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14751 if (!SWIG_IsOK(ecode2
)) {
14752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14754 arg2
= static_cast< int >(val2
);
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 (arg1
)->SetPointSize(arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_Py_Void();
14768 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
= 0;
14770 wxFont
*arg1
= (wxFont
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char * kwnames
[] = {
14778 (char *) "self",(char *) "pixelSize", NULL
14781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14786 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14789 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_Py_Void();
14804 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
= 0;
14806 wxFont
*arg1
= (wxFont
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char * kwnames
[] = {
14815 (char *) "self",(char *) "family", NULL
14818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14823 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14825 if (!SWIG_IsOK(ecode2
)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14828 arg2
= static_cast< int >(val2
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->SetFamily(arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_Py_Void();
14842 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
= 0;
14844 wxFont
*arg1
= (wxFont
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "self",(char *) "style", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14861 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14866 arg2
= static_cast< int >(val2
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 (arg1
)->SetStyle(arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_Py_Void();
14880 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxFont
*arg1
= (wxFont
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char * kwnames
[] = {
14891 (char *) "self",(char *) "weight", NULL
14894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14896 if (!SWIG_IsOK(res1
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14899 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14901 if (!SWIG_IsOK(ecode2
)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14904 arg2
= static_cast< int >(val2
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 (arg1
)->SetWeight(arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= SWIG_Py_Void();
14918 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
= 0;
14920 wxFont
*arg1
= (wxFont
*) 0 ;
14921 wxString
*arg2
= 0 ;
14925 bool temp2
= false ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "self",(char *) "faceName", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14937 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14939 arg2
= wxString_in_helper(obj1
);
14940 if (arg2
== NULL
) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14966 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
= 0;
14968 wxFont
*arg1
= (wxFont
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "underlined", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14985 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14987 if (!SWIG_IsOK(ecode2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14990 arg2
= static_cast< bool >(val2
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 (arg1
)->SetUnderlined(arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_Py_Void();
15004 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxFont
*arg1
= (wxFont
*) 0 ;
15007 wxFontEncoding arg2
;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char * kwnames
[] = {
15015 (char *) "self",(char *) "encoding", NULL
15018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15020 if (!SWIG_IsOK(res1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15023 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15025 if (!SWIG_IsOK(ecode2
)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15028 arg2
= static_cast< wxFontEncoding
>(val2
);
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->SetEncoding(arg2
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_Py_Void();
15042 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
= 0;
15044 wxFont
*arg1
= (wxFont
*) 0 ;
15045 wxNativeFontInfo
*arg2
= 0 ;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char * kwnames
[] = {
15053 (char *) "self",(char *) "info", NULL
15056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15061 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15063 if (!SWIG_IsOK(res2
)) {
15064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15069 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_Py_Void();
15083 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
= 0;
15085 wxFont
*arg1
= (wxFont
*) 0 ;
15086 wxString
*arg2
= 0 ;
15090 bool temp2
= false ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char * kwnames
[] = {
15094 (char *) "self",(char *) "info", NULL
15097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15102 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15104 arg2
= wxString_in_helper(obj1
);
15105 if (arg2
== NULL
) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15131 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= 0;
15133 wxFont
*arg1
= (wxFont
*) 0 ;
15134 wxString
*arg2
= 0 ;
15138 bool temp2
= false ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char * kwnames
[] = {
15142 (char *) "self",(char *) "info", NULL
15145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15150 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15152 arg2
= wxString_in_helper(obj1
);
15153 if (arg2
== NULL
) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15179 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15180 PyObject
*resultobj
= 0;
15181 wxFont
*arg1
= (wxFont
*) 0 ;
15185 PyObject
*swig_obj
[1] ;
15187 if (!args
) SWIG_fail
;
15188 swig_obj
[0] = args
;
15189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15193 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15213 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15214 PyObject
*resultobj
= 0;
15215 wxFont
*arg1
= (wxFont
*) 0 ;
15219 PyObject
*swig_obj
[1] ;
15221 if (!args
) SWIG_fail
;
15222 swig_obj
[0] = args
;
15223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15224 if (!SWIG_IsOK(res1
)) {
15225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15227 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= ((wxFont
const *)arg1
)->GetStyleString();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15247 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15248 PyObject
*resultobj
= 0;
15249 wxFont
*arg1
= (wxFont
*) 0 ;
15253 PyObject
*swig_obj
[1] ;
15255 if (!args
) SWIG_fail
;
15256 swig_obj
[0] = args
;
15257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15258 if (!SWIG_IsOK(res1
)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15261 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= ((wxFont
const *)arg1
)->GetWeightString();
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15281 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= 0;
15283 wxFont
*arg1
= (wxFont
*) 0 ;
15284 bool arg2
= (bool) true ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char * kwnames
[] = {
15292 (char *) "self",(char *) "no", NULL
15295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15300 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15306 arg2
= static_cast< bool >(val2
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->SetNoAntiAliasing(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_Py_Void();
15321 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15322 PyObject
*resultobj
= 0;
15323 wxFont
*arg1
= (wxFont
*) 0 ;
15327 PyObject
*swig_obj
[1] ;
15329 if (!args
) SWIG_fail
;
15330 swig_obj
[0] = args
;
15331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15335 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15351 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15352 PyObject
*resultobj
= 0;
15353 wxFontEncoding result
;
15355 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15357 if (!wxPyCheckForApp()) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_From_int(static_cast< int >(result
));
15370 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= 0;
15372 wxFontEncoding arg1
;
15375 PyObject
* obj0
= 0 ;
15376 char * kwnames
[] = {
15377 (char *) "encoding", NULL
15380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15382 if (!SWIG_IsOK(ecode1
)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15385 arg1
= static_cast< wxFontEncoding
>(val1
);
15387 if (!wxPyCheckForApp()) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 wxFont::SetDefaultEncoding(arg1
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15403 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15404 return SWIG_Py_Void();
15407 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 return SWIG_Python_InitShadowInstance(args
);
15411 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 PyObject
*resultobj
= 0;
15413 wxPyFontEnumerator
*result
= 0 ;
15415 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15417 if (!wxPyCheckForApp()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15430 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15431 PyObject
*resultobj
= 0;
15432 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15435 PyObject
*swig_obj
[1] ;
15437 if (!args
) SWIG_fail
;
15438 swig_obj
[0] = args
;
15439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15443 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_Py_Void();
15458 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15461 PyObject
*arg2
= (PyObject
*) 0 ;
15462 PyObject
*arg3
= (PyObject
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 PyObject
* obj2
= 0 ;
15471 PyObject
* obj3
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15481 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15484 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15485 if (!SWIG_IsOK(ecode4
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15488 arg4
= static_cast< bool >(val4
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15505 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15506 bool arg3
= (bool) false ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 PyObject
* obj2
= 0 ;
15517 char * kwnames
[] = {
15518 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15526 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15529 if (!SWIG_IsOK(ecode2
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15532 arg2
= static_cast< wxFontEncoding
>(val2
);
15535 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15536 if (!SWIG_IsOK(ecode3
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15539 arg3
= static_cast< bool >(val3
);
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15556 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
= 0;
15558 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15559 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15560 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15564 bool temp2
= false ;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char * kwnames
[] = {
15568 (char *) "self",(char *) "facename", NULL
15571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15573 if (!SWIG_IsOK(res1
)) {
15574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15576 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15579 arg2
= wxString_in_helper(obj1
);
15580 if (arg2
== NULL
) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15607 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15608 PyObject
*resultobj
= 0;
15609 PyObject
*result
= 0 ;
15611 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= result
;
15625 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15626 PyObject
*resultobj
= 0;
15627 PyObject
*result
= 0 ;
15629 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= result
;
15643 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
= 0;
15645 wxString
*arg1
= 0 ;
15647 bool temp1
= false ;
15648 PyObject
* obj0
= 0 ;
15649 char * kwnames
[] = {
15650 (char *) "str", NULL
15653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15655 arg1
= wxString_in_helper(obj0
);
15656 if (arg1
== NULL
) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15682 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15686 return SWIG_Py_Void();
15689 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 return SWIG_Python_InitShadowInstance(args
);
15693 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15701 PyObject
*swig_obj
[2] ;
15703 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15705 if (!SWIG_IsOK(res1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15708 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15709 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15710 if (!SWIG_IsOK(ecode2
)) {
15711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15713 arg2
= static_cast< int >(val2
);
15714 if (arg1
) (arg1
)->Language
= arg2
;
15716 resultobj
= SWIG_Py_Void();
15723 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15724 PyObject
*resultobj
= 0;
15725 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15729 PyObject
*swig_obj
[1] ;
15731 if (!args
) SWIG_fail
;
15732 swig_obj
[0] = args
;
15733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15737 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15738 result
= (int) ((arg1
)->Language
);
15739 resultobj
= SWIG_From_int(static_cast< int >(result
));
15746 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15747 PyObject
*resultobj
= 0;
15748 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15749 wxString
*arg2
= (wxString
*) 0 ;
15752 bool temp2
= false ;
15753 PyObject
*swig_obj
[2] ;
15755 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15760 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15762 arg2
= wxString_in_helper(swig_obj
[1]);
15763 if (arg2
== NULL
) SWIG_fail
;
15766 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15768 resultobj
= SWIG_Py_Void();
15783 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15784 PyObject
*resultobj
= 0;
15785 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15786 wxString
*result
= 0 ;
15789 PyObject
*swig_obj
[1] ;
15791 if (!args
) SWIG_fail
;
15792 swig_obj
[0] = args
;
15793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15794 if (!SWIG_IsOK(res1
)) {
15795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15797 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15798 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15801 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15803 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15812 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15814 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15815 wxString
*arg2
= (wxString
*) 0 ;
15818 bool temp2
= false ;
15819 PyObject
*swig_obj
[2] ;
15821 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15823 if (!SWIG_IsOK(res1
)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15826 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15828 arg2
= wxString_in_helper(swig_obj
[1]);
15829 if (arg2
== NULL
) SWIG_fail
;
15832 if (arg1
) (arg1
)->Description
= *arg2
;
15834 resultobj
= SWIG_Py_Void();
15849 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 PyObject
*resultobj
= 0;
15851 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15852 wxString
*result
= 0 ;
15855 PyObject
*swig_obj
[1] ;
15857 if (!args
) SWIG_fail
;
15858 swig_obj
[0] = args
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15863 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15864 result
= (wxString
*)& ((arg1
)->Description
);
15867 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15869 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15878 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15881 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15882 return SWIG_Py_Void();
15885 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
= 0;
15887 int arg1
= (int) -1 ;
15888 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15889 wxLocale
*result
= 0 ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 char * kwnames
[] = {
15897 (char *) "language",(char *) "flags", NULL
15900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15902 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15903 if (!SWIG_IsOK(ecode1
)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15906 arg1
= static_cast< int >(val1
);
15909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15910 if (!SWIG_IsOK(ecode2
)) {
15911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15913 arg2
= static_cast< int >(val2
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15928 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 PyObject
*resultobj
= 0;
15930 wxLocale
*arg1
= (wxLocale
*) 0 ;
15933 PyObject
*swig_obj
[1] ;
15935 if (!args
) SWIG_fail
;
15936 swig_obj
[0] = args
;
15937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15938 if (!SWIG_IsOK(res1
)) {
15939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15941 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_Py_Void();
15956 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
= 0;
15958 wxLocale
*arg1
= (wxLocale
*) 0 ;
15959 wxString
*arg2
= 0 ;
15960 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15961 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15962 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15963 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15964 bool arg5
= (bool) true ;
15965 bool arg6
= (bool) false ;
15969 bool temp2
= false ;
15970 bool temp3
= false ;
15971 bool temp4
= false ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 PyObject
* obj2
= 0 ;
15979 PyObject
* obj3
= 0 ;
15980 PyObject
* obj4
= 0 ;
15981 PyObject
* obj5
= 0 ;
15982 char * kwnames
[] = {
15983 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15988 if (!SWIG_IsOK(res1
)) {
15989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15991 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15993 arg2
= wxString_in_helper(obj1
);
15994 if (arg2
== NULL
) SWIG_fail
;
15999 arg3
= wxString_in_helper(obj2
);
16000 if (arg3
== NULL
) SWIG_fail
;
16006 arg4
= wxString_in_helper(obj3
);
16007 if (arg4
== NULL
) SWIG_fail
;
16012 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16013 if (!SWIG_IsOK(ecode5
)) {
16014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16016 arg5
= static_cast< bool >(val5
);
16019 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16020 if (!SWIG_IsOK(ecode6
)) {
16021 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16023 arg6
= static_cast< bool >(val6
);
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16064 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
= 0;
16066 wxLocale
*arg1
= (wxLocale
*) 0 ;
16067 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16068 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 PyObject
* obj2
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "self",(char *) "language",(char *) "flags", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16088 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16091 if (!SWIG_IsOK(ecode2
)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16094 arg2
= static_cast< int >(val2
);
16097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16098 if (!SWIG_IsOK(ecode3
)) {
16099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16101 arg3
= static_cast< int >(val3
);
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16118 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16119 PyObject
*resultobj
= 0;
16122 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (int)wxLocale::GetSystemLanguage();
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= SWIG_From_int(static_cast< int >(result
));
16136 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16137 PyObject
*resultobj
= 0;
16138 wxFontEncoding result
;
16140 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_From_int(static_cast< int >(result
));
16154 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 PyObject
*resultobj
= 0;
16158 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= wxLocale::GetSystemEncodingName();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16178 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16179 PyObject
*resultobj
= 0;
16180 wxLocale
*arg1
= (wxLocale
*) 0 ;
16184 PyObject
*swig_obj
[1] ;
16186 if (!args
) SWIG_fail
;
16187 swig_obj
[0] = args
;
16188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16189 if (!SWIG_IsOK(res1
)) {
16190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16192 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16208 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16209 PyObject
*resultobj
= 0;
16210 wxLocale
*arg1
= (wxLocale
*) 0 ;
16214 PyObject
*swig_obj
[1] ;
16216 if (!args
) SWIG_fail
;
16217 swig_obj
[0] = args
;
16218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16219 if (!SWIG_IsOK(res1
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16222 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= ((wxLocale
const *)arg1
)->GetLocale();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16242 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16243 PyObject
*resultobj
= 0;
16244 wxLocale
*arg1
= (wxLocale
*) 0 ;
16248 PyObject
*swig_obj
[1] ;
16250 if (!args
) SWIG_fail
;
16251 swig_obj
[0] = args
;
16252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16253 if (!SWIG_IsOK(res1
)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16256 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_From_int(static_cast< int >(result
));
16270 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16271 PyObject
*resultobj
= 0;
16272 wxLocale
*arg1
= (wxLocale
*) 0 ;
16276 PyObject
*swig_obj
[1] ;
16278 if (!args
) SWIG_fail
;
16279 swig_obj
[0] = args
;
16280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16281 if (!SWIG_IsOK(res1
)) {
16282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16284 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= ((wxLocale
const *)arg1
)->GetSysName();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16304 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxLocale
*arg1
= (wxLocale
*) 0 ;
16310 PyObject
*swig_obj
[1] ;
16312 if (!args
) SWIG_fail
;
16313 swig_obj
[0] = args
;
16314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16318 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16338 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
= 0;
16340 wxString
*arg1
= 0 ;
16341 bool temp1
= false ;
16342 PyObject
* obj0
= 0 ;
16343 char * kwnames
[] = {
16344 (char *) "prefix", NULL
16347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16349 arg1
= wxString_in_helper(obj0
);
16350 if (arg1
== NULL
) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_Py_Void();
16374 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
= 0;
16376 wxLocale
*arg1
= (wxLocale
*) 0 ;
16377 wxString
*arg2
= 0 ;
16381 bool temp2
= false ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 char * kwnames
[] = {
16385 (char *) "self",(char *) "szDomain", NULL
16388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16390 if (!SWIG_IsOK(res1
)) {
16391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16393 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16395 arg2
= wxString_in_helper(obj1
);
16396 if (arg2
== NULL
) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
= 0;
16428 PyObject
* obj0
= 0 ;
16429 char * kwnames
[] = {
16430 (char *) "lang", NULL
16433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16435 if (!SWIG_IsOK(ecode1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16438 arg1
= static_cast< int >(val1
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (bool)wxLocale::IsAvailable(arg1
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16454 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxLocale
*arg1
= (wxLocale
*) 0 ;
16457 wxString
*arg2
= 0 ;
16461 bool temp2
= false ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char * kwnames
[] = {
16465 (char *) "self",(char *) "szDomain", NULL
16468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16473 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16475 arg2
= wxString_in_helper(obj1
);
16476 if (arg2
== NULL
) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16502 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
= 0;
16505 wxLanguageInfo
*result
= 0 ;
16508 PyObject
* obj0
= 0 ;
16509 char * kwnames
[] = {
16510 (char *) "lang", NULL
16513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16515 if (!SWIG_IsOK(ecode1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16518 arg1
= static_cast< int >(val1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16532 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
= 0;
16538 PyObject
* obj0
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "lang", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16545 if (!SWIG_IsOK(ecode1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16548 arg1
= static_cast< int >(val1
);
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= wxLocale::GetLanguageName(arg1
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16568 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
= 0;
16570 wxString
*arg1
= 0 ;
16571 wxLanguageInfo
*result
= 0 ;
16572 bool temp1
= false ;
16573 PyObject
* obj0
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "locale", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16580 arg1
= wxString_in_helper(obj0
);
16581 if (arg1
== NULL
) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16605 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxLanguageInfo
*arg1
= 0 ;
16610 PyObject
* obj0
= 0 ;
16611 char * kwnames
[] = {
16612 (char *) "info", NULL
16615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16616 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16617 if (!SWIG_IsOK(res1
)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16623 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_Py_Void();
16637 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
= 0;
16639 wxLocale
*arg1
= (wxLocale
*) 0 ;
16640 wxString
*arg2
= 0 ;
16641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16646 bool temp2
= false ;
16647 bool temp3
= false ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 PyObject
* obj2
= 0 ;
16651 char * kwnames
[] = {
16652 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16660 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16662 arg2
= wxString_in_helper(obj1
);
16663 if (arg2
== NULL
) SWIG_fail
;
16668 arg3
= wxString_in_helper(obj2
);
16669 if (arg3
== NULL
) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16708 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16709 PyObject
*resultobj
= 0;
16710 wxLocale
*arg1
= (wxLocale
*) 0 ;
16711 wxString
*result
= 0 ;
16714 PyObject
*swig_obj
[1] ;
16716 if (!args
) SWIG_fail
;
16717 swig_obj
[0] = args
;
16718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16719 if (!SWIG_IsOK(res1
)) {
16720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16722 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16727 result
= (wxString
*) &_result_ref
;
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16745 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16748 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16749 return SWIG_Py_Void();
16752 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16753 return SWIG_Python_InitShadowInstance(args
);
16756 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= 0;
16758 int arg1
= (int) -1 ;
16759 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16760 wxPyLocale
*result
= 0 ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char * kwnames
[] = {
16768 (char *) "language",(char *) "flags", NULL
16771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16774 if (!SWIG_IsOK(ecode1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16777 arg1
= static_cast< int >(val1
);
16780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16781 if (!SWIG_IsOK(ecode2
)) {
16782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16784 arg2
= static_cast< int >(val2
);
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16799 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16800 PyObject
*resultobj
= 0;
16801 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16804 PyObject
*swig_obj
[1] ;
16806 if (!args
) SWIG_fail
;
16807 swig_obj
[0] = args
;
16808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16809 if (!SWIG_IsOK(res1
)) {
16810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16812 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_Py_Void();
16827 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
= 0;
16829 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16830 PyObject
*arg2
= (PyObject
*) 0 ;
16831 PyObject
*arg3
= (PyObject
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 PyObject
* obj2
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "self",(char *) "_class", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16846 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_Py_Void();
16862 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
= 0;
16864 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16865 wxChar
*arg2
= (wxChar
*) 0 ;
16866 wxChar
*arg3
= (wxChar
*) NULL
;
16867 wxChar
*result
= 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 PyObject
* obj2
= 0 ;
16877 char * kwnames
[] = {
16878 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16886 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16888 if (!SWIG_IsOK(res2
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16891 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16893 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16894 if (!SWIG_IsOK(res3
)) {
16895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16897 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16912 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
= 0;
16914 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16915 wxChar
*arg2
= (wxChar
*) 0 ;
16916 wxChar
*arg3
= (wxChar
*) 0 ;
16918 wxChar
*arg5
= (wxChar
*) NULL
;
16919 wxChar
*result
= 0 ;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 PyObject
* obj2
= 0 ;
16933 PyObject
* obj3
= 0 ;
16934 PyObject
* obj4
= 0 ;
16935 char * kwnames
[] = {
16936 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16944 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16946 if (!SWIG_IsOK(res2
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16949 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16950 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16951 if (!SWIG_IsOK(res3
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16954 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16955 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16956 if (!SWIG_IsOK(ecode4
)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16959 arg4
= static_cast< size_t >(val4
);
16961 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16962 if (!SWIG_IsOK(res5
)) {
16963 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16965 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16980 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16983 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16984 return SWIG_Py_Void();
16987 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16988 return SWIG_Python_InitShadowInstance(args
);
16991 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16992 PyObject
*resultobj
= 0;
16993 wxLocale
*result
= 0 ;
16995 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (wxLocale
*)wxGetLocale();
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17009 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17010 PyObject
*resultobj
= 0;
17011 wxString
*arg1
= 0 ;
17013 bool temp1
= false ;
17015 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17017 arg1
= wxString_in_helper(swig_obj
[0]);
17018 if (arg1
== NULL
) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= wxGetTranslation((wxString
const &)*arg1
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17048 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17049 PyObject
*resultobj
= 0;
17050 wxString
*arg1
= 0 ;
17051 wxString
*arg2
= 0 ;
17053 bool temp1
= false ;
17054 bool temp2
= false ;
17056 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17058 arg1
= wxString_in_helper(swig_obj
[0]);
17059 if (arg1
== NULL
) SWIG_fail
;
17063 arg2
= wxString_in_helper(swig_obj
[1]);
17064 if (arg2
== NULL
) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17102 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17103 PyObject
*resultobj
= 0;
17104 wxString
*arg1
= 0 ;
17105 wxString
*arg2
= 0 ;
17108 bool temp1
= false ;
17109 bool temp2
= false ;
17113 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17115 arg1
= wxString_in_helper(swig_obj
[0]);
17116 if (arg1
== NULL
) SWIG_fail
;
17120 arg2
= wxString_in_helper(swig_obj
[1]);
17121 if (arg2
== NULL
) SWIG_fail
;
17124 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17125 if (!SWIG_IsOK(ecode3
)) {
17126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17128 arg3
= static_cast< size_t >(val3
);
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17164 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17165 PyObject
*resultobj
= 0;
17166 wxString
*arg1
= 0 ;
17167 wxString
*arg2
= 0 ;
17169 wxString
*arg4
= 0 ;
17171 bool temp1
= false ;
17172 bool temp2
= false ;
17175 bool temp4
= false ;
17177 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17179 arg1
= wxString_in_helper(swig_obj
[0]);
17180 if (arg1
== NULL
) SWIG_fail
;
17184 arg2
= wxString_in_helper(swig_obj
[1]);
17185 if (arg2
== NULL
) SWIG_fail
;
17188 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17189 if (!SWIG_IsOK(ecode3
)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17192 arg3
= static_cast< size_t >(val3
);
17194 arg4
= wxString_in_helper(swig_obj
[3]);
17195 if (arg4
== NULL
) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17241 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17245 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17248 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17251 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17254 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17257 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17261 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17266 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17267 PyObject
*resultobj
= 0;
17268 wxEncodingConverter
*result
= 0 ;
17270 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17284 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17285 PyObject
*resultobj
= 0;
17286 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17289 PyObject
*swig_obj
[1] ;
17291 if (!args
) SWIG_fail
;
17292 swig_obj
[0] = args
;
17293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17294 if (!SWIG_IsOK(res1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17297 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_Py_Void();
17312 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
= 0;
17314 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17315 wxFontEncoding arg2
;
17316 wxFontEncoding arg3
;
17317 int arg4
= (int) wxCONVERT_STRICT
;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 PyObject
* obj2
= 0 ;
17330 PyObject
* obj3
= 0 ;
17331 char * kwnames
[] = {
17332 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17340 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17342 if (!SWIG_IsOK(ecode2
)) {
17343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17345 arg2
= static_cast< wxFontEncoding
>(val2
);
17346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17347 if (!SWIG_IsOK(ecode3
)) {
17348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17350 arg3
= static_cast< wxFontEncoding
>(val3
);
17352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17353 if (!SWIG_IsOK(ecode4
)) {
17354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17356 arg4
= static_cast< int >(val4
);
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17373 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
= 0;
17375 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17376 wxString
*arg2
= 0 ;
17380 bool temp2
= false ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char * kwnames
[] = {
17384 (char *) "self",(char *) "input", NULL
17387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17389 if (!SWIG_IsOK(res1
)) {
17390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17392 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17394 arg2
= wxString_in_helper(obj1
);
17395 if (arg2
== NULL
) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17425 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
= 0;
17427 wxFontEncoding arg1
;
17428 int arg2
= (int) wxPLATFORM_CURRENT
;
17429 wxFontEncodingArray result
;
17434 PyObject
* obj0
= 0 ;
17435 PyObject
* obj1
= 0 ;
17436 char * kwnames
[] = {
17437 (char *) "enc",(char *) "platform", NULL
17440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17442 if (!SWIG_IsOK(ecode1
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17445 arg1
= static_cast< wxFontEncoding
>(val1
);
17447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17448 if (!SWIG_IsOK(ecode2
)) {
17449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17451 arg2
= static_cast< int >(val2
);
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= PyList_New(0);
17461 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17462 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17463 PyList_Append(resultobj
, number
);
17473 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxFontEncoding arg1
;
17476 wxFontEncodingArray result
;
17479 PyObject
* obj0
= 0 ;
17480 char * kwnames
[] = {
17481 (char *) "enc", NULL
17484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17485 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17486 if (!SWIG_IsOK(ecode1
)) {
17487 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17489 arg1
= static_cast< wxFontEncoding
>(val1
);
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= PyList_New(0);
17498 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17499 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17500 PyList_Append(resultobj
, number
);
17510 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
= 0;
17512 wxFontEncoding arg1
;
17513 wxFontEncoding arg2
;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char * kwnames
[] = {
17522 (char *) "encIn",(char *) "encOut", NULL
17525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17527 if (!SWIG_IsOK(ecode1
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17530 arg1
= static_cast< wxFontEncoding
>(val1
);
17531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17532 if (!SWIG_IsOK(ecode2
)) {
17533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17535 arg2
= static_cast< wxFontEncoding
>(val2
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17551 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17554 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17555 return SWIG_Py_Void();
17558 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17559 return SWIG_Python_InitShadowInstance(args
);
17562 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17563 PyObject
*resultobj
= 0;
17564 wxDC
*arg1
= (wxDC
*) 0 ;
17567 PyObject
*swig_obj
[1] ;
17569 if (!args
) SWIG_fail
;
17570 swig_obj
[0] = args
;
17571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_Py_Void();
17590 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
= 0;
17592 wxDC
*arg1
= (wxDC
*) 0 ;
17595 wxColour
*arg4
= 0 ;
17596 int arg5
= (int) wxFLOOD_SURFACE
;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 PyObject
* obj2
= 0 ;
17610 PyObject
* obj3
= 0 ;
17611 PyObject
* obj4
= 0 ;
17612 char * kwnames
[] = {
17613 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17618 if (!SWIG_IsOK(res1
)) {
17619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17623 if (!SWIG_IsOK(ecode2
)) {
17624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17626 arg2
= static_cast< int >(val2
);
17627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17628 if (!SWIG_IsOK(ecode3
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17631 arg3
= static_cast< int >(val3
);
17634 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17638 if (!SWIG_IsOK(ecode5
)) {
17639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17641 arg5
= static_cast< int >(val5
);
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17658 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
= 0;
17660 wxDC
*arg1
= (wxDC
*) 0 ;
17661 wxPoint
*arg2
= 0 ;
17662 wxColour
*arg3
= 0 ;
17663 int arg4
= (int) wxFLOOD_SURFACE
;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 PyObject
* obj2
= 0 ;
17674 PyObject
* obj3
= 0 ;
17675 char * kwnames
[] = {
17676 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17681 if (!SWIG_IsOK(res1
)) {
17682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17691 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17695 if (!SWIG_IsOK(ecode4
)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17698 arg4
= static_cast< int >(val4
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17715 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
= 0;
17717 wxDC
*arg1
= (wxDC
*) 0 ;
17719 wxColour
*arg3
= 0 ;
17720 wxColour
*arg4
= 0 ;
17721 wxPoint
*arg5
= 0 ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 PyObject
* obj2
= 0 ;
17731 PyObject
* obj3
= 0 ;
17732 PyObject
* obj4
= 0 ;
17733 char * kwnames
[] = {
17734 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17739 if (!SWIG_IsOK(res1
)) {
17740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17749 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17753 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17757 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_Py_Void();
17772 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
= 0;
17774 wxDC
*arg1
= (wxDC
*) 0 ;
17776 wxColour
*arg3
= 0 ;
17777 wxColour
*arg4
= 0 ;
17778 wxDirection arg5
= (wxDirection
) wxEAST
;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 PyObject
* obj2
= 0 ;
17789 PyObject
* obj3
= 0 ;
17790 PyObject
* obj4
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17803 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17807 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17811 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17815 if (!SWIG_IsOK(ecode5
)) {
17816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17818 arg5
= static_cast< wxDirection
>(val5
);
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_Py_Void();
17833 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= 0;
17835 wxDC
*arg1
= (wxDC
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 PyObject
* obj2
= 0 ;
17848 char * kwnames
[] = {
17849 (char *) "self",(char *) "x",(char *) "y", NULL
17852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17859 if (!SWIG_IsOK(ecode2
)) {
17860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17862 arg2
= static_cast< int >(val2
);
17863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17864 if (!SWIG_IsOK(ecode3
)) {
17865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17867 arg3
= static_cast< int >(val3
);
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17881 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
= 0;
17883 wxDC
*arg1
= (wxDC
*) 0 ;
17884 wxPoint
*arg2
= 0 ;
17889 PyObject
* obj0
= 0 ;
17890 PyObject
* obj1
= 0 ;
17891 char * kwnames
[] = {
17892 (char *) "self",(char *) "pt", NULL
17895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17897 if (!SWIG_IsOK(res1
)) {
17898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17903 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17918 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= 0;
17920 wxDC
*arg1
= (wxDC
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 PyObject
* obj2
= 0 ;
17938 PyObject
* obj3
= 0 ;
17939 PyObject
* obj4
= 0 ;
17940 char * kwnames
[] = {
17941 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17946 if (!SWIG_IsOK(res1
)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17951 if (!SWIG_IsOK(ecode2
)) {
17952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17954 arg2
= static_cast< int >(val2
);
17955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17956 if (!SWIG_IsOK(ecode3
)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17959 arg3
= static_cast< int >(val3
);
17960 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17961 if (!SWIG_IsOK(ecode4
)) {
17962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17964 arg4
= static_cast< int >(val4
);
17965 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17966 if (!SWIG_IsOK(ecode5
)) {
17967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17969 arg5
= static_cast< int >(val5
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_Py_Void();
17983 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxDC
*arg1
= (wxDC
*) 0 ;
17986 wxPoint
*arg2
= 0 ;
17987 wxPoint
*arg3
= 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 char * kwnames
[] = {
17996 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18011 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_Py_Void();
18026 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
= 0;
18028 wxDC
*arg1
= (wxDC
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 PyObject
* obj2
= 0 ;
18040 char * kwnames
[] = {
18041 (char *) "self",(char *) "x",(char *) "y", NULL
18044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18051 if (!SWIG_IsOK(ecode2
)) {
18052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18054 arg2
= static_cast< int >(val2
);
18055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18056 if (!SWIG_IsOK(ecode3
)) {
18057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18059 arg3
= static_cast< int >(val3
);
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 (arg1
)->CrossHair(arg2
,arg3
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_Py_Void();
18073 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
= 0;
18075 wxDC
*arg1
= (wxDC
*) 0 ;
18076 wxPoint
*arg2
= 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char * kwnames
[] = {
18083 (char *) "self",(char *) "pt", NULL
18086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_Py_Void();
18109 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
= 0;
18111 wxDC
*arg1
= (wxDC
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 PyObject
* obj1
= 0 ;
18134 PyObject
* obj2
= 0 ;
18135 PyObject
* obj3
= 0 ;
18136 PyObject
* obj4
= 0 ;
18137 PyObject
* obj5
= 0 ;
18138 PyObject
* obj6
= 0 ;
18139 char * kwnames
[] = {
18140 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18145 if (!SWIG_IsOK(res1
)) {
18146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18150 if (!SWIG_IsOK(ecode2
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18153 arg2
= static_cast< int >(val2
);
18154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18155 if (!SWIG_IsOK(ecode3
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18158 arg3
= static_cast< int >(val3
);
18159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18160 if (!SWIG_IsOK(ecode4
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18163 arg4
= static_cast< int >(val4
);
18164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18165 if (!SWIG_IsOK(ecode5
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18168 arg5
= static_cast< int >(val5
);
18169 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18170 if (!SWIG_IsOK(ecode6
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18173 arg6
= static_cast< int >(val6
);
18174 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18175 if (!SWIG_IsOK(ecode7
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18178 arg7
= static_cast< int >(val7
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_Py_Void();
18192 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxDC
*arg1
= (wxDC
*) 0 ;
18195 wxPoint
*arg2
= 0 ;
18196 wxPoint
*arg3
= 0 ;
18197 wxPoint
*arg4
= 0 ;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 PyObject
* obj2
= 0 ;
18206 PyObject
* obj3
= 0 ;
18207 char * kwnames
[] = {
18208 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18213 if (!SWIG_IsOK(res1
)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_Py_Void();
18242 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
= 0;
18244 wxDC
*arg1
= (wxDC
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 PyObject
* obj2
= 0 ;
18262 PyObject
* obj3
= 0 ;
18263 PyObject
* obj4
= 0 ;
18264 char * kwnames
[] = {
18265 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18275 if (!SWIG_IsOK(ecode2
)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18278 arg2
= static_cast< int >(val2
);
18279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18280 if (!SWIG_IsOK(ecode3
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18283 arg3
= static_cast< int >(val3
);
18284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18285 if (!SWIG_IsOK(ecode4
)) {
18286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18288 arg4
= static_cast< int >(val4
);
18289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18290 if (!SWIG_IsOK(ecode5
)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18293 arg5
= static_cast< int >(val5
);
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_Py_Void();
18307 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= 0;
18309 wxDC
*arg1
= (wxDC
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char * kwnames
[] = {
18317 (char *) "self",(char *) "rect", NULL
18320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18322 if (!SWIG_IsOK(res1
)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18328 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_Py_Void();
18343 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
= 0;
18345 wxDC
*arg1
= (wxDC
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 PyObject
* obj2
= 0 ;
18369 PyObject
* obj3
= 0 ;
18370 PyObject
* obj4
= 0 ;
18371 PyObject
* obj5
= 0 ;
18372 PyObject
* obj6
= 0 ;
18373 char * kwnames
[] = {
18374 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18379 if (!SWIG_IsOK(res1
)) {
18380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18384 if (!SWIG_IsOK(ecode2
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18387 arg2
= static_cast< int >(val2
);
18388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18389 if (!SWIG_IsOK(ecode3
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18392 arg3
= static_cast< int >(val3
);
18393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18394 if (!SWIG_IsOK(ecode4
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18397 arg4
= static_cast< int >(val4
);
18398 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18399 if (!SWIG_IsOK(ecode5
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18402 arg5
= static_cast< int >(val5
);
18403 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18404 if (!SWIG_IsOK(ecode6
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18407 arg6
= static_cast< double >(val6
);
18408 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18409 if (!SWIG_IsOK(ecode7
)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18412 arg7
= static_cast< double >(val7
);
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_Py_Void();
18426 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
= 0;
18428 wxDC
*arg1
= (wxDC
*) 0 ;
18429 wxPoint
*arg2
= 0 ;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 PyObject
* obj2
= 0 ;
18444 PyObject
* obj3
= 0 ;
18445 PyObject
* obj4
= 0 ;
18446 char * kwnames
[] = {
18447 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18462 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18464 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18465 if (!SWIG_IsOK(ecode4
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18468 arg4
= static_cast< double >(val4
);
18469 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18470 if (!SWIG_IsOK(ecode5
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18473 arg5
= static_cast< double >(val5
);
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_Py_Void();
18487 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
= 0;
18489 wxDC
*arg1
= (wxDC
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 PyObject
* obj2
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "x",(char *) "y", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18512 if (!SWIG_IsOK(ecode2
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18515 arg2
= static_cast< int >(val2
);
18516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18517 if (!SWIG_IsOK(ecode3
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18520 arg3
= static_cast< int >(val3
);
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 (arg1
)->DrawPoint(arg2
,arg3
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= SWIG_Py_Void();
18534 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
= 0;
18536 wxDC
*arg1
= (wxDC
*) 0 ;
18537 wxPoint
*arg2
= 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char * kwnames
[] = {
18544 (char *) "self",(char *) "pt", NULL
18547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18549 if (!SWIG_IsOK(res1
)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_Py_Void();
18570 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
= 0;
18572 wxDC
*arg1
= (wxDC
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 PyObject
* obj2
= 0 ;
18590 PyObject
* obj3
= 0 ;
18591 PyObject
* obj4
= 0 ;
18592 char * kwnames
[] = {
18593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18603 if (!SWIG_IsOK(ecode2
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18606 arg2
= static_cast< int >(val2
);
18607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18608 if (!SWIG_IsOK(ecode3
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18611 arg3
= static_cast< int >(val3
);
18612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18613 if (!SWIG_IsOK(ecode4
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18616 arg4
= static_cast< int >(val4
);
18617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18618 if (!SWIG_IsOK(ecode5
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18621 arg5
= static_cast< int >(val5
);
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_Py_Void();
18635 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
= 0;
18637 wxDC
*arg1
= (wxDC
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char * kwnames
[] = {
18645 (char *) "self",(char *) "rect", NULL
18648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18650 if (!SWIG_IsOK(res1
)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18656 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= SWIG_Py_Void();
18671 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
= 0;
18673 wxDC
*arg1
= (wxDC
*) 0 ;
18674 wxPoint
*arg2
= 0 ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 PyObject
* obj2
= 0 ;
18683 char * kwnames
[] = {
18684 (char *) "self",(char *) "pt",(char *) "sz", NULL
18687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18689 if (!SWIG_IsOK(res1
)) {
18690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18699 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_Py_Void();
18714 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
= 0;
18716 wxDC
*arg1
= (wxDC
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 PyObject
* obj2
= 0 ;
18737 PyObject
* obj3
= 0 ;
18738 PyObject
* obj4
= 0 ;
18739 PyObject
* obj5
= 0 ;
18740 char * kwnames
[] = {
18741 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18746 if (!SWIG_IsOK(res1
)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18751 if (!SWIG_IsOK(ecode2
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18754 arg2
= static_cast< int >(val2
);
18755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18756 if (!SWIG_IsOK(ecode3
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18759 arg3
= static_cast< int >(val3
);
18760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18761 if (!SWIG_IsOK(ecode4
)) {
18762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18764 arg4
= static_cast< int >(val4
);
18765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18766 if (!SWIG_IsOK(ecode5
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18769 arg5
= static_cast< int >(val5
);
18770 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18771 if (!SWIG_IsOK(ecode6
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18774 arg6
= static_cast< double >(val6
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_Py_Void();
18788 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxDC
*arg1
= (wxDC
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 PyObject
* obj2
= 0 ;
18801 char * kwnames
[] = {
18802 (char *) "self",(char *) "r",(char *) "radius", NULL
18805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18807 if (!SWIG_IsOK(res1
)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18813 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18815 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18816 if (!SWIG_IsOK(ecode3
)) {
18817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18819 arg3
= static_cast< double >(val3
);
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_Py_Void();
18833 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
= 0;
18835 wxDC
*arg1
= (wxDC
*) 0 ;
18836 wxPoint
*arg2
= 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 PyObject
* obj2
= 0 ;
18848 PyObject
* obj3
= 0 ;
18849 char * kwnames
[] = {
18850 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18855 if (!SWIG_IsOK(res1
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18865 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18867 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18868 if (!SWIG_IsOK(ecode4
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18871 arg4
= static_cast< double >(val4
);
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_Py_Void();
18885 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
= 0;
18887 wxDC
*arg1
= (wxDC
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 PyObject
* obj2
= 0 ;
18902 PyObject
* obj3
= 0 ;
18903 char * kwnames
[] = {
18904 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18909 if (!SWIG_IsOK(res1
)) {
18910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18914 if (!SWIG_IsOK(ecode2
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18917 arg2
= static_cast< int >(val2
);
18918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18919 if (!SWIG_IsOK(ecode3
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18922 arg3
= static_cast< int >(val3
);
18923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18924 if (!SWIG_IsOK(ecode4
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18927 arg4
= static_cast< int >(val4
);
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= SWIG_Py_Void();
18941 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
= 0;
18943 wxDC
*arg1
= (wxDC
*) 0 ;
18944 wxPoint
*arg2
= 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 char * kwnames
[] = {
18955 (char *) "self",(char *) "pt",(char *) "radius", NULL
18958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18969 if (!SWIG_IsOK(ecode3
)) {
18970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18972 arg3
= static_cast< int >(val3
);
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= SWIG_Py_Void();
18986 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
= 0;
18988 wxDC
*arg1
= (wxDC
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 PyObject
* obj2
= 0 ;
19006 PyObject
* obj3
= 0 ;
19007 PyObject
* obj4
= 0 ;
19008 char * kwnames
[] = {
19009 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19014 if (!SWIG_IsOK(res1
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19019 if (!SWIG_IsOK(ecode2
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19022 arg2
= static_cast< int >(val2
);
19023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19024 if (!SWIG_IsOK(ecode3
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19027 arg3
= static_cast< int >(val3
);
19028 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19029 if (!SWIG_IsOK(ecode4
)) {
19030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19032 arg4
= static_cast< int >(val4
);
19033 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19034 if (!SWIG_IsOK(ecode5
)) {
19035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19037 arg5
= static_cast< int >(val5
);
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_Py_Void();
19051 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
= 0;
19053 wxDC
*arg1
= (wxDC
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "self",(char *) "rect", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19072 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= SWIG_Py_Void();
19087 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
= 0;
19089 wxDC
*arg1
= (wxDC
*) 0 ;
19090 wxPoint
*arg2
= 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 PyObject
* obj2
= 0 ;
19099 char * kwnames
[] = {
19100 (char *) "self",(char *) "pt",(char *) "sz", NULL
19103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19105 if (!SWIG_IsOK(res1
)) {
19106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19108 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19115 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= SWIG_Py_Void();
19130 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= 0;
19132 wxDC
*arg1
= (wxDC
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 PyObject
* obj2
= 0 ;
19147 PyObject
* obj3
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19159 if (!SWIG_IsOK(res2
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19165 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19167 if (!SWIG_IsOK(ecode3
)) {
19168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19170 arg3
= static_cast< int >(val3
);
19171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19172 if (!SWIG_IsOK(ecode4
)) {
19173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19175 arg4
= static_cast< int >(val4
);
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_Py_Void();
19189 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
= 0;
19191 wxDC
*arg1
= (wxDC
*) 0 ;
19193 wxPoint
*arg3
= 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 PyObject
* obj2
= 0 ;
19202 char * kwnames
[] = {
19203 (char *) "self",(char *) "icon",(char *) "pt", NULL
19206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19208 if (!SWIG_IsOK(res1
)) {
19209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19213 if (!SWIG_IsOK(res2
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19219 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_Py_Void();
19237 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
= 0;
19239 wxDC
*arg1
= (wxDC
*) 0 ;
19240 wxBitmap
*arg2
= 0 ;
19243 bool arg5
= (bool) false ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 PyObject
* obj2
= 0 ;
19257 PyObject
* obj3
= 0 ;
19258 PyObject
* obj4
= 0 ;
19259 char * kwnames
[] = {
19260 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19270 if (!SWIG_IsOK(res2
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19276 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19278 if (!SWIG_IsOK(ecode3
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19281 arg3
= static_cast< int >(val3
);
19282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19283 if (!SWIG_IsOK(ecode4
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19286 arg4
= static_cast< int >(val4
);
19288 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19289 if (!SWIG_IsOK(ecode5
)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19292 arg5
= static_cast< bool >(val5
);
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_Py_Void();
19307 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
= 0;
19309 wxDC
*arg1
= (wxDC
*) 0 ;
19310 wxBitmap
*arg2
= 0 ;
19311 wxPoint
*arg3
= 0 ;
19312 bool arg4
= (bool) false ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 PyObject
* obj2
= 0 ;
19323 PyObject
* obj3
= 0 ;
19324 char * kwnames
[] = {
19325 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19335 if (!SWIG_IsOK(res2
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19347 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19348 if (!SWIG_IsOK(ecode4
)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19351 arg4
= static_cast< bool >(val4
);
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_Py_Void();
19366 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
= 0;
19368 wxDC
*arg1
= (wxDC
*) 0 ;
19369 wxString
*arg2
= 0 ;
19374 bool temp2
= false ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 PyObject
* obj2
= 0 ;
19382 PyObject
* obj3
= 0 ;
19383 char * kwnames
[] = {
19384 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19394 arg2
= wxString_in_helper(obj1
);
19395 if (arg2
== NULL
) SWIG_fail
;
19398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19399 if (!SWIG_IsOK(ecode3
)) {
19400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19402 arg3
= static_cast< int >(val3
);
19403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19404 if (!SWIG_IsOK(ecode4
)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19407 arg4
= static_cast< int >(val4
);
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxDC
*arg1
= (wxDC
*) 0 ;
19432 wxString
*arg2
= 0 ;
19433 wxPoint
*arg3
= 0 ;
19436 bool temp2
= false ;
19438 PyObject
* obj0
= 0 ;
19439 PyObject
* obj1
= 0 ;
19440 PyObject
* obj2
= 0 ;
19441 char * kwnames
[] = {
19442 (char *) "self",(char *) "text",(char *) "pt", NULL
19445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19452 arg2
= wxString_in_helper(obj1
);
19453 if (arg2
== NULL
) SWIG_fail
;
19458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_Py_Void();
19481 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
= 0;
19483 wxDC
*arg1
= (wxDC
*) 0 ;
19484 wxString
*arg2
= 0 ;
19490 bool temp2
= false ;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 PyObject
* obj2
= 0 ;
19500 PyObject
* obj3
= 0 ;
19501 PyObject
* obj4
= 0 ;
19502 char * kwnames
[] = {
19503 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19508 if (!SWIG_IsOK(res1
)) {
19509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19513 arg2
= wxString_in_helper(obj1
);
19514 if (arg2
== NULL
) SWIG_fail
;
19517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19518 if (!SWIG_IsOK(ecode3
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19521 arg3
= static_cast< int >(val3
);
19522 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19523 if (!SWIG_IsOK(ecode4
)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19526 arg4
= static_cast< int >(val4
);
19527 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19528 if (!SWIG_IsOK(ecode5
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19531 arg5
= static_cast< double >(val5
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19553 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
= 0;
19555 wxDC
*arg1
= (wxDC
*) 0 ;
19556 wxString
*arg2
= 0 ;
19557 wxPoint
*arg3
= 0 ;
19561 bool temp2
= false ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 PyObject
* obj2
= 0 ;
19568 PyObject
* obj3
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19580 arg2
= wxString_in_helper(obj1
);
19581 if (arg2
== NULL
) SWIG_fail
;
19586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19588 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19592 arg4
= static_cast< double >(val4
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19614 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxDC
*arg1
= (wxDC
*) 0 ;
19621 wxDC
*arg6
= (wxDC
*) 0 ;
19624 int arg9
= (int) wxCOPY
;
19625 bool arg10
= (bool) false ;
19626 int arg11
= (int) -1 ;
19627 int arg12
= (int) -1 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 PyObject
* obj2
= 0 ;
19656 PyObject
* obj3
= 0 ;
19657 PyObject
* obj4
= 0 ;
19658 PyObject
* obj5
= 0 ;
19659 PyObject
* obj6
= 0 ;
19660 PyObject
* obj7
= 0 ;
19661 PyObject
* obj8
= 0 ;
19662 PyObject
* obj9
= 0 ;
19663 PyObject
* obj10
= 0 ;
19664 PyObject
* obj11
= 0 ;
19665 char * kwnames
[] = {
19666 (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
19669 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
;
19670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19671 if (!SWIG_IsOK(res1
)) {
19672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19676 if (!SWIG_IsOK(ecode2
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19679 arg2
= static_cast< int >(val2
);
19680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19681 if (!SWIG_IsOK(ecode3
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19684 arg3
= static_cast< int >(val3
);
19685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19686 if (!SWIG_IsOK(ecode4
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19689 arg4
= static_cast< int >(val4
);
19690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19691 if (!SWIG_IsOK(ecode5
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19694 arg5
= static_cast< int >(val5
);
19695 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19696 if (!SWIG_IsOK(res6
)) {
19697 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19699 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19700 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19701 if (!SWIG_IsOK(ecode7
)) {
19702 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19704 arg7
= static_cast< int >(val7
);
19705 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19706 if (!SWIG_IsOK(ecode8
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19709 arg8
= static_cast< int >(val8
);
19711 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19712 if (!SWIG_IsOK(ecode9
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19715 arg9
= static_cast< int >(val9
);
19718 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19719 if (!SWIG_IsOK(ecode10
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19722 arg10
= static_cast< bool >(val10
);
19725 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19726 if (!SWIG_IsOK(ecode11
)) {
19727 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19729 arg11
= static_cast< int >(val11
);
19732 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19733 if (!SWIG_IsOK(ecode12
)) {
19734 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19736 arg12
= static_cast< int >(val12
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxDC
*arg1
= (wxDC
*) 0 ;
19756 wxPoint
*arg2
= 0 ;
19758 wxDC
*arg4
= (wxDC
*) 0 ;
19759 wxPoint
*arg5
= 0 ;
19760 int arg6
= (int) wxCOPY
;
19761 bool arg7
= (bool) false ;
19762 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19763 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 PyObject
* obj2
= 0 ;
19780 PyObject
* obj3
= 0 ;
19781 PyObject
* obj4
= 0 ;
19782 PyObject
* obj5
= 0 ;
19783 PyObject
* obj6
= 0 ;
19784 PyObject
* obj7
= 0 ;
19785 char * kwnames
[] = {
19786 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19791 if (!SWIG_IsOK(res1
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19801 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19803 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19804 if (!SWIG_IsOK(res4
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19807 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19810 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19813 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19814 if (!SWIG_IsOK(ecode6
)) {
19815 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19817 arg6
= static_cast< int >(val6
);
19820 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19821 if (!SWIG_IsOK(ecode7
)) {
19822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19824 arg7
= static_cast< bool >(val7
);
19829 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19847 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
= 0;
19849 wxDC
*arg1
= (wxDC
*) 0 ;
19850 wxRect
*arg2
= (wxRect
*) NULL
;
19851 SwigValueWrapper
<wxBitmap
> result
;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char * kwnames
[] = {
19859 (char *) "self",(char *) "subrect", NULL
19862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19864 if (!SWIG_IsOK(res1
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19870 if (!SWIG_IsOK(res2
)) {
19871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19873 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19888 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
= 0;
19890 wxDC
*arg1
= (wxDC
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 PyObject
* obj2
= 0 ;
19908 PyObject
* obj3
= 0 ;
19909 PyObject
* obj4
= 0 ;
19910 char * kwnames
[] = {
19911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19916 if (!SWIG_IsOK(res1
)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19921 if (!SWIG_IsOK(ecode2
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19924 arg2
= static_cast< int >(val2
);
19925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19926 if (!SWIG_IsOK(ecode3
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19929 arg3
= static_cast< int >(val3
);
19930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19931 if (!SWIG_IsOK(ecode4
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19934 arg4
= static_cast< int >(val4
);
19935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19936 if (!SWIG_IsOK(ecode5
)) {
19937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19939 arg5
= static_cast< int >(val5
);
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= SWIG_Py_Void();
19953 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
= 0;
19955 wxDC
*arg1
= (wxDC
*) 0 ;
19956 wxPoint
*arg2
= 0 ;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19964 PyObject
* obj2
= 0 ;
19965 char * kwnames
[] = {
19966 (char *) "self",(char *) "pt",(char *) "sz", NULL
19969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19971 if (!SWIG_IsOK(res1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19981 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_Py_Void();
19996 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
= 0;
19998 wxDC
*arg1
= (wxDC
*) 0 ;
19999 wxRegion
*arg2
= 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 char * kwnames
[] = {
20007 (char *) "self",(char *) "region", NULL
20010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20012 if (!SWIG_IsOK(res1
)) {
20013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20017 if (!SWIG_IsOK(res2
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20023 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_Py_Void();
20037 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= 0;
20039 wxDC
*arg1
= (wxDC
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "self",(char *) "rect", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_Py_Void();
20073 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
= 0;
20075 wxDC
*arg1
= (wxDC
*) 0 ;
20077 wxPoint
*arg3
= (wxPoint
*) 0 ;
20078 int arg4
= (int) 0 ;
20079 int arg5
= (int) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 PyObject
* obj2
= 0 ;
20089 PyObject
* obj3
= 0 ;
20090 char * kwnames
[] = {
20091 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20096 if (!SWIG_IsOK(res1
)) {
20097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20101 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20102 if (arg3
== NULL
) SWIG_fail
;
20105 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20106 if (!SWIG_IsOK(ecode4
)) {
20107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20109 arg4
= static_cast< int >(val4
);
20112 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20113 if (!SWIG_IsOK(ecode5
)) {
20114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20116 arg5
= static_cast< int >(val5
);
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_Py_Void();
20126 if (arg3
) delete [] arg3
;
20131 if (arg3
) delete [] arg3
;
20137 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
= 0;
20139 wxDC
*arg1
= (wxDC
*) 0 ;
20141 wxPoint
*arg3
= (wxPoint
*) 0 ;
20142 int arg4
= (int) 0 ;
20143 int arg5
= (int) 0 ;
20144 int arg6
= (int) wxODDEVEN_RULE
;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 PyObject
* obj2
= 0 ;
20156 PyObject
* obj3
= 0 ;
20157 PyObject
* obj4
= 0 ;
20158 char * kwnames
[] = {
20159 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20169 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20170 if (arg3
== NULL
) SWIG_fail
;
20173 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20174 if (!SWIG_IsOK(ecode4
)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20177 arg4
= static_cast< int >(val4
);
20180 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20181 if (!SWIG_IsOK(ecode5
)) {
20182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20184 arg5
= static_cast< int >(val5
);
20187 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20188 if (!SWIG_IsOK(ecode6
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20191 arg6
= static_cast< int >(val6
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20201 if (arg3
) delete [] arg3
;
20206 if (arg3
) delete [] arg3
;
20212 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 wxDC
*arg1
= (wxDC
*) 0 ;
20215 wxString
*arg2
= 0 ;
20217 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20218 int arg5
= (int) -1 ;
20221 bool temp2
= false ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 PyObject
* obj2
= 0 ;
20230 PyObject
* obj3
= 0 ;
20231 PyObject
* obj4
= 0 ;
20232 char * kwnames
[] = {
20233 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20243 arg2
= wxString_in_helper(obj1
);
20244 if (arg2
== NULL
) SWIG_fail
;
20249 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20253 if (!SWIG_IsOK(ecode4
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20256 arg4
= static_cast< int >(val4
);
20259 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20260 if (!SWIG_IsOK(ecode5
)) {
20261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20263 arg5
= static_cast< int >(val5
);
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_Py_Void();
20286 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
= 0;
20288 wxDC
*arg1
= (wxDC
*) 0 ;
20289 wxString
*arg2
= 0 ;
20290 wxBitmap
*arg3
= 0 ;
20292 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20293 int arg6
= (int) -1 ;
20297 bool temp2
= false ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 PyObject
* obj2
= 0 ;
20308 PyObject
* obj3
= 0 ;
20309 PyObject
* obj4
= 0 ;
20310 PyObject
* obj5
= 0 ;
20311 char * kwnames
[] = {
20312 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20317 if (!SWIG_IsOK(res1
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20322 arg2
= wxString_in_helper(obj1
);
20323 if (arg2
== NULL
) SWIG_fail
;
20326 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20327 if (!SWIG_IsOK(res3
)) {
20328 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20333 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20336 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20340 if (!SWIG_IsOK(ecode5
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20343 arg5
= static_cast< int >(val5
);
20346 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20347 if (!SWIG_IsOK(ecode6
)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20350 arg6
= static_cast< int >(val6
);
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20373 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
= 0;
20375 wxDC
*arg1
= (wxDC
*) 0 ;
20377 wxPoint
*arg3
= (wxPoint
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 char * kwnames
[] = {
20383 (char *) "self",(char *) "points", NULL
20386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20388 if (!SWIG_IsOK(res1
)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20393 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20394 if (arg3
== NULL
) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->DrawSpline(arg2
,arg3
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_Py_Void();
20404 if (arg3
) delete [] arg3
;
20409 if (arg3
) delete [] arg3
;
20415 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20416 PyObject
*resultobj
= 0;
20417 wxDC
*arg1
= (wxDC
*) 0 ;
20420 PyObject
*swig_obj
[1] ;
20422 if (!args
) SWIG_fail
;
20423 swig_obj
[0] = args
;
20424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= SWIG_Py_Void();
20442 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
= 0;
20444 wxDC
*arg1
= (wxDC
*) 0 ;
20445 wxString
*arg2
= 0 ;
20449 bool temp2
= false ;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 char * kwnames
[] = {
20453 (char *) "self",(char *) "message", NULL
20456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20458 if (!SWIG_IsOK(res1
)) {
20459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20463 arg2
= wxString_in_helper(obj1
);
20464 if (arg2
== NULL
) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20490 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 PyObject
*resultobj
= 0;
20492 wxDC
*arg1
= (wxDC
*) 0 ;
20495 PyObject
*swig_obj
[1] ;
20497 if (!args
) SWIG_fail
;
20498 swig_obj
[0] = args
;
20499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_Py_Void();
20517 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20518 PyObject
*resultobj
= 0;
20519 wxDC
*arg1
= (wxDC
*) 0 ;
20522 PyObject
*swig_obj
[1] ;
20524 if (!args
) SWIG_fail
;
20525 swig_obj
[0] = args
;
20526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->StartPage();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_Py_Void();
20544 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20545 PyObject
*resultobj
= 0;
20546 wxDC
*arg1
= (wxDC
*) 0 ;
20549 PyObject
*swig_obj
[1] ;
20551 if (!args
) SWIG_fail
;
20552 swig_obj
[0] = args
;
20553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20554 if (!SWIG_IsOK(res1
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_Py_Void();
20571 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= 0;
20573 wxDC
*arg1
= (wxDC
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char * kwnames
[] = {
20582 (char *) "self",(char *) "font", NULL
20585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20587 if (!SWIG_IsOK(res1
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20592 if (!SWIG_IsOK(res2
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20598 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->SetFont((wxFont
const &)*arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_Py_Void();
20612 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxDC
*arg1
= (wxDC
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 char * kwnames
[] = {
20623 (char *) "self",(char *) "pen", NULL
20626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20628 if (!SWIG_IsOK(res1
)) {
20629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20633 if (!SWIG_IsOK(res2
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20639 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 (arg1
)->SetPen((wxPen
const &)*arg2
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= SWIG_Py_Void();
20653 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
= 0;
20655 wxDC
*arg1
= (wxDC
*) 0 ;
20656 wxBrush
*arg2
= 0 ;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 char * kwnames
[] = {
20664 (char *) "self",(char *) "brush", NULL
20667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20669 if (!SWIG_IsOK(res1
)) {
20670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20674 if (!SWIG_IsOK(res2
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20680 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_Py_Void();
20694 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
= 0;
20696 wxDC
*arg1
= (wxDC
*) 0 ;
20697 wxBrush
*arg2
= 0 ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 char * kwnames
[] = {
20705 (char *) "self",(char *) "brush", NULL
20708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20710 if (!SWIG_IsOK(res1
)) {
20711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20715 if (!SWIG_IsOK(res2
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20721 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_Py_Void();
20735 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= 0;
20737 wxDC
*arg1
= (wxDC
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char * kwnames
[] = {
20746 (char *) "self",(char *) "mode", NULL
20749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20751 if (!SWIG_IsOK(res1
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20756 if (!SWIG_IsOK(ecode2
)) {
20757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20759 arg2
= static_cast< int >(val2
);
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->SetBackgroundMode(arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_Py_Void();
20773 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
= 0;
20775 wxDC
*arg1
= (wxDC
*) 0 ;
20776 wxPalette
*arg2
= 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 char * kwnames
[] = {
20784 (char *) "self",(char *) "palette", NULL
20787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20789 if (!SWIG_IsOK(res1
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20794 if (!SWIG_IsOK(res2
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20800 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_Py_Void();
20814 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20815 PyObject
*resultobj
= 0;
20816 wxDC
*arg1
= (wxDC
*) 0 ;
20819 PyObject
*swig_obj
[1] ;
20821 if (!args
) SWIG_fail
;
20822 swig_obj
[0] = args
;
20823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20824 if (!SWIG_IsOK(res1
)) {
20825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 (arg1
)->DestroyClippingRegion();
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= SWIG_Py_Void();
20841 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20842 PyObject
*resultobj
= 0;
20843 wxDC
*arg1
= (wxDC
*) 0 ;
20844 int *arg2
= (int *) 0 ;
20845 int *arg3
= (int *) 0 ;
20846 int *arg4
= (int *) 0 ;
20847 int *arg5
= (int *) 0 ;
20851 int res2
= SWIG_TMPOBJ
;
20853 int res3
= SWIG_TMPOBJ
;
20855 int res4
= SWIG_TMPOBJ
;
20857 int res5
= SWIG_TMPOBJ
;
20858 PyObject
*swig_obj
[1] ;
20864 if (!args
) SWIG_fail
;
20865 swig_obj
[0] = args
;
20866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_Py_Void();
20878 if (SWIG_IsTmpObj(res2
)) {
20879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20881 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20884 if (SWIG_IsTmpObj(res3
)) {
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20887 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20890 if (SWIG_IsTmpObj(res4
)) {
20891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20893 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20896 if (SWIG_IsTmpObj(res5
)) {
20897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20899 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20908 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20909 PyObject
*resultobj
= 0;
20910 wxDC
*arg1
= (wxDC
*) 0 ;
20914 PyObject
*swig_obj
[1] ;
20916 if (!args
) SWIG_fail
;
20917 swig_obj
[0] = args
;
20918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20919 if (!SWIG_IsOK(res1
)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= wxDC_GetClippingRect(arg1
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20936 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 PyObject
*resultobj
= 0;
20938 wxDC
*arg1
= (wxDC
*) 0 ;
20942 PyObject
*swig_obj
[1] ;
20944 if (!args
) SWIG_fail
;
20945 swig_obj
[0] = args
;
20946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_From_int(static_cast< int >(result
));
20964 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20965 PyObject
*resultobj
= 0;
20966 wxDC
*arg1
= (wxDC
*) 0 ;
20970 PyObject
*swig_obj
[1] ;
20972 if (!args
) SWIG_fail
;
20973 swig_obj
[0] = args
;
20974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_From_int(static_cast< int >(result
));
20992 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
= 0;
20994 wxDC
*arg1
= (wxDC
*) 0 ;
20995 wxString
*arg2
= 0 ;
20996 int *arg3
= (int *) 0 ;
20997 int *arg4
= (int *) 0 ;
21000 bool temp2
= false ;
21002 int res3
= SWIG_TMPOBJ
;
21004 int res4
= SWIG_TMPOBJ
;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char * kwnames
[] = {
21008 (char *) "self",(char *) "string", NULL
21013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21020 arg2
= wxString_in_helper(obj1
);
21021 if (arg2
== NULL
) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_Py_Void();
21031 if (SWIG_IsTmpObj(res3
)) {
21032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21034 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21037 if (SWIG_IsTmpObj(res4
)) {
21038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21040 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21057 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
= 0;
21059 wxDC
*arg1
= (wxDC
*) 0 ;
21060 wxString
*arg2
= 0 ;
21061 int *arg3
= (int *) 0 ;
21062 int *arg4
= (int *) 0 ;
21063 int *arg5
= (int *) 0 ;
21064 int *arg6
= (int *) 0 ;
21065 wxFont
*arg7
= (wxFont
*) NULL
;
21068 bool temp2
= false ;
21070 int res3
= SWIG_TMPOBJ
;
21072 int res4
= SWIG_TMPOBJ
;
21074 int res5
= SWIG_TMPOBJ
;
21076 int res6
= SWIG_TMPOBJ
;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 PyObject
* obj2
= 0 ;
21082 char * kwnames
[] = {
21083 (char *) "self",(char *) "string",(char *) "font", NULL
21090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21092 if (!SWIG_IsOK(res1
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21097 arg2
= wxString_in_helper(obj1
);
21098 if (arg2
== NULL
) SWIG_fail
;
21102 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21103 if (!SWIG_IsOK(res7
)) {
21104 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21106 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_Py_Void();
21115 if (SWIG_IsTmpObj(res3
)) {
21116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21121 if (SWIG_IsTmpObj(res4
)) {
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21124 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21127 if (SWIG_IsTmpObj(res5
)) {
21128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21130 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21133 if (SWIG_IsTmpObj(res6
)) {
21134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21136 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21153 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
= 0;
21155 wxDC
*arg1
= (wxDC
*) 0 ;
21156 wxString
*arg2
= 0 ;
21157 int *arg3
= (int *) 0 ;
21158 int *arg4
= (int *) 0 ;
21159 int *arg5
= (int *) 0 ;
21160 wxFont
*arg6
= (wxFont
*) NULL
;
21163 bool temp2
= false ;
21165 int res3
= SWIG_TMPOBJ
;
21167 int res4
= SWIG_TMPOBJ
;
21169 int res5
= SWIG_TMPOBJ
;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 PyObject
* obj2
= 0 ;
21175 char * kwnames
[] = {
21176 (char *) "self",(char *) "text",(char *) "font", NULL
21182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21184 if (!SWIG_IsOK(res1
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21189 arg2
= wxString_in_helper(obj1
);
21190 if (arg2
== NULL
) SWIG_fail
;
21194 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21195 if (!SWIG_IsOK(res6
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21198 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_Py_Void();
21207 if (SWIG_IsTmpObj(res3
)) {
21208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21210 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21213 if (SWIG_IsTmpObj(res4
)) {
21214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21216 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21219 if (SWIG_IsTmpObj(res5
)) {
21220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21222 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21239 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
= 0;
21241 wxDC
*arg1
= (wxDC
*) 0 ;
21242 wxString
*arg2
= 0 ;
21246 bool temp2
= false ;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 char * kwnames
[] = {
21250 (char *) "self",(char *) "text", NULL
21253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21260 arg2
= wxString_in_helper(obj1
);
21261 if (arg2
== NULL
) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= wxArrayInt2PyList_helper(result
);
21287 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21288 PyObject
*resultobj
= 0;
21289 wxDC
*arg1
= (wxDC
*) 0 ;
21293 PyObject
*swig_obj
[1] ;
21295 if (!args
) SWIG_fail
;
21296 swig_obj
[0] = args
;
21297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21298 if (!SWIG_IsOK(res1
)) {
21299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (arg1
)->GetSize();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21315 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 PyObject
*resultobj
= 0;
21317 wxDC
*arg1
= (wxDC
*) 0 ;
21318 int *arg2
= (int *) 0 ;
21319 int *arg3
= (int *) 0 ;
21323 int res2
= SWIG_TMPOBJ
;
21325 int res3
= SWIG_TMPOBJ
;
21326 PyObject
*swig_obj
[1] ;
21330 if (!args
) SWIG_fail
;
21331 swig_obj
[0] = args
;
21332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 (arg1
)->GetSize(arg2
,arg3
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_Py_Void();
21344 if (SWIG_IsTmpObj(res2
)) {
21345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21347 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21350 if (SWIG_IsTmpObj(res3
)) {
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21353 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21362 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 PyObject
*resultobj
= 0;
21364 wxDC
*arg1
= (wxDC
*) 0 ;
21368 PyObject
*swig_obj
[1] ;
21370 if (!args
) SWIG_fail
;
21371 swig_obj
[0] = args
;
21372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21390 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21391 PyObject
*resultobj
= 0;
21392 wxDC
*arg1
= (wxDC
*) 0 ;
21393 int *arg2
= (int *) 0 ;
21394 int *arg3
= (int *) 0 ;
21398 int res2
= SWIG_TMPOBJ
;
21400 int res3
= SWIG_TMPOBJ
;
21401 PyObject
*swig_obj
[1] ;
21405 if (!args
) SWIG_fail
;
21406 swig_obj
[0] = args
;
21407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21408 if (!SWIG_IsOK(res1
)) {
21409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= SWIG_Py_Void();
21419 if (SWIG_IsTmpObj(res2
)) {
21420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21422 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21425 if (SWIG_IsTmpObj(res3
)) {
21426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21428 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21437 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxDC
*arg1
= (wxDC
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "x", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21459 if (!SWIG_IsOK(ecode2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21462 arg2
= static_cast< int >(val2
);
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= SWIG_From_int(static_cast< int >(result
));
21476 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
= 0;
21478 wxDC
*arg1
= (wxDC
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 char * kwnames
[] = {
21488 (char *) "self",(char *) "y", NULL
21491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21498 if (!SWIG_IsOK(ecode2
)) {
21499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21501 arg2
= static_cast< int >(val2
);
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_From_int(static_cast< int >(result
));
21515 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
= 0;
21517 wxDC
*arg1
= (wxDC
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 char * kwnames
[] = {
21527 (char *) "self",(char *) "x", NULL
21530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21537 if (!SWIG_IsOK(ecode2
)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21540 arg2
= static_cast< int >(val2
);
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_From_int(static_cast< int >(result
));
21554 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
= 0;
21556 wxDC
*arg1
= (wxDC
*) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 char * kwnames
[] = {
21566 (char *) "self",(char *) "y", NULL
21569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21571 if (!SWIG_IsOK(res1
)) {
21572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21576 if (!SWIG_IsOK(ecode2
)) {
21577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21579 arg2
= static_cast< int >(val2
);
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_From_int(static_cast< int >(result
));
21593 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
= 0;
21595 wxDC
*arg1
= (wxDC
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char * kwnames
[] = {
21605 (char *) "self",(char *) "x", NULL
21608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21615 if (!SWIG_IsOK(ecode2
)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21618 arg2
= static_cast< int >(val2
);
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= SWIG_From_int(static_cast< int >(result
));
21632 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
= 0;
21634 wxDC
*arg1
= (wxDC
*) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "self",(char *) "y", NULL
21647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21654 if (!SWIG_IsOK(ecode2
)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21657 arg2
= static_cast< int >(val2
);
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_From_int(static_cast< int >(result
));
21671 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
= 0;
21673 wxDC
*arg1
= (wxDC
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 char * kwnames
[] = {
21683 (char *) "self",(char *) "x", NULL
21686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21688 if (!SWIG_IsOK(res1
)) {
21689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21693 if (!SWIG_IsOK(ecode2
)) {
21694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21696 arg2
= static_cast< int >(val2
);
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= SWIG_From_int(static_cast< int >(result
));
21710 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
= 0;
21712 wxDC
*arg1
= (wxDC
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 char * kwnames
[] = {
21722 (char *) "self",(char *) "y", NULL
21725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21732 if (!SWIG_IsOK(ecode2
)) {
21733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21735 arg2
= static_cast< int >(val2
);
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= SWIG_From_int(static_cast< int >(result
));
21749 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21750 PyObject
*resultobj
= 0;
21751 wxDC
*arg1
= (wxDC
*) 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_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21779 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21780 PyObject
*resultobj
= 0;
21781 wxDC
*arg1
= (wxDC
*) 0 ;
21785 PyObject
*swig_obj
[1] ;
21787 if (!args
) SWIG_fail
;
21788 swig_obj
[0] = args
;
21789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21809 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21810 PyObject
*resultobj
= 0;
21811 wxDC
*arg1
= (wxDC
*) 0 ;
21815 PyObject
*swig_obj
[1] ;
21817 if (!args
) SWIG_fail
;
21818 swig_obj
[0] = args
;
21819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21820 if (!SWIG_IsOK(res1
)) {
21821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= SWIG_From_int(static_cast< int >(result
));
21837 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21838 PyObject
*resultobj
= 0;
21839 wxDC
*arg1
= (wxDC
*) 0 ;
21843 PyObject
*swig_obj
[1] ;
21845 if (!args
) SWIG_fail
;
21846 swig_obj
[0] = args
;
21847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= ((wxDC
const *)arg1
)->GetPPI();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21865 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21866 PyObject
*resultobj
= 0;
21867 wxDC
*arg1
= (wxDC
*) 0 ;
21871 PyObject
*swig_obj
[1] ;
21873 if (!args
) SWIG_fail
;
21874 swig_obj
[0] = args
;
21875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21876 if (!SWIG_IsOK(res1
)) {
21877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21895 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21896 PyObject
*resultobj
= 0;
21897 wxDC
*arg1
= (wxDC
*) 0 ;
21901 PyObject
*swig_obj
[1] ;
21903 if (!args
) SWIG_fail
;
21904 swig_obj
[0] = args
;
21905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21906 if (!SWIG_IsOK(res1
)) {
21907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= SWIG_From_int(static_cast< int >(result
));
21923 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21924 PyObject
*resultobj
= 0;
21925 wxDC
*arg1
= (wxDC
*) 0 ;
21926 wxBrush
*result
= 0 ;
21929 PyObject
*swig_obj
[1] ;
21931 if (!args
) SWIG_fail
;
21932 swig_obj
[0] = args
;
21933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21934 if (!SWIG_IsOK(res1
)) {
21935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21942 result
= (wxBrush
*) &_result_ref
;
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21948 wxBrush
* resultptr
= new wxBrush(*result
);
21949 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21957 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21958 PyObject
*resultobj
= 0;
21959 wxDC
*arg1
= (wxDC
*) 0 ;
21960 wxBrush
*result
= 0 ;
21963 PyObject
*swig_obj
[1] ;
21965 if (!args
) SWIG_fail
;
21966 swig_obj
[0] = args
;
21967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21976 result
= (wxBrush
*) &_result_ref
;
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21982 wxBrush
* resultptr
= new wxBrush(*result
);
21983 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21991 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21992 PyObject
*resultobj
= 0;
21993 wxDC
*arg1
= (wxDC
*) 0 ;
21994 wxFont
*result
= 0 ;
21997 PyObject
*swig_obj
[1] ;
21999 if (!args
) SWIG_fail
;
22000 swig_obj
[0] = args
;
22001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22002 if (!SWIG_IsOK(res1
)) {
22003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22010 result
= (wxFont
*) &_result_ref
;
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 wxFont
* resultptr
= new wxFont(*result
);
22017 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22025 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22026 PyObject
*resultobj
= 0;
22027 wxDC
*arg1
= (wxDC
*) 0 ;
22028 wxPen
*result
= 0 ;
22031 PyObject
*swig_obj
[1] ;
22033 if (!args
) SWIG_fail
;
22034 swig_obj
[0] = args
;
22035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22036 if (!SWIG_IsOK(res1
)) {
22037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22044 result
= (wxPen
*) &_result_ref
;
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 wxPen
* resultptr
= new wxPen(*result
);
22051 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22059 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22060 PyObject
*resultobj
= 0;
22061 wxDC
*arg1
= (wxDC
*) 0 ;
22062 wxColour
*result
= 0 ;
22065 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22078 result
= (wxColour
*) &_result_ref
;
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22090 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22091 PyObject
*resultobj
= 0;
22092 wxDC
*arg1
= (wxDC
*) 0 ;
22093 wxColour
*result
= 0 ;
22096 PyObject
*swig_obj
[1] ;
22098 if (!args
) SWIG_fail
;
22099 swig_obj
[0] = args
;
22100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22101 if (!SWIG_IsOK(res1
)) {
22102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22109 result
= (wxColour
*) &_result_ref
;
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22121 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
= 0;
22123 wxDC
*arg1
= (wxDC
*) 0 ;
22124 wxColour
*arg2
= 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "self",(char *) "colour", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= SWIG_Py_Void();
22157 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
= 0;
22159 wxDC
*arg1
= (wxDC
*) 0 ;
22160 wxColour
*arg2
= 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char * kwnames
[] = {
22167 (char *) "self",(char *) "colour", NULL
22170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22172 if (!SWIG_IsOK(res1
)) {
22173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_Py_Void();
22193 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22194 PyObject
*resultobj
= 0;
22195 wxDC
*arg1
= (wxDC
*) 0 ;
22199 PyObject
*swig_obj
[1] ;
22201 if (!args
) SWIG_fail
;
22202 swig_obj
[0] = args
;
22203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22204 if (!SWIG_IsOK(res1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_From_int(static_cast< int >(result
));
22221 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
= 0;
22223 wxDC
*arg1
= (wxDC
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char * kwnames
[] = {
22232 (char *) "self",(char *) "mode", NULL
22235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22242 if (!SWIG_IsOK(ecode2
)) {
22243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22245 arg2
= static_cast< int >(val2
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 (arg1
)->SetMapMode(arg2
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_Py_Void();
22259 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22260 PyObject
*resultobj
= 0;
22261 wxDC
*arg1
= (wxDC
*) 0 ;
22262 double *arg2
= (double *) 0 ;
22263 double *arg3
= (double *) 0 ;
22267 int res2
= SWIG_TMPOBJ
;
22269 int res3
= SWIG_TMPOBJ
;
22270 PyObject
*swig_obj
[1] ;
22274 if (!args
) SWIG_fail
;
22275 swig_obj
[0] = args
;
22276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_Py_Void();
22288 if (SWIG_IsTmpObj(res2
)) {
22289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22291 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22294 if (SWIG_IsTmpObj(res3
)) {
22295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22297 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22306 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
= 0;
22308 wxDC
*arg1
= (wxDC
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 PyObject
* obj2
= 0 ;
22320 char * kwnames
[] = {
22321 (char *) "self",(char *) "x",(char *) "y", NULL
22324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22326 if (!SWIG_IsOK(res1
)) {
22327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22330 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22331 if (!SWIG_IsOK(ecode2
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22334 arg2
= static_cast< double >(val2
);
22335 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22336 if (!SWIG_IsOK(ecode3
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22339 arg3
= static_cast< double >(val3
);
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 (arg1
)->SetUserScale(arg2
,arg3
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= SWIG_Py_Void();
22353 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22354 PyObject
*resultobj
= 0;
22355 wxDC
*arg1
= (wxDC
*) 0 ;
22356 double *arg2
= (double *) 0 ;
22357 double *arg3
= (double *) 0 ;
22361 int res2
= SWIG_TMPOBJ
;
22363 int res3
= SWIG_TMPOBJ
;
22364 PyObject
*swig_obj
[1] ;
22368 if (!args
) SWIG_fail
;
22369 swig_obj
[0] = args
;
22370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22371 if (!SWIG_IsOK(res1
)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->GetLogicalScale(arg2
,arg3
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= SWIG_Py_Void();
22382 if (SWIG_IsTmpObj(res2
)) {
22383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22385 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22388 if (SWIG_IsTmpObj(res3
)) {
22389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22391 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22400 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
= 0;
22402 wxDC
*arg1
= (wxDC
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 PyObject
* obj2
= 0 ;
22414 char * kwnames
[] = {
22415 (char *) "self",(char *) "x",(char *) "y", NULL
22418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22424 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22425 if (!SWIG_IsOK(ecode2
)) {
22426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22428 arg2
= static_cast< double >(val2
);
22429 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22430 if (!SWIG_IsOK(ecode3
)) {
22431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22433 arg3
= static_cast< double >(val3
);
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 (arg1
)->SetLogicalScale(arg2
,arg3
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_Py_Void();
22447 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22448 PyObject
*resultobj
= 0;
22449 wxDC
*arg1
= (wxDC
*) 0 ;
22453 PyObject
*swig_obj
[1] ;
22455 if (!args
) SWIG_fail
;
22456 swig_obj
[0] = args
;
22457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22458 if (!SWIG_IsOK(res1
)) {
22459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22475 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22476 PyObject
*resultobj
= 0;
22477 wxDC
*arg1
= (wxDC
*) 0 ;
22478 int *arg2
= (int *) 0 ;
22479 int *arg3
= (int *) 0 ;
22483 int res2
= SWIG_TMPOBJ
;
22485 int res3
= SWIG_TMPOBJ
;
22486 PyObject
*swig_obj
[1] ;
22490 if (!args
) SWIG_fail
;
22491 swig_obj
[0] = args
;
22492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22493 if (!SWIG_IsOK(res1
)) {
22494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_Py_Void();
22504 if (SWIG_IsTmpObj(res2
)) {
22505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22507 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22510 if (SWIG_IsTmpObj(res3
)) {
22511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22513 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22522 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
= 0;
22524 wxDC
*arg1
= (wxDC
*) 0 ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 PyObject
* obj2
= 0 ;
22536 char * kwnames
[] = {
22537 (char *) "self",(char *) "x",(char *) "y", NULL
22540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22547 if (!SWIG_IsOK(ecode2
)) {
22548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22550 arg2
= static_cast< int >(val2
);
22551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22552 if (!SWIG_IsOK(ecode3
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22555 arg3
= static_cast< int >(val3
);
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_Py_Void();
22569 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
= 0;
22571 wxDC
*arg1
= (wxDC
*) 0 ;
22572 wxPoint
*arg2
= 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char * kwnames
[] = {
22579 (char *) "self",(char *) "point", NULL
22582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_Py_Void();
22605 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22606 PyObject
*resultobj
= 0;
22607 wxDC
*arg1
= (wxDC
*) 0 ;
22611 PyObject
*swig_obj
[1] ;
22613 if (!args
) SWIG_fail
;
22614 swig_obj
[0] = args
;
22615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22633 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 PyObject
*resultobj
= 0;
22635 wxDC
*arg1
= (wxDC
*) 0 ;
22636 int *arg2
= (int *) 0 ;
22637 int *arg3
= (int *) 0 ;
22641 int res2
= SWIG_TMPOBJ
;
22643 int res3
= SWIG_TMPOBJ
;
22644 PyObject
*swig_obj
[1] ;
22648 if (!args
) SWIG_fail
;
22649 swig_obj
[0] = args
;
22650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22651 if (!SWIG_IsOK(res1
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_Py_Void();
22662 if (SWIG_IsTmpObj(res2
)) {
22663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22665 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22668 if (SWIG_IsTmpObj(res3
)) {
22669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22671 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22680 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxDC
*arg1
= (wxDC
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 PyObject
* obj2
= 0 ;
22694 char * kwnames
[] = {
22695 (char *) "self",(char *) "x",(char *) "y", NULL
22698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22705 if (!SWIG_IsOK(ecode2
)) {
22706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22708 arg2
= static_cast< int >(val2
);
22709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22710 if (!SWIG_IsOK(ecode3
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22713 arg3
= static_cast< int >(val3
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_Py_Void();
22727 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
= 0;
22729 wxDC
*arg1
= (wxDC
*) 0 ;
22730 wxPoint
*arg2
= 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char * kwnames
[] = {
22737 (char *) "self",(char *) "point", NULL
22740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22742 if (!SWIG_IsOK(res1
)) {
22743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 resultobj
= SWIG_Py_Void();
22763 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
= 0;
22765 wxDC
*arg1
= (wxDC
*) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 PyObject
* obj1
= 0 ;
22776 PyObject
* obj2
= 0 ;
22777 char * kwnames
[] = {
22778 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22787 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22788 if (!SWIG_IsOK(ecode2
)) {
22789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22791 arg2
= static_cast< bool >(val2
);
22792 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22793 if (!SWIG_IsOK(ecode3
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22796 arg3
= static_cast< bool >(val3
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= SWIG_Py_Void();
22810 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 PyObject
*resultobj
= 0;
22812 wxDC
*arg1
= (wxDC
*) 0 ;
22816 PyObject
*swig_obj
[1] ;
22818 if (!args
) SWIG_fail
;
22819 swig_obj
[0] = args
;
22820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22821 if (!SWIG_IsOK(res1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_From_int(static_cast< int >(result
));
22838 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
= 0;
22840 wxDC
*arg1
= (wxDC
*) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 char * kwnames
[] = {
22849 (char *) "self",(char *) "function", NULL
22852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22854 if (!SWIG_IsOK(res1
)) {
22855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22859 if (!SWIG_IsOK(ecode2
)) {
22860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22862 arg2
= static_cast< int >(val2
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 (arg1
)->SetLogicalFunction(arg2
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_Py_Void();
22876 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22877 PyObject
*resultobj
= 0;
22878 wxDC
*arg1
= (wxDC
*) 0 ;
22881 PyObject
*swig_obj
[1] ;
22883 if (!args
) SWIG_fail
;
22884 swig_obj
[0] = args
;
22885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 (arg1
)->ComputeScaleAndOrigin();
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_Py_Void();
22903 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
= 0;
22905 wxDC
*arg1
= (wxDC
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 PyObject
* obj2
= 0 ;
22917 char * kwnames
[] = {
22918 (char *) "self",(char *) "x",(char *) "y", NULL
22921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22928 if (!SWIG_IsOK(ecode2
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22931 arg2
= static_cast< int >(val2
);
22932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22933 if (!SWIG_IsOK(ecode3
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22936 arg3
= static_cast< int >(val3
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_Py_Void();
22950 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
= 0;
22952 wxDC
*arg1
= (wxDC
*) 0 ;
22953 wxPoint
*arg2
= 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char * kwnames
[] = {
22960 (char *) "self",(char *) "point", NULL
22963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_Py_Void();
22986 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22987 PyObject
*resultobj
= 0;
22988 wxDC
*arg1
= (wxDC
*) 0 ;
22991 PyObject
*swig_obj
[1] ;
22993 if (!args
) SWIG_fail
;
22994 swig_obj
[0] = args
;
22995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 (arg1
)->ResetBoundingBox();
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_Py_Void();
23013 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23014 PyObject
*resultobj
= 0;
23015 wxDC
*arg1
= (wxDC
*) 0 ;
23019 PyObject
*swig_obj
[1] ;
23021 if (!args
) SWIG_fail
;
23022 swig_obj
[0] = args
;
23023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23024 if (!SWIG_IsOK(res1
)) {
23025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (int)((wxDC
const *)arg1
)->MinX();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_From_int(static_cast< int >(result
));
23041 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23042 PyObject
*resultobj
= 0;
23043 wxDC
*arg1
= (wxDC
*) 0 ;
23047 PyObject
*swig_obj
[1] ;
23049 if (!args
) SWIG_fail
;
23050 swig_obj
[0] = args
;
23051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 result
= (int)((wxDC
const *)arg1
)->MaxX();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_From_int(static_cast< int >(result
));
23069 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23070 PyObject
*resultobj
= 0;
23071 wxDC
*arg1
= (wxDC
*) 0 ;
23075 PyObject
*swig_obj
[1] ;
23077 if (!args
) SWIG_fail
;
23078 swig_obj
[0] = args
;
23079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (int)((wxDC
const *)arg1
)->MinY();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_From_int(static_cast< int >(result
));
23097 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23098 PyObject
*resultobj
= 0;
23099 wxDC
*arg1
= (wxDC
*) 0 ;
23103 PyObject
*swig_obj
[1] ;
23105 if (!args
) SWIG_fail
;
23106 swig_obj
[0] = args
;
23107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (int)((wxDC
const *)arg1
)->MaxY();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_From_int(static_cast< int >(result
));
23125 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23126 PyObject
*resultobj
= 0;
23127 wxDC
*arg1
= (wxDC
*) 0 ;
23128 int *arg2
= (int *) 0 ;
23129 int *arg3
= (int *) 0 ;
23130 int *arg4
= (int *) 0 ;
23131 int *arg5
= (int *) 0 ;
23135 int res2
= SWIG_TMPOBJ
;
23137 int res3
= SWIG_TMPOBJ
;
23139 int res4
= SWIG_TMPOBJ
;
23141 int res5
= SWIG_TMPOBJ
;
23142 PyObject
*swig_obj
[1] ;
23148 if (!args
) SWIG_fail
;
23149 swig_obj
[0] = args
;
23150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_Py_Void();
23162 if (SWIG_IsTmpObj(res2
)) {
23163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23165 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23168 if (SWIG_IsTmpObj(res3
)) {
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23174 if (SWIG_IsTmpObj(res4
)) {
23175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23177 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23180 if (SWIG_IsTmpObj(res5
)) {
23181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23183 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23192 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23193 PyObject
*resultobj
= 0;
23194 wxDC
*arg1
= (wxDC
*) 0 ;
23195 wxLayoutDirection result
;
23198 PyObject
*swig_obj
[1] ;
23200 if (!args
) SWIG_fail
;
23201 swig_obj
[0] = args
;
23202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23203 if (!SWIG_IsOK(res1
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_From_int(static_cast< int >(result
));
23220 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
= 0;
23222 wxDC
*arg1
= (wxDC
*) 0 ;
23223 wxLayoutDirection arg2
;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 char * kwnames
[] = {
23231 (char *) "self",(char *) "dir", NULL
23234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23236 if (!SWIG_IsOK(res1
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23241 if (!SWIG_IsOK(ecode2
)) {
23242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23244 arg2
= static_cast< wxLayoutDirection
>(val2
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 (arg1
)->SetLayoutDirection(arg2
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_Py_Void();
23258 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
= 0;
23260 wxDC
*arg1
= (wxDC
*) 0 ;
23261 PyObject
*arg2
= (PyObject
*) 0 ;
23262 PyObject
*arg3
= (PyObject
*) 0 ;
23263 PyObject
*arg4
= (PyObject
*) 0 ;
23264 PyObject
*result
= 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 PyObject
* obj2
= 0 ;
23270 PyObject
* obj3
= 0 ;
23271 char * kwnames
[] = {
23272 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23277 if (!SWIG_IsOK(res1
)) {
23278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= result
;
23297 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
= 0;
23299 wxDC
*arg1
= (wxDC
*) 0 ;
23300 PyObject
*arg2
= (PyObject
*) 0 ;
23301 PyObject
*arg3
= (PyObject
*) 0 ;
23302 PyObject
*arg4
= (PyObject
*) 0 ;
23303 PyObject
*result
= 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 PyObject
* obj2
= 0 ;
23309 PyObject
* obj3
= 0 ;
23310 char * kwnames
[] = {
23311 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23316 if (!SWIG_IsOK(res1
)) {
23317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= result
;
23336 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
= 0;
23338 wxDC
*arg1
= (wxDC
*) 0 ;
23339 PyObject
*arg2
= (PyObject
*) 0 ;
23340 PyObject
*arg3
= (PyObject
*) 0 ;
23341 PyObject
*arg4
= (PyObject
*) 0 ;
23342 PyObject
*result
= 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 PyObject
* obj3
= 0 ;
23349 char * kwnames
[] = {
23350 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= result
;
23375 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
= 0;
23377 wxDC
*arg1
= (wxDC
*) 0 ;
23378 PyObject
*arg2
= (PyObject
*) 0 ;
23379 PyObject
*arg3
= (PyObject
*) 0 ;
23380 PyObject
*arg4
= (PyObject
*) 0 ;
23381 PyObject
*result
= 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 PyObject
* obj2
= 0 ;
23387 PyObject
* obj3
= 0 ;
23388 char * kwnames
[] = {
23389 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23394 if (!SWIG_IsOK(res1
)) {
23395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= result
;
23414 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
= 0;
23416 wxDC
*arg1
= (wxDC
*) 0 ;
23417 PyObject
*arg2
= (PyObject
*) 0 ;
23418 PyObject
*arg3
= (PyObject
*) 0 ;
23419 PyObject
*arg4
= (PyObject
*) 0 ;
23420 PyObject
*result
= 0 ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 PyObject
* obj2
= 0 ;
23426 PyObject
* obj3
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
;
23453 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
= 0;
23455 wxDC
*arg1
= (wxDC
*) 0 ;
23456 PyObject
*arg2
= (PyObject
*) 0 ;
23457 PyObject
*arg3
= (PyObject
*) 0 ;
23458 PyObject
*arg4
= (PyObject
*) 0 ;
23459 PyObject
*arg5
= (PyObject
*) 0 ;
23460 PyObject
*result
= 0 ;
23463 PyObject
* obj0
= 0 ;
23464 PyObject
* obj1
= 0 ;
23465 PyObject
* obj2
= 0 ;
23466 PyObject
* obj3
= 0 ;
23467 PyObject
* obj4
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= result
;
23495 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23498 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23499 return SWIG_Py_Void();
23502 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= 0;
23505 wxColour
*arg2
= 0 ;
23506 wxDCTextColourChanger
*result
= 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char * kwnames
[] = {
23513 (char *) "dc",(char *) "col", NULL
23516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23527 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23542 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23543 PyObject
*resultobj
= 0;
23544 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23547 PyObject
*swig_obj
[1] ;
23549 if (!args
) SWIG_fail
;
23550 swig_obj
[0] = args
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23555 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_Py_Void();
23570 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23573 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23574 return SWIG_Py_Void();
23577 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23578 return SWIG_Python_InitShadowInstance(args
);
23581 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
= 0;
23585 wxDCPenChanger
*result
= 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char * kwnames
[] = {
23593 (char *) "dc",(char *) "pen", NULL
23596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23597 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23598 if (!SWIG_IsOK(res1
)) {
23599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23606 if (!SWIG_IsOK(res2
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23612 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23626 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23627 PyObject
*resultobj
= 0;
23628 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23631 PyObject
*swig_obj
[1] ;
23633 if (!args
) SWIG_fail
;
23634 swig_obj
[0] = args
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23639 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_Py_Void();
23654 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23657 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23658 return SWIG_Py_Void();
23661 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 return SWIG_Python_InitShadowInstance(args
);
23665 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
= 0;
23668 wxBrush
*arg2
= 0 ;
23669 wxDCBrushChanger
*result
= 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "dc",(char *) "brush", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23681 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23690 if (!SWIG_IsOK(res2
)) {
23691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23696 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23710 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23711 PyObject
*resultobj
= 0;
23712 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23715 PyObject
*swig_obj
[1] ;
23717 if (!args
) SWIG_fail
;
23718 swig_obj
[0] = args
;
23719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23723 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_Py_Void();
23738 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23741 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23742 return SWIG_Py_Void();
23745 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23746 return SWIG_Python_InitShadowInstance(args
);
23749 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23750 PyObject
*resultobj
= 0;
23752 wxRegion
*arg2
= 0 ;
23753 wxDCClipper
*result
= 0 ;
23759 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23761 if (!SWIG_IsOK(res1
)) {
23762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23768 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23769 if (!SWIG_IsOK(res2
)) {
23770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23775 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23789 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23790 PyObject
*resultobj
= 0;
23793 wxDCClipper
*result
= 0 ;
23798 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23809 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23824 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23825 PyObject
*resultobj
= 0;
23831 wxDCClipper
*result
= 0 ;
23843 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23845 if (!SWIG_IsOK(res1
)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23852 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23853 if (!SWIG_IsOK(ecode2
)) {
23854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23856 arg2
= static_cast< int >(val2
);
23857 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23858 if (!SWIG_IsOK(ecode3
)) {
23859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23861 arg3
= static_cast< int >(val3
);
23862 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23863 if (!SWIG_IsOK(ecode4
)) {
23864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23866 arg4
= static_cast< int >(val4
);
23867 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23868 if (!SWIG_IsOK(ecode5
)) {
23869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23871 arg5
= static_cast< int >(val5
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23885 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23889 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23894 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23895 _v
= SWIG_CheckState(res
);
23897 if (!_v
) goto check_1
;
23898 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23903 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23906 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23910 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23915 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23916 PyObject
*resultobj
= 0;
23917 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23920 PyObject
*swig_obj
[1] ;
23922 if (!args
) SWIG_fail
;
23923 swig_obj
[0] = args
;
23924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23925 if (!SWIG_IsOK(res1
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23928 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_Py_Void();
23943 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23946 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23947 return SWIG_Py_Void();
23950 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23951 return SWIG_Python_InitShadowInstance(args
);
23954 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23955 PyObject
*resultobj
= 0;
23956 wxScreenDC
*result
= 0 ;
23958 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23960 if (!wxPyCheckForApp()) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (wxScreenDC
*)new wxScreenDC();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23973 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
= 0;
23975 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23976 wxWindow
*arg2
= (wxWindow
*) 0 ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 char * kwnames
[] = {
23985 (char *) "self",(char *) "window", NULL
23988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23990 if (!SWIG_IsOK(res1
)) {
23991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23993 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23995 if (!SWIG_IsOK(res2
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24014 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
= 0;
24016 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24017 wxRect
*arg2
= (wxRect
*) NULL
;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char * kwnames
[] = {
24026 (char *) "self",(char *) "rect", NULL
24029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24034 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24037 if (!SWIG_IsOK(res2
)) {
24038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24040 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24057 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24058 PyObject
*resultobj
= 0;
24059 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24063 PyObject
*swig_obj
[1] ;
24065 if (!args
) SWIG_fail
;
24066 swig_obj
[0] = args
;
24067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24071 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 result
= (bool)(arg1
)->EndDrawingOnTop();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24087 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24090 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24091 return SWIG_Py_Void();
24094 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 return SWIG_Python_InitShadowInstance(args
);
24098 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
= 0;
24100 wxWindow
*arg1
= (wxWindow
*) 0 ;
24101 wxWindowDC
*result
= 0 ;
24104 PyObject
* obj0
= 0 ;
24105 char * kwnames
[] = {
24106 (char *) "win", NULL
24109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24116 if (!wxPyCheckForApp()) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24129 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24132 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24133 return SWIG_Py_Void();
24136 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24137 return SWIG_Python_InitShadowInstance(args
);
24140 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= 0;
24142 wxWindow
*arg1
= (wxWindow
*) 0 ;
24143 wxClientDC
*result
= 0 ;
24146 PyObject
* obj0
= 0 ;
24147 char * kwnames
[] = {
24148 (char *) "win", NULL
24151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24153 if (!SWIG_IsOK(res1
)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24158 if (!wxPyCheckForApp()) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (wxClientDC
*)new wxClientDC(arg1
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24171 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24174 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24175 return SWIG_Py_Void();
24178 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 return SWIG_Python_InitShadowInstance(args
);
24182 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxWindow
*arg1
= (wxWindow
*) 0 ;
24185 wxPaintDC
*result
= 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char * kwnames
[] = {
24190 (char *) "win", NULL
24193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24195 if (!SWIG_IsOK(res1
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24200 if (!wxPyCheckForApp()) SWIG_fail
;
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24213 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24216 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24217 return SWIG_Py_Void();
24220 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24221 return SWIG_Python_InitShadowInstance(args
);
24224 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
= 0;
24226 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24227 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24228 wxMemoryDC
*result
= 0 ;
24231 PyObject
* obj0
= 0 ;
24232 char * kwnames
[] = {
24233 (char *) "bitmap", NULL
24236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24238 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24239 if (!SWIG_IsOK(res1
)) {
24240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24245 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24261 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
= 0;
24263 wxDC
*arg1
= (wxDC
*) 0 ;
24264 wxMemoryDC
*result
= 0 ;
24267 PyObject
* obj0
= 0 ;
24268 char * kwnames
[] = {
24269 (char *) "oldDC", NULL
24272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24279 if (!wxPyCheckForApp()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24292 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
= 0;
24294 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24295 wxBitmap
*arg2
= 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char * kwnames
[] = {
24303 (char *) "self",(char *) "bitmap", NULL
24306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24308 if (!SWIG_IsOK(res1
)) {
24309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24311 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24313 if (!SWIG_IsOK(res2
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24319 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 (arg1
)->SelectObject(*arg2
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= SWIG_Py_Void();
24333 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
= 0;
24335 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24336 wxBitmap
*arg2
= 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char * kwnames
[] = {
24344 (char *) "self",(char *) "bmp", NULL
24347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24352 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24354 if (!SWIG_IsOK(res2
)) {
24355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24360 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_Py_Void();
24374 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24377 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24378 return SWIG_Py_Void();
24381 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24382 return SWIG_Python_InitShadowInstance(args
);
24385 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24386 PyObject
*resultobj
= 0;
24387 wxDC
*arg1
= (wxDC
*) 0 ;
24388 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24389 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24390 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24391 wxBufferedDC
*result
= 0 ;
24399 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24401 if (!SWIG_IsOK(res1
)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24406 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24407 if (!SWIG_IsOK(res2
)) {
24408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24413 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24416 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24417 if (!SWIG_IsOK(ecode3
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24420 arg3
= static_cast< int >(val3
);
24423 if (!wxPyCheckForApp()) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24436 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24437 PyObject
*resultobj
= 0;
24438 wxDC
*arg1
= (wxDC
*) 0 ;
24440 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24441 wxBufferedDC
*result
= 0 ;
24448 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24456 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24459 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24460 if (!SWIG_IsOK(ecode3
)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24463 arg3
= static_cast< int >(val3
);
24466 if (!wxPyCheckForApp()) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24479 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24483 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24485 if ((argc
>= 1) && (argc
<= 3)) {
24490 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24491 _v
= SWIG_CheckState(res
);
24493 if (!_v
) goto check_1
;
24495 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24499 if ((argc
>= 2) && (argc
<= 3)) {
24500 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24504 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24509 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24510 PyObject
*resultobj
= 0;
24511 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24514 PyObject
*swig_obj
[1] ;
24516 if (!args
) SWIG_fail
;
24517 swig_obj
[0] = args
;
24518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24522 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= SWIG_Py_Void();
24537 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24538 PyObject
*resultobj
= 0;
24539 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24542 PyObject
*swig_obj
[1] ;
24544 if (!args
) SWIG_fail
;
24545 swig_obj
[0] = args
;
24546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24550 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char * kwnames
[] = {
24575 (char *) "self",(char *) "style", NULL
24578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24580 if (!SWIG_IsOK(res1
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24583 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24585 if (!SWIG_IsOK(ecode2
)) {
24586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24588 arg2
= static_cast< int >(val2
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->SetStyle(arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_Py_Void();
24602 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24603 PyObject
*resultobj
= 0;
24604 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24608 PyObject
*swig_obj
[1] ;
24610 if (!args
) SWIG_fail
;
24611 swig_obj
[0] = args
;
24612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24616 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_From_int(static_cast< int >(result
));
24630 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24633 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24634 return SWIG_Py_Void();
24637 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 return SWIG_Python_InitShadowInstance(args
);
24641 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= 0;
24643 wxWindow
*arg1
= (wxWindow
*) 0 ;
24644 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24645 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24646 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24647 wxBufferedPaintDC
*result
= 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 PyObject
* obj2
= 0 ;
24657 char * kwnames
[] = {
24658 (char *) "window",(char *) "buffer",(char *) "style", NULL
24661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24663 if (!SWIG_IsOK(res1
)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24669 if (!SWIG_IsOK(res2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24675 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24679 if (!SWIG_IsOK(ecode3
)) {
24680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24682 arg3
= static_cast< int >(val3
);
24685 if (!wxPyCheckForApp()) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24698 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24701 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24702 return SWIG_Py_Void();
24705 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 return SWIG_Python_InitShadowInstance(args
);
24709 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= 0;
24711 wxWindow
*arg1
= (wxWindow
*) 0 ;
24712 wxAutoBufferedPaintDC
*result
= 0 ;
24715 PyObject
* obj0
= 0 ;
24716 char * kwnames
[] = {
24717 (char *) "win", NULL
24720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24739 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24742 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24743 return SWIG_Py_Void();
24746 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24747 return SWIG_Python_InitShadowInstance(args
);
24750 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
= 0;
24752 wxWindow
*arg1
= (wxWindow
*) 0 ;
24756 PyObject
* obj0
= 0 ;
24757 char * kwnames
[] = {
24758 (char *) "window", NULL
24761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24782 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24786 wxMirrorDC
*result
= 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 char * kwnames
[] = {
24794 (char *) "dc",(char *) "mirror", NULL
24797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24798 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24807 if (!SWIG_IsOK(ecode2
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24810 arg2
= static_cast< bool >(val2
);
24812 if (!wxPyCheckForApp()) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24825 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24828 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24829 return SWIG_Py_Void();
24832 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 return SWIG_Python_InitShadowInstance(args
);
24836 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
= 0;
24838 wxPrintData
*arg1
= 0 ;
24839 wxPostScriptDC
*result
= 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "printData", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24855 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24857 if (!wxPyCheckForApp()) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24870 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24871 PyObject
*resultobj
= 0;
24872 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24873 wxPrintData
*result
= 0 ;
24876 PyObject
*swig_obj
[1] ;
24878 if (!args
) SWIG_fail
;
24879 swig_obj
[0] = args
;
24880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24884 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24889 result
= (wxPrintData
*) &_result_ref
;
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24901 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
= 0;
24903 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24904 wxPrintData
*arg2
= 0 ;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 char * kwnames
[] = {
24912 (char *) "self",(char *) "data", NULL
24915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24917 if (!SWIG_IsOK(res1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24920 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24922 if (!SWIG_IsOK(res2
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24928 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_Py_Void();
24942 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
= 0;
24947 PyObject
* obj0
= 0 ;
24948 char * kwnames
[] = {
24949 (char *) "ppi", NULL
24952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24954 if (!SWIG_IsOK(ecode1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24957 arg1
= static_cast< int >(val1
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 wxPostScriptDC::SetResolution(arg1
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_Py_Void();
24971 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24972 PyObject
*resultobj
= 0;
24975 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (int)wxPostScriptDC::GetResolution();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_From_int(static_cast< int >(result
));
24989 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24992 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24993 return SWIG_Py_Void();
24996 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 return SWIG_Python_InitShadowInstance(args
);
25000 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
= 0;
25002 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25003 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25004 wxMetaFile
*result
= 0 ;
25005 bool temp1
= false ;
25006 PyObject
* obj0
= 0 ;
25007 char * kwnames
[] = {
25008 (char *) "filename", NULL
25011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25014 arg1
= wxString_in_helper(obj0
);
25015 if (arg1
== NULL
) SWIG_fail
;
25020 if (!wxPyCheckForApp()) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25041 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25044 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25045 return SWIG_Py_Void();
25048 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25049 return SWIG_Python_InitShadowInstance(args
);
25052 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
= 0;
25054 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25055 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25056 int arg2
= (int) 0 ;
25057 int arg3
= (int) 0 ;
25058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25060 wxMetaFileDC
*result
= 0 ;
25061 bool temp1
= false ;
25066 bool temp4
= false ;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 PyObject
* obj2
= 0 ;
25070 PyObject
* obj3
= 0 ;
25071 char * kwnames
[] = {
25072 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25078 arg1
= wxString_in_helper(obj0
);
25079 if (arg1
== NULL
) SWIG_fail
;
25084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25085 if (!SWIG_IsOK(ecode2
)) {
25086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25088 arg2
= static_cast< int >(val2
);
25091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25092 if (!SWIG_IsOK(ecode3
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25095 arg3
= static_cast< int >(val3
);
25099 arg4
= wxString_in_helper(obj3
);
25100 if (arg4
== NULL
) SWIG_fail
;
25105 if (!wxPyCheckForApp()) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25134 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25137 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25138 return SWIG_Py_Void();
25141 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 return SWIG_Python_InitShadowInstance(args
);
25145 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
= 0;
25147 wxPrintData
*arg1
= 0 ;
25148 wxPrinterDC
*result
= 0 ;
25151 PyObject
* obj0
= 0 ;
25152 char * kwnames
[] = {
25153 (char *) "printData", NULL
25156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25157 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25158 if (!SWIG_IsOK(res1
)) {
25159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25164 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25166 if (!wxPyCheckForApp()) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25179 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25182 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25183 return SWIG_Py_Void();
25186 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 return SWIG_Python_InitShadowInstance(args
);
25190 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
= 0;
25192 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25193 wxGraphicsObject
*result
= 0 ;
25196 PyObject
* obj0
= 0 ;
25197 char * kwnames
[] = {
25198 (char *) "renderer", NULL
25201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25204 if (!SWIG_IsOK(res1
)) {
25205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25207 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25210 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25220 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 PyObject
*resultobj
= 0;
25222 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25225 PyObject
*swig_obj
[1] ;
25227 if (!args
) SWIG_fail
;
25228 swig_obj
[0] = args
;
25229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25233 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_Py_Void();
25246 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25247 PyObject
*resultobj
= 0;
25248 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25252 PyObject
*swig_obj
[1] ;
25254 if (!args
) SWIG_fail
;
25255 swig_obj
[0] = args
;
25256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25257 if (!SWIG_IsOK(res1
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25260 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25262 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25274 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25275 PyObject
*resultobj
= 0;
25276 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25277 wxGraphicsRenderer
*result
= 0 ;
25280 PyObject
*swig_obj
[1] ;
25282 if (!args
) SWIG_fail
;
25283 swig_obj
[0] = args
;
25284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25288 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25290 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25300 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25303 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25304 return SWIG_Py_Void();
25307 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 return SWIG_Python_InitShadowInstance(args
);
25311 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25312 PyObject
*resultobj
= 0;
25313 wxGraphicsPen
*result
= 0 ;
25315 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25317 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25327 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 PyObject
*resultobj
= 0;
25329 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25332 PyObject
*swig_obj
[1] ;
25334 if (!args
) SWIG_fail
;
25335 swig_obj
[0] = args
;
25336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25340 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_Py_Void();
25353 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25356 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25357 return SWIG_Py_Void();
25360 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 return SWIG_Python_InitShadowInstance(args
);
25364 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25365 PyObject
*resultobj
= 0;
25366 wxGraphicsBrush
*result
= 0 ;
25368 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25370 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25380 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25381 PyObject
*resultobj
= 0;
25382 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25385 PyObject
*swig_obj
[1] ;
25387 if (!args
) SWIG_fail
;
25388 swig_obj
[0] = args
;
25389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25390 if (!SWIG_IsOK(res1
)) {
25391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25393 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_Py_Void();
25406 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25409 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25410 return SWIG_Py_Void();
25413 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 return SWIG_Python_InitShadowInstance(args
);
25417 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 PyObject
*resultobj
= 0;
25419 wxGraphicsFont
*result
= 0 ;
25421 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25423 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25433 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 PyObject
*resultobj
= 0;
25435 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25438 PyObject
*swig_obj
[1] ;
25440 if (!args
) SWIG_fail
;
25441 swig_obj
[0] = args
;
25442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25443 if (!SWIG_IsOK(res1
)) {
25444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25446 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_Py_Void();
25459 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25462 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25463 return SWIG_Py_Void();
25466 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25467 return SWIG_Python_InitShadowInstance(args
);
25470 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25471 PyObject
*resultobj
= 0;
25472 wxGraphicsMatrix
*result
= 0 ;
25474 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25476 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25486 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 PyObject
*resultobj
= 0;
25488 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25491 PyObject
*swig_obj
[1] ;
25493 if (!args
) SWIG_fail
;
25494 swig_obj
[0] = args
;
25495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25499 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_Py_Void();
25512 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
= 0;
25514 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25515 wxGraphicsMatrix
*arg2
= 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char * kwnames
[] = {
25523 (char *) "self",(char *) "t", NULL
25526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25528 if (!SWIG_IsOK(res1
)) {
25529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25531 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25533 if (!SWIG_IsOK(res2
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25539 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25541 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= SWIG_Py_Void();
25551 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
= 0;
25553 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25554 wxDouble arg2
= (wxDouble
) 1.0 ;
25555 wxDouble arg3
= (wxDouble
) 0.0 ;
25556 wxDouble arg4
= (wxDouble
) 0.0 ;
25557 wxDouble arg5
= (wxDouble
) 1.0 ;
25558 wxDouble arg6
= (wxDouble
) 0.0 ;
25559 wxDouble arg7
= (wxDouble
) 0.0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 PyObject
* obj2
= 0 ;
25577 PyObject
* obj3
= 0 ;
25578 PyObject
* obj4
= 0 ;
25579 PyObject
* obj5
= 0 ;
25580 PyObject
* obj6
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25590 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25592 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25593 if (!SWIG_IsOK(ecode2
)) {
25594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25596 arg2
= static_cast< wxDouble
>(val2
);
25599 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25600 if (!SWIG_IsOK(ecode3
)) {
25601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25603 arg3
= static_cast< wxDouble
>(val3
);
25606 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25607 if (!SWIG_IsOK(ecode4
)) {
25608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25610 arg4
= static_cast< wxDouble
>(val4
);
25613 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25614 if (!SWIG_IsOK(ecode5
)) {
25615 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25617 arg5
= static_cast< wxDouble
>(val5
);
25620 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25621 if (!SWIG_IsOK(ecode6
)) {
25622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25624 arg6
= static_cast< wxDouble
>(val6
);
25627 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25628 if (!SWIG_IsOK(ecode7
)) {
25629 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25631 arg7
= static_cast< wxDouble
>(val7
);
25634 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_Py_Void();
25644 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 PyObject
*resultobj
= 0;
25646 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25649 PyObject
*swig_obj
[1] ;
25651 if (!args
) SWIG_fail
;
25652 swig_obj
[0] = args
;
25653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25654 if (!SWIG_IsOK(res1
)) {
25655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25657 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_Py_Void();
25669 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25672 wxGraphicsMatrix
*arg2
= 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char * kwnames
[] = {
25681 (char *) "self",(char *) "t", NULL
25684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25689 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25691 if (!SWIG_IsOK(res2
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25697 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25699 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25711 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25712 PyObject
*resultobj
= 0;
25713 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25717 PyObject
*swig_obj
[1] ;
25719 if (!args
) SWIG_fail
;
25720 swig_obj
[0] = args
;
25721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25722 if (!SWIG_IsOK(res1
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25725 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25727 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25739 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= 0;
25741 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 char * kwnames
[] = {
25754 (char *) "self",(char *) "dx",(char *) "dy", NULL
25757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25762 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25763 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25764 if (!SWIG_IsOK(ecode2
)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25767 arg2
= static_cast< wxDouble
>(val2
);
25768 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25769 if (!SWIG_IsOK(ecode3
)) {
25770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25772 arg3
= static_cast< wxDouble
>(val3
);
25774 (arg1
)->Translate(arg2
,arg3
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= SWIG_Py_Void();
25784 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
= 0;
25786 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 PyObject
* obj2
= 0 ;
25798 char * kwnames
[] = {
25799 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25807 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25808 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25809 if (!SWIG_IsOK(ecode2
)) {
25810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25812 arg2
= static_cast< wxDouble
>(val2
);
25813 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25814 if (!SWIG_IsOK(ecode3
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25817 arg3
= static_cast< wxDouble
>(val3
);
25819 (arg1
)->Scale(arg2
,arg3
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_Py_Void();
25829 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
= 0;
25831 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char * kwnames
[] = {
25840 (char *) "self",(char *) "angle", NULL
25843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25848 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25849 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25850 if (!SWIG_IsOK(ecode2
)) {
25851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25853 arg2
= static_cast< wxDouble
>(val2
);
25855 (arg1
)->Rotate(arg2
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_Py_Void();
25865 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
= 0;
25867 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25868 wxDouble
*arg2
= (wxDouble
*) 0 ;
25869 wxDouble
*arg3
= (wxDouble
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 PyObject
* obj2
= 0 ;
25879 char * kwnames
[] = {
25880 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25888 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25889 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25891 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25892 if (!SWIG_IsOK(ecode
)) {
25893 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25895 temp2
= static_cast< wxDouble
>(val
);
25897 res2
= SWIG_AddTmpMask(ecode
);
25899 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25901 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25902 if (!SWIG_IsOK(ecode
)) {
25903 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25905 temp3
= static_cast< wxDouble
>(val
);
25907 res3
= SWIG_AddTmpMask(ecode
);
25910 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_Py_Void();
25914 if (SWIG_IsTmpObj(res2
)) {
25915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25917 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25920 if (SWIG_IsTmpObj(res3
)) {
25921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25923 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25932 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
= 0;
25934 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25935 wxDouble
*arg2
= (wxDouble
*) 0 ;
25936 wxDouble
*arg3
= (wxDouble
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 PyObject
* obj2
= 0 ;
25946 char * kwnames
[] = {
25947 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25955 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25956 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25958 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25959 if (!SWIG_IsOK(ecode
)) {
25960 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25962 temp2
= static_cast< wxDouble
>(val
);
25964 res2
= SWIG_AddTmpMask(ecode
);
25966 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25968 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25969 if (!SWIG_IsOK(ecode
)) {
25970 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25972 temp3
= static_cast< wxDouble
>(val
);
25974 res3
= SWIG_AddTmpMask(ecode
);
25977 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= SWIG_Py_Void();
25981 if (SWIG_IsTmpObj(res2
)) {
25982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25984 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25987 if (SWIG_IsTmpObj(res3
)) {
25988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25990 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25999 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26000 PyObject
*resultobj
= 0;
26001 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26005 PyObject
*swig_obj
[1] ;
26007 if (!args
) SWIG_fail
;
26008 swig_obj
[0] = args
;
26009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26010 if (!SWIG_IsOK(res1
)) {
26011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26013 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26015 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26025 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26028 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26029 return SWIG_Py_Void();
26032 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 return SWIG_Python_InitShadowInstance(args
);
26036 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26037 PyObject
*resultobj
= 0;
26038 wxGraphicsPath
*result
= 0 ;
26040 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26042 if (!wxPyCheckForApp()) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26055 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26056 PyObject
*resultobj
= 0;
26057 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26060 PyObject
*swig_obj
[1] ;
26062 if (!args
) SWIG_fail
;
26063 swig_obj
[0] = args
;
26064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26068 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_Py_Void();
26081 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26082 PyObject
*resultobj
= 0;
26083 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26093 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26098 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26099 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26100 if (!SWIG_IsOK(ecode2
)) {
26101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26103 arg2
= static_cast< wxDouble
>(val2
);
26104 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26105 if (!SWIG_IsOK(ecode3
)) {
26106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26108 arg3
= static_cast< wxDouble
>(val3
);
26110 (arg1
)->MoveToPoint(arg2
,arg3
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_Py_Void();
26120 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26121 PyObject
*resultobj
= 0;
26122 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26123 wxPoint2D
*arg2
= 0 ;
26128 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26133 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26136 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26139 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_Py_Void();
26149 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26153 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26156 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26159 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26163 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26168 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26169 PyObject
*resultobj
= 0;
26170 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26180 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26185 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26186 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26187 if (!SWIG_IsOK(ecode2
)) {
26188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26190 arg2
= static_cast< wxDouble
>(val2
);
26191 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26192 if (!SWIG_IsOK(ecode3
)) {
26193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26195 arg3
= static_cast< wxDouble
>(val3
);
26197 (arg1
)->AddLineToPoint(arg2
,arg3
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_Py_Void();
26207 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26208 PyObject
*resultobj
= 0;
26209 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26210 wxPoint2D
*arg2
= 0 ;
26215 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26220 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26223 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26226 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26240 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26243 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26246 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26250 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26255 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26256 PyObject
*resultobj
= 0;
26257 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26279 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26284 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26285 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26286 if (!SWIG_IsOK(ecode2
)) {
26287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26289 arg2
= static_cast< wxDouble
>(val2
);
26290 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26291 if (!SWIG_IsOK(ecode3
)) {
26292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26294 arg3
= static_cast< wxDouble
>(val3
);
26295 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26296 if (!SWIG_IsOK(ecode4
)) {
26297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26299 arg4
= static_cast< wxDouble
>(val4
);
26300 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26301 if (!SWIG_IsOK(ecode5
)) {
26302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26304 arg5
= static_cast< wxDouble
>(val5
);
26305 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26306 if (!SWIG_IsOK(ecode6
)) {
26307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26309 arg6
= static_cast< wxDouble
>(val6
);
26310 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26311 if (!SWIG_IsOK(ecode7
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26314 arg7
= static_cast< wxDouble
>(val7
);
26316 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_Py_Void();
26326 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26327 PyObject
*resultobj
= 0;
26328 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26329 wxPoint2D
*arg2
= 0 ;
26330 wxPoint2D
*arg3
= 0 ;
26331 wxPoint2D
*arg4
= 0 ;
26338 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26343 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26346 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26350 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26354 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26357 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= SWIG_Py_Void();
26367 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26371 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26374 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26377 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26381 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26386 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
= 0;
26388 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26389 wxGraphicsPath
*arg2
= 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char * kwnames
[] = {
26397 (char *) "self",(char *) "path", NULL
26400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) 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_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26405 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26407 if (!SWIG_IsOK(res2
)) {
26408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26413 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26415 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= SWIG_Py_Void();
26425 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26426 PyObject
*resultobj
= 0;
26427 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26430 PyObject
*swig_obj
[1] ;
26432 if (!args
) SWIG_fail
;
26433 swig_obj
[0] = args
;
26434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26435 if (!SWIG_IsOK(res1
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26438 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26440 (arg1
)->CloseSubpath();
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_Py_Void();
26450 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26451 PyObject
*resultobj
= 0;
26452 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26456 PyObject
*swig_obj
[1] ;
26458 if (!args
) SWIG_fail
;
26459 swig_obj
[0] = args
;
26460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26464 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26466 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26476 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26477 PyObject
*resultobj
= 0;
26478 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26500 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26505 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26506 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26507 if (!SWIG_IsOK(ecode2
)) {
26508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26510 arg2
= static_cast< wxDouble
>(val2
);
26511 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26512 if (!SWIG_IsOK(ecode3
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26515 arg3
= static_cast< wxDouble
>(val3
);
26516 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26517 if (!SWIG_IsOK(ecode4
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26520 arg4
= static_cast< wxDouble
>(val4
);
26521 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26522 if (!SWIG_IsOK(ecode5
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26525 arg5
= static_cast< wxDouble
>(val5
);
26526 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26527 if (!SWIG_IsOK(ecode6
)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26530 arg6
= static_cast< wxDouble
>(val6
);
26531 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26532 if (!SWIG_IsOK(ecode7
)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26535 arg7
= static_cast< bool >(val7
);
26537 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26548 PyObject
*resultobj
= 0;
26549 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26550 wxPoint2D
*arg2
= 0 ;
26567 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26569 if (!SWIG_IsOK(res1
)) {
26570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26572 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26575 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26577 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26578 if (!SWIG_IsOK(ecode3
)) {
26579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26581 arg3
= static_cast< wxDouble
>(val3
);
26582 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26583 if (!SWIG_IsOK(ecode4
)) {
26584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26586 arg4
= static_cast< wxDouble
>(val4
);
26587 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26588 if (!SWIG_IsOK(ecode5
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26591 arg5
= static_cast< wxDouble
>(val5
);
26592 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26593 if (!SWIG_IsOK(ecode6
)) {
26594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26596 arg6
= static_cast< bool >(val6
);
26598 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_Py_Void();
26608 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26612 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26615 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26618 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26622 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26627 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
= 0;
26629 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 PyObject
* obj2
= 0 ;
26647 PyObject
* obj3
= 0 ;
26648 PyObject
* obj4
= 0 ;
26649 char * kwnames
[] = {
26650 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26658 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26659 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26660 if (!SWIG_IsOK(ecode2
)) {
26661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26663 arg2
= static_cast< wxDouble
>(val2
);
26664 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26665 if (!SWIG_IsOK(ecode3
)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26668 arg3
= static_cast< wxDouble
>(val3
);
26669 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26670 if (!SWIG_IsOK(ecode4
)) {
26671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26673 arg4
= static_cast< wxDouble
>(val4
);
26674 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26675 if (!SWIG_IsOK(ecode5
)) {
26676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26678 arg5
= static_cast< wxDouble
>(val5
);
26680 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_Py_Void();
26690 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= 0;
26692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 PyObject
* obj2
= 0 ;
26710 PyObject
* obj3
= 0 ;
26711 PyObject
* obj4
= 0 ;
26712 char * kwnames
[] = {
26713 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26718 if (!SWIG_IsOK(res1
)) {
26719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26721 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26722 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26723 if (!SWIG_IsOK(ecode2
)) {
26724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26726 arg2
= static_cast< wxDouble
>(val2
);
26727 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26728 if (!SWIG_IsOK(ecode3
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26731 arg3
= static_cast< wxDouble
>(val3
);
26732 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26733 if (!SWIG_IsOK(ecode4
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26736 arg4
= static_cast< wxDouble
>(val4
);
26737 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26738 if (!SWIG_IsOK(ecode5
)) {
26739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26741 arg5
= static_cast< wxDouble
>(val5
);
26743 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_Py_Void();
26753 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
= 0;
26755 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 PyObject
* obj2
= 0 ;
26770 PyObject
* obj3
= 0 ;
26771 char * kwnames
[] = {
26772 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26777 if (!SWIG_IsOK(res1
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26780 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26781 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26782 if (!SWIG_IsOK(ecode2
)) {
26783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26785 arg2
= static_cast< wxDouble
>(val2
);
26786 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26787 if (!SWIG_IsOK(ecode3
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26790 arg3
= static_cast< wxDouble
>(val3
);
26791 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26792 if (!SWIG_IsOK(ecode4
)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26795 arg4
= static_cast< wxDouble
>(val4
);
26797 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_Py_Void();
26807 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
= 0;
26809 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 PyObject
* obj2
= 0 ;
26830 PyObject
* obj3
= 0 ;
26831 PyObject
* obj4
= 0 ;
26832 PyObject
* obj5
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26842 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26843 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26844 if (!SWIG_IsOK(ecode2
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26847 arg2
= static_cast< wxDouble
>(val2
);
26848 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26849 if (!SWIG_IsOK(ecode3
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26852 arg3
= static_cast< wxDouble
>(val3
);
26853 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26854 if (!SWIG_IsOK(ecode4
)) {
26855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26857 arg4
= static_cast< wxDouble
>(val4
);
26858 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26859 if (!SWIG_IsOK(ecode5
)) {
26860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26862 arg5
= static_cast< wxDouble
>(val5
);
26863 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26864 if (!SWIG_IsOK(ecode6
)) {
26865 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26867 arg6
= static_cast< wxDouble
>(val6
);
26869 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= SWIG_Py_Void();
26879 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
= 0;
26881 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 PyObject
* obj2
= 0 ;
26899 PyObject
* obj3
= 0 ;
26900 PyObject
* obj4
= 0 ;
26901 char * kwnames
[] = {
26902 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26907 if (!SWIG_IsOK(res1
)) {
26908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26910 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26911 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26912 if (!SWIG_IsOK(ecode2
)) {
26913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26915 arg2
= static_cast< wxDouble
>(val2
);
26916 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26917 if (!SWIG_IsOK(ecode3
)) {
26918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26920 arg3
= static_cast< wxDouble
>(val3
);
26921 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26922 if (!SWIG_IsOK(ecode4
)) {
26923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26925 arg4
= static_cast< wxDouble
>(val4
);
26926 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26927 if (!SWIG_IsOK(ecode5
)) {
26928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26930 arg5
= static_cast< wxDouble
>(val5
);
26932 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= SWIG_Py_Void();
26942 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
= 0;
26944 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26962 PyObject
* obj0
= 0 ;
26963 PyObject
* obj1
= 0 ;
26964 PyObject
* obj2
= 0 ;
26965 PyObject
* obj3
= 0 ;
26966 PyObject
* obj4
= 0 ;
26967 PyObject
* obj5
= 0 ;
26968 char * kwnames
[] = {
26969 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26974 if (!SWIG_IsOK(res1
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26977 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26978 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26979 if (!SWIG_IsOK(ecode2
)) {
26980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26982 arg2
= static_cast< wxDouble
>(val2
);
26983 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26984 if (!SWIG_IsOK(ecode3
)) {
26985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26987 arg3
= static_cast< wxDouble
>(val3
);
26988 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26989 if (!SWIG_IsOK(ecode4
)) {
26990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26992 arg4
= static_cast< wxDouble
>(val4
);
26993 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26994 if (!SWIG_IsOK(ecode5
)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26997 arg5
= static_cast< wxDouble
>(val5
);
26998 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26999 if (!SWIG_IsOK(ecode6
)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27002 arg6
= static_cast< wxDouble
>(val6
);
27004 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= SWIG_Py_Void();
27014 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27015 PyObject
*resultobj
= 0;
27016 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27020 PyObject
*swig_obj
[1] ;
27022 if (!args
) SWIG_fail
;
27023 swig_obj
[0] = args
;
27024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27028 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27030 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27040 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
= 0;
27042 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27043 void *arg2
= (void *) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char * kwnames
[] = {
27050 (char *) "self",(char *) "p", NULL
27053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27055 if (!SWIG_IsOK(res1
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27058 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27059 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27060 if (!SWIG_IsOK(res2
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27064 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_Py_Void();
27074 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= 0;
27076 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27077 wxGraphicsMatrix
*arg2
= 0 ;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 char * kwnames
[] = {
27085 (char *) "self",(char *) "matrix", NULL
27088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27090 if (!SWIG_IsOK(res1
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27093 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27095 if (!SWIG_IsOK(res2
)) {
27096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27101 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27103 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= SWIG_Py_Void();
27113 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27114 PyObject
*resultobj
= 0;
27115 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27116 wxRect2DDouble result
;
27119 PyObject
*swig_obj
[1] ;
27121 if (!args
) SWIG_fail
;
27122 swig_obj
[0] = args
;
27123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27124 if (!SWIG_IsOK(res1
)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27127 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27129 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27139 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27140 PyObject
*resultobj
= 0;
27141 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27144 int arg4
= (int) wxODDEVEN_RULE
;
27155 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27157 if (!SWIG_IsOK(res1
)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27160 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27161 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27162 if (!SWIG_IsOK(ecode2
)) {
27163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27165 arg2
= static_cast< wxDouble
>(val2
);
27166 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27167 if (!SWIG_IsOK(ecode3
)) {
27168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27170 arg3
= static_cast< wxDouble
>(val3
);
27172 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27173 if (!SWIG_IsOK(ecode4
)) {
27174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27176 arg4
= static_cast< int >(val4
);
27179 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27191 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27192 PyObject
*resultobj
= 0;
27193 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27194 wxPoint2DDouble
*arg2
= 0 ;
27195 int arg3
= (int) wxODDEVEN_RULE
;
27204 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27206 if (!SWIG_IsOK(res1
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27209 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27210 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27211 if (!SWIG_IsOK(res2
)) {
27212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27217 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27219 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27220 if (!SWIG_IsOK(ecode3
)) {
27221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27223 arg3
= static_cast< int >(val3
);
27226 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27238 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27242 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27244 if ((argc
>= 2) && (argc
<= 3)) {
27247 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27248 _v
= SWIG_CheckState(res
);
27250 if (!_v
) goto check_1
;
27254 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27255 _v
= SWIG_CheckState(res
);
27258 if (!_v
) goto check_1
;
27260 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27264 if ((argc
>= 3) && (argc
<= 4)) {
27265 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27269 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27274 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27277 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27278 return SWIG_Py_Void();
27281 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27282 return SWIG_Python_InitShadowInstance(args
);
27285 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27286 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27291 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27292 PyObject
*pyobj
= 0;
27294 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27299 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27300 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27305 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27306 PyObject
*pyobj
= 0;
27308 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27313 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27314 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27319 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27320 PyObject
*pyobj
= 0;
27322 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27327 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27328 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27333 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27334 PyObject
*pyobj
= 0;
27336 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27341 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27342 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27347 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27348 PyObject
*pyobj
= 0;
27350 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27355 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27356 PyObject
*resultobj
= 0;
27357 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27360 PyObject
*swig_obj
[1] ;
27362 if (!args
) SWIG_fail
;
27363 swig_obj
[0] = args
;
27364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27368 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= SWIG_Py_Void();
27381 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27382 PyObject
*resultobj
= 0;
27383 wxWindowDC
*arg1
= 0 ;
27384 wxGraphicsContext
*result
= 0 ;
27388 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27396 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27398 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27408 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27409 PyObject
*resultobj
= 0;
27410 wxWindow
*arg1
= (wxWindow
*) 0 ;
27411 wxGraphicsContext
*result
= 0 ;
27415 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27422 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27432 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27436 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27441 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27442 _v
= SWIG_CheckState(res
);
27444 if (!_v
) goto check_1
;
27445 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27450 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27454 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27459 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxGraphicsContext
*result
= 0 ;
27463 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27465 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27475 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
= 0;
27477 void *arg1
= (void *) 0 ;
27478 wxGraphicsContext
*result
= 0 ;
27480 PyObject
* obj0
= 0 ;
27481 char * kwnames
[] = {
27482 (char *) "context", NULL
27485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27486 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27487 if (!SWIG_IsOK(res1
)) {
27488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27491 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27501 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
= 0;
27503 void *arg1
= (void *) 0 ;
27504 wxGraphicsContext
*result
= 0 ;
27506 PyObject
* obj0
= 0 ;
27507 char * kwnames
[] = {
27508 (char *) "window", NULL
27511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27512 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27517 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27527 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 PyObject
*resultobj
= 0;
27529 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27530 wxGraphicsPath result
;
27533 PyObject
*swig_obj
[1] ;
27535 if (!args
) SWIG_fail
;
27536 swig_obj
[0] = args
;
27537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27541 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27543 result
= (arg1
)->CreatePath();
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27553 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
= 0;
27555 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27557 wxGraphicsPen result
;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 char * kwnames
[] = {
27565 (char *) "self",(char *) "pen", NULL
27568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27570 if (!SWIG_IsOK(res1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27573 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27575 if (!SWIG_IsOK(res2
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27581 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27583 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27593 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
= 0;
27595 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27596 wxBrush
*arg2
= 0 ;
27597 wxGraphicsBrush result
;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 char * kwnames
[] = {
27605 (char *) "self",(char *) "brush", NULL
27608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27613 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27615 if (!SWIG_IsOK(res2
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27621 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27623 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27633 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27634 PyObject
*resultobj
= 0;
27635 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27640 wxColour
*arg6
= 0 ;
27641 wxColour
*arg7
= 0 ;
27642 wxGraphicsBrush result
;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 PyObject
* obj2
= 0 ;
27658 PyObject
* obj3
= 0 ;
27659 PyObject
* obj4
= 0 ;
27660 PyObject
* obj5
= 0 ;
27661 PyObject
* obj6
= 0 ;
27662 char * kwnames
[] = {
27663 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27671 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27672 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27673 if (!SWIG_IsOK(ecode2
)) {
27674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27676 arg2
= static_cast< wxDouble
>(val2
);
27677 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27678 if (!SWIG_IsOK(ecode3
)) {
27679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27681 arg3
= static_cast< wxDouble
>(val3
);
27682 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27683 if (!SWIG_IsOK(ecode4
)) {
27684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27686 arg4
= static_cast< wxDouble
>(val4
);
27687 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27688 if (!SWIG_IsOK(ecode5
)) {
27689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27691 arg5
= static_cast< wxDouble
>(val5
);
27694 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27698 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27701 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27711 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
= 0;
27713 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27719 wxColour
*arg7
= 0 ;
27720 wxColour
*arg8
= 0 ;
27721 wxGraphicsBrush result
;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 PyObject
* obj2
= 0 ;
27739 PyObject
* obj3
= 0 ;
27740 PyObject
* obj4
= 0 ;
27741 PyObject
* obj5
= 0 ;
27742 PyObject
* obj6
= 0 ;
27743 PyObject
* obj7
= 0 ;
27744 char * kwnames
[] = {
27745 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27750 if (!SWIG_IsOK(res1
)) {
27751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27753 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27754 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27755 if (!SWIG_IsOK(ecode2
)) {
27756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27758 arg2
= static_cast< wxDouble
>(val2
);
27759 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27760 if (!SWIG_IsOK(ecode3
)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27763 arg3
= static_cast< wxDouble
>(val3
);
27764 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27765 if (!SWIG_IsOK(ecode4
)) {
27766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27768 arg4
= static_cast< wxDouble
>(val4
);
27769 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27770 if (!SWIG_IsOK(ecode5
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27773 arg5
= static_cast< wxDouble
>(val5
);
27774 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27775 if (!SWIG_IsOK(ecode6
)) {
27776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27778 arg6
= static_cast< wxDouble
>(val6
);
27781 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27785 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27788 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27798 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27799 PyObject
*resultobj
= 0;
27800 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27802 wxColour
const &arg3_defvalue
= *wxBLACK
;
27803 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27804 wxGraphicsFont result
;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 PyObject
* obj2
= 0 ;
27813 char * kwnames
[] = {
27814 (char *) "self",(char *) "font",(char *) "col", NULL
27817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27819 if (!SWIG_IsOK(res1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27822 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27824 if (!SWIG_IsOK(res2
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27830 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27834 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27838 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27848 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
= 0;
27850 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27851 wxDouble arg2
= (wxDouble
) 1.0 ;
27852 wxDouble arg3
= (wxDouble
) 0.0 ;
27853 wxDouble arg4
= (wxDouble
) 0.0 ;
27854 wxDouble arg5
= (wxDouble
) 1.0 ;
27855 wxDouble arg6
= (wxDouble
) 0.0 ;
27856 wxDouble arg7
= (wxDouble
) 0.0 ;
27857 wxGraphicsMatrix result
;
27872 PyObject
* obj0
= 0 ;
27873 PyObject
* obj1
= 0 ;
27874 PyObject
* obj2
= 0 ;
27875 PyObject
* obj3
= 0 ;
27876 PyObject
* obj4
= 0 ;
27877 PyObject
* obj5
= 0 ;
27878 PyObject
* obj6
= 0 ;
27879 char * kwnames
[] = {
27880 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27885 if (!SWIG_IsOK(res1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27888 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27890 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27891 if (!SWIG_IsOK(ecode2
)) {
27892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27894 arg2
= static_cast< wxDouble
>(val2
);
27897 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27898 if (!SWIG_IsOK(ecode3
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27901 arg3
= static_cast< wxDouble
>(val3
);
27904 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27905 if (!SWIG_IsOK(ecode4
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27908 arg4
= static_cast< wxDouble
>(val4
);
27911 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27912 if (!SWIG_IsOK(ecode5
)) {
27913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27915 arg5
= static_cast< wxDouble
>(val5
);
27918 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27919 if (!SWIG_IsOK(ecode6
)) {
27920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27922 arg6
= static_cast< wxDouble
>(val6
);
27925 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27926 if (!SWIG_IsOK(ecode7
)) {
27927 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27929 arg7
= static_cast< wxDouble
>(val7
);
27932 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27942 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27947 PyObject
*swig_obj
[1] ;
27949 if (!args
) SWIG_fail
;
27950 swig_obj
[0] = args
;
27951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27955 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27957 (arg1
)->PushState();
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= SWIG_Py_Void();
27967 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27968 PyObject
*resultobj
= 0;
27969 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27972 PyObject
*swig_obj
[1] ;
27974 if (!args
) SWIG_fail
;
27975 swig_obj
[0] = args
;
27976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27980 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27982 (arg1
)->PopState();
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
= 0;
27994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27995 wxRegion
*arg2
= 0 ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char * kwnames
[] = {
28003 (char *) "self",(char *) "region", NULL
28006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28008 if (!SWIG_IsOK(res1
)) {
28009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28011 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28013 if (!SWIG_IsOK(res2
)) {
28014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28019 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28021 (arg1
)->Clip((wxRegion
const &)*arg2
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_Py_Void();
28031 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
= 0;
28033 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 PyObject
* obj2
= 0 ;
28051 PyObject
* obj3
= 0 ;
28052 PyObject
* obj4
= 0 ;
28053 char * kwnames
[] = {
28054 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28059 if (!SWIG_IsOK(res1
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28062 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28063 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28064 if (!SWIG_IsOK(ecode2
)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28067 arg2
= static_cast< wxDouble
>(val2
);
28068 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28069 if (!SWIG_IsOK(ecode3
)) {
28070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28072 arg3
= static_cast< wxDouble
>(val3
);
28073 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28074 if (!SWIG_IsOK(ecode4
)) {
28075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28077 arg4
= static_cast< wxDouble
>(val4
);
28078 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28079 if (!SWIG_IsOK(ecode5
)) {
28080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28082 arg5
= static_cast< wxDouble
>(val5
);
28084 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28096 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28099 PyObject
*swig_obj
[1] ;
28101 if (!args
) SWIG_fail
;
28102 swig_obj
[0] = args
;
28103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28107 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28109 (arg1
)->ResetClip();
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_Py_Void();
28119 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28120 PyObject
*resultobj
= 0;
28121 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28125 PyObject
*swig_obj
[1] ;
28127 if (!args
) SWIG_fail
;
28128 swig_obj
[0] = args
;
28129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28133 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28135 result
= (void *)(arg1
)->GetNativeContext();
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28145 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
= 0;
28147 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 PyObject
* obj2
= 0 ;
28159 char * kwnames
[] = {
28160 (char *) "self",(char *) "dx",(char *) "dy", NULL
28163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28165 if (!SWIG_IsOK(res1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28168 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28169 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28170 if (!SWIG_IsOK(ecode2
)) {
28171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28173 arg2
= static_cast< wxDouble
>(val2
);
28174 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28175 if (!SWIG_IsOK(ecode3
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28178 arg3
= static_cast< wxDouble
>(val3
);
28180 (arg1
)->Translate(arg2
,arg3
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_Py_Void();
28190 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
= 0;
28192 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 PyObject
* obj2
= 0 ;
28204 char * kwnames
[] = {
28205 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28213 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28214 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28215 if (!SWIG_IsOK(ecode2
)) {
28216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28218 arg2
= static_cast< wxDouble
>(val2
);
28219 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28220 if (!SWIG_IsOK(ecode3
)) {
28221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28223 arg3
= static_cast< wxDouble
>(val3
);
28225 (arg1
)->Scale(arg2
,arg3
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= SWIG_Py_Void();
28235 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28236 PyObject
*resultobj
= 0;
28237 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 char * kwnames
[] = {
28246 (char *) "self",(char *) "angle", NULL
28249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28254 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28255 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28256 if (!SWIG_IsOK(ecode2
)) {
28257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28259 arg2
= static_cast< wxDouble
>(val2
);
28261 (arg1
)->Rotate(arg2
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= SWIG_Py_Void();
28271 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
= 0;
28273 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28274 wxGraphicsMatrix
*arg2
= 0 ;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 char * kwnames
[] = {
28282 (char *) "self",(char *) "matrix", NULL
28285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28290 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28292 if (!SWIG_IsOK(res2
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28298 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28300 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= SWIG_Py_Void();
28310 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
= 0;
28312 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28313 wxGraphicsMatrix
*arg2
= 0 ;
28318 PyObject
* obj0
= 0 ;
28319 PyObject
* obj1
= 0 ;
28320 char * kwnames
[] = {
28321 (char *) "self",(char *) "matrix", NULL
28324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28326 if (!SWIG_IsOK(res1
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28329 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28331 if (!SWIG_IsOK(res2
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28337 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28339 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_Py_Void();
28349 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28352 wxGraphicsMatrix result
;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28363 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28365 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28375 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28376 PyObject
*resultobj
= 0;
28377 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28378 wxGraphicsPen
*arg2
= 0 ;
28384 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28386 if (!SWIG_IsOK(res1
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28389 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28390 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28391 if (!SWIG_IsOK(res2
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28397 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28399 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_Py_Void();
28409 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28410 PyObject
*resultobj
= 0;
28411 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28418 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28424 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28425 if (!SWIG_IsOK(res2
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28431 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28433 (arg1
)->SetPen((wxPen
const &)*arg2
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_Py_Void();
28443 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28447 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28452 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28453 _v
= SWIG_CheckState(res
);
28455 if (!_v
) goto check_1
;
28456 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28461 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28465 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28470 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28471 PyObject
*resultobj
= 0;
28472 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28473 wxGraphicsBrush
*arg2
= 0 ;
28479 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28484 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28485 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28486 if (!SWIG_IsOK(res2
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28492 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28494 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_Py_Void();
28504 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28505 PyObject
*resultobj
= 0;
28506 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28507 wxBrush
*arg2
= 0 ;
28513 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28515 if (!SWIG_IsOK(res1
)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28518 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28519 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28520 if (!SWIG_IsOK(res2
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28526 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28528 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28531 resultobj
= SWIG_Py_Void();
28538 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28542 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28547 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28548 _v
= SWIG_CheckState(res
);
28550 if (!_v
) goto check_1
;
28551 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28556 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28560 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28565 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28566 PyObject
*resultobj
= 0;
28567 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28568 wxGraphicsFont
*arg2
= 0 ;
28574 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28579 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28580 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28581 if (!SWIG_IsOK(res2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28587 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28589 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_Py_Void();
28599 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28600 PyObject
*resultobj
= 0;
28601 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28603 wxColour
const &arg3_defvalue
= *wxBLACK
;
28604 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28611 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28616 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28617 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28618 if (!SWIG_IsOK(res2
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28624 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28628 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28632 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= SWIG_Py_Void();
28642 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28646 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28651 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28652 _v
= SWIG_CheckState(res
);
28654 if (!_v
) goto check_1
;
28655 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28659 if ((argc
>= 2) && (argc
<= 3)) {
28660 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28664 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28669 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28670 PyObject
*resultobj
= 0;
28671 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28672 wxGraphicsPath
*arg2
= 0 ;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 char * kwnames
[] = {
28680 (char *) "self",(char *) "path", NULL
28683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28688 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28690 if (!SWIG_IsOK(res2
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28696 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28698 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= SWIG_Py_Void();
28708 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
= 0;
28710 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28711 wxGraphicsPath
*arg2
= 0 ;
28712 int arg3
= (int) wxODDEVEN_RULE
;
28719 PyObject
* obj0
= 0 ;
28720 PyObject
* obj1
= 0 ;
28721 PyObject
* obj2
= 0 ;
28722 char * kwnames
[] = {
28723 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28731 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28733 if (!SWIG_IsOK(res2
)) {
28734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28739 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28742 if (!SWIG_IsOK(ecode3
)) {
28743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28745 arg3
= static_cast< int >(val3
);
28748 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= SWIG_Py_Void();
28758 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
= 0;
28760 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28761 wxGraphicsPath
*arg2
= 0 ;
28762 int arg3
= (int) wxODDEVEN_RULE
;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 PyObject
* obj2
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28783 if (!SWIG_IsOK(res2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28789 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28792 if (!SWIG_IsOK(ecode3
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28795 arg3
= static_cast< int >(val3
);
28798 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 resultobj
= SWIG_Py_Void();
28808 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
= 0;
28810 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28811 wxString
*arg2
= 0 ;
28814 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28815 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28818 bool temp2
= false ;
28825 PyObject
* obj0
= 0 ;
28826 PyObject
* obj1
= 0 ;
28827 PyObject
* obj2
= 0 ;
28828 PyObject
* obj3
= 0 ;
28829 PyObject
* obj4
= 0 ;
28830 char * kwnames
[] = {
28831 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
28834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28836 if (!SWIG_IsOK(res1
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28839 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28841 arg2
= wxString_in_helper(obj1
);
28842 if (arg2
== NULL
) SWIG_fail
;
28845 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28846 if (!SWIG_IsOK(ecode3
)) {
28847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28849 arg3
= static_cast< wxDouble
>(val3
);
28850 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28851 if (!SWIG_IsOK(ecode4
)) {
28852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28854 arg4
= static_cast< wxDouble
>(val4
);
28856 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28857 if (!SWIG_IsOK(res5
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28863 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
28866 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= SWIG_Py_Void();
28884 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
= 0;
28886 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28887 wxString
*arg2
= 0 ;
28891 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
28892 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
28895 bool temp2
= false ;
28904 PyObject
* obj0
= 0 ;
28905 PyObject
* obj1
= 0 ;
28906 PyObject
* obj2
= 0 ;
28907 PyObject
* obj3
= 0 ;
28908 PyObject
* obj4
= 0 ;
28909 PyObject
* obj5
= 0 ;
28910 char * kwnames
[] = {
28911 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
28914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28916 if (!SWIG_IsOK(res1
)) {
28917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28919 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28921 arg2
= wxString_in_helper(obj1
);
28922 if (arg2
== NULL
) SWIG_fail
;
28925 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28926 if (!SWIG_IsOK(ecode3
)) {
28927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28929 arg3
= static_cast< wxDouble
>(val3
);
28930 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28931 if (!SWIG_IsOK(ecode4
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28934 arg4
= static_cast< wxDouble
>(val4
);
28935 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28936 if (!SWIG_IsOK(ecode5
)) {
28937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28939 arg5
= static_cast< wxDouble
>(val5
);
28941 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28942 if (!SWIG_IsOK(res6
)) {
28943 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28948 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
28951 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_Py_Void();
28969 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28972 wxString
*arg2
= 0 ;
28973 wxDouble
*arg3
= (wxDouble
*) 0 ;
28974 wxDouble
*arg4
= (wxDouble
*) 0 ;
28975 wxDouble
*arg5
= (wxDouble
*) 0 ;
28976 wxDouble
*arg6
= (wxDouble
*) 0 ;
28979 bool temp2
= false ;
28981 int res3
= SWIG_TMPOBJ
;
28983 int res4
= SWIG_TMPOBJ
;
28985 int res5
= SWIG_TMPOBJ
;
28987 int res6
= SWIG_TMPOBJ
;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 char * kwnames
[] = {
28991 (char *) "self",(char *) "text", NULL
28998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29000 if (!SWIG_IsOK(res1
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29005 arg2
= wxString_in_helper(obj1
);
29006 if (arg2
== NULL
) SWIG_fail
;
29010 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 resultobj
= SWIG_Py_Void();
29014 if (SWIG_IsTmpObj(res3
)) {
29015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29017 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29020 if (SWIG_IsTmpObj(res4
)) {
29021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29023 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29026 if (SWIG_IsTmpObj(res5
)) {
29027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29029 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29032 if (SWIG_IsTmpObj(res6
)) {
29033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29035 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29052 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
= 0;
29054 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29055 wxString
*arg2
= 0 ;
29056 PyObject
*result
= 0 ;
29059 bool temp2
= false ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 char * kwnames
[] = {
29063 (char *) "self",(char *) "text", NULL
29066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29068 if (!SWIG_IsOK(res1
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29071 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29073 arg2
= wxString_in_helper(obj1
);
29074 if (arg2
== NULL
) SWIG_fail
;
29078 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= result
;
29096 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29099 wxString
*arg2
= 0 ;
29100 wxArrayDouble result
;
29103 bool temp2
= false ;
29104 PyObject
* obj0
= 0 ;
29105 PyObject
* obj1
= 0 ;
29106 char * kwnames
[] = {
29107 (char *) "self",(char *) "text", NULL
29110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29112 if (!SWIG_IsOK(res1
)) {
29113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29115 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29117 arg2
= wxString_in_helper(obj1
);
29118 if (arg2
== NULL
) SWIG_fail
;
29122 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29126 resultobj
= wxArrayDouble2PyList_helper(result
);
29142 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
= 0;
29144 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29145 wxBitmap
*arg2
= 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 PyObject
* obj3
= 0 ;
29166 PyObject
* obj4
= 0 ;
29167 PyObject
* obj5
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29177 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29179 if (!SWIG_IsOK(res2
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29185 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29186 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29187 if (!SWIG_IsOK(ecode3
)) {
29188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29190 arg3
= static_cast< wxDouble
>(val3
);
29191 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29192 if (!SWIG_IsOK(ecode4
)) {
29193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29195 arg4
= static_cast< wxDouble
>(val4
);
29196 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29197 if (!SWIG_IsOK(ecode5
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29200 arg5
= static_cast< wxDouble
>(val5
);
29201 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29202 if (!SWIG_IsOK(ecode6
)) {
29203 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29205 arg6
= static_cast< wxDouble
>(val6
);
29207 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_Py_Void();
29217 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= 0;
29219 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 PyObject
* obj3
= 0 ;
29241 PyObject
* obj4
= 0 ;
29242 PyObject
* obj5
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29252 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29254 if (!SWIG_IsOK(res2
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29260 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29261 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29262 if (!SWIG_IsOK(ecode3
)) {
29263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29265 arg3
= static_cast< wxDouble
>(val3
);
29266 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29267 if (!SWIG_IsOK(ecode4
)) {
29268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29270 arg4
= static_cast< wxDouble
>(val4
);
29271 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29272 if (!SWIG_IsOK(ecode5
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29275 arg5
= static_cast< wxDouble
>(val5
);
29276 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29277 if (!SWIG_IsOK(ecode6
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29280 arg6
= static_cast< wxDouble
>(val6
);
29282 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= SWIG_Py_Void();
29292 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29293 PyObject
*resultobj
= 0;
29294 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29309 PyObject
* obj0
= 0 ;
29310 PyObject
* obj1
= 0 ;
29311 PyObject
* obj2
= 0 ;
29312 PyObject
* obj3
= 0 ;
29313 PyObject
* obj4
= 0 ;
29314 char * kwnames
[] = {
29315 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29320 if (!SWIG_IsOK(res1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29323 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29324 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29325 if (!SWIG_IsOK(ecode2
)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29328 arg2
= static_cast< wxDouble
>(val2
);
29329 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29330 if (!SWIG_IsOK(ecode3
)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29333 arg3
= static_cast< wxDouble
>(val3
);
29334 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29335 if (!SWIG_IsOK(ecode4
)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29338 arg4
= static_cast< wxDouble
>(val4
);
29339 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29340 if (!SWIG_IsOK(ecode5
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29343 arg5
= static_cast< wxDouble
>(val5
);
29345 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29359 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char * kwnames
[] = {
29365 (char *) "self",(char *) "points", NULL
29368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29370 if (!SWIG_IsOK(res1
)) {
29371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29373 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29375 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29376 if (arg3
== NULL
) SWIG_fail
;
29379 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_Py_Void();
29384 if (arg3
) delete [] arg3
;
29389 if (arg3
) delete [] arg3
;
29395 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
= 0;
29397 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29398 PyObject
*arg2
= (PyObject
*) 0 ;
29399 PyObject
*arg3
= (PyObject
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 char * kwnames
[] = {
29406 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29414 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29418 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_Py_Void();
29428 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29432 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29433 int arg4
= (int) wxODDEVEN_RULE
;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 char * kwnames
[] = {
29442 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29447 if (!SWIG_IsOK(res1
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29450 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29452 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29453 if (arg3
== NULL
) SWIG_fail
;
29456 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29457 if (!SWIG_IsOK(ecode4
)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29460 arg4
= static_cast< int >(val4
);
29463 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_Py_Void();
29468 if (arg3
) delete [] arg3
;
29473 if (arg3
) delete [] arg3
;
29479 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
= 0;
29481 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29496 PyObject
* obj0
= 0 ;
29497 PyObject
* obj1
= 0 ;
29498 PyObject
* obj2
= 0 ;
29499 PyObject
* obj3
= 0 ;
29500 PyObject
* obj4
= 0 ;
29501 char * kwnames
[] = {
29502 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29507 if (!SWIG_IsOK(res1
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29510 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29511 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29512 if (!SWIG_IsOK(ecode2
)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29515 arg2
= static_cast< wxDouble
>(val2
);
29516 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29517 if (!SWIG_IsOK(ecode3
)) {
29518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29520 arg3
= static_cast< wxDouble
>(val3
);
29521 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29522 if (!SWIG_IsOK(ecode4
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29525 arg4
= static_cast< wxDouble
>(val4
);
29526 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29527 if (!SWIG_IsOK(ecode5
)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29530 arg5
= static_cast< wxDouble
>(val5
);
29532 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= SWIG_Py_Void();
29542 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
= 0;
29544 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29559 PyObject
* obj0
= 0 ;
29560 PyObject
* obj1
= 0 ;
29561 PyObject
* obj2
= 0 ;
29562 PyObject
* obj3
= 0 ;
29563 PyObject
* obj4
= 0 ;
29564 char * kwnames
[] = {
29565 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29570 if (!SWIG_IsOK(res1
)) {
29571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29573 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29574 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29575 if (!SWIG_IsOK(ecode2
)) {
29576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29578 arg2
= static_cast< wxDouble
>(val2
);
29579 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29580 if (!SWIG_IsOK(ecode3
)) {
29581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29583 arg3
= static_cast< wxDouble
>(val3
);
29584 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29585 if (!SWIG_IsOK(ecode4
)) {
29586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29588 arg4
= static_cast< wxDouble
>(val4
);
29589 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29590 if (!SWIG_IsOK(ecode5
)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29593 arg5
= static_cast< wxDouble
>(val5
);
29595 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= SWIG_Py_Void();
29605 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
= 0;
29607 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29625 PyObject
* obj0
= 0 ;
29626 PyObject
* obj1
= 0 ;
29627 PyObject
* obj2
= 0 ;
29628 PyObject
* obj3
= 0 ;
29629 PyObject
* obj4
= 0 ;
29630 PyObject
* obj5
= 0 ;
29631 char * kwnames
[] = {
29632 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29640 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29641 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29642 if (!SWIG_IsOK(ecode2
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29645 arg2
= static_cast< wxDouble
>(val2
);
29646 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29647 if (!SWIG_IsOK(ecode3
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29650 arg3
= static_cast< wxDouble
>(val3
);
29651 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29652 if (!SWIG_IsOK(ecode4
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29655 arg4
= static_cast< wxDouble
>(val4
);
29656 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29657 if (!SWIG_IsOK(ecode5
)) {
29658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29660 arg5
= static_cast< wxDouble
>(val5
);
29661 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29662 if (!SWIG_IsOK(ecode6
)) {
29663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29665 arg6
= static_cast< wxDouble
>(val6
);
29667 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= SWIG_Py_Void();
29677 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29678 PyObject
*resultobj
= 0;
29679 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29683 PyObject
*swig_obj
[1] ;
29685 if (!args
) SWIG_fail
;
29686 swig_obj
[0] = args
;
29687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29688 if (!SWIG_IsOK(res1
)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29691 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29693 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29705 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29708 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29709 return SWIG_Py_Void();
29712 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29713 PyObject
*resultobj
= 0;
29714 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29717 PyObject
*swig_obj
[1] ;
29719 if (!args
) SWIG_fail
;
29720 swig_obj
[0] = args
;
29721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29725 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29731 resultobj
= SWIG_Py_Void();
29738 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29739 PyObject
*resultobj
= 0;
29740 wxGraphicsRenderer
*result
= 0 ;
29742 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29744 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29754 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29755 PyObject
*resultobj
= 0;
29756 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29757 wxWindowDC
*arg2
= 0 ;
29758 wxGraphicsContext
*result
= 0 ;
29764 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29769 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29770 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29771 if (!SWIG_IsOK(res2
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29777 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29779 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29789 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29790 PyObject
*resultobj
= 0;
29791 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29792 wxWindow
*arg2
= (wxWindow
*) 0 ;
29793 wxGraphicsContext
*result
= 0 ;
29799 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29804 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29805 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29806 if (!SWIG_IsOK(res2
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29811 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29821 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29825 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29830 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29831 _v
= SWIG_CheckState(res
);
29833 if (!_v
) goto check_1
;
29834 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29839 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29843 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29848 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29849 PyObject
*resultobj
= 0;
29850 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29851 wxGraphicsContext
*result
= 0 ;
29854 PyObject
*swig_obj
[1] ;
29856 if (!args
) SWIG_fail
;
29857 swig_obj
[0] = args
;
29858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29859 if (!SWIG_IsOK(res1
)) {
29860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29862 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29864 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29874 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
= 0;
29876 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29877 void *arg2
= (void *) 0 ;
29878 wxGraphicsContext
*result
= 0 ;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 char * kwnames
[] = {
29885 (char *) "self",(char *) "context", NULL
29888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29890 if (!SWIG_IsOK(res1
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29893 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29894 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29895 if (!SWIG_IsOK(res2
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29899 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29909 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
= 0;
29911 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29912 void *arg2
= (void *) 0 ;
29913 wxGraphicsContext
*result
= 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "window", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29928 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29929 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29930 if (!SWIG_IsOK(res2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29934 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29944 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29945 PyObject
*resultobj
= 0;
29946 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29947 wxGraphicsPath result
;
29950 PyObject
*swig_obj
[1] ;
29952 if (!args
) SWIG_fail
;
29953 swig_obj
[0] = args
;
29954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29955 if (!SWIG_IsOK(res1
)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29958 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29960 result
= (arg1
)->CreatePath();
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29970 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29972 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29973 wxDouble arg2
= (wxDouble
) 1.0 ;
29974 wxDouble arg3
= (wxDouble
) 0.0 ;
29975 wxDouble arg4
= (wxDouble
) 0.0 ;
29976 wxDouble arg5
= (wxDouble
) 1.0 ;
29977 wxDouble arg6
= (wxDouble
) 0.0 ;
29978 wxDouble arg7
= (wxDouble
) 0.0 ;
29979 wxGraphicsMatrix result
;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 PyObject
* obj2
= 0 ;
29997 PyObject
* obj3
= 0 ;
29998 PyObject
* obj4
= 0 ;
29999 PyObject
* obj5
= 0 ;
30000 PyObject
* obj6
= 0 ;
30001 char * kwnames
[] = {
30002 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30007 if (!SWIG_IsOK(res1
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30010 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30012 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30013 if (!SWIG_IsOK(ecode2
)) {
30014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30016 arg2
= static_cast< wxDouble
>(val2
);
30019 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30020 if (!SWIG_IsOK(ecode3
)) {
30021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30023 arg3
= static_cast< wxDouble
>(val3
);
30026 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30027 if (!SWIG_IsOK(ecode4
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30030 arg4
= static_cast< wxDouble
>(val4
);
30033 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30034 if (!SWIG_IsOK(ecode5
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30037 arg5
= static_cast< wxDouble
>(val5
);
30040 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30041 if (!SWIG_IsOK(ecode6
)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30044 arg6
= static_cast< wxDouble
>(val6
);
30047 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30048 if (!SWIG_IsOK(ecode7
)) {
30049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30051 arg7
= static_cast< wxDouble
>(val7
);
30054 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30064 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
= 0;
30066 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30068 wxGraphicsPen result
;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 char * kwnames
[] = {
30076 (char *) "self",(char *) "pen", NULL
30079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30084 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30086 if (!SWIG_IsOK(res2
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30092 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30094 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30104 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
= 0;
30106 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30107 wxBrush
*arg2
= 0 ;
30108 wxGraphicsBrush result
;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char * kwnames
[] = {
30116 (char *) "self",(char *) "brush", NULL
30119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30124 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30126 if (!SWIG_IsOK(res2
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30132 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30134 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30144 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30145 PyObject
*resultobj
= 0;
30146 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30151 wxColour
*arg6
= 0 ;
30152 wxColour
*arg7
= 0 ;
30153 wxGraphicsBrush result
;
30166 PyObject
* obj0
= 0 ;
30167 PyObject
* obj1
= 0 ;
30168 PyObject
* obj2
= 0 ;
30169 PyObject
* obj3
= 0 ;
30170 PyObject
* obj4
= 0 ;
30171 PyObject
* obj5
= 0 ;
30172 PyObject
* obj6
= 0 ;
30173 char * kwnames
[] = {
30174 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30179 if (!SWIG_IsOK(res1
)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30182 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30183 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30184 if (!SWIG_IsOK(ecode2
)) {
30185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30187 arg2
= static_cast< wxDouble
>(val2
);
30188 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30189 if (!SWIG_IsOK(ecode3
)) {
30190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30192 arg3
= static_cast< wxDouble
>(val3
);
30193 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30194 if (!SWIG_IsOK(ecode4
)) {
30195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30197 arg4
= static_cast< wxDouble
>(val4
);
30198 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30199 if (!SWIG_IsOK(ecode5
)) {
30200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30202 arg5
= static_cast< wxDouble
>(val5
);
30205 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30209 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30212 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30222 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
= 0;
30224 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30230 wxColour
*arg7
= 0 ;
30231 wxColour
*arg8
= 0 ;
30232 wxGraphicsBrush result
;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 PyObject
* obj2
= 0 ;
30250 PyObject
* obj3
= 0 ;
30251 PyObject
* obj4
= 0 ;
30252 PyObject
* obj5
= 0 ;
30253 PyObject
* obj6
= 0 ;
30254 PyObject
* obj7
= 0 ;
30255 char * kwnames
[] = {
30256 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30261 if (!SWIG_IsOK(res1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30264 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30265 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30266 if (!SWIG_IsOK(ecode2
)) {
30267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30269 arg2
= static_cast< wxDouble
>(val2
);
30270 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30271 if (!SWIG_IsOK(ecode3
)) {
30272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30274 arg3
= static_cast< wxDouble
>(val3
);
30275 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30276 if (!SWIG_IsOK(ecode4
)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30279 arg4
= static_cast< wxDouble
>(val4
);
30280 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30281 if (!SWIG_IsOK(ecode5
)) {
30282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30284 arg5
= static_cast< wxDouble
>(val5
);
30285 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30286 if (!SWIG_IsOK(ecode6
)) {
30287 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30289 arg6
= static_cast< wxDouble
>(val6
);
30292 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30296 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30299 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30309 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
= 0;
30311 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30313 wxColour
const &arg3_defvalue
= *wxBLACK
;
30314 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30315 wxGraphicsFont result
;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 PyObject
* obj2
= 0 ;
30324 char * kwnames
[] = {
30325 (char *) "self",(char *) "font",(char *) "col", NULL
30328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30333 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30335 if (!SWIG_IsOK(res2
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30341 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30345 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30349 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30359 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30362 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30363 return SWIG_Py_Void();
30366 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30367 PyObject
*resultobj
= 0;
30368 wxWindowDC
*arg1
= 0 ;
30369 wxGCDC
*result
= 0 ;
30373 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30375 if (!SWIG_IsOK(res1
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30381 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30383 if (!wxPyCheckForApp()) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30396 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30397 PyObject
*resultobj
= 0;
30398 wxWindow
*arg1
= (wxWindow
*) 0 ;
30399 wxGCDC
*result
= 0 ;
30403 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30405 if (!SWIG_IsOK(res1
)) {
30406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30410 if (!wxPyCheckForApp()) SWIG_fail
;
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 result
= (wxGCDC
*)new wxGCDC(arg1
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30423 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30427 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30432 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30433 _v
= SWIG_CheckState(res
);
30435 if (!_v
) goto check_1
;
30436 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30441 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30445 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30450 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30451 PyObject
*resultobj
= 0;
30452 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30455 PyObject
*swig_obj
[1] ;
30457 if (!args
) SWIG_fail
;
30458 swig_obj
[0] = args
;
30459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30460 if (!SWIG_IsOK(res1
)) {
30461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30463 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_Py_Void();
30476 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30477 PyObject
*resultobj
= 0;
30478 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30479 wxGraphicsContext
*result
= 0 ;
30482 PyObject
*swig_obj
[1] ;
30484 if (!args
) SWIG_fail
;
30485 swig_obj
[0] = args
;
30486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30487 if (!SWIG_IsOK(res1
)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30490 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30492 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30502 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
= 0;
30504 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30505 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "ctx", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30521 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30523 if (!SWIG_IsOK(res2
)) {
30524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30526 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30528 (arg1
)->SetGraphicsContext(arg2
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= SWIG_Py_Void();
30538 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30541 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30542 return SWIG_Py_Void();
30545 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30546 return SWIG_Python_InitShadowInstance(args
);
30549 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30550 PyObject
*resultobj
= 0;
30551 wxOverlay
*result
= 0 ;
30553 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (wxOverlay
*)new wxOverlay();
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30567 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30568 PyObject
*resultobj
= 0;
30569 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30572 PyObject
*swig_obj
[1] ;
30574 if (!args
) SWIG_fail
;
30575 swig_obj
[0] = args
;
30576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30580 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= SWIG_Py_Void();
30595 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30596 PyObject
*resultobj
= 0;
30597 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30600 PyObject
*swig_obj
[1] ;
30602 if (!args
) SWIG_fail
;
30603 swig_obj
[0] = args
;
30604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30605 if (!SWIG_IsOK(res1
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30608 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 resultobj
= SWIG_Py_Void();
30622 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30625 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30626 return SWIG_Py_Void();
30629 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30630 return SWIG_Python_InitShadowInstance(args
);
30633 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30634 PyObject
*resultobj
= 0;
30635 wxOverlay
*arg1
= 0 ;
30636 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30641 wxDCOverlay
*result
= 0 ;
30655 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30657 if (!SWIG_IsOK(res1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30663 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30664 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30665 if (!SWIG_IsOK(res2
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30668 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30669 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30670 if (!SWIG_IsOK(ecode3
)) {
30671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30673 arg3
= static_cast< int >(val3
);
30674 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30675 if (!SWIG_IsOK(ecode4
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30678 arg4
= static_cast< int >(val4
);
30679 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30680 if (!SWIG_IsOK(ecode5
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30683 arg5
= static_cast< int >(val5
);
30684 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30685 if (!SWIG_IsOK(ecode6
)) {
30686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30688 arg6
= static_cast< int >(val6
);
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30702 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30703 PyObject
*resultobj
= 0;
30704 wxOverlay
*arg1
= 0 ;
30705 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30706 wxDCOverlay
*result
= 0 ;
30712 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30714 if (!SWIG_IsOK(res1
)) {
30715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30720 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30721 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30722 if (!SWIG_IsOK(res2
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30725 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30739 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30743 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30746 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30749 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30753 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30758 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30759 PyObject
*resultobj
= 0;
30760 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30763 PyObject
*swig_obj
[1] ;
30765 if (!args
) SWIG_fail
;
30766 swig_obj
[0] = args
;
30767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30768 if (!SWIG_IsOK(res1
)) {
30769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30771 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_Py_Void();
30786 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30787 PyObject
*resultobj
= 0;
30788 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30791 PyObject
*swig_obj
[1] ;
30793 if (!args
) SWIG_fail
;
30794 swig_obj
[0] = args
;
30795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30799 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= SWIG_Py_Void();
30813 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30816 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30817 return SWIG_Py_Void();
30820 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30821 return SWIG_Python_InitShadowInstance(args
);
30824 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
= 0;
30828 int arg3
= (int) true ;
30829 int arg4
= (int) 1 ;
30830 wxImageList
*result
= 0 ;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 PyObject
* obj2
= 0 ;
30842 PyObject
* obj3
= 0 ;
30843 char * kwnames
[] = {
30844 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30849 if (!SWIG_IsOK(ecode1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30852 arg1
= static_cast< int >(val1
);
30853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30854 if (!SWIG_IsOK(ecode2
)) {
30855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30857 arg2
= static_cast< int >(val2
);
30859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30860 if (!SWIG_IsOK(ecode3
)) {
30861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30863 arg3
= static_cast< int >(val3
);
30866 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30867 if (!SWIG_IsOK(ecode4
)) {
30868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30870 arg4
= static_cast< int >(val4
);
30873 if (!wxPyCheckForApp()) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30886 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30887 PyObject
*resultobj
= 0;
30888 wxImageList
*arg1
= (wxImageList
*) 0 ;
30891 PyObject
*swig_obj
[1] ;
30893 if (!args
) SWIG_fail
;
30894 swig_obj
[0] = args
;
30895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30896 if (!SWIG_IsOK(res1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30899 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30907 resultobj
= SWIG_Py_Void();
30914 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
= 0;
30916 wxImageList
*arg1
= (wxImageList
*) 0 ;
30917 wxBitmap
*arg2
= 0 ;
30918 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30919 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30927 PyObject
* obj0
= 0 ;
30928 PyObject
* obj1
= 0 ;
30929 PyObject
* obj2
= 0 ;
30930 char * kwnames
[] = {
30931 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30936 if (!SWIG_IsOK(res1
)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30939 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30941 if (!SWIG_IsOK(res2
)) {
30942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30947 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30949 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30950 if (!SWIG_IsOK(res3
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30956 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_From_int(static_cast< int >(result
));
30971 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
= 0;
30973 wxImageList
*arg1
= (wxImageList
*) 0 ;
30974 wxBitmap
*arg2
= 0 ;
30975 wxColour
*arg3
= 0 ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 PyObject
* obj2
= 0 ;
30985 char * kwnames
[] = {
30986 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30991 if (!SWIG_IsOK(res1
)) {
30992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30994 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30996 if (!SWIG_IsOK(res2
)) {
30997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31002 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31005 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_From_int(static_cast< int >(result
));
31020 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxImageList
*arg1
= (wxImageList
*) 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char * kwnames
[] = {
31032 (char *) "self",(char *) "icon", NULL
31035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31037 if (!SWIG_IsOK(res1
)) {
31038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31040 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31042 if (!SWIG_IsOK(res2
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31048 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_From_int(static_cast< int >(result
));
31062 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
= 0;
31064 wxImageList
*arg1
= (wxImageList
*) 0 ;
31066 SwigValueWrapper
<wxBitmap
> result
;
31071 PyObject
* obj0
= 0 ;
31072 PyObject
* obj1
= 0 ;
31073 char * kwnames
[] = {
31074 (char *) "self",(char *) "index", NULL
31077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31079 if (!SWIG_IsOK(res1
)) {
31080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31082 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31084 if (!SWIG_IsOK(ecode2
)) {
31085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31087 arg2
= static_cast< int >(val2
);
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31101 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
= 0;
31103 wxImageList
*arg1
= (wxImageList
*) 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 char * kwnames
[] = {
31113 (char *) "self",(char *) "index", NULL
31116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31118 if (!SWIG_IsOK(res1
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31121 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31123 if (!SWIG_IsOK(ecode2
)) {
31124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31126 arg2
= static_cast< int >(val2
);
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31140 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
= 0;
31142 wxImageList
*arg1
= (wxImageList
*) 0 ;
31144 wxBitmap
*arg3
= 0 ;
31145 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31146 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 PyObject
* obj2
= 0 ;
31159 PyObject
* obj3
= 0 ;
31160 char * kwnames
[] = {
31161 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31166 if (!SWIG_IsOK(res1
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31169 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31171 if (!SWIG_IsOK(ecode2
)) {
31172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31174 arg2
= static_cast< int >(val2
);
31175 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31176 if (!SWIG_IsOK(res3
)) {
31177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31182 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31184 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31185 if (!SWIG_IsOK(res4
)) {
31186 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31191 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31208 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
= 0;
31210 wxImageList
*arg1
= (wxImageList
*) 0 ;
31215 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31216 bool arg7
= (bool) (bool)false ;
31232 PyObject
* obj0
= 0 ;
31233 PyObject
* obj1
= 0 ;
31234 PyObject
* obj2
= 0 ;
31235 PyObject
* obj3
= 0 ;
31236 PyObject
* obj4
= 0 ;
31237 PyObject
* obj5
= 0 ;
31238 PyObject
* obj6
= 0 ;
31239 char * kwnames
[] = {
31240 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31245 if (!SWIG_IsOK(res1
)) {
31246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31248 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31250 if (!SWIG_IsOK(ecode2
)) {
31251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31253 arg2
= static_cast< int >(val2
);
31254 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31255 if (!SWIG_IsOK(res3
)) {
31256 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31261 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31263 if (!SWIG_IsOK(ecode4
)) {
31264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31266 arg4
= static_cast< int >(val4
);
31267 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31268 if (!SWIG_IsOK(ecode5
)) {
31269 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31271 arg5
= static_cast< int >(val5
);
31273 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31274 if (!SWIG_IsOK(ecode6
)) {
31275 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31277 arg6
= static_cast< int >(val6
);
31280 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31281 if (!SWIG_IsOK(ecode7
)) {
31282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31284 arg7
= static_cast< bool >(val7
);
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31301 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31302 PyObject
*resultobj
= 0;
31303 wxImageList
*arg1
= (wxImageList
*) 0 ;
31307 PyObject
*swig_obj
[1] ;
31309 if (!args
) SWIG_fail
;
31310 swig_obj
[0] = args
;
31311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31312 if (!SWIG_IsOK(res1
)) {
31313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31315 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= (int)(arg1
)->GetImageCount();
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31322 resultobj
= SWIG_From_int(static_cast< int >(result
));
31329 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
= 0;
31331 wxImageList
*arg1
= (wxImageList
*) 0 ;
31338 PyObject
* obj0
= 0 ;
31339 PyObject
* obj1
= 0 ;
31340 char * kwnames
[] = {
31341 (char *) "self",(char *) "index", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31349 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31351 if (!SWIG_IsOK(ecode2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31354 arg2
= static_cast< int >(val2
);
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 result
= (bool)(arg1
)->Remove(arg2
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31370 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31371 PyObject
*resultobj
= 0;
31372 wxImageList
*arg1
= (wxImageList
*) 0 ;
31376 PyObject
*swig_obj
[1] ;
31378 if (!args
) SWIG_fail
;
31379 swig_obj
[0] = args
;
31380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31381 if (!SWIG_IsOK(res1
)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31384 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 result
= (bool)(arg1
)->RemoveAll();
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31400 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxImageList
*arg1
= (wxImageList
*) 0 ;
31411 int res3
= SWIG_TMPOBJ
;
31413 int res4
= SWIG_TMPOBJ
;
31414 PyObject
* obj0
= 0 ;
31415 PyObject
* obj1
= 0 ;
31416 char * kwnames
[] = {
31417 (char *) "self",(char *) "index", NULL
31422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31424 if (!SWIG_IsOK(res1
)) {
31425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31427 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31429 if (!SWIG_IsOK(ecode2
)) {
31430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31432 arg2
= static_cast< int >(val2
);
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= SWIG_Py_Void();
31440 if (SWIG_IsTmpObj(res3
)) {
31441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31443 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31446 if (SWIG_IsTmpObj(res4
)) {
31447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31449 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31458 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31461 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31462 return SWIG_Py_Void();
31465 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31466 return SWIG_Python_InitShadowInstance(args
);
31469 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31470 PyObject
*resultobj
= 0;
31471 wxStockGDI
*result
= 0 ;
31473 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 result
= (wxStockGDI
*)new wxStockGDI();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31487 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31488 PyObject
*resultobj
= 0;
31489 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31492 PyObject
*swig_obj
[1] ;
31494 if (!args
) SWIG_fail
;
31495 swig_obj
[0] = args
;
31496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31497 if (!SWIG_IsOK(res1
)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31500 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31508 resultobj
= SWIG_Py_Void();
31515 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31516 PyObject
*resultobj
= 0;
31518 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31521 wxStockGDI::DeleteAll();
31522 wxPyEndAllowThreads(__tstate
);
31523 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= SWIG_Py_Void();
31532 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31533 PyObject
*resultobj
= 0;
31534 wxStockGDI
*result
= 0 ;
31536 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31541 result
= (wxStockGDI
*) &_result_ref
;
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31553 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= 0;
31555 wxStockGDI::Item arg1
;
31556 wxBrush
*result
= 0 ;
31559 PyObject
* obj0
= 0 ;
31560 char * kwnames
[] = {
31561 (char *) "item", NULL
31564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31565 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31566 if (!SWIG_IsOK(ecode1
)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31569 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31583 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31584 PyObject
*resultobj
= 0;
31585 wxStockGDI::Item arg1
;
31586 wxColour
*result
= 0 ;
31589 PyObject
* obj0
= 0 ;
31590 char * kwnames
[] = {
31591 (char *) "item", NULL
31594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31595 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31596 if (!SWIG_IsOK(ecode1
)) {
31597 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31599 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31613 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
= 0;
31615 wxStockGDI::Item arg1
;
31616 wxCursor
*result
= 0 ;
31619 PyObject
* obj0
= 0 ;
31620 char * kwnames
[] = {
31621 (char *) "item", NULL
31624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31625 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31626 if (!SWIG_IsOK(ecode1
)) {
31627 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31629 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31643 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxStockGDI::Item arg1
;
31646 wxPen
*result
= 0 ;
31649 PyObject
* obj0
= 0 ;
31650 char * kwnames
[] = {
31651 (char *) "item", NULL
31654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31656 if (!SWIG_IsOK(ecode1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31659 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31673 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
= 0;
31675 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31676 wxStockGDI::Item arg2
;
31677 wxFont
*result
= 0 ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 char * kwnames
[] = {
31685 (char *) "self",(char *) "item", NULL
31688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31690 if (!SWIG_IsOK(res1
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31693 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31695 if (!SWIG_IsOK(ecode2
)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31698 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31712 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31715 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31716 return SWIG_Py_Void();
31719 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31720 return SWIG_Python_InitShadowInstance(args
);
31723 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31724 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31729 SWIGINTERN PyObject
*NullBitmap_get(void) {
31730 PyObject
*pyobj
= 0;
31732 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31737 SWIGINTERN
int NullIcon_set(PyObject
*) {
31738 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31743 SWIGINTERN PyObject
*NullIcon_get(void) {
31744 PyObject
*pyobj
= 0;
31746 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31751 SWIGINTERN
int NullCursor_set(PyObject
*) {
31752 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31757 SWIGINTERN PyObject
*NullCursor_get(void) {
31758 PyObject
*pyobj
= 0;
31760 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31765 SWIGINTERN
int NullPen_set(PyObject
*) {
31766 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31771 SWIGINTERN PyObject
*NullPen_get(void) {
31772 PyObject
*pyobj
= 0;
31774 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31779 SWIGINTERN
int NullBrush_set(PyObject
*) {
31780 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31785 SWIGINTERN PyObject
*NullBrush_get(void) {
31786 PyObject
*pyobj
= 0;
31788 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31793 SWIGINTERN
int NullPalette_set(PyObject
*) {
31794 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31799 SWIGINTERN PyObject
*NullPalette_get(void) {
31800 PyObject
*pyobj
= 0;
31802 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31807 SWIGINTERN
int NullFont_set(PyObject
*) {
31808 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31813 SWIGINTERN PyObject
*NullFont_get(void) {
31814 PyObject
*pyobj
= 0;
31816 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31821 SWIGINTERN
int NullColour_set(PyObject
*) {
31822 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31827 SWIGINTERN PyObject
*NullColour_get(void) {
31828 PyObject
*pyobj
= 0;
31830 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31835 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31836 PyObject
*resultobj
= 0;
31837 wxGDIObjListBase
*result
= 0 ;
31839 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31842 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31843 wxPyEndAllowThreads(__tstate
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31853 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31854 PyObject
*resultobj
= 0;
31855 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31858 PyObject
*swig_obj
[1] ;
31860 if (!args
) SWIG_fail
;
31861 swig_obj
[0] = args
;
31862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31863 if (!SWIG_IsOK(res1
)) {
31864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31866 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_Py_Void();
31881 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31884 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31885 return SWIG_Py_Void();
31888 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31889 return SWIG_Python_InitShadowInstance(args
);
31892 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
= 0;
31894 wxPenList
*arg1
= (wxPenList
*) 0 ;
31895 wxColour
*arg2
= 0 ;
31898 wxPen
*result
= 0 ;
31906 PyObject
* obj0
= 0 ;
31907 PyObject
* obj1
= 0 ;
31908 PyObject
* obj2
= 0 ;
31909 PyObject
* obj3
= 0 ;
31910 char * kwnames
[] = {
31911 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31916 if (!SWIG_IsOK(res1
)) {
31917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31919 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31922 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31925 if (!SWIG_IsOK(ecode3
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31928 arg3
= static_cast< int >(val3
);
31929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31930 if (!SWIG_IsOK(ecode4
)) {
31931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31933 arg4
= static_cast< int >(val4
);
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31947 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31948 PyObject
*resultobj
= 0;
31949 wxPenList
*arg1
= (wxPenList
*) 0 ;
31950 wxPen
*arg2
= (wxPen
*) 0 ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 char * kwnames
[] = {
31958 (char *) "self",(char *) "pen", NULL
31961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31963 if (!SWIG_IsOK(res1
)) {
31964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31966 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31968 if (!SWIG_IsOK(res2
)) {
31969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31971 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 (arg1
)->AddPen(arg2
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_Py_Void();
31985 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxPenList
*arg1
= (wxPenList
*) 0 ;
31988 wxPen
*arg2
= (wxPen
*) 0 ;
31993 PyObject
* obj0
= 0 ;
31994 PyObject
* obj1
= 0 ;
31995 char * kwnames
[] = {
31996 (char *) "self",(char *) "pen", NULL
31999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32001 if (!SWIG_IsOK(res1
)) {
32002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32004 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32006 if (!SWIG_IsOK(res2
)) {
32007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32009 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 (arg1
)->RemovePen(arg2
);
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= SWIG_Py_Void();
32023 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32027 return SWIG_Py_Void();
32030 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
= 0;
32032 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32033 wxColour
*arg2
= 0 ;
32034 int arg3
= (int) wxSOLID
;
32035 wxBrush
*result
= 0 ;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 PyObject
* obj2
= 0 ;
32044 char * kwnames
[] = {
32045 (char *) "self",(char *) "colour",(char *) "style", NULL
32048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32053 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32060 if (!SWIG_IsOK(ecode3
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32063 arg3
= static_cast< int >(val3
);
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32078 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32079 PyObject
*resultobj
= 0;
32080 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32081 wxBrush
*arg2
= (wxBrush
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 char * kwnames
[] = {
32089 (char *) "self",(char *) "brush", NULL
32092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32094 if (!SWIG_IsOK(res1
)) {
32095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32097 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32099 if (!SWIG_IsOK(res2
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32102 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->AddBrush(arg2
);
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= SWIG_Py_Void();
32116 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32117 PyObject
*resultobj
= 0;
32118 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32119 wxBrush
*arg2
= (wxBrush
*) 0 ;
32124 PyObject
* obj0
= 0 ;
32125 PyObject
* obj1
= 0 ;
32126 char * kwnames
[] = {
32127 (char *) "self",(char *) "brush", NULL
32130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32132 if (!SWIG_IsOK(res1
)) {
32133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32135 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32137 if (!SWIG_IsOK(res2
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32140 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 (arg1
)->RemoveBrush(arg2
);
32144 wxPyEndAllowThreads(__tstate
);
32145 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= SWIG_Py_Void();
32154 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32157 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32158 return SWIG_Py_Void();
32161 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxFontList
*arg1
= (wxFontList
*) 0 ;
32168 bool arg6
= (bool) false ;
32169 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32171 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32172 wxFont
*result
= 0 ;
32185 bool temp7
= false ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 PyObject
* obj2
= 0 ;
32191 PyObject
* obj3
= 0 ;
32192 PyObject
* obj4
= 0 ;
32193 PyObject
* obj5
= 0 ;
32194 PyObject
* obj6
= 0 ;
32195 PyObject
* obj7
= 0 ;
32196 char * kwnames
[] = {
32197 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32202 if (!SWIG_IsOK(res1
)) {
32203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32205 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32207 if (!SWIG_IsOK(ecode2
)) {
32208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32210 arg2
= static_cast< int >(val2
);
32211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32212 if (!SWIG_IsOK(ecode3
)) {
32213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32215 arg3
= static_cast< int >(val3
);
32216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32217 if (!SWIG_IsOK(ecode4
)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32220 arg4
= static_cast< int >(val4
);
32221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32222 if (!SWIG_IsOK(ecode5
)) {
32223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32225 arg5
= static_cast< int >(val5
);
32227 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32228 if (!SWIG_IsOK(ecode6
)) {
32229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32231 arg6
= static_cast< bool >(val6
);
32235 arg7
= wxString_in_helper(obj6
);
32236 if (arg7
== NULL
) SWIG_fail
;
32241 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32242 if (!SWIG_IsOK(ecode8
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32245 arg8
= static_cast< wxFontEncoding
>(val8
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32268 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32269 PyObject
*resultobj
= 0;
32270 wxFontList
*arg1
= (wxFontList
*) 0 ;
32271 wxFont
*arg2
= (wxFont
*) 0 ;
32276 PyObject
* obj0
= 0 ;
32277 PyObject
* obj1
= 0 ;
32278 char * kwnames
[] = {
32279 (char *) "self",(char *) "font", NULL
32282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32284 if (!SWIG_IsOK(res1
)) {
32285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32287 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32289 if (!SWIG_IsOK(res2
)) {
32290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32292 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 (arg1
)->AddFont(arg2
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= SWIG_Py_Void();
32306 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
= 0;
32308 wxFontList
*arg1
= (wxFontList
*) 0 ;
32309 wxFont
*arg2
= (wxFont
*) 0 ;
32314 PyObject
* obj0
= 0 ;
32315 PyObject
* obj1
= 0 ;
32316 char * kwnames
[] = {
32317 (char *) "self",(char *) "font", NULL
32320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32325 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32327 if (!SWIG_IsOK(res2
)) {
32328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32330 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 (arg1
)->RemoveFont(arg2
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_Py_Void();
32344 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32347 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32348 return SWIG_Py_Void();
32351 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32352 PyObject
*resultobj
= 0;
32353 wxColourDatabase
*result
= 0 ;
32355 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32357 if (!wxPyCheckForApp()) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= (wxColourDatabase
*)new wxColourDatabase();
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32370 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32371 PyObject
*resultobj
= 0;
32372 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32375 PyObject
*swig_obj
[1] ;
32377 if (!args
) SWIG_fail
;
32378 swig_obj
[0] = args
;
32379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32380 if (!SWIG_IsOK(res1
)) {
32381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32383 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= SWIG_Py_Void();
32398 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
= 0;
32400 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32401 wxString
*arg2
= 0 ;
32405 bool temp2
= false ;
32406 PyObject
* obj0
= 0 ;
32407 PyObject
* obj1
= 0 ;
32408 char * kwnames
[] = {
32409 (char *) "self",(char *) "name", NULL
32412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32414 if (!SWIG_IsOK(res1
)) {
32415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32417 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32419 arg2
= wxString_in_helper(obj1
);
32420 if (arg2
== NULL
) SWIG_fail
;
32424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32425 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32444 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32445 PyObject
*resultobj
= 0;
32446 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32447 wxColour
*arg2
= 0 ;
32452 PyObject
* obj0
= 0 ;
32453 PyObject
* obj1
= 0 ;
32454 char * kwnames
[] = {
32455 (char *) "self",(char *) "colour", NULL
32458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32460 if (!SWIG_IsOK(res1
)) {
32461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32463 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32466 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32487 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
= 0;
32489 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32490 wxString
*arg2
= 0 ;
32491 wxColour
*arg3
= 0 ;
32494 bool temp2
= false ;
32496 PyObject
* obj0
= 0 ;
32497 PyObject
* obj1
= 0 ;
32498 PyObject
* obj2
= 0 ;
32499 char * kwnames
[] = {
32500 (char *) "self",(char *) "name",(char *) "colour", NULL
32503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32505 if (!SWIG_IsOK(res1
)) {
32506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32508 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32510 arg2
= wxString_in_helper(obj1
);
32511 if (arg2
== NULL
) SWIG_fail
;
32516 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_Py_Void();
32539 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32540 PyObject
*resultobj
= 0;
32541 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32542 wxString
*arg2
= 0 ;
32548 bool temp2
= false ;
32555 PyObject
* obj0
= 0 ;
32556 PyObject
* obj1
= 0 ;
32557 PyObject
* obj2
= 0 ;
32558 PyObject
* obj3
= 0 ;
32559 PyObject
* obj4
= 0 ;
32560 char * kwnames
[] = {
32561 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32566 if (!SWIG_IsOK(res1
)) {
32567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32569 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32571 arg2
= wxString_in_helper(obj1
);
32572 if (arg2
== NULL
) SWIG_fail
;
32575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32576 if (!SWIG_IsOK(ecode3
)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32579 arg3
= static_cast< int >(val3
);
32580 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32581 if (!SWIG_IsOK(ecode4
)) {
32582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32584 arg4
= static_cast< int >(val4
);
32585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32586 if (!SWIG_IsOK(ecode5
)) {
32587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32589 arg5
= static_cast< int >(val5
);
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_Py_Void();
32611 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32614 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32615 return SWIG_Py_Void();
32618 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32619 return SWIG_Python_InitShadowInstance(args
);
32622 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32623 PyObject
*resultobj
= 0;
32624 wxFontList
*result
= 0 ;
32626 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= (wxFontList
*)_wxPyInitTheFontList();
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32640 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32641 PyObject
*resultobj
= 0;
32642 wxPenList
*result
= 0 ;
32644 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= (wxPenList
*)_wxPyInitThePenList();
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32658 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32659 PyObject
*resultobj
= 0;
32660 wxBrushList
*result
= 0 ;
32662 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32676 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxColourDatabase
*result
= 0 ;
32680 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32694 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32695 PyObject
*resultobj
= 0;
32696 wxEffects
*result
= 0 ;
32698 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 result
= (wxEffects
*)new wxEffects();
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32712 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32713 PyObject
*resultobj
= 0;
32714 wxEffects
*arg1
= (wxEffects
*) 0 ;
32718 PyObject
*swig_obj
[1] ;
32720 if (!args
) SWIG_fail
;
32721 swig_obj
[0] = args
;
32722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32723 if (!SWIG_IsOK(res1
)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32726 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32740 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32741 PyObject
*resultobj
= 0;
32742 wxEffects
*arg1
= (wxEffects
*) 0 ;
32746 PyObject
*swig_obj
[1] ;
32748 if (!args
) SWIG_fail
;
32749 swig_obj
[0] = args
;
32750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32751 if (!SWIG_IsOK(res1
)) {
32752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32754 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32757 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32761 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32768 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32769 PyObject
*resultobj
= 0;
32770 wxEffects
*arg1
= (wxEffects
*) 0 ;
32774 PyObject
*swig_obj
[1] ;
32776 if (!args
) SWIG_fail
;
32777 swig_obj
[0] = args
;
32778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32779 if (!SWIG_IsOK(res1
)) {
32780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32782 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32796 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32797 PyObject
*resultobj
= 0;
32798 wxEffects
*arg1
= (wxEffects
*) 0 ;
32802 PyObject
*swig_obj
[1] ;
32804 if (!args
) SWIG_fail
;
32805 swig_obj
[0] = args
;
32806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32807 if (!SWIG_IsOK(res1
)) {
32808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32810 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32824 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 PyObject
*resultobj
= 0;
32826 wxEffects
*arg1
= (wxEffects
*) 0 ;
32830 PyObject
*swig_obj
[1] ;
32832 if (!args
) SWIG_fail
;
32833 swig_obj
[0] = args
;
32834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32835 if (!SWIG_IsOK(res1
)) {
32836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32838 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32852 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
= 0;
32854 wxEffects
*arg1
= (wxEffects
*) 0 ;
32855 wxColour
*arg2
= 0 ;
32859 PyObject
* obj0
= 0 ;
32860 PyObject
* obj1
= 0 ;
32861 char * kwnames
[] = {
32862 (char *) "self",(char *) "c", NULL
32865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32867 if (!SWIG_IsOK(res1
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32870 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32877 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32878 wxPyEndAllowThreads(__tstate
);
32879 if (PyErr_Occurred()) SWIG_fail
;
32881 resultobj
= SWIG_Py_Void();
32888 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32889 PyObject
*resultobj
= 0;
32890 wxEffects
*arg1
= (wxEffects
*) 0 ;
32891 wxColour
*arg2
= 0 ;
32895 PyObject
* obj0
= 0 ;
32896 PyObject
* obj1
= 0 ;
32897 char * kwnames
[] = {
32898 (char *) "self",(char *) "c", NULL
32901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32903 if (!SWIG_IsOK(res1
)) {
32904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32906 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= SWIG_Py_Void();
32924 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32925 PyObject
*resultobj
= 0;
32926 wxEffects
*arg1
= (wxEffects
*) 0 ;
32927 wxColour
*arg2
= 0 ;
32931 PyObject
* obj0
= 0 ;
32932 PyObject
* obj1
= 0 ;
32933 char * kwnames
[] = {
32934 (char *) "self",(char *) "c", NULL
32937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32950 wxPyEndAllowThreads(__tstate
);
32951 if (PyErr_Occurred()) SWIG_fail
;
32953 resultobj
= SWIG_Py_Void();
32960 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
= 0;
32962 wxEffects
*arg1
= (wxEffects
*) 0 ;
32963 wxColour
*arg2
= 0 ;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char * kwnames
[] = {
32970 (char *) "self",(char *) "c", NULL
32973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32975 if (!SWIG_IsOK(res1
)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32978 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32981 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32986 wxPyEndAllowThreads(__tstate
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32989 resultobj
= SWIG_Py_Void();
32996 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
= 0;
32998 wxEffects
*arg1
= (wxEffects
*) 0 ;
32999 wxColour
*arg2
= 0 ;
33003 PyObject
* obj0
= 0 ;
33004 PyObject
* obj1
= 0 ;
33005 char * kwnames
[] = {
33006 (char *) "self",(char *) "c", NULL
33009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33011 if (!SWIG_IsOK(res1
)) {
33012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33014 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_Py_Void();
33032 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
= 0;
33034 wxEffects
*arg1
= (wxEffects
*) 0 ;
33035 wxColour
*arg2
= 0 ;
33036 wxColour
*arg3
= 0 ;
33037 wxColour
*arg4
= 0 ;
33038 wxColour
*arg5
= 0 ;
33039 wxColour
*arg6
= 0 ;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 PyObject
* obj2
= 0 ;
33050 PyObject
* obj3
= 0 ;
33051 PyObject
* obj4
= 0 ;
33052 PyObject
* obj5
= 0 ;
33053 char * kwnames
[] = {
33054 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33059 if (!SWIG_IsOK(res1
)) {
33060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33062 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33069 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33073 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33077 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33081 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_Py_Void();
33096 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
= 0;
33098 wxEffects
*arg1
= (wxEffects
*) 0 ;
33101 int arg4
= (int) 1 ;
33109 PyObject
* obj0
= 0 ;
33110 PyObject
* obj1
= 0 ;
33111 PyObject
* obj2
= 0 ;
33112 PyObject
* obj3
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33122 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33124 if (!SWIG_IsOK(res2
)) {
33125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33130 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33133 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33137 if (!SWIG_IsOK(ecode4
)) {
33138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33140 arg4
= static_cast< int >(val4
);
33143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33144 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= SWIG_Py_Void();
33155 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
= 0;
33157 wxEffects
*arg1
= (wxEffects
*) 0 ;
33160 wxBitmap
*arg4
= 0 ;
33169 PyObject
* obj0
= 0 ;
33170 PyObject
* obj1
= 0 ;
33171 PyObject
* obj2
= 0 ;
33172 PyObject
* obj3
= 0 ;
33173 char * kwnames
[] = {
33174 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33179 if (!SWIG_IsOK(res1
)) {
33180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33182 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33187 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33188 if (!SWIG_IsOK(res3
)) {
33189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33194 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33195 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33196 if (!SWIG_IsOK(res4
)) {
33197 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33202 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33218 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33221 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33222 return SWIG_Py_Void();
33225 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33226 return SWIG_Python_InitShadowInstance(args
);
33229 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
= 0;
33234 wxSplitterRenderParams
*result
= 0 ;
33241 PyObject
* obj0
= 0 ;
33242 PyObject
* obj1
= 0 ;
33243 PyObject
* obj2
= 0 ;
33244 char * kwnames
[] = {
33245 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33249 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33250 if (!SWIG_IsOK(ecode1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33253 arg1
= static_cast< int >(val1
);
33254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33255 if (!SWIG_IsOK(ecode2
)) {
33256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33258 arg2
= static_cast< int >(val2
);
33259 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33260 if (!SWIG_IsOK(ecode3
)) {
33261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33263 arg3
= static_cast< bool >(val3
);
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33277 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33278 PyObject
*resultobj
= 0;
33279 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33282 PyObject
*swig_obj
[1] ;
33284 if (!args
) SWIG_fail
;
33285 swig_obj
[0] = args
;
33286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33287 if (!SWIG_IsOK(res1
)) {
33288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33290 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 resultobj
= SWIG_Py_Void();
33305 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33306 PyObject
*resultobj
= 0;
33307 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33311 PyObject
*swig_obj
[1] ;
33313 if (!args
) SWIG_fail
;
33314 swig_obj
[0] = args
;
33315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33316 if (!SWIG_IsOK(res1
)) {
33317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33319 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33320 result
= (int)(int) ((arg1
)->widthSash
);
33321 resultobj
= SWIG_From_int(static_cast< int >(result
));
33328 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33329 PyObject
*resultobj
= 0;
33330 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33334 PyObject
*swig_obj
[1] ;
33336 if (!args
) SWIG_fail
;
33337 swig_obj
[0] = args
;
33338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33339 if (!SWIG_IsOK(res1
)) {
33340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33342 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33343 result
= (int)(int) ((arg1
)->border
);
33344 resultobj
= SWIG_From_int(static_cast< int >(result
));
33351 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33352 PyObject
*resultobj
= 0;
33353 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33357 PyObject
*swig_obj
[1] ;
33359 if (!args
) SWIG_fail
;
33360 swig_obj
[0] = args
;
33361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33362 if (!SWIG_IsOK(res1
)) {
33363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33365 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33366 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33367 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33374 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33377 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33378 return SWIG_Py_Void();
33381 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33382 return SWIG_Python_InitShadowInstance(args
);
33385 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33386 PyObject
*resultobj
= 0;
33387 wxHeaderButtonParams
*result
= 0 ;
33389 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33392 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33393 wxPyEndAllowThreads(__tstate
);
33394 if (PyErr_Occurred()) SWIG_fail
;
33396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33403 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33404 PyObject
*resultobj
= 0;
33405 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33408 PyObject
*swig_obj
[1] ;
33410 if (!args
) SWIG_fail
;
33411 swig_obj
[0] = args
;
33412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33413 if (!SWIG_IsOK(res1
)) {
33414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33416 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= SWIG_Py_Void();
33431 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33432 PyObject
*resultobj
= 0;
33433 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33434 wxColour
*arg2
= (wxColour
*) 0 ;
33438 PyObject
*swig_obj
[2] ;
33440 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33445 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33448 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33450 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33452 resultobj
= SWIG_Py_Void();
33459 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33460 PyObject
*resultobj
= 0;
33461 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33462 wxColour
*result
= 0 ;
33465 PyObject
*swig_obj
[1] ;
33467 if (!args
) SWIG_fail
;
33468 swig_obj
[0] = args
;
33469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33470 if (!SWIG_IsOK(res1
)) {
33471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33473 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33474 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33482 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33483 PyObject
*resultobj
= 0;
33484 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33485 wxColour
*arg2
= (wxColour
*) 0 ;
33489 PyObject
*swig_obj
[2] ;
33491 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33493 if (!SWIG_IsOK(res1
)) {
33494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33496 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33499 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33501 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33503 resultobj
= SWIG_Py_Void();
33510 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33511 PyObject
*resultobj
= 0;
33512 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33513 wxColour
*result
= 0 ;
33516 PyObject
*swig_obj
[1] ;
33518 if (!args
) SWIG_fail
;
33519 swig_obj
[0] = args
;
33520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33521 if (!SWIG_IsOK(res1
)) {
33522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33524 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33525 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33533 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33534 PyObject
*resultobj
= 0;
33535 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33536 wxString
*arg2
= (wxString
*) 0 ;
33539 bool temp2
= false ;
33540 PyObject
*swig_obj
[2] ;
33542 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33544 if (!SWIG_IsOK(res1
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33547 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33549 arg2
= wxString_in_helper(swig_obj
[1]);
33550 if (arg2
== NULL
) SWIG_fail
;
33553 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33555 resultobj
= SWIG_Py_Void();
33570 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33571 PyObject
*resultobj
= 0;
33572 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33573 wxString
*result
= 0 ;
33576 PyObject
*swig_obj
[1] ;
33578 if (!args
) SWIG_fail
;
33579 swig_obj
[0] = args
;
33580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33584 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33585 result
= (wxString
*)& ((arg1
)->m_labelText
);
33588 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33590 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33599 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33600 PyObject
*resultobj
= 0;
33601 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33602 wxFont
*arg2
= (wxFont
*) 0 ;
33607 PyObject
*swig_obj
[2] ;
33609 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33611 if (!SWIG_IsOK(res1
)) {
33612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33614 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33615 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33616 if (!SWIG_IsOK(res2
)) {
33617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33619 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33620 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33622 resultobj
= SWIG_Py_Void();
33629 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33630 PyObject
*resultobj
= 0;
33631 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33632 wxFont
*result
= 0 ;
33635 PyObject
*swig_obj
[1] ;
33637 if (!args
) SWIG_fail
;
33638 swig_obj
[0] = args
;
33639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33640 if (!SWIG_IsOK(res1
)) {
33641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33643 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33644 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33652 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33653 PyObject
*resultobj
= 0;
33654 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33655 wxColour
*arg2
= (wxColour
*) 0 ;
33659 PyObject
*swig_obj
[2] ;
33661 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33663 if (!SWIG_IsOK(res1
)) {
33664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33666 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33669 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33671 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33673 resultobj
= SWIG_Py_Void();
33680 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33681 PyObject
*resultobj
= 0;
33682 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33683 wxColour
*result
= 0 ;
33686 PyObject
*swig_obj
[1] ;
33688 if (!args
) SWIG_fail
;
33689 swig_obj
[0] = args
;
33690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33691 if (!SWIG_IsOK(res1
)) {
33692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33694 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33695 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33703 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33704 PyObject
*resultobj
= 0;
33705 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33706 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33711 PyObject
*swig_obj
[2] ;
33713 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33715 if (!SWIG_IsOK(res1
)) {
33716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33718 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33720 if (!SWIG_IsOK(res2
)) {
33721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33723 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33724 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33726 resultobj
= SWIG_Py_Void();
33733 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33734 PyObject
*resultobj
= 0;
33735 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33736 wxBitmap
*result
= 0 ;
33739 PyObject
*swig_obj
[1] ;
33741 if (!args
) SWIG_fail
;
33742 swig_obj
[0] = args
;
33743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33744 if (!SWIG_IsOK(res1
)) {
33745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33747 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33748 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33756 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33757 PyObject
*resultobj
= 0;
33758 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33764 PyObject
*swig_obj
[2] ;
33766 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33771 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33772 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33773 if (!SWIG_IsOK(ecode2
)) {
33774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33776 arg2
= static_cast< int >(val2
);
33777 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33779 resultobj
= SWIG_Py_Void();
33786 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33787 PyObject
*resultobj
= 0;
33788 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33792 PyObject
*swig_obj
[1] ;
33794 if (!args
) SWIG_fail
;
33795 swig_obj
[0] = args
;
33796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33797 if (!SWIG_IsOK(res1
)) {
33798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33800 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33801 result
= (int) ((arg1
)->m_labelAlignment
);
33802 resultobj
= SWIG_From_int(static_cast< int >(result
));
33809 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33812 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33813 return SWIG_Py_Void();
33816 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33817 return SWIG_Python_InitShadowInstance(args
);
33820 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33821 PyObject
*resultobj
= 0;
33824 wxRendererVersion
*result
= 0 ;
33829 PyObject
* obj0
= 0 ;
33830 PyObject
* obj1
= 0 ;
33831 char * kwnames
[] = {
33832 (char *) "version_",(char *) "age_", NULL
33835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33837 if (!SWIG_IsOK(ecode1
)) {
33838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33840 arg1
= static_cast< int >(val1
);
33841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33842 if (!SWIG_IsOK(ecode2
)) {
33843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33845 arg2
= static_cast< int >(val2
);
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33859 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33860 PyObject
*resultobj
= 0;
33861 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33864 PyObject
*swig_obj
[1] ;
33866 if (!args
) SWIG_fail
;
33867 swig_obj
[0] = args
;
33868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33869 if (!SWIG_IsOK(res1
)) {
33870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33872 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= SWIG_Py_Void();
33887 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
= 0;
33889 wxRendererVersion
*arg1
= 0 ;
33893 PyObject
* obj0
= 0 ;
33894 char * kwnames
[] = {
33895 (char *) "ver", NULL
33898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33899 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33906 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33922 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33923 PyObject
*resultobj
= 0;
33924 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33928 PyObject
*swig_obj
[1] ;
33930 if (!args
) SWIG_fail
;
33931 swig_obj
[0] = args
;
33932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33933 if (!SWIG_IsOK(res1
)) {
33934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33936 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33937 result
= (int)(int) ((arg1
)->version
);
33938 resultobj
= SWIG_From_int(static_cast< int >(result
));
33945 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33946 PyObject
*resultobj
= 0;
33947 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33951 PyObject
*swig_obj
[1] ;
33953 if (!args
) SWIG_fail
;
33954 swig_obj
[0] = args
;
33955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33956 if (!SWIG_IsOK(res1
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33959 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33960 result
= (int)(int) ((arg1
)->age
);
33961 resultobj
= SWIG_From_int(static_cast< int >(result
));
33968 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33971 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33972 return SWIG_Py_Void();
33975 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33976 return SWIG_Python_InitShadowInstance(args
);
33979 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
= 0;
33981 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33982 wxWindow
*arg2
= (wxWindow
*) 0 ;
33985 int arg5
= (int) 0 ;
33986 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33987 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34001 PyObject
* obj0
= 0 ;
34002 PyObject
* obj1
= 0 ;
34003 PyObject
* obj2
= 0 ;
34004 PyObject
* obj3
= 0 ;
34005 PyObject
* obj4
= 0 ;
34006 PyObject
* obj5
= 0 ;
34007 PyObject
* obj6
= 0 ;
34008 char * kwnames
[] = {
34009 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34014 if (!SWIG_IsOK(res1
)) {
34015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34017 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34019 if (!SWIG_IsOK(res2
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34023 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34024 if (!SWIG_IsOK(res3
)) {
34025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34030 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34033 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34036 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34037 if (!SWIG_IsOK(ecode5
)) {
34038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34040 arg5
= static_cast< int >(val5
);
34043 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34044 if (!SWIG_IsOK(ecode6
)) {
34045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34047 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34050 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34051 if (!SWIG_IsOK(res7
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34054 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34059 wxPyEndAllowThreads(__tstate
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34062 resultobj
= SWIG_Py_Void();
34069 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34070 PyObject
*resultobj
= 0;
34071 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34072 wxWindow
*arg2
= (wxWindow
*) 0 ;
34075 int arg5
= (int) 0 ;
34076 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34077 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34093 PyObject
* obj2
= 0 ;
34094 PyObject
* obj3
= 0 ;
34095 PyObject
* obj4
= 0 ;
34096 PyObject
* obj5
= 0 ;
34097 PyObject
* obj6
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34107 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34109 if (!SWIG_IsOK(res2
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34113 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34114 if (!SWIG_IsOK(res3
)) {
34115 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34120 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34123 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34127 if (!SWIG_IsOK(ecode5
)) {
34128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34130 arg5
= static_cast< int >(val5
);
34133 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34134 if (!SWIG_IsOK(ecode6
)) {
34135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34137 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34140 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34141 if (!SWIG_IsOK(res7
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34144 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34149 wxPyEndAllowThreads(__tstate
);
34150 if (PyErr_Occurred()) SWIG_fail
;
34152 resultobj
= SWIG_Py_Void();
34159 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34160 PyObject
*resultobj
= 0;
34161 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34162 wxWindow
*arg2
= (wxWindow
*) 0 ;
34168 PyObject
* obj0
= 0 ;
34169 PyObject
* obj1
= 0 ;
34170 char * kwnames
[] = {
34171 (char *) "self",(char *) "win", NULL
34174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34176 if (!SWIG_IsOK(res1
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34179 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34181 if (!SWIG_IsOK(res2
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= SWIG_From_int(static_cast< int >(result
));
34198 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
= 0;
34200 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34201 wxWindow
*arg2
= (wxWindow
*) 0 ;
34204 int arg5
= (int) 0 ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 PyObject
* obj3
= 0 ;
34218 PyObject
* obj4
= 0 ;
34219 char * kwnames
[] = {
34220 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34225 if (!SWIG_IsOK(res1
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34228 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34230 if (!SWIG_IsOK(res2
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34234 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34235 if (!SWIG_IsOK(res3
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34241 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34244 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34248 if (!SWIG_IsOK(ecode5
)) {
34249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34251 arg5
= static_cast< int >(val5
);
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34255 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34259 resultobj
= SWIG_Py_Void();
34266 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34267 PyObject
*resultobj
= 0;
34268 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34269 wxWindow
*arg2
= (wxWindow
*) 0 ;
34272 int arg5
= (int) 0 ;
34282 PyObject
* obj0
= 0 ;
34283 PyObject
* obj1
= 0 ;
34284 PyObject
* obj2
= 0 ;
34285 PyObject
* obj3
= 0 ;
34286 PyObject
* obj4
= 0 ;
34287 char * kwnames
[] = {
34288 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34296 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34298 if (!SWIG_IsOK(res2
)) {
34299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34302 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34303 if (!SWIG_IsOK(res3
)) {
34304 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34309 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34312 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34316 if (!SWIG_IsOK(ecode5
)) {
34317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34319 arg5
= static_cast< int >(val5
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_Py_Void();
34334 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
= 0;
34336 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34337 wxWindow
*arg2
= (wxWindow
*) 0 ;
34341 wxOrientation arg6
;
34342 int arg7
= (int) 0 ;
34356 PyObject
* obj0
= 0 ;
34357 PyObject
* obj1
= 0 ;
34358 PyObject
* obj2
= 0 ;
34359 PyObject
* obj3
= 0 ;
34360 PyObject
* obj4
= 0 ;
34361 PyObject
* obj5
= 0 ;
34362 PyObject
* obj6
= 0 ;
34363 char * kwnames
[] = {
34364 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34369 if (!SWIG_IsOK(res1
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34372 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34374 if (!SWIG_IsOK(res2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34378 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34379 if (!SWIG_IsOK(res3
)) {
34380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34385 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34390 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34391 if (!SWIG_IsOK(ecode5
)) {
34392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34394 arg5
= static_cast< int >(val5
);
34395 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34396 if (!SWIG_IsOK(ecode6
)) {
34397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34399 arg6
= static_cast< wxOrientation
>(val6
);
34401 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34402 if (!SWIG_IsOK(ecode7
)) {
34403 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34405 arg7
= static_cast< int >(val7
);
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= SWIG_Py_Void();
34420 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
= 0;
34422 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34423 wxWindow
*arg2
= (wxWindow
*) 0 ;
34426 int arg5
= (int) 0 ;
34436 PyObject
* obj0
= 0 ;
34437 PyObject
* obj1
= 0 ;
34438 PyObject
* obj2
= 0 ;
34439 PyObject
* obj3
= 0 ;
34440 PyObject
* obj4
= 0 ;
34441 char * kwnames
[] = {
34442 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34447 if (!SWIG_IsOK(res1
)) {
34448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34450 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34452 if (!SWIG_IsOK(res2
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34455 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34456 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34457 if (!SWIG_IsOK(res3
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34463 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34466 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34469 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34470 if (!SWIG_IsOK(ecode5
)) {
34471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34473 arg5
= static_cast< int >(val5
);
34476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34477 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34478 wxPyEndAllowThreads(__tstate
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34481 resultobj
= SWIG_Py_Void();
34488 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34489 PyObject
*resultobj
= 0;
34490 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34491 wxWindow
*arg2
= (wxWindow
*) 0 ;
34494 int arg5
= (int) 0 ;
34504 PyObject
* obj0
= 0 ;
34505 PyObject
* obj1
= 0 ;
34506 PyObject
* obj2
= 0 ;
34507 PyObject
* obj3
= 0 ;
34508 PyObject
* obj4
= 0 ;
34509 char * kwnames
[] = {
34510 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34515 if (!SWIG_IsOK(res1
)) {
34516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34518 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34520 if (!SWIG_IsOK(res2
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34524 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34525 if (!SWIG_IsOK(res3
)) {
34526 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34531 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34534 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34537 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34538 if (!SWIG_IsOK(ecode5
)) {
34539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34541 arg5
= static_cast< int >(val5
);
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_Py_Void();
34556 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
= 0;
34558 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34559 wxWindow
*arg2
= (wxWindow
*) 0 ;
34562 int arg5
= (int) 0 ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 PyObject
* obj2
= 0 ;
34575 PyObject
* obj3
= 0 ;
34576 PyObject
* obj4
= 0 ;
34577 char * kwnames
[] = {
34578 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34583 if (!SWIG_IsOK(res1
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34586 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34588 if (!SWIG_IsOK(res2
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34592 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34593 if (!SWIG_IsOK(res3
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34599 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34602 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34605 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34606 if (!SWIG_IsOK(ecode5
)) {
34607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34609 arg5
= static_cast< int >(val5
);
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34617 resultobj
= SWIG_Py_Void();
34624 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34625 PyObject
*resultobj
= 0;
34626 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34627 wxWindow
*arg2
= (wxWindow
*) 0 ;
34630 int arg5
= (int) 0 ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 PyObject
* obj2
= 0 ;
34643 PyObject
* obj3
= 0 ;
34644 PyObject
* obj4
= 0 ;
34645 char * kwnames
[] = {
34646 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34651 if (!SWIG_IsOK(res1
)) {
34652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34654 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34656 if (!SWIG_IsOK(res2
)) {
34657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34660 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34661 if (!SWIG_IsOK(res3
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34667 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34670 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34673 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34674 if (!SWIG_IsOK(ecode5
)) {
34675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34677 arg5
= static_cast< int >(val5
);
34680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34681 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= SWIG_Py_Void();
34692 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34693 PyObject
*resultobj
= 0;
34694 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34695 wxWindow
*arg2
= (wxWindow
*) 0 ;
34698 int arg5
= (int) 0 ;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 PyObject
* obj2
= 0 ;
34711 PyObject
* obj3
= 0 ;
34712 PyObject
* obj4
= 0 ;
34713 char * kwnames
[] = {
34714 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34722 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34724 if (!SWIG_IsOK(res2
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34728 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34729 if (!SWIG_IsOK(res3
)) {
34730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34735 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34738 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34742 if (!SWIG_IsOK(ecode5
)) {
34743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34745 arg5
= static_cast< int >(val5
);
34748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34749 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= SWIG_Py_Void();
34760 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
= 0;
34762 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34763 wxWindow
*arg2
= (wxWindow
*) 0 ;
34764 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34769 PyObject
* obj0
= 0 ;
34770 PyObject
* obj1
= 0 ;
34771 char * kwnames
[] = {
34772 (char *) "self",(char *) "win", NULL
34775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34777 if (!SWIG_IsOK(res1
)) {
34778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34780 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34782 if (!SWIG_IsOK(res2
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34785 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34792 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34799 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34800 PyObject
*resultobj
= 0;
34801 wxRendererNative
*result
= 0 ;
34803 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34805 if (!wxPyCheckForApp()) SWIG_fail
;
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34809 result
= (wxRendererNative
*) &_result_ref
;
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34821 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34822 PyObject
*resultobj
= 0;
34823 wxRendererNative
*result
= 0 ;
34825 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34827 if (!wxPyCheckForApp()) SWIG_fail
;
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34831 result
= (wxRendererNative
*) &_result_ref
;
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34843 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34844 PyObject
*resultobj
= 0;
34845 wxRendererNative
*result
= 0 ;
34847 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34849 if (!wxPyCheckForApp()) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34853 result
= (wxRendererNative
*) &_result_ref
;
34855 wxPyEndAllowThreads(__tstate
);
34856 if (PyErr_Occurred()) SWIG_fail
;
34858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34865 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34866 PyObject
*resultobj
= 0;
34867 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34868 wxRendererNative
*result
= 0 ;
34871 PyObject
* obj0
= 0 ;
34872 char * kwnames
[] = {
34873 (char *) "renderer", NULL
34876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34878 if (!SWIG_IsOK(res1
)) {
34879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34881 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34883 if (!wxPyCheckForApp()) SWIG_fail
;
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34896 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34897 PyObject
*resultobj
= 0;
34898 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34899 SwigValueWrapper
<wxRendererVersion
> result
;
34902 PyObject
*swig_obj
[1] ;
34904 if (!args
) SWIG_fail
;
34905 swig_obj
[0] = args
;
34906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34910 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34914 wxPyEndAllowThreads(__tstate
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34917 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34924 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34927 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34928 return SWIG_Py_Void();
34931 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34932 PyObject
*resultobj
= 0;
34933 wxPseudoDC
*result
= 0 ;
34935 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 result
= (wxPseudoDC
*)new wxPseudoDC();
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34949 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34950 PyObject
*resultobj
= 0;
34951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34954 PyObject
*swig_obj
[1] ;
34956 if (!args
) SWIG_fail
;
34957 swig_obj
[0] = args
;
34958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34959 if (!SWIG_IsOK(res1
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34962 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 (arg1
)->BeginDrawing();
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= SWIG_Py_Void();
34976 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34977 PyObject
*resultobj
= 0;
34978 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34981 PyObject
*swig_obj
[1] ;
34983 if (!args
) SWIG_fail
;
34984 swig_obj
[0] = args
;
34985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34989 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 (arg1
)->EndDrawing();
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34996 resultobj
= SWIG_Py_Void();
35003 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35004 PyObject
*resultobj
= 0;
35005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35008 PyObject
*swig_obj
[1] ;
35010 if (!args
) SWIG_fail
;
35011 swig_obj
[0] = args
;
35012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_Py_Void();
35031 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35032 PyObject
*resultobj
= 0;
35033 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35036 PyObject
*swig_obj
[1] ;
35038 if (!args
) SWIG_fail
;
35039 swig_obj
[0] = args
;
35040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35041 if (!SWIG_IsOK(res1
)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35044 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35047 (arg1
)->RemoveAll();
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35051 resultobj
= SWIG_Py_Void();
35058 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35059 PyObject
*resultobj
= 0;
35060 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35064 PyObject
*swig_obj
[1] ;
35066 if (!args
) SWIG_fail
;
35067 swig_obj
[0] = args
;
35068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35069 if (!SWIG_IsOK(res1
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35072 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= (int)(arg1
)->GetLen();
35076 wxPyEndAllowThreads(__tstate
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= SWIG_From_int(static_cast< int >(result
));
35086 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35087 PyObject
*resultobj
= 0;
35088 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35094 PyObject
* obj0
= 0 ;
35095 PyObject
* obj1
= 0 ;
35096 char * kwnames
[] = {
35097 (char *) "self",(char *) "id", NULL
35100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35102 if (!SWIG_IsOK(res1
)) {
35103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35107 if (!SWIG_IsOK(ecode2
)) {
35108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35110 arg2
= static_cast< int >(val2
);
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 (arg1
)->SetId(arg2
);
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35117 resultobj
= SWIG_Py_Void();
35124 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35125 PyObject
*resultobj
= 0;
35126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 char * kwnames
[] = {
35135 (char *) "self",(char *) "id", NULL
35138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35140 if (!SWIG_IsOK(res1
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35143 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35145 if (!SWIG_IsOK(ecode2
)) {
35146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35148 arg2
= static_cast< int >(val2
);
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35151 (arg1
)->ClearId(arg2
);
35152 wxPyEndAllowThreads(__tstate
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35155 resultobj
= SWIG_Py_Void();
35162 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35163 PyObject
*resultobj
= 0;
35164 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35170 PyObject
* obj0
= 0 ;
35171 PyObject
* obj1
= 0 ;
35172 char * kwnames
[] = {
35173 (char *) "self",(char *) "id", NULL
35176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35178 if (!SWIG_IsOK(res1
)) {
35179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35181 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35183 if (!SWIG_IsOK(ecode2
)) {
35184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35186 arg2
= static_cast< int >(val2
);
35188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35189 (arg1
)->RemoveId(arg2
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 resultobj
= SWIG_Py_Void();
35200 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
= 0;
35202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35214 PyObject
* obj0
= 0 ;
35215 PyObject
* obj1
= 0 ;
35216 PyObject
* obj2
= 0 ;
35217 PyObject
* obj3
= 0 ;
35218 char * kwnames
[] = {
35219 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35224 if (!SWIG_IsOK(res1
)) {
35225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35229 if (!SWIG_IsOK(ecode2
)) {
35230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35232 arg2
= static_cast< int >(val2
);
35233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35234 if (!SWIG_IsOK(ecode3
)) {
35235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35237 arg3
= static_cast< int >(val3
);
35238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35239 if (!SWIG_IsOK(ecode4
)) {
35240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35242 arg4
= static_cast< int >(val4
);
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35245 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35249 resultobj
= SWIG_Py_Void();
35256 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
= 0;
35258 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35260 bool arg3
= (bool) true ;
35267 PyObject
* obj0
= 0 ;
35268 PyObject
* obj1
= 0 ;
35269 PyObject
* obj2
= 0 ;
35270 char * kwnames
[] = {
35271 (char *) "self",(char *) "id",(char *) "greyout", NULL
35274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35279 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35281 if (!SWIG_IsOK(ecode2
)) {
35282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35284 arg2
= static_cast< int >(val2
);
35286 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35287 if (!SWIG_IsOK(ecode3
)) {
35288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35290 arg3
= static_cast< bool >(val3
);
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35295 wxPyEndAllowThreads(__tstate
);
35296 if (PyErr_Occurred()) SWIG_fail
;
35298 resultobj
= SWIG_Py_Void();
35305 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35306 PyObject
*resultobj
= 0;
35307 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35314 PyObject
* obj0
= 0 ;
35315 PyObject
* obj1
= 0 ;
35316 char * kwnames
[] = {
35317 (char *) "self",(char *) "id", NULL
35320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35322 if (!SWIG_IsOK(res1
)) {
35323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35327 if (!SWIG_IsOK(ecode2
)) {
35328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35330 arg2
= static_cast< int >(val2
);
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35334 wxPyEndAllowThreads(__tstate
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35346 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
= 0;
35348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35351 int arg4
= (int) 1 ;
35352 wxColor
const &arg5_defvalue
= *wxWHITE
;
35353 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35354 PyObject
*result
= 0 ;
35365 PyObject
* obj0
= 0 ;
35366 PyObject
* obj1
= 0 ;
35367 PyObject
* obj2
= 0 ;
35368 PyObject
* obj3
= 0 ;
35369 PyObject
* obj4
= 0 ;
35370 char * kwnames
[] = {
35371 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35376 if (!SWIG_IsOK(res1
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35381 if (!SWIG_IsOK(ecode2
)) {
35382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35384 arg2
= static_cast< int >(val2
);
35385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35386 if (!SWIG_IsOK(ecode3
)) {
35387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35389 arg3
= static_cast< int >(val3
);
35391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35392 if (!SWIG_IsOK(ecode4
)) {
35393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35395 arg4
= static_cast< int >(val4
);
35398 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35399 if (!SWIG_IsOK(res5
)) {
35400 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35405 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35408 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35411 resultobj
= result
;
35418 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
= 0;
35420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35423 PyObject
*result
= 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 PyObject
* obj2
= 0 ;
35433 char * kwnames
[] = {
35434 (char *) "self",(char *) "x",(char *) "y", NULL
35437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35439 if (!SWIG_IsOK(res1
)) {
35440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35444 if (!SWIG_IsOK(ecode2
)) {
35445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35447 arg2
= static_cast< int >(val2
);
35448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35449 if (!SWIG_IsOK(ecode3
)) {
35450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35452 arg3
= static_cast< int >(val3
);
35454 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35457 resultobj
= result
;
35464 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35465 PyObject
*resultobj
= 0;
35466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35468 wxDC
*arg3
= (wxDC
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 PyObject
* obj2
= 0 ;
35478 char * kwnames
[] = {
35479 (char *) "self",(char *) "id",(char *) "dc", NULL
35482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35484 if (!SWIG_IsOK(res1
)) {
35485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35487 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35489 if (!SWIG_IsOK(ecode2
)) {
35490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35492 arg2
= static_cast< int >(val2
);
35493 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35494 if (!SWIG_IsOK(res3
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35497 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35500 (arg1
)->DrawIdToDC(arg2
,arg3
);
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35504 resultobj
= SWIG_Py_Void();
35511 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35512 PyObject
*resultobj
= 0;
35513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 PyObject
* obj2
= 0 ;
35524 char * kwnames
[] = {
35525 (char *) "self",(char *) "id",(char *) "rect", NULL
35528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35530 if (!SWIG_IsOK(res1
)) {
35531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35533 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35535 if (!SWIG_IsOK(ecode2
)) {
35536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35538 arg2
= static_cast< int >(val2
);
35541 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35545 (arg1
)->SetIdBounds(arg2
,*arg3
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35549 resultobj
= SWIG_Py_Void();
35556 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35557 PyObject
*resultobj
= 0;
35558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35565 PyObject
* obj0
= 0 ;
35566 PyObject
* obj1
= 0 ;
35567 char * kwnames
[] = {
35568 (char *) "self",(char *) "id", NULL
35571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35573 if (!SWIG_IsOK(res1
)) {
35574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35578 if (!SWIG_IsOK(ecode2
)) {
35579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35581 arg2
= static_cast< int >(val2
);
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35595 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35598 wxDC
*arg2
= (wxDC
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 PyObject
* obj2
= 0 ;
35608 char * kwnames
[] = {
35609 (char *) "self",(char *) "dc",(char *) "rect", NULL
35612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35614 if (!SWIG_IsOK(res1
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35617 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35619 if (!SWIG_IsOK(res2
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35622 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35625 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35629 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= SWIG_Py_Void();
35640 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
= 0;
35642 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35643 wxDC
*arg2
= (wxDC
*) 0 ;
35644 wxRegion
*arg3
= 0 ;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 PyObject
* obj2
= 0 ;
35654 char * kwnames
[] = {
35655 (char *) "self",(char *) "dc",(char *) "region", NULL
35658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35660 if (!SWIG_IsOK(res1
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35663 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35665 if (!SWIG_IsOK(res2
)) {
35666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35668 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35669 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35670 if (!SWIG_IsOK(res3
)) {
35671 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35676 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35680 wxPyEndAllowThreads(__tstate
);
35681 if (PyErr_Occurred()) SWIG_fail
;
35683 resultobj
= SWIG_Py_Void();
35690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35691 PyObject
*resultobj
= 0;
35692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35693 wxDC
*arg2
= (wxDC
*) 0 ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "dc", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35711 if (!SWIG_IsOK(res2
)) {
35712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35714 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 (arg1
)->DrawToDC(arg2
);
35718 wxPyEndAllowThreads(__tstate
);
35719 if (PyErr_Occurred()) SWIG_fail
;
35721 resultobj
= SWIG_Py_Void();
35728 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35729 PyObject
*resultobj
= 0;
35730 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35733 wxColour
*arg4
= 0 ;
35734 int arg5
= (int) wxFLOOD_SURFACE
;
35744 PyObject
* obj0
= 0 ;
35745 PyObject
* obj1
= 0 ;
35746 PyObject
* obj2
= 0 ;
35747 PyObject
* obj3
= 0 ;
35748 PyObject
* obj4
= 0 ;
35749 char * kwnames
[] = {
35750 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35755 if (!SWIG_IsOK(res1
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35758 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35760 if (!SWIG_IsOK(ecode2
)) {
35761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35763 arg2
= static_cast< int >(val2
);
35764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35765 if (!SWIG_IsOK(ecode3
)) {
35766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35768 arg3
= static_cast< int >(val3
);
35771 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35775 if (!SWIG_IsOK(ecode5
)) {
35776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35778 arg5
= static_cast< int >(val5
);
35781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_Py_Void();
35793 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
= 0;
35795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35796 wxPoint
*arg2
= 0 ;
35797 wxColour
*arg3
= 0 ;
35798 int arg4
= (int) wxFLOOD_SURFACE
;
35805 PyObject
* obj0
= 0 ;
35806 PyObject
* obj1
= 0 ;
35807 PyObject
* obj2
= 0 ;
35808 PyObject
* obj3
= 0 ;
35809 char * kwnames
[] = {
35810 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35815 if (!SWIG_IsOK(res1
)) {
35816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35818 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35825 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35829 if (!SWIG_IsOK(ecode4
)) {
35830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35832 arg4
= static_cast< int >(val4
);
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= SWIG_Py_Void();
35847 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
= 0;
35849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35864 PyObject
* obj0
= 0 ;
35865 PyObject
* obj1
= 0 ;
35866 PyObject
* obj2
= 0 ;
35867 PyObject
* obj3
= 0 ;
35868 PyObject
* obj4
= 0 ;
35869 char * kwnames
[] = {
35870 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35875 if (!SWIG_IsOK(res1
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35878 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35880 if (!SWIG_IsOK(ecode2
)) {
35881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35883 arg2
= static_cast< int >(val2
);
35884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35885 if (!SWIG_IsOK(ecode3
)) {
35886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35888 arg3
= static_cast< int >(val3
);
35889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35890 if (!SWIG_IsOK(ecode4
)) {
35891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35893 arg4
= static_cast< int >(val4
);
35894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35895 if (!SWIG_IsOK(ecode5
)) {
35896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35898 arg5
= static_cast< int >(val5
);
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35905 resultobj
= SWIG_Py_Void();
35912 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35913 PyObject
*resultobj
= 0;
35914 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35915 wxPoint
*arg2
= 0 ;
35916 wxPoint
*arg3
= 0 ;
35921 PyObject
* obj0
= 0 ;
35922 PyObject
* obj1
= 0 ;
35923 PyObject
* obj2
= 0 ;
35924 char * kwnames
[] = {
35925 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35930 if (!SWIG_IsOK(res1
)) {
35931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35940 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35948 resultobj
= SWIG_Py_Void();
35955 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
= 0;
35957 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35966 PyObject
* obj0
= 0 ;
35967 PyObject
* obj1
= 0 ;
35968 PyObject
* obj2
= 0 ;
35969 char * kwnames
[] = {
35970 (char *) "self",(char *) "x",(char *) "y", NULL
35973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35975 if (!SWIG_IsOK(res1
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35978 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35980 if (!SWIG_IsOK(ecode2
)) {
35981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35983 arg2
= static_cast< int >(val2
);
35984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35985 if (!SWIG_IsOK(ecode3
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35988 arg3
= static_cast< int >(val3
);
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->CrossHair(arg2
,arg3
);
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35995 resultobj
= SWIG_Py_Void();
36002 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36003 PyObject
*resultobj
= 0;
36004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36005 wxPoint
*arg2
= 0 ;
36009 PyObject
* obj0
= 0 ;
36010 PyObject
* obj1
= 0 ;
36011 char * kwnames
[] = {
36012 (char *) "self",(char *) "pt", NULL
36015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36017 if (!SWIG_IsOK(res1
)) {
36018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= SWIG_Py_Void();
36038 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36039 PyObject
*resultobj
= 0;
36040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36061 PyObject
* obj0
= 0 ;
36062 PyObject
* obj1
= 0 ;
36063 PyObject
* obj2
= 0 ;
36064 PyObject
* obj3
= 0 ;
36065 PyObject
* obj4
= 0 ;
36066 PyObject
* obj5
= 0 ;
36067 PyObject
* obj6
= 0 ;
36068 char * kwnames
[] = {
36069 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36074 if (!SWIG_IsOK(res1
)) {
36075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36077 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36079 if (!SWIG_IsOK(ecode2
)) {
36080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36082 arg2
= static_cast< int >(val2
);
36083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36084 if (!SWIG_IsOK(ecode3
)) {
36085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36087 arg3
= static_cast< int >(val3
);
36088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36089 if (!SWIG_IsOK(ecode4
)) {
36090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36092 arg4
= static_cast< int >(val4
);
36093 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36094 if (!SWIG_IsOK(ecode5
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36097 arg5
= static_cast< int >(val5
);
36098 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36099 if (!SWIG_IsOK(ecode6
)) {
36100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36102 arg6
= static_cast< int >(val6
);
36103 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36104 if (!SWIG_IsOK(ecode7
)) {
36105 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36107 arg7
= static_cast< int >(val7
);
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= SWIG_Py_Void();
36121 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36122 PyObject
*resultobj
= 0;
36123 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36124 wxPoint
*arg2
= 0 ;
36125 wxPoint
*arg3
= 0 ;
36126 wxPoint
*arg4
= 0 ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 PyObject
* obj2
= 0 ;
36135 PyObject
* obj3
= 0 ;
36136 char * kwnames
[] = {
36137 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36142 if (!SWIG_IsOK(res1
)) {
36143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36145 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36164 resultobj
= SWIG_Py_Void();
36171 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36172 PyObject
*resultobj
= 0;
36173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36188 PyObject
* obj0
= 0 ;
36189 PyObject
* obj1
= 0 ;
36190 PyObject
* obj2
= 0 ;
36191 PyObject
* obj3
= 0 ;
36192 PyObject
* obj4
= 0 ;
36193 char * kwnames
[] = {
36194 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36199 if (!SWIG_IsOK(res1
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36204 if (!SWIG_IsOK(ecode2
)) {
36205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36207 arg2
= static_cast< int >(val2
);
36208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36209 if (!SWIG_IsOK(ecode3
)) {
36210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36212 arg3
= static_cast< int >(val3
);
36213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36214 if (!SWIG_IsOK(ecode4
)) {
36215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36217 arg4
= static_cast< int >(val4
);
36218 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36219 if (!SWIG_IsOK(ecode5
)) {
36220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36222 arg5
= static_cast< int >(val5
);
36224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36225 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36226 wxPyEndAllowThreads(__tstate
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36229 resultobj
= SWIG_Py_Void();
36236 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36237 PyObject
*resultobj
= 0;
36238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36243 PyObject
* obj0
= 0 ;
36244 PyObject
* obj1
= 0 ;
36245 char * kwnames
[] = {
36246 (char *) "self",(char *) "rect", NULL
36249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36251 if (!SWIG_IsOK(res1
)) {
36252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36254 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 resultobj
= SWIG_Py_Void();
36272 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36273 PyObject
*resultobj
= 0;
36274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36295 PyObject
* obj0
= 0 ;
36296 PyObject
* obj1
= 0 ;
36297 PyObject
* obj2
= 0 ;
36298 PyObject
* obj3
= 0 ;
36299 PyObject
* obj4
= 0 ;
36300 PyObject
* obj5
= 0 ;
36301 PyObject
* obj6
= 0 ;
36302 char * kwnames
[] = {
36303 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36308 if (!SWIG_IsOK(res1
)) {
36309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36311 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36313 if (!SWIG_IsOK(ecode2
)) {
36314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36316 arg2
= static_cast< int >(val2
);
36317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36318 if (!SWIG_IsOK(ecode3
)) {
36319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36321 arg3
= static_cast< int >(val3
);
36322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36323 if (!SWIG_IsOK(ecode4
)) {
36324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36326 arg4
= static_cast< int >(val4
);
36327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36328 if (!SWIG_IsOK(ecode5
)) {
36329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36331 arg5
= static_cast< int >(val5
);
36332 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36333 if (!SWIG_IsOK(ecode6
)) {
36334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36336 arg6
= static_cast< double >(val6
);
36337 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36338 if (!SWIG_IsOK(ecode7
)) {
36339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36341 arg7
= static_cast< double >(val7
);
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36345 wxPyEndAllowThreads(__tstate
);
36346 if (PyErr_Occurred()) SWIG_fail
;
36348 resultobj
= SWIG_Py_Void();
36355 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36356 PyObject
*resultobj
= 0;
36357 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36358 wxPoint
*arg2
= 0 ;
36370 PyObject
* obj0
= 0 ;
36371 PyObject
* obj1
= 0 ;
36372 PyObject
* obj2
= 0 ;
36373 PyObject
* obj3
= 0 ;
36374 PyObject
* obj4
= 0 ;
36375 char * kwnames
[] = {
36376 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36381 if (!SWIG_IsOK(res1
)) {
36382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36391 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36393 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36394 if (!SWIG_IsOK(ecode4
)) {
36395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36397 arg4
= static_cast< double >(val4
);
36398 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36399 if (!SWIG_IsOK(ecode5
)) {
36400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36402 arg5
= static_cast< double >(val5
);
36404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36405 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 resultobj
= SWIG_Py_Void();
36416 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36417 PyObject
*resultobj
= 0;
36418 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36427 PyObject
* obj0
= 0 ;
36428 PyObject
* obj1
= 0 ;
36429 PyObject
* obj2
= 0 ;
36430 char * kwnames
[] = {
36431 (char *) "self",(char *) "x",(char *) "y", NULL
36434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36436 if (!SWIG_IsOK(res1
)) {
36437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36441 if (!SWIG_IsOK(ecode2
)) {
36442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36444 arg2
= static_cast< int >(val2
);
36445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36446 if (!SWIG_IsOK(ecode3
)) {
36447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36449 arg3
= static_cast< int >(val3
);
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 (arg1
)->DrawPoint(arg2
,arg3
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 resultobj
= SWIG_Py_Void();
36463 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
= 0;
36465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36466 wxPoint
*arg2
= 0 ;
36470 PyObject
* obj0
= 0 ;
36471 PyObject
* obj1
= 0 ;
36472 char * kwnames
[] = {
36473 (char *) "self",(char *) "pt", NULL
36476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36478 if (!SWIG_IsOK(res1
)) {
36479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36488 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36489 wxPyEndAllowThreads(__tstate
);
36490 if (PyErr_Occurred()) SWIG_fail
;
36492 resultobj
= SWIG_Py_Void();
36499 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36500 PyObject
*resultobj
= 0;
36501 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 PyObject
* obj2
= 0 ;
36519 PyObject
* obj3
= 0 ;
36520 PyObject
* obj4
= 0 ;
36521 char * kwnames
[] = {
36522 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36527 if (!SWIG_IsOK(res1
)) {
36528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36530 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36532 if (!SWIG_IsOK(ecode2
)) {
36533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36535 arg2
= static_cast< int >(val2
);
36536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36537 if (!SWIG_IsOK(ecode3
)) {
36538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36540 arg3
= static_cast< int >(val3
);
36541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36542 if (!SWIG_IsOK(ecode4
)) {
36543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36545 arg4
= static_cast< int >(val4
);
36546 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36547 if (!SWIG_IsOK(ecode5
)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36550 arg5
= static_cast< int >(val5
);
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= SWIG_Py_Void();
36564 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
= 0;
36566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36571 PyObject
* obj0
= 0 ;
36572 PyObject
* obj1
= 0 ;
36573 char * kwnames
[] = {
36574 (char *) "self",(char *) "rect", NULL
36577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36579 if (!SWIG_IsOK(res1
)) {
36580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36582 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36585 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 resultobj
= SWIG_Py_Void();
36600 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36601 PyObject
*resultobj
= 0;
36602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36603 wxPoint
*arg2
= 0 ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 PyObject
* obj2
= 0 ;
36612 char * kwnames
[] = {
36613 (char *) "self",(char *) "pt",(char *) "sz", NULL
36616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36618 if (!SWIG_IsOK(res1
)) {
36619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36628 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36632 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36633 wxPyEndAllowThreads(__tstate
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36636 resultobj
= SWIG_Py_Void();
36643 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36644 PyObject
*resultobj
= 0;
36645 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36663 PyObject
* obj0
= 0 ;
36664 PyObject
* obj1
= 0 ;
36665 PyObject
* obj2
= 0 ;
36666 PyObject
* obj3
= 0 ;
36667 PyObject
* obj4
= 0 ;
36668 PyObject
* obj5
= 0 ;
36669 char * kwnames
[] = {
36670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36675 if (!SWIG_IsOK(res1
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36678 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36680 if (!SWIG_IsOK(ecode2
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36683 arg2
= static_cast< int >(val2
);
36684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36685 if (!SWIG_IsOK(ecode3
)) {
36686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36688 arg3
= static_cast< int >(val3
);
36689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36690 if (!SWIG_IsOK(ecode4
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36693 arg4
= static_cast< int >(val4
);
36694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36695 if (!SWIG_IsOK(ecode5
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36698 arg5
= static_cast< int >(val5
);
36699 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36700 if (!SWIG_IsOK(ecode6
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36703 arg6
= static_cast< double >(val6
);
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
= 0;
36719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 PyObject
* obj2
= 0 ;
36730 char * kwnames
[] = {
36731 (char *) "self",(char *) "r",(char *) "radius", NULL
36734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36736 if (!SWIG_IsOK(res1
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36742 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36744 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36745 if (!SWIG_IsOK(ecode3
)) {
36746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36748 arg3
= static_cast< double >(val3
);
36750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36751 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36752 wxPyEndAllowThreads(__tstate
);
36753 if (PyErr_Occurred()) SWIG_fail
;
36755 resultobj
= SWIG_Py_Void();
36762 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36763 PyObject
*resultobj
= 0;
36764 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36765 wxPoint
*arg2
= 0 ;
36774 PyObject
* obj0
= 0 ;
36775 PyObject
* obj1
= 0 ;
36776 PyObject
* obj2
= 0 ;
36777 PyObject
* obj3
= 0 ;
36778 char * kwnames
[] = {
36779 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36794 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36796 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36797 if (!SWIG_IsOK(ecode4
)) {
36798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36800 arg4
= static_cast< double >(val4
);
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36807 resultobj
= SWIG_Py_Void();
36814 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36815 PyObject
*resultobj
= 0;
36816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36828 PyObject
* obj0
= 0 ;
36829 PyObject
* obj1
= 0 ;
36830 PyObject
* obj2
= 0 ;
36831 PyObject
* obj3
= 0 ;
36832 char * kwnames
[] = {
36833 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36838 if (!SWIG_IsOK(res1
)) {
36839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36843 if (!SWIG_IsOK(ecode2
)) {
36844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36846 arg2
= static_cast< int >(val2
);
36847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36848 if (!SWIG_IsOK(ecode3
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36851 arg3
= static_cast< int >(val3
);
36852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36853 if (!SWIG_IsOK(ecode4
)) {
36854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36856 arg4
= static_cast< int >(val4
);
36858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36859 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36860 wxPyEndAllowThreads(__tstate
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36863 resultobj
= SWIG_Py_Void();
36870 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36871 PyObject
*resultobj
= 0;
36872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36873 wxPoint
*arg2
= 0 ;
36880 PyObject
* obj0
= 0 ;
36881 PyObject
* obj1
= 0 ;
36882 PyObject
* obj2
= 0 ;
36883 char * kwnames
[] = {
36884 (char *) "self",(char *) "pt",(char *) "radius", NULL
36887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36889 if (!SWIG_IsOK(res1
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36898 if (!SWIG_IsOK(ecode3
)) {
36899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36901 arg3
= static_cast< int >(val3
);
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36905 wxPyEndAllowThreads(__tstate
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36908 resultobj
= SWIG_Py_Void();
36915 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
= 0;
36917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 PyObject
* obj2
= 0 ;
36935 PyObject
* obj3
= 0 ;
36936 PyObject
* obj4
= 0 ;
36937 char * kwnames
[] = {
36938 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36943 if (!SWIG_IsOK(res1
)) {
36944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36946 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36948 if (!SWIG_IsOK(ecode2
)) {
36949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36951 arg2
= static_cast< int >(val2
);
36952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36953 if (!SWIG_IsOK(ecode3
)) {
36954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36956 arg3
= static_cast< int >(val3
);
36957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36958 if (!SWIG_IsOK(ecode4
)) {
36959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36961 arg4
= static_cast< int >(val4
);
36962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36963 if (!SWIG_IsOK(ecode5
)) {
36964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36966 arg5
= static_cast< int >(val5
);
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36969 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36970 wxPyEndAllowThreads(__tstate
);
36971 if (PyErr_Occurred()) SWIG_fail
;
36973 resultobj
= SWIG_Py_Void();
36980 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36981 PyObject
*resultobj
= 0;
36982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36987 PyObject
* obj0
= 0 ;
36988 PyObject
* obj1
= 0 ;
36989 char * kwnames
[] = {
36990 (char *) "self",(char *) "rect", NULL
36993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) 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_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37001 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37006 wxPyEndAllowThreads(__tstate
);
37007 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= SWIG_Py_Void();
37016 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37017 PyObject
*resultobj
= 0;
37018 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37019 wxPoint
*arg2
= 0 ;
37025 PyObject
* obj0
= 0 ;
37026 PyObject
* obj1
= 0 ;
37027 PyObject
* obj2
= 0 ;
37028 char * kwnames
[] = {
37029 (char *) "self",(char *) "pt",(char *) "sz", NULL
37032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37034 if (!SWIG_IsOK(res1
)) {
37035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37044 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37049 wxPyEndAllowThreads(__tstate
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37052 resultobj
= SWIG_Py_Void();
37059 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37060 PyObject
*resultobj
= 0;
37061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 PyObject
* obj1
= 0 ;
37075 PyObject
* obj2
= 0 ;
37076 PyObject
* obj3
= 0 ;
37077 char * kwnames
[] = {
37078 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37083 if (!SWIG_IsOK(res1
)) {
37084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37088 if (!SWIG_IsOK(res2
)) {
37089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37094 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37096 if (!SWIG_IsOK(ecode3
)) {
37097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37099 arg3
= static_cast< int >(val3
);
37100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37101 if (!SWIG_IsOK(ecode4
)) {
37102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37104 arg4
= static_cast< int >(val4
);
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 resultobj
= SWIG_Py_Void();
37118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
= 0;
37120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37122 wxPoint
*arg3
= 0 ;
37128 PyObject
* obj0
= 0 ;
37129 PyObject
* obj1
= 0 ;
37130 PyObject
* obj2
= 0 ;
37131 char * kwnames
[] = {
37132 (char *) "self",(char *) "icon",(char *) "pt", NULL
37135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37137 if (!SWIG_IsOK(res1
)) {
37138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37142 if (!SWIG_IsOK(res2
)) {
37143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37148 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37155 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37159 resultobj
= SWIG_Py_Void();
37166 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37167 PyObject
*resultobj
= 0;
37168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37169 wxBitmap
*arg2
= 0 ;
37172 bool arg5
= (bool) false ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 PyObject
* obj2
= 0 ;
37186 PyObject
* obj3
= 0 ;
37187 PyObject
* obj4
= 0 ;
37188 char * kwnames
[] = {
37189 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37194 if (!SWIG_IsOK(res1
)) {
37195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37197 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37199 if (!SWIG_IsOK(res2
)) {
37200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37205 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37207 if (!SWIG_IsOK(ecode3
)) {
37208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37210 arg3
= static_cast< int >(val3
);
37211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37212 if (!SWIG_IsOK(ecode4
)) {
37213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37215 arg4
= static_cast< int >(val4
);
37217 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37218 if (!SWIG_IsOK(ecode5
)) {
37219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37221 arg5
= static_cast< bool >(val5
);
37224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37225 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37226 wxPyEndAllowThreads(__tstate
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37229 resultobj
= SWIG_Py_Void();
37236 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
= 0;
37238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37239 wxBitmap
*arg2
= 0 ;
37240 wxPoint
*arg3
= 0 ;
37241 bool arg4
= (bool) false ;
37249 PyObject
* obj0
= 0 ;
37250 PyObject
* obj1
= 0 ;
37251 PyObject
* obj2
= 0 ;
37252 PyObject
* obj3
= 0 ;
37253 char * kwnames
[] = {
37254 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37259 if (!SWIG_IsOK(res1
)) {
37260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37264 if (!SWIG_IsOK(res2
)) {
37265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37270 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37276 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37277 if (!SWIG_IsOK(ecode4
)) {
37278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37280 arg4
= static_cast< bool >(val4
);
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37296 PyObject
*resultobj
= 0;
37297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37298 wxString
*arg2
= 0 ;
37303 bool temp2
= false ;
37308 PyObject
* obj0
= 0 ;
37309 PyObject
* obj1
= 0 ;
37310 PyObject
* obj2
= 0 ;
37311 PyObject
* obj3
= 0 ;
37312 char * kwnames
[] = {
37313 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37318 if (!SWIG_IsOK(res1
)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37321 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37323 arg2
= wxString_in_helper(obj1
);
37324 if (arg2
== NULL
) SWIG_fail
;
37327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37328 if (!SWIG_IsOK(ecode3
)) {
37329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37331 arg3
= static_cast< int >(val3
);
37332 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37333 if (!SWIG_IsOK(ecode4
)) {
37334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37336 arg4
= static_cast< int >(val4
);
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= SWIG_Py_Void();
37358 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37359 PyObject
*resultobj
= 0;
37360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37361 wxString
*arg2
= 0 ;
37362 wxPoint
*arg3
= 0 ;
37365 bool temp2
= false ;
37367 PyObject
* obj0
= 0 ;
37368 PyObject
* obj1
= 0 ;
37369 PyObject
* obj2
= 0 ;
37370 char * kwnames
[] = {
37371 (char *) "self",(char *) "text",(char *) "pt", NULL
37374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37376 if (!SWIG_IsOK(res1
)) {
37377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37381 arg2
= wxString_in_helper(obj1
);
37382 if (arg2
== NULL
) SWIG_fail
;
37387 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37391 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37392 wxPyEndAllowThreads(__tstate
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37395 resultobj
= SWIG_Py_Void();
37410 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37411 PyObject
*resultobj
= 0;
37412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37413 wxString
*arg2
= 0 ;
37419 bool temp2
= false ;
37426 PyObject
* obj0
= 0 ;
37427 PyObject
* obj1
= 0 ;
37428 PyObject
* obj2
= 0 ;
37429 PyObject
* obj3
= 0 ;
37430 PyObject
* obj4
= 0 ;
37431 char * kwnames
[] = {
37432 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37437 if (!SWIG_IsOK(res1
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37442 arg2
= wxString_in_helper(obj1
);
37443 if (arg2
== NULL
) SWIG_fail
;
37446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37447 if (!SWIG_IsOK(ecode3
)) {
37448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37450 arg3
= static_cast< int >(val3
);
37451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37452 if (!SWIG_IsOK(ecode4
)) {
37453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37455 arg4
= static_cast< int >(val4
);
37456 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37457 if (!SWIG_IsOK(ecode5
)) {
37458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37460 arg5
= static_cast< double >(val5
);
37462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37463 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37464 wxPyEndAllowThreads(__tstate
);
37465 if (PyErr_Occurred()) SWIG_fail
;
37467 resultobj
= SWIG_Py_Void();
37482 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37483 PyObject
*resultobj
= 0;
37484 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37485 wxString
*arg2
= 0 ;
37486 wxPoint
*arg3
= 0 ;
37490 bool temp2
= false ;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 PyObject
* obj2
= 0 ;
37497 PyObject
* obj3
= 0 ;
37498 char * kwnames
[] = {
37499 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37504 if (!SWIG_IsOK(res1
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37509 arg2
= wxString_in_helper(obj1
);
37510 if (arg2
== NULL
) SWIG_fail
;
37515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37517 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37518 if (!SWIG_IsOK(ecode4
)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37521 arg4
= static_cast< double >(val4
);
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37525 wxPyEndAllowThreads(__tstate
);
37526 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= SWIG_Py_Void();
37543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37544 PyObject
*resultobj
= 0;
37545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37547 wxPoint
*arg3
= (wxPoint
*) 0 ;
37548 int arg4
= (int) 0 ;
37549 int arg5
= (int) 0 ;
37556 PyObject
* obj0
= 0 ;
37557 PyObject
* obj1
= 0 ;
37558 PyObject
* obj2
= 0 ;
37559 PyObject
* obj3
= 0 ;
37560 char * kwnames
[] = {
37561 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37566 if (!SWIG_IsOK(res1
)) {
37567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37569 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37571 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37572 if (arg3
== NULL
) SWIG_fail
;
37575 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37576 if (!SWIG_IsOK(ecode4
)) {
37577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37579 arg4
= static_cast< int >(val4
);
37582 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37583 if (!SWIG_IsOK(ecode5
)) {
37584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37586 arg5
= static_cast< int >(val5
);
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= SWIG_Py_Void();
37596 if (arg3
) delete [] arg3
;
37601 if (arg3
) delete [] arg3
;
37607 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37608 PyObject
*resultobj
= 0;
37609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37611 wxPoint
*arg3
= (wxPoint
*) 0 ;
37612 int arg4
= (int) 0 ;
37613 int arg5
= (int) 0 ;
37614 int arg6
= (int) wxODDEVEN_RULE
;
37623 PyObject
* obj0
= 0 ;
37624 PyObject
* obj1
= 0 ;
37625 PyObject
* obj2
= 0 ;
37626 PyObject
* obj3
= 0 ;
37627 PyObject
* obj4
= 0 ;
37628 char * kwnames
[] = {
37629 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37634 if (!SWIG_IsOK(res1
)) {
37635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37639 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37640 if (arg3
== NULL
) SWIG_fail
;
37643 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37644 if (!SWIG_IsOK(ecode4
)) {
37645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37647 arg4
= static_cast< int >(val4
);
37650 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37651 if (!SWIG_IsOK(ecode5
)) {
37652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37654 arg5
= static_cast< int >(val5
);
37657 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37658 if (!SWIG_IsOK(ecode6
)) {
37659 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37661 arg6
= static_cast< int >(val6
);
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37669 resultobj
= SWIG_Py_Void();
37671 if (arg3
) delete [] arg3
;
37676 if (arg3
) delete [] arg3
;
37682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37683 PyObject
*resultobj
= 0;
37684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37685 wxString
*arg2
= 0 ;
37687 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37688 int arg5
= (int) -1 ;
37691 bool temp2
= false ;
37697 PyObject
* obj0
= 0 ;
37698 PyObject
* obj1
= 0 ;
37699 PyObject
* obj2
= 0 ;
37700 PyObject
* obj3
= 0 ;
37701 PyObject
* obj4
= 0 ;
37702 char * kwnames
[] = {
37703 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37708 if (!SWIG_IsOK(res1
)) {
37709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37711 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37713 arg2
= wxString_in_helper(obj1
);
37714 if (arg2
== NULL
) SWIG_fail
;
37719 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37722 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37723 if (!SWIG_IsOK(ecode4
)) {
37724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37726 arg4
= static_cast< int >(val4
);
37729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37730 if (!SWIG_IsOK(ecode5
)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37733 arg5
= static_cast< int >(val5
);
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37738 wxPyEndAllowThreads(__tstate
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= SWIG_Py_Void();
37756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37757 PyObject
*resultobj
= 0;
37758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37759 wxString
*arg2
= 0 ;
37760 wxBitmap
*arg3
= 0 ;
37762 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37763 int arg6
= (int) -1 ;
37766 bool temp2
= false ;
37774 PyObject
* obj0
= 0 ;
37775 PyObject
* obj1
= 0 ;
37776 PyObject
* obj2
= 0 ;
37777 PyObject
* obj3
= 0 ;
37778 PyObject
* obj4
= 0 ;
37779 PyObject
* obj5
= 0 ;
37780 char * kwnames
[] = {
37781 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37786 if (!SWIG_IsOK(res1
)) {
37787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37789 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37791 arg2
= wxString_in_helper(obj1
);
37792 if (arg2
== NULL
) SWIG_fail
;
37795 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37796 if (!SWIG_IsOK(res3
)) {
37797 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37802 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37805 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37809 if (!SWIG_IsOK(ecode5
)) {
37810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37812 arg5
= static_cast< int >(val5
);
37815 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37816 if (!SWIG_IsOK(ecode6
)) {
37817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37819 arg6
= static_cast< int >(val6
);
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 resultobj
= SWIG_Py_Void();
37842 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37843 PyObject
*resultobj
= 0;
37844 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37846 wxPoint
*arg3
= (wxPoint
*) 0 ;
37849 PyObject
* obj0
= 0 ;
37850 PyObject
* obj1
= 0 ;
37851 char * kwnames
[] = {
37852 (char *) "self",(char *) "points", NULL
37855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37857 if (!SWIG_IsOK(res1
)) {
37858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37862 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37863 if (arg3
== NULL
) SWIG_fail
;
37866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37867 (arg1
)->DrawSpline(arg2
,arg3
);
37868 wxPyEndAllowThreads(__tstate
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37871 resultobj
= SWIG_Py_Void();
37873 if (arg3
) delete [] arg3
;
37878 if (arg3
) delete [] arg3
;
37884 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37885 PyObject
*resultobj
= 0;
37886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37889 PyObject
*swig_obj
[1] ;
37891 if (!args
) SWIG_fail
;
37892 swig_obj
[0] = args
;
37893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37894 if (!SWIG_IsOK(res1
)) {
37895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 resultobj
= SWIG_Py_Void();
37911 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37912 PyObject
*resultobj
= 0;
37913 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37919 PyObject
* obj0
= 0 ;
37920 PyObject
* obj1
= 0 ;
37921 char * kwnames
[] = {
37922 (char *) "self",(char *) "font", NULL
37925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37927 if (!SWIG_IsOK(res1
)) {
37928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37930 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37932 if (!SWIG_IsOK(res2
)) {
37933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37938 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37941 (arg1
)->SetFont((wxFont
const &)*arg2
);
37942 wxPyEndAllowThreads(__tstate
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37945 resultobj
= SWIG_Py_Void();
37952 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
= 0;
37954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "pen", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37971 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37973 if (!SWIG_IsOK(res2
)) {
37974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37979 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->SetPen((wxPen
const &)*arg2
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 resultobj
= SWIG_Py_Void();
37993 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
= 0;
37995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37996 wxBrush
*arg2
= 0 ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 char * kwnames
[] = {
38004 (char *) "self",(char *) "brush", NULL
38007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38009 if (!SWIG_IsOK(res1
)) {
38010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38012 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38014 if (!SWIG_IsOK(res2
)) {
38015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38020 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38027 resultobj
= SWIG_Py_Void();
38034 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38035 PyObject
*resultobj
= 0;
38036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38037 wxBrush
*arg2
= 0 ;
38042 PyObject
* obj0
= 0 ;
38043 PyObject
* obj1
= 0 ;
38044 char * kwnames
[] = {
38045 (char *) "self",(char *) "brush", NULL
38048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38050 if (!SWIG_IsOK(res1
)) {
38051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38055 if (!SWIG_IsOK(res2
)) {
38056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38061 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38064 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38065 wxPyEndAllowThreads(__tstate
);
38066 if (PyErr_Occurred()) SWIG_fail
;
38068 resultobj
= SWIG_Py_Void();
38075 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38076 PyObject
*resultobj
= 0;
38077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38083 PyObject
* obj0
= 0 ;
38084 PyObject
* obj1
= 0 ;
38085 char * kwnames
[] = {
38086 (char *) "self",(char *) "mode", NULL
38089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38091 if (!SWIG_IsOK(res1
)) {
38092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38096 if (!SWIG_IsOK(ecode2
)) {
38097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38099 arg2
= static_cast< int >(val2
);
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->SetBackgroundMode(arg2
);
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38106 resultobj
= SWIG_Py_Void();
38113 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38114 PyObject
*resultobj
= 0;
38115 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38116 wxPalette
*arg2
= 0 ;
38121 PyObject
* obj0
= 0 ;
38122 PyObject
* obj1
= 0 ;
38123 char * kwnames
[] = {
38124 (char *) "self",(char *) "palette", NULL
38127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38129 if (!SWIG_IsOK(res1
)) {
38130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38132 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38134 if (!SWIG_IsOK(res2
)) {
38135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38140 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38143 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38144 wxPyEndAllowThreads(__tstate
);
38145 if (PyErr_Occurred()) SWIG_fail
;
38147 resultobj
= SWIG_Py_Void();
38154 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
= 0;
38156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38157 wxColour
*arg2
= 0 ;
38161 PyObject
* obj0
= 0 ;
38162 PyObject
* obj1
= 0 ;
38163 char * kwnames
[] = {
38164 (char *) "self",(char *) "colour", NULL
38167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38169 if (!SWIG_IsOK(res1
)) {
38170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38172 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38183 resultobj
= SWIG_Py_Void();
38190 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38191 PyObject
*resultobj
= 0;
38192 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38193 wxColour
*arg2
= 0 ;
38197 PyObject
* obj0
= 0 ;
38198 PyObject
* obj1
= 0 ;
38199 char * kwnames
[] = {
38200 (char *) "self",(char *) "colour", NULL
38203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38205 if (!SWIG_IsOK(res1
)) {
38206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38211 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38215 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_Py_Void();
38226 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
= 0;
38228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38234 PyObject
* obj0
= 0 ;
38235 PyObject
* obj1
= 0 ;
38236 char * kwnames
[] = {
38237 (char *) "self",(char *) "function", NULL
38240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38242 if (!SWIG_IsOK(res1
)) {
38243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38247 if (!SWIG_IsOK(ecode2
)) {
38248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38250 arg2
= static_cast< int >(val2
);
38252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38253 (arg1
)->SetLogicalFunction(arg2
);
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 resultobj
= SWIG_Py_Void();
38264 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38268 return SWIG_Py_Void();
38271 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38272 return SWIG_Python_InitShadowInstance(args
);
38275 static PyMethodDef SwigMethods
[] = {
38276 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38277 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38278 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38279 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38280 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38281 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38282 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38285 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38286 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38287 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38288 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38289 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38290 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38291 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38292 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38295 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38299 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38300 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38301 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38303 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38306 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38307 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38308 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38309 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38310 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38311 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38312 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38313 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38314 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38315 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38316 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38317 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38318 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38319 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38320 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38323 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38324 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38326 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38328 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38329 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38330 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38331 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38332 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38333 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38334 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38335 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38336 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38337 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38338 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38339 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38340 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38341 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38342 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38343 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38345 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38347 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38348 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38351 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38352 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38353 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38354 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38355 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38356 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38357 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38358 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38359 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38360 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38361 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38362 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38363 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38365 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38373 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38374 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38376 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38378 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38379 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38380 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38381 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38382 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38383 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38384 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38385 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38386 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38387 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38388 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38389 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38390 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38391 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38392 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38394 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38395 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38396 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38397 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38401 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38402 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38403 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38404 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38405 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38406 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38407 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38408 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38409 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38410 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38411 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38412 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38414 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38415 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38418 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38421 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38422 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38423 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38425 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38426 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38427 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38428 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38429 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38430 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38431 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38432 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38435 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38436 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38437 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38438 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38443 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38444 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38446 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38447 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38449 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38451 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38452 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38453 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38454 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38457 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38461 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38462 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38464 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38467 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38468 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38469 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38474 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38475 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38481 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38485 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38496 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38499 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38500 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38502 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38503 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38504 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38505 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38506 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38507 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38508 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38509 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38510 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38511 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38512 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38513 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38514 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38515 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38516 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38517 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38518 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38520 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38521 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38522 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38523 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38524 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38525 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38526 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38535 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38536 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38538 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38539 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38540 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38541 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38542 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38543 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38544 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38545 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38546 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38548 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38549 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38550 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38553 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38554 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38555 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38558 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38564 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38569 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38570 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38572 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38578 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38581 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38582 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38583 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38584 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38585 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38586 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38587 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38588 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38589 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38590 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38591 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38592 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38593 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38605 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38606 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38607 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38609 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38610 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38612 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38613 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38614 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38615 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38619 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38620 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38622 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38623 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38624 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38625 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38626 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38627 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38628 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38629 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38630 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38632 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38635 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38636 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38637 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38638 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38639 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38640 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38641 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38642 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38652 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38653 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38654 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38656 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38660 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38661 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38662 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38663 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38664 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38665 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38671 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38672 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38673 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38723 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38725 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38726 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38727 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38734 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38735 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38736 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38737 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38738 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38743 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38744 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38745 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38746 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38755 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38756 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38757 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38758 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38759 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38760 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38761 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38762 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38763 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38764 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38765 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38766 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38769 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38771 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38773 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38775 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38776 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38779 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38780 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38784 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38786 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38789 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38790 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38791 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38792 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38793 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38794 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38795 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38803 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38805 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38806 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38807 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38809 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38810 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38811 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38813 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38814 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38815 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38816 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38817 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38818 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38819 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38820 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38823 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38824 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38825 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38828 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38830 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38831 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38833 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38834 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38839 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38840 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38841 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38842 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38843 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38845 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38846 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38847 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38849 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38850 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38852 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38853 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38856 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38857 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38859 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38862 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38863 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38864 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38866 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38867 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38869 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38870 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38872 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38873 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38875 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38876 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38877 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38878 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38879 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38880 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38881 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38882 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38883 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38884 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38885 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38886 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38887 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38888 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38889 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38890 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38891 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38892 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38893 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38896 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38898 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38904 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38905 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38906 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38907 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38908 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38909 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38910 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38911 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38913 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38914 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38915 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38922 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38925 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38926 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38927 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38928 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38929 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38930 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
38931 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38934 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38941 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38942 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38945 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38946 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38952 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38953 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38954 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38955 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38973 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38974 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38975 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38976 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38977 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
38978 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38981 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38988 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
38989 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38990 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38991 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38993 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38994 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38995 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38996 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38997 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38998 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38999 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39000 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39001 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39002 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39003 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39004 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39006 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39014 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39016 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39018 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39019 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39020 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39021 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39022 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39023 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39029 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39030 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39031 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39032 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39033 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39034 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39038 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39042 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39046 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39047 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39048 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39053 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39054 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39055 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39056 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39057 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39058 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39059 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39060 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39061 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39062 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39063 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39064 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39073 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39074 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39076 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39077 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39078 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39079 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39080 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39081 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39082 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39083 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39084 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39085 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39086 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39087 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39088 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39089 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39090 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39091 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39092 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39093 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39094 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39095 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39096 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39097 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39098 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39099 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39101 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39103 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39104 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39105 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39106 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39119 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39120 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39121 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39123 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39124 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39125 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39126 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39127 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39128 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39129 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39130 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39183 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39193 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39194 { NULL
, NULL
, 0, NULL
}
39198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39200 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39201 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39203 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39204 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39206 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39207 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39209 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39210 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39212 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39213 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39215 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39216 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39218 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39219 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39221 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39222 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39224 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39225 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39227 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39228 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39230 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39231 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39233 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39234 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39236 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39237 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39239 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39240 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39242 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39243 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39245 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39246 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39248 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39249 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39251 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39252 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39254 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39255 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39257 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39258 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39260 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39261 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39263 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39264 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39266 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39267 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39269 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39270 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39272 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39273 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39275 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39276 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39278 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39279 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39281 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39282 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39284 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39285 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39287 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39288 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39290 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39291 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39293 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39294 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39296 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39297 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39299 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39300 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39302 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39303 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39305 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39306 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39308 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39309 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39311 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39312 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39314 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39315 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39317 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39318 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39320 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39321 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39323 static void *_p_wxPenTo_p_wxObject(void *x
) {
39324 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39326 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39327 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39329 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39330 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39332 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39333 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39335 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39338 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39339 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39341 static void *_p_wxIconTo_p_wxObject(void *x
) {
39342 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39344 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39345 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39347 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39348 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39350 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39351 return (void *)((wxObject
*) ((wxSizer
*) x
));
39353 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39354 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39356 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39359 static void *_p_wxEventTo_p_wxObject(void *x
) {
39360 return (void *)((wxObject
*) ((wxEvent
*) x
));
39362 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39363 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39365 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39366 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39368 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39369 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39371 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39372 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39374 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39377 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39378 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39380 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39381 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39383 static void *_p_wxDCTo_p_wxObject(void *x
) {
39384 return (void *)((wxObject
*) ((wxDC
*) x
));
39386 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39387 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39389 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39390 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39392 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39393 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39395 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39396 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39398 static void *_p_wxControlTo_p_wxObject(void *x
) {
39399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39401 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39402 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39404 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39405 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39407 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39408 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39410 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39411 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39413 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39414 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39416 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39417 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39419 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39420 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39422 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39423 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39425 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39426 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39428 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39429 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39431 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39432 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39434 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39435 return (void *)((wxObject
*) ((wxEffects
*) x
));
39437 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39438 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39440 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39443 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39444 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39446 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39447 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39449 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39450 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39452 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39453 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39455 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39458 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39459 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39461 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39464 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39465 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39467 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39468 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39470 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39471 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39473 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39474 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39476 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39477 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39479 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39480 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39482 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39485 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39488 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39491 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39494 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39497 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39498 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39500 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39501 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39503 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39506 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39509 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39510 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39512 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39513 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39515 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39518 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39521 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39524 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39527 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39530 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39533 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39536 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39539 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39542 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39545 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39548 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39551 static void *_p_wxImageTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) ((wxImage
*) x
));
39554 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39557 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39560 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39563 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39566 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39569 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) ((wxImageList
*) x
));
39572 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39575 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39578 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39581 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39584 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39587 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39590 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39593 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39596 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39599 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39602 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39605 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39608 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39611 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39614 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) ((wxMask
*) x
));
39617 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39620 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39623 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39626 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39629 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39632 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39635 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39638 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39641 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39644 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39647 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39650 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39653 static void *_p_wxFontTo_p_wxObject(void *x
) {
39654 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39656 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39657 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39659 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39660 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39662 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39665 static void *_p_wxColourTo_p_wxObject(void *x
) {
39666 return (void *)((wxObject
*) ((wxColour
*) x
));
39668 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39671 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39674 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39675 return (void *)((wxWindow
*) ((wxControl
*) x
));
39677 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39678 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39680 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39681 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39683 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39684 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39686 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39687 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39689 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39690 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39691 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39692 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};
39693 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39694 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39695 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39696 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39697 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39698 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39699 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39700 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39701 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39702 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39703 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39704 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39705 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39706 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39707 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39708 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39709 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39710 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39711 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39712 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39713 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39714 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39715 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39716 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39717 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39718 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39719 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39720 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39721 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39722 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39723 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39724 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39725 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39726 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39727 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39728 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39729 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39730 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39731 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39732 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39733 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39734 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39735 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39736 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39737 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39738 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39739 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39740 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39741 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39742 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39743 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39744 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39745 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39746 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39747 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39748 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39749 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39750 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39751 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39752 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39753 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39754 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39755 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39756 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39757 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39758 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39759 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39760 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39761 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39762 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39763 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39764 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39765 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39766 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39767 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39768 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39769 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39770 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39771 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39772 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39773 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39774 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39775 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39776 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39777 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39778 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39779 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39780 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39781 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39782 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39783 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39784 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39785 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39786 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39787 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39788 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39789 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39790 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39791 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39792 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39793 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39794 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39795 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39796 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39797 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39798 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39799 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39800 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39801 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39802 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39803 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39804 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39805 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39806 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39807 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39808 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39809 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39810 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39811 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39812 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39813 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39814 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39815 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39816 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39817 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39818 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39819 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39820 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39821 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39822 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39823 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39824 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39825 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39826 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39827 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39828 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39829 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39830 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39831 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39832 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39833 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39834 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39835 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39836 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39837 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39838 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39839 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39840 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39841 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39842 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39843 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39844 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39845 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39846 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39847 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39848 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39849 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39861 static swig_type_info
*swig_type_initial
[] = {
39865 &_swigt__p_form_ops_t
,
39867 &_swigt__p_unsigned_char
,
39868 &_swigt__p_unsigned_int
,
39869 &_swigt__p_unsigned_long
,
39871 &_swigt__p_wxANIHandler
,
39872 &_swigt__p_wxAcceleratorTable
,
39873 &_swigt__p_wxActivateEvent
,
39874 &_swigt__p_wxAlphaPixelData
,
39875 &_swigt__p_wxAlphaPixelData_Accessor
,
39876 &_swigt__p_wxAutoBufferedPaintDC
,
39877 &_swigt__p_wxBMPHandler
,
39878 &_swigt__p_wxBitmap
,
39879 &_swigt__p_wxBoxSizer
,
39880 &_swigt__p_wxBrush
,
39881 &_swigt__p_wxBrushList
,
39882 &_swigt__p_wxBufferedDC
,
39883 &_swigt__p_wxBufferedPaintDC
,
39884 &_swigt__p_wxCURHandler
,
39886 &_swigt__p_wxChildFocusEvent
,
39887 &_swigt__p_wxClientDC
,
39888 &_swigt__p_wxClipboardTextEvent
,
39889 &_swigt__p_wxCloseEvent
,
39890 &_swigt__p_wxColor
,
39891 &_swigt__p_wxColour
,
39892 &_swigt__p_wxColourDatabase
,
39893 &_swigt__p_wxCommandEvent
,
39894 &_swigt__p_wxContextMenuEvent
,
39895 &_swigt__p_wxControl
,
39896 &_swigt__p_wxControlWithItems
,
39897 &_swigt__p_wxCursor
,
39899 &_swigt__p_wxDCBrushChanger
,
39900 &_swigt__p_wxDCClipper
,
39901 &_swigt__p_wxDCOverlay
,
39902 &_swigt__p_wxDCPenChanger
,
39903 &_swigt__p_wxDCTextColourChanger
,
39905 &_swigt__p_wxDateEvent
,
39906 &_swigt__p_wxDisplayChangedEvent
,
39907 &_swigt__p_wxDropFilesEvent
,
39908 &_swigt__p_wxDuplexMode
,
39909 &_swigt__p_wxEffects
,
39910 &_swigt__p_wxEncodingConverter
,
39911 &_swigt__p_wxEraseEvent
,
39912 &_swigt__p_wxEvent
,
39913 &_swigt__p_wxEvtHandler
,
39914 &_swigt__p_wxFSFile
,
39915 &_swigt__p_wxFileSystem
,
39916 &_swigt__p_wxFlexGridSizer
,
39917 &_swigt__p_wxFocusEvent
,
39919 &_swigt__p_wxFontList
,
39920 &_swigt__p_wxFontMapper
,
39921 &_swigt__p_wxGBSizerItem
,
39923 &_swigt__p_wxGDIObjListBase
,
39924 &_swigt__p_wxGDIObject
,
39925 &_swigt__p_wxGIFHandler
,
39926 &_swigt__p_wxGraphicsBrush
,
39927 &_swigt__p_wxGraphicsContext
,
39928 &_swigt__p_wxGraphicsFont
,
39929 &_swigt__p_wxGraphicsMatrix
,
39930 &_swigt__p_wxGraphicsObject
,
39931 &_swigt__p_wxGraphicsPath
,
39932 &_swigt__p_wxGraphicsPen
,
39933 &_swigt__p_wxGraphicsRenderer
,
39934 &_swigt__p_wxGridBagSizer
,
39935 &_swigt__p_wxGridSizer
,
39936 &_swigt__p_wxHeaderButtonParams
,
39937 &_swigt__p_wxICOHandler
,
39939 &_swigt__p_wxIconBundle
,
39940 &_swigt__p_wxIconLocation
,
39941 &_swigt__p_wxIconizeEvent
,
39942 &_swigt__p_wxIdleEvent
,
39943 &_swigt__p_wxImage
,
39944 &_swigt__p_wxImageHandler
,
39945 &_swigt__p_wxImageList
,
39946 &_swigt__p_wxIndividualLayoutConstraint
,
39947 &_swigt__p_wxInitDialogEvent
,
39948 &_swigt__p_wxJPEGHandler
,
39949 &_swigt__p_wxKeyEvent
,
39950 &_swigt__p_wxLanguageInfo
,
39951 &_swigt__p_wxLayoutConstraints
,
39952 &_swigt__p_wxLocale
,
39954 &_swigt__p_wxMaximizeEvent
,
39955 &_swigt__p_wxMemoryDC
,
39957 &_swigt__p_wxMenuBar
,
39958 &_swigt__p_wxMenuEvent
,
39959 &_swigt__p_wxMenuItem
,
39960 &_swigt__p_wxMetaFile
,
39961 &_swigt__p_wxMetaFileDC
,
39962 &_swigt__p_wxMirrorDC
,
39963 &_swigt__p_wxMouseCaptureChangedEvent
,
39964 &_swigt__p_wxMouseCaptureLostEvent
,
39965 &_swigt__p_wxMouseEvent
,
39966 &_swigt__p_wxMoveEvent
,
39967 &_swigt__p_wxNativeEncodingInfo
,
39968 &_swigt__p_wxNativeFontInfo
,
39969 &_swigt__p_wxNativePixelData
,
39970 &_swigt__p_wxNativePixelData_Accessor
,
39971 &_swigt__p_wxNavigationKeyEvent
,
39972 &_swigt__p_wxNcPaintEvent
,
39973 &_swigt__p_wxNotifyEvent
,
39974 &_swigt__p_wxObject
,
39975 &_swigt__p_wxOverlay
,
39976 &_swigt__p_wxPCXHandler
,
39977 &_swigt__p_wxPNGHandler
,
39978 &_swigt__p_wxPNMHandler
,
39979 &_swigt__p_wxPaintDC
,
39980 &_swigt__p_wxPaintEvent
,
39981 &_swigt__p_wxPalette
,
39982 &_swigt__p_wxPaletteChangedEvent
,
39983 &_swigt__p_wxPaperSize
,
39985 &_swigt__p_wxPenList
,
39986 &_swigt__p_wxPixelDataBase
,
39987 &_swigt__p_wxPoint
,
39988 &_swigt__p_wxPoint2D
,
39989 &_swigt__p_wxPoint2DDouble
,
39990 &_swigt__p_wxPostScriptDC
,
39991 &_swigt__p_wxPrintData
,
39992 &_swigt__p_wxPrinterDC
,
39993 &_swigt__p_wxPseudoDC
,
39994 &_swigt__p_wxPyApp
,
39995 &_swigt__p_wxPyCommandEvent
,
39996 &_swigt__p_wxPyEvent
,
39997 &_swigt__p_wxPyFontEnumerator
,
39998 &_swigt__p_wxPyImageHandler
,
39999 &_swigt__p_wxPyLocale
,
40000 &_swigt__p_wxPySizer
,
40001 &_swigt__p_wxPyValidator
,
40002 &_swigt__p_wxQueryNewPaletteEvent
,
40004 &_swigt__p_wxRect2DDouble
,
40005 &_swigt__p_wxRegion
,
40006 &_swigt__p_wxRegionIterator
,
40007 &_swigt__p_wxRendererNative
,
40008 &_swigt__p_wxRendererVersion
,
40009 &_swigt__p_wxScreenDC
,
40010 &_swigt__p_wxScrollEvent
,
40011 &_swigt__p_wxScrollWinEvent
,
40012 &_swigt__p_wxSetCursorEvent
,
40013 &_swigt__p_wxShowEvent
,
40015 &_swigt__p_wxSizeEvent
,
40016 &_swigt__p_wxSizer
,
40017 &_swigt__p_wxSizerItem
,
40018 &_swigt__p_wxSplitterRenderParams
,
40019 &_swigt__p_wxStaticBoxSizer
,
40020 &_swigt__p_wxStdDialogButtonSizer
,
40021 &_swigt__p_wxStockGDI
,
40022 &_swigt__p_wxString
,
40023 &_swigt__p_wxSysColourChangedEvent
,
40024 &_swigt__p_wxTGAHandler
,
40025 &_swigt__p_wxTIFFHandler
,
40026 &_swigt__p_wxUpdateUIEvent
,
40027 &_swigt__p_wxValidator
,
40028 &_swigt__p_wxWindow
,
40029 &_swigt__p_wxWindowCreateEvent
,
40030 &_swigt__p_wxWindowDC
,
40031 &_swigt__p_wxWindowDestroyEvent
,
40032 &_swigt__p_wxXPMHandler
,
40035 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40036 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40037 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40038 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40039 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40040 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40041 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40042 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40043 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40044 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40045 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40046 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40047 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40048 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40049 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40050 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}};
40051 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40052 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40053 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}};
40054 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40055 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40056 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40057 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40058 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}};
40059 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40061 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40062 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40064 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40065 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40067 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40068 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40069 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40070 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40071 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40072 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}};
40073 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}};
40074 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40075 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40076 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40077 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40078 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}};
40079 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40080 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40081 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40082 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40083 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40084 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40085 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40086 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40087 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40089 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}};
40090 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40091 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}};
40092 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40093 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40094 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40098 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40099 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40100 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40101 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40102 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40103 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40105 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40106 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40107 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40108 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40109 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40110 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40111 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40126 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40130 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40131 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40136 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40137 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40139 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40140 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40141 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40142 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40143 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40144 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40145 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40155 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40156 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40158 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40159 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40160 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40162 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40163 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40164 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40165 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40176 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_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_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}};
40177 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40178 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40183 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}};
40184 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40185 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40186 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40204 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}};
40205 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info
*swig_cast_initial
[] = {
40211 _swigc__p_form_ops_t
,
40213 _swigc__p_unsigned_char
,
40214 _swigc__p_unsigned_int
,
40215 _swigc__p_unsigned_long
,
40217 _swigc__p_wxANIHandler
,
40218 _swigc__p_wxAcceleratorTable
,
40219 _swigc__p_wxActivateEvent
,
40220 _swigc__p_wxAlphaPixelData
,
40221 _swigc__p_wxAlphaPixelData_Accessor
,
40222 _swigc__p_wxAutoBufferedPaintDC
,
40223 _swigc__p_wxBMPHandler
,
40224 _swigc__p_wxBitmap
,
40225 _swigc__p_wxBoxSizer
,
40227 _swigc__p_wxBrushList
,
40228 _swigc__p_wxBufferedDC
,
40229 _swigc__p_wxBufferedPaintDC
,
40230 _swigc__p_wxCURHandler
,
40232 _swigc__p_wxChildFocusEvent
,
40233 _swigc__p_wxClientDC
,
40234 _swigc__p_wxClipboardTextEvent
,
40235 _swigc__p_wxCloseEvent
,
40237 _swigc__p_wxColour
,
40238 _swigc__p_wxColourDatabase
,
40239 _swigc__p_wxCommandEvent
,
40240 _swigc__p_wxContextMenuEvent
,
40241 _swigc__p_wxControl
,
40242 _swigc__p_wxControlWithItems
,
40243 _swigc__p_wxCursor
,
40245 _swigc__p_wxDCBrushChanger
,
40246 _swigc__p_wxDCClipper
,
40247 _swigc__p_wxDCOverlay
,
40248 _swigc__p_wxDCPenChanger
,
40249 _swigc__p_wxDCTextColourChanger
,
40251 _swigc__p_wxDateEvent
,
40252 _swigc__p_wxDisplayChangedEvent
,
40253 _swigc__p_wxDropFilesEvent
,
40254 _swigc__p_wxDuplexMode
,
40255 _swigc__p_wxEffects
,
40256 _swigc__p_wxEncodingConverter
,
40257 _swigc__p_wxEraseEvent
,
40259 _swigc__p_wxEvtHandler
,
40260 _swigc__p_wxFSFile
,
40261 _swigc__p_wxFileSystem
,
40262 _swigc__p_wxFlexGridSizer
,
40263 _swigc__p_wxFocusEvent
,
40265 _swigc__p_wxFontList
,
40266 _swigc__p_wxFontMapper
,
40267 _swigc__p_wxGBSizerItem
,
40269 _swigc__p_wxGDIObjListBase
,
40270 _swigc__p_wxGDIObject
,
40271 _swigc__p_wxGIFHandler
,
40272 _swigc__p_wxGraphicsBrush
,
40273 _swigc__p_wxGraphicsContext
,
40274 _swigc__p_wxGraphicsFont
,
40275 _swigc__p_wxGraphicsMatrix
,
40276 _swigc__p_wxGraphicsObject
,
40277 _swigc__p_wxGraphicsPath
,
40278 _swigc__p_wxGraphicsPen
,
40279 _swigc__p_wxGraphicsRenderer
,
40280 _swigc__p_wxGridBagSizer
,
40281 _swigc__p_wxGridSizer
,
40282 _swigc__p_wxHeaderButtonParams
,
40283 _swigc__p_wxICOHandler
,
40285 _swigc__p_wxIconBundle
,
40286 _swigc__p_wxIconLocation
,
40287 _swigc__p_wxIconizeEvent
,
40288 _swigc__p_wxIdleEvent
,
40290 _swigc__p_wxImageHandler
,
40291 _swigc__p_wxImageList
,
40292 _swigc__p_wxIndividualLayoutConstraint
,
40293 _swigc__p_wxInitDialogEvent
,
40294 _swigc__p_wxJPEGHandler
,
40295 _swigc__p_wxKeyEvent
,
40296 _swigc__p_wxLanguageInfo
,
40297 _swigc__p_wxLayoutConstraints
,
40298 _swigc__p_wxLocale
,
40300 _swigc__p_wxMaximizeEvent
,
40301 _swigc__p_wxMemoryDC
,
40303 _swigc__p_wxMenuBar
,
40304 _swigc__p_wxMenuEvent
,
40305 _swigc__p_wxMenuItem
,
40306 _swigc__p_wxMetaFile
,
40307 _swigc__p_wxMetaFileDC
,
40308 _swigc__p_wxMirrorDC
,
40309 _swigc__p_wxMouseCaptureChangedEvent
,
40310 _swigc__p_wxMouseCaptureLostEvent
,
40311 _swigc__p_wxMouseEvent
,
40312 _swigc__p_wxMoveEvent
,
40313 _swigc__p_wxNativeEncodingInfo
,
40314 _swigc__p_wxNativeFontInfo
,
40315 _swigc__p_wxNativePixelData
,
40316 _swigc__p_wxNativePixelData_Accessor
,
40317 _swigc__p_wxNavigationKeyEvent
,
40318 _swigc__p_wxNcPaintEvent
,
40319 _swigc__p_wxNotifyEvent
,
40320 _swigc__p_wxObject
,
40321 _swigc__p_wxOverlay
,
40322 _swigc__p_wxPCXHandler
,
40323 _swigc__p_wxPNGHandler
,
40324 _swigc__p_wxPNMHandler
,
40325 _swigc__p_wxPaintDC
,
40326 _swigc__p_wxPaintEvent
,
40327 _swigc__p_wxPalette
,
40328 _swigc__p_wxPaletteChangedEvent
,
40329 _swigc__p_wxPaperSize
,
40331 _swigc__p_wxPenList
,
40332 _swigc__p_wxPixelDataBase
,
40334 _swigc__p_wxPoint2D
,
40335 _swigc__p_wxPoint2DDouble
,
40336 _swigc__p_wxPostScriptDC
,
40337 _swigc__p_wxPrintData
,
40338 _swigc__p_wxPrinterDC
,
40339 _swigc__p_wxPseudoDC
,
40341 _swigc__p_wxPyCommandEvent
,
40342 _swigc__p_wxPyEvent
,
40343 _swigc__p_wxPyFontEnumerator
,
40344 _swigc__p_wxPyImageHandler
,
40345 _swigc__p_wxPyLocale
,
40346 _swigc__p_wxPySizer
,
40347 _swigc__p_wxPyValidator
,
40348 _swigc__p_wxQueryNewPaletteEvent
,
40350 _swigc__p_wxRect2DDouble
,
40351 _swigc__p_wxRegion
,
40352 _swigc__p_wxRegionIterator
,
40353 _swigc__p_wxRendererNative
,
40354 _swigc__p_wxRendererVersion
,
40355 _swigc__p_wxScreenDC
,
40356 _swigc__p_wxScrollEvent
,
40357 _swigc__p_wxScrollWinEvent
,
40358 _swigc__p_wxSetCursorEvent
,
40359 _swigc__p_wxShowEvent
,
40361 _swigc__p_wxSizeEvent
,
40363 _swigc__p_wxSizerItem
,
40364 _swigc__p_wxSplitterRenderParams
,
40365 _swigc__p_wxStaticBoxSizer
,
40366 _swigc__p_wxStdDialogButtonSizer
,
40367 _swigc__p_wxStockGDI
,
40368 _swigc__p_wxString
,
40369 _swigc__p_wxSysColourChangedEvent
,
40370 _swigc__p_wxTGAHandler
,
40371 _swigc__p_wxTIFFHandler
,
40372 _swigc__p_wxUpdateUIEvent
,
40373 _swigc__p_wxValidator
,
40374 _swigc__p_wxWindow
,
40375 _swigc__p_wxWindowCreateEvent
,
40376 _swigc__p_wxWindowDC
,
40377 _swigc__p_wxWindowDestroyEvent
,
40378 _swigc__p_wxXPMHandler
,
40382 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40384 static swig_const_info swig_const_table
[] = {
40385 {0, 0, 0, 0.0, 0, 0}};
40390 /* -----------------------------------------------------------------------------
40391 * Type initialization:
40392 * This problem is tough by the requirement that no dynamic
40393 * memory is used. Also, since swig_type_info structures store pointers to
40394 * swig_cast_info structures and swig_cast_info structures store pointers back
40395 * to swig_type_info structures, we need some lookup code at initialization.
40396 * The idea is that swig generates all the structures that are needed.
40397 * The runtime then collects these partially filled structures.
40398 * The SWIG_InitializeModule function takes these initial arrays out of
40399 * swig_module, and does all the lookup, filling in the swig_module.types
40400 * array with the correct data and linking the correct swig_cast_info
40401 * structures together.
40403 * The generated swig_type_info structures are assigned staticly to an initial
40404 * array. We just loop though that array, and handle each type individually.
40405 * First we lookup if this type has been already loaded, and if so, use the
40406 * loaded structure instead of the generated one. Then we have to fill in the
40407 * cast linked list. The cast data is initially stored in something like a
40408 * two-dimensional array. Each row corresponds to a type (there are the same
40409 * number of rows as there are in the swig_type_initial array). Each entry in
40410 * a column is one of the swig_cast_info structures for that type.
40411 * The cast_initial array is actually an array of arrays, because each row has
40412 * a variable number of columns. So to actually build the cast linked list,
40413 * we find the array of casts associated with the type, and loop through it
40414 * adding the casts to the list. The one last trick we need to do is making
40415 * sure the type pointer in the swig_cast_info struct is correct.
40417 * First off, we lookup the cast->type name to see if it is already loaded.
40418 * There are three cases to handle:
40419 * 1) If the cast->type has already been loaded AND the type we are adding
40420 * casting info to has not been loaded (it is in this module), THEN we
40421 * replace the cast->type pointer with the type pointer that has already
40423 * 2) If BOTH types (the one we are adding casting info to, and the
40424 * cast->type) are loaded, THEN the cast info has already been loaded by
40425 * the previous module so we just ignore it.
40426 * 3) Finally, if cast->type has not already been loaded, then we add that
40427 * swig_cast_info to the linked list (because the cast->type) pointer will
40429 * ----------------------------------------------------------------------------- */
40439 #define SWIGRUNTIME_DEBUG
40443 SWIG_InitializeModule(void *clientdata
) {
40445 swig_module_info
*module_head
;
40446 static int init_run
= 0;
40448 clientdata
= clientdata
;
40450 if (init_run
) return;
40453 /* Initialize the swig_module */
40454 swig_module
.type_initial
= swig_type_initial
;
40455 swig_module
.cast_initial
= swig_cast_initial
;
40457 /* Try and load any already created modules */
40458 module_head
= SWIG_GetModule(clientdata
);
40460 swig_module
.next
= module_head
->next
;
40461 module_head
->next
= &swig_module
;
40463 /* This is the first module loaded */
40464 swig_module
.next
= &swig_module
;
40465 SWIG_SetModule(clientdata
, &swig_module
);
40468 /* Now work on filling in swig_module.types */
40469 #ifdef SWIGRUNTIME_DEBUG
40470 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40472 for (i
= 0; i
< swig_module
.size
; ++i
) {
40473 swig_type_info
*type
= 0;
40474 swig_type_info
*ret
;
40475 swig_cast_info
*cast
;
40477 #ifdef SWIGRUNTIME_DEBUG
40478 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40481 /* if there is another module already loaded */
40482 if (swig_module
.next
!= &swig_module
) {
40483 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40486 /* Overwrite clientdata field */
40487 #ifdef SWIGRUNTIME_DEBUG
40488 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40490 if (swig_module
.type_initial
[i
]->clientdata
) {
40491 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40492 #ifdef SWIGRUNTIME_DEBUG
40493 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40497 type
= swig_module
.type_initial
[i
];
40500 /* Insert casting types */
40501 cast
= swig_module
.cast_initial
[i
];
40502 while (cast
->type
) {
40503 /* Don't need to add information already in the list */
40505 #ifdef SWIGRUNTIME_DEBUG
40506 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40508 if (swig_module
.next
!= &swig_module
) {
40509 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40510 #ifdef SWIGRUNTIME_DEBUG
40511 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40515 if (type
== swig_module
.type_initial
[i
]) {
40516 #ifdef SWIGRUNTIME_DEBUG
40517 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40522 /* Check for casting already in the list */
40523 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40524 #ifdef SWIGRUNTIME_DEBUG
40525 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40527 if (!ocast
) ret
= 0;
40532 #ifdef SWIGRUNTIME_DEBUG
40533 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40536 type
->cast
->prev
= cast
;
40537 cast
->next
= type
->cast
;
40543 /* Set entry in modules->types array equal to the type */
40544 swig_module
.types
[i
] = type
;
40546 swig_module
.types
[i
] = 0;
40548 #ifdef SWIGRUNTIME_DEBUG
40549 printf("**** SWIG_InitializeModule: Cast List ******\n");
40550 for (i
= 0; i
< swig_module
.size
; ++i
) {
40552 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40553 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40554 while (cast
->type
) {
40555 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40559 printf("---- Total casts: %d\n",j
);
40561 printf("**** SWIG_InitializeModule: Cast List ******\n");
40565 /* This function will propagate the clientdata field of type to
40566 * any new swig_type_info structures that have been added into the list
40567 * of equivalent types. It is like calling
40568 * SWIG_TypeClientData(type, clientdata) a second time.
40571 SWIG_PropagateClientData(void) {
40573 swig_cast_info
*equiv
;
40574 static int init_run
= 0;
40576 if (init_run
) return;
40579 for (i
= 0; i
< swig_module
.size
; i
++) {
40580 if (swig_module
.types
[i
]->clientdata
) {
40581 equiv
= swig_module
.types
[i
]->cast
;
40583 if (!equiv
->converter
) {
40584 if (equiv
->type
&& !equiv
->type
->clientdata
)
40585 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40587 equiv
= equiv
->next
;
40607 /* Python-specific SWIG API */
40608 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40609 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40610 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40612 /* -----------------------------------------------------------------------------
40613 * global variable support code.
40614 * ----------------------------------------------------------------------------- */
40616 typedef struct swig_globalvar
{
40617 char *name
; /* Name of global variable */
40618 PyObject
*(*get_attr
)(void); /* Return the current value */
40619 int (*set_attr
)(PyObject
*); /* Set the value */
40620 struct swig_globalvar
*next
;
40623 typedef struct swig_varlinkobject
{
40625 swig_globalvar
*vars
;
40626 } swig_varlinkobject
;
40628 SWIGINTERN PyObject
*
40629 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40630 return PyString_FromString("<Swig global variables>");
40633 SWIGINTERN PyObject
*
40634 swig_varlink_str(swig_varlinkobject
*v
) {
40635 PyObject
*str
= PyString_FromString("(");
40636 swig_globalvar
*var
;
40637 for (var
= v
->vars
; var
; var
=var
->next
) {
40638 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40639 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40641 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40646 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40647 PyObject
*str
= swig_varlink_str(v
);
40648 fprintf(fp
,"Swig global variables ");
40649 fprintf(fp
,"%s\n", PyString_AsString(str
));
40655 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40656 swig_globalvar
*var
= v
->vars
;
40658 swig_globalvar
*n
= var
->next
;
40665 SWIGINTERN PyObject
*
40666 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40667 PyObject
*res
= NULL
;
40668 swig_globalvar
*var
= v
->vars
;
40670 if (strcmp(var
->name
,n
) == 0) {
40671 res
= (*var
->get_attr
)();
40676 if (res
== NULL
&& !PyErr_Occurred()) {
40677 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40683 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40685 swig_globalvar
*var
= v
->vars
;
40687 if (strcmp(var
->name
,n
) == 0) {
40688 res
= (*var
->set_attr
)(p
);
40693 if (res
== 1 && !PyErr_Occurred()) {
40694 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40699 SWIGINTERN PyTypeObject
*
40700 swig_varlink_type(void) {
40701 static char varlink__doc__
[] = "Swig var link object";
40702 static PyTypeObject varlink_type
;
40703 static int type_init
= 0;
40705 const PyTypeObject tmp
40707 PyObject_HEAD_INIT(NULL
)
40708 0, /* Number of items in variable part (ob_size) */
40709 (char *)"swigvarlink", /* Type name (tp_name) */
40710 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40711 0, /* Itemsize (tp_itemsize) */
40712 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40713 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40714 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40715 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40716 0, /* tp_compare */
40717 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40718 0, /* tp_as_number */
40719 0, /* tp_as_sequence */
40720 0, /* tp_as_mapping */
40723 (reprfunc
)swig_varlink_str
, /* tp_str */
40724 0, /* tp_getattro */
40725 0, /* tp_setattro */
40726 0, /* tp_as_buffer */
40728 varlink__doc__
, /* tp_doc */
40729 0, /* tp_traverse */
40731 0, /* tp_richcompare */
40732 0, /* tp_weaklistoffset */
40733 #if PY_VERSION_HEX >= 0x02020000
40734 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40736 #if PY_VERSION_HEX >= 0x02030000
40739 #ifdef COUNT_ALLOCS
40740 0,0,0,0 /* tp_alloc -> tp_next */
40743 varlink_type
= tmp
;
40744 varlink_type
.ob_type
= &PyType_Type
;
40747 return &varlink_type
;
40750 /* Create a variable linking object for use later */
40751 SWIGINTERN PyObject
*
40752 SWIG_Python_newvarlink(void) {
40753 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40757 return ((PyObject
*) result
);
40761 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40762 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40763 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40765 size_t size
= strlen(name
)+1;
40766 gv
->name
= (char *)malloc(size
);
40768 strncpy(gv
->name
,name
,size
);
40769 gv
->get_attr
= get_attr
;
40770 gv
->set_attr
= set_attr
;
40771 gv
->next
= v
->vars
;
40777 SWIGINTERN PyObject
*
40779 static PyObject
*_SWIG_globals
= 0;
40780 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40781 return _SWIG_globals
;
40784 /* -----------------------------------------------------------------------------
40785 * constants/methods manipulation
40786 * ----------------------------------------------------------------------------- */
40788 /* Install Constants */
40790 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40793 for (i
= 0; constants
[i
].type
; ++i
) {
40794 switch(constants
[i
].type
) {
40795 case SWIG_PY_POINTER
:
40796 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40798 case SWIG_PY_BINARY
:
40799 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40806 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40812 /* -----------------------------------------------------------------------------*/
40813 /* Fix SwigMethods to carry the callback ptrs when needed */
40814 /* -----------------------------------------------------------------------------*/
40817 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40818 swig_const_info
*const_table
,
40819 swig_type_info
**types
,
40820 swig_type_info
**types_initial
) {
40822 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40823 const char *c
= methods
[i
].ml_doc
;
40824 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40826 swig_const_info
*ci
= 0;
40827 const char *name
= c
+ 10;
40828 for (j
= 0; const_table
[j
].type
; ++j
) {
40829 if (strncmp(const_table
[j
].name
, name
,
40830 strlen(const_table
[j
].name
)) == 0) {
40831 ci
= &(const_table
[j
]);
40836 size_t shift
= (ci
->ptype
) - types
;
40837 swig_type_info
*ty
= types_initial
[shift
];
40838 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40839 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40840 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40843 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40845 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40847 strncpy(buff
, "swig_ptr: ", 10);
40849 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40850 methods
[i
].ml_doc
= ndoc
;
40862 /* -----------------------------------------------------------------------------*
40863 * Partial Init method
40864 * -----------------------------------------------------------------------------*/
40869 SWIGEXPORT
void SWIG_init(void) {
40872 /* Fix SwigMethods to carry the callback ptrs when needed */
40873 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40875 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40876 d
= PyModule_GetDict(m
);
40878 SWIG_InitializeModule(0);
40879 SWIG_InstallConstants(d
,swig_const_table
);
40882 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40883 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40884 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40885 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40886 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40887 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40888 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40889 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40890 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40891 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40892 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40893 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40894 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40895 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40896 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40897 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40898 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40899 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40900 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40901 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40902 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40903 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40904 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40905 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40906 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40907 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40908 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40909 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40910 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40911 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40912 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40913 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40914 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40915 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40916 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40917 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40918 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40919 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40920 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40921 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40922 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40923 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40924 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40925 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40926 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40927 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40928 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40929 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40930 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40931 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40932 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40933 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40934 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40935 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40936 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40937 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40938 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40939 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40940 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40941 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40942 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40943 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40944 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40945 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40946 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40947 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40948 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40949 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40950 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40951 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40952 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40953 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40954 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40958 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40959 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40960 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40961 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40962 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40963 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40964 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40965 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40966 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40967 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40968 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40969 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40970 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40971 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40972 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41007 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41008 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41009 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41010 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41011 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41012 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41013 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41015 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41248 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41249 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41250 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41251 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41252 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41253 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41254 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41255 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41256 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41257 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41258 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41259 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41260 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41261 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41262 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41263 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41264 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41265 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41266 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41267 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41268 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41269 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41270 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41271 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41272 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41273 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41274 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41275 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41276 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41277 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41278 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41279 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41280 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41281 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41282 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41283 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41284 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41285 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41286 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41287 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41288 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41289 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41290 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41291 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41292 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41293 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41294 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41295 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41296 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41297 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41298 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41299 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41300 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41301 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41302 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41303 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41304 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41305 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41306 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41307 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41308 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41309 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41310 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41311 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41312 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41313 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41314 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41315 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41316 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41317 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41318 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41319 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41320 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41321 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41322 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41323 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41324 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41325 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41326 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41327 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41328 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41329 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41330 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41331 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41332 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41333 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41334 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41335 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41336 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41337 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41338 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41339 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41340 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41342 // Work around a chicken/egg problem in drawlist.cpp
41343 wxPyDrawList_SetAPIPtr();