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_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCBrushChanger swig_types[36]
2503 #define SWIGTYPE_p_wxDCClipper swig_types[37]
2504 #define SWIGTYPE_p_wxDCOverlay swig_types[38]
2505 #define SWIGTYPE_p_wxDCPenChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDash swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512 #define SWIGTYPE_p_wxEffects swig_types[46]
2513 #define SWIGTYPE_p_wxEncodingConverter swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2979 wxSize
size(self
->GetWidth(), self
->GetHeight());
2982 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2983 wxMask
*mask
= new wxMask(*self
, colour
);
2984 self
->SetMask(mask
);
2986 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2987 self
->SetWidth(size
.x
);
2988 self
->SetHeight(size
.y
);
2990 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2991 int height
=self
->GetHeight();
2992 int width
=self
->GetWidth();
2994 if (DATASIZE
!= width
* height
* 3) {
2995 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2997 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
2999 // raise an exception...
3000 wxPyErr_SetString(PyExc_RuntimeError
,
3001 "Failed to gain raw access to bitmap data.");
3005 wxNativePixelData::Iterator
p(pixData
);
3006 for (int y
=0; y
<height
; y
++) {
3007 wxNativePixelData::Iterator rowStart
= p
;
3008 for (int x
=0; x
<width
; x
++) {
3009 p
.Red() = *(data
++);
3010 p
.Green() = *(data
++);
3011 p
.Blue() = *(data
++);
3015 p
.OffsetY(pixData
, 1);
3018 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3019 int height
=self
->GetHeight();
3020 int width
=self
->GetWidth();
3022 if (DATASIZE
!= width
* height
* 4) {
3023 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3025 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3027 // raise an exception...
3028 wxPyErr_SetString(PyExc_RuntimeError
,
3029 "Failed to gain raw access to bitmap data.");
3034 wxAlphaPixelData::Iterator
p(pixData
);
3035 for (int y
=0; y
<height
; y
++) {
3036 wxAlphaPixelData::Iterator rowStart
= p
;
3037 for (int x
=0; x
<width
; x
++) {
3039 p
.Red() = wxPy_premultiply(*(data
++), a
);
3040 p
.Green() = wxPy_premultiply(*(data
++), a
);
3041 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3042 p
.Alpha() = a
; data
++;
3046 p
.OffsetY(pixData
, 1);
3049 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3050 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3052 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3053 buffer data
, int DATASIZE
,
3054 buffer alpha
, int ALPHASIZE
)
3056 if (DATASIZE
!= width
*height
*3) {
3057 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3061 if (ALPHASIZE
!= width
*height
) {
3062 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3066 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3067 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3069 // raise an exception...
3070 wxPyErr_SetString(PyExc_RuntimeError
,
3071 "Failed to gain raw access to bitmap data.");
3076 wxAlphaPixelData::Iterator
p(pixData
);
3077 for (int y
=0; y
<height
; y
++) {
3078 wxAlphaPixelData::Iterator rowStart
= p
;
3079 for (int x
=0; x
<width
; x
++) {
3080 byte a
= *(alpha
++);
3081 p
.Red() = wxPy_premultiply(*(data
++), a
);
3082 p
.Green() = wxPy_premultiply(*(data
++), a
);
3083 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3088 p
.OffsetY(pixData
, 1);
3093 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3095 if (DATASIZE
!= width
*height
*3) {
3096 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3100 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3101 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3103 // raise an exception...
3104 wxPyErr_SetString(PyExc_RuntimeError
,
3105 "Failed to gain raw access to bitmap data.");
3109 wxNativePixelData::Iterator
p(pixData
);
3110 for (int y
=0; y
<height
; y
++) {
3111 wxNativePixelData::Iterator rowStart
= p
;
3112 for (int x
=0; x
<width
; x
++) {
3113 p
.Red() = *(data
++);
3114 p
.Green() = *(data
++);
3115 p
.Blue() = *(data
++);
3119 p
.OffsetY(pixData
, 1);
3125 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3127 if (DATASIZE
!= width
*height
*4) {
3128 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3132 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3133 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3135 // raise an exception...
3136 wxPyErr_SetString(PyExc_RuntimeError
,
3137 "Failed to gain raw access to bitmap data.");
3142 wxAlphaPixelData::Iterator
p(pixData
);
3143 for (int y
=0; y
<height
; y
++) {
3144 wxAlphaPixelData::Iterator rowStart
= p
;
3145 for (int x
=0; x
<width
; x
++) {
3147 p
.Red() = wxPy_premultiply(*(data
++), a
);
3148 p
.Green() = wxPy_premultiply(*(data
++), a
);
3149 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3150 p
.Alpha() = a
; data
++;
3154 p
.OffsetY(pixData
, 1);
3160 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3162 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3163 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3166 self
->Green() = green
;
3167 self
->Blue() = blue
;
3169 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3170 PyObject
* rv
= PyTuple_New(3);
3171 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3172 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3173 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3177 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3179 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3180 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3182 self
->Red() = wxPy_premultiply(red
, alpha
);
3183 self
->Green() = wxPy_premultiply(green
, alpha
);
3184 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3185 self
->Alpha() = alpha
;
3187 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3188 PyObject
* rv
= PyTuple_New(4);
3189 int red
= self
->Red();
3190 int green
= self
->Green();
3191 int blue
= self
->Blue();
3192 int alpha
= self
->Alpha();
3194 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3195 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3196 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3197 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3200 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3201 if ( !colour
.IsOk() )
3202 return new wxMask(bitmap
, *wxBLACK
);
3204 return new wxMask(bitmap
, colour
);
3207 #include <wx/iconbndl.h>
3209 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3210 wxIcon
* icon
= new wxIcon();
3211 icon
->CopyFromBitmap(bmp
);
3214 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3215 char** cArray
= NULL
;
3218 cArray
= ConvertListOfStrings(listOfStrings
);
3221 icon
= new wxIcon(cArray
);
3225 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
);
3232 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3239 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3246 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3248 wxImage
img(cursorName
, type
);
3249 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3250 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3251 return new wxCursor(img
);
3253 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3258 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3261 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3262 return self
->operator bool();
3265 #include <wx/fontutil.h>
3266 #include <wx/fontmap.h>
3267 #include <wx/fontenum.h>
3269 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3270 return self
->ToString();
3273 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3274 static wxNativeEncodingInfo info
;
3275 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3282 SWIGINTERNINLINE PyObject
*
3283 SWIG_From_size_t (size_t value
)
3285 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3289 SWIGINTERNINLINE
int
3290 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3293 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3294 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3298 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3299 wxFontEncoding alt_enc
;
3300 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3301 return PyInt_FromLong(alt_enc
);
3307 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3308 wxNativeFontInfo nfi
;
3309 nfi
.FromString(info
);
3310 return new wxFont(nfi
);
3312 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3313 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3315 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFontBase::New(pixelSize
, family
,
3317 style
, weight
, underlined
,
3320 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3321 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3323 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3324 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3326 class wxPyFontEnumerator
: public wxFontEnumerator
{
3328 wxPyFontEnumerator() {}
3329 ~wxPyFontEnumerator() {}
3331 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3332 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3337 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3338 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3341 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3343 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3344 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3345 ret
= wxArrayString2PyList_helper(arr
);
3346 wxPyEndBlockThreads(blocked
);
3349 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3351 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3352 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3353 ret
= wxArrayString2PyList_helper(arr
);
3354 wxPyEndBlockThreads(blocked
);
3360 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3363 loc
= new wxLocale();
3365 loc
= new wxLocale(language
, flags
);
3366 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3367 // for the floating point conversions and such to work right.
3368 #if PY_VERSION_HEX < 0x02040000
3369 setlocale(LC_NUMERIC
, "C");
3373 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3374 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3375 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3376 // for the floating point conversions and such to work right.
3377 #if PY_VERSION_HEX < 0x02040000
3378 setlocale(LC_NUMERIC
, "C");
3382 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3383 bool rc
= self
->Init(language
, flags
);
3384 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3385 // for the floating point conversions and such to work right.
3386 #if PY_VERSION_HEX < 0x02040000
3387 setlocale(LC_NUMERIC
, "C");
3392 class wxPyLocale
: public wxLocale
3397 wxPyLocale(const wxChar
*szName
, // name (for messages)
3398 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3399 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3400 bool bLoadDefault
= true, // preload wxstd.mo?
3401 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3403 wxPyLocale(int language
, // wxLanguage id or custom language
3404 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3408 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3409 const wxChar
*szDomain
= NULL
) const;
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szOrigString2
, size_t n
,
3412 const wxChar
*szDomain
= NULL
) const;
3414 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3415 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3417 const wxChar
*szOrigString2
, size_t n
,
3418 const wxChar
*szDomain
= NULL
) const;
3422 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3425 wxPyLocale::wxPyLocale() : wxLocale()
3429 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3430 const wxChar
*szShort
, // dir prefix (for msg files)
3431 const wxChar
*szLocale
, // locale (for setlocale)
3432 bool bLoadDefault
, // preload wxstd.mo?
3433 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3434 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3438 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3439 int flags
) : wxLocale(language
, flags
)
3443 wxPyLocale::~wxPyLocale()
3447 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3448 const wxChar
*szDomain
) const
3450 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3451 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3454 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3455 const wxChar
*szOrigString2
, size_t n
,
3456 const wxChar
*szDomain
) const
3458 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3459 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3463 const wxChar
*szDomain
) const
3466 static wxString str
;
3467 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.
3468 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3469 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3470 PyObject
* param1
= wx2PyString(szOrigString
);
3471 PyObject
* param2
= wx2PyString(szDomain
);
3472 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3476 str
= Py2wxString(ret
);
3480 wxPyEndBlockThreads(blocked
);
3481 return (found
? (wxChar
*)str
.c_str() : NULL
);
3484 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3485 const wxChar
*szOrigString2
, size_t n
,
3486 const wxChar
*szDomain
) const
3489 static wxString str
;
3490 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.
3491 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3492 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3493 PyObject
* param1
= wx2PyString(szOrigString
);
3494 PyObject
* param2
= wx2PyString(szOrigString2
);
3495 PyObject
* param4
= wx2PyString(szDomain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? (wxChar
*)str
.c_str() : NULL
);
3509 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3512 loc
= new wxPyLocale();
3514 loc
= new wxPyLocale(language
, flags
);
3515 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3516 // for the floating point conversions and such to work right.
3517 #if PY_VERSION_HEX < 0x02040000
3518 setlocale(LC_NUMERIC
, "C");
3523 #include "wx/wxPython/pydrawxxx.h"
3525 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3527 self
->GetPixel(x
, y
, &col
);
3530 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3532 self
->GetPixel(pt
, &col
);
3537 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3539 if (PyNumber_Check(obj
)) {
3540 if (val
) *val
= PyFloat_AsDouble(obj
);
3543 return SWIG_TypeError
;
3546 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3548 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3551 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3553 self
->GetClippingBox(rect
);
3556 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3558 self
->GetPartialTextExtents(text
, widths
);
3562 #define SWIG_From_double PyFloat_FromDouble
3564 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3565 self
->SetLogicalOrigin(point
.x
, point
.y
);
3567 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetDeviceOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->CalcBoundingBox(point
.x
, point
.y
);
3573 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3574 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3576 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3589 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3592 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3600 #include <wx/dcbuffer.h>
3603 #include <wx/dcps.h>
3606 class wxMetaFile
: public wxObject
{
3608 wxMetaFile(const wxString
&)
3609 { wxPyRaiseNotImplemented(); }
3612 class wxMetaFileDC
: public wxClientDC
{
3614 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3615 { wxPyRaiseNotImplemented(); }
3620 class wxPrinterDC
: public wxClientDC
{
3622 wxPrinterDC(const wxPrintData
&)
3623 { wxPyRaiseNotImplemented(); }
3628 #include <wx/graphics.h>
3631 #if !wxUSE_GRAPHICS_CONTEXT
3632 // C++ stub classes for platforms or build configurations that don't have
3633 // wxGraphicsContext yet.
3635 class wxGraphicsRenderer
;
3636 class wxGraphicsMatrix
;
3639 class wxGraphicsObject
: public wxObject
3642 wxGraphicsObject() {}
3643 wxGraphicsObject( wxGraphicsRenderer
* ) {
3644 PyErr_SetString(PyExc_NotImplementedError
,
3645 "wx.GraphicsObject is not available on this platform.");
3647 wxGraphicsObject( const wxGraphicsObject
& ) {}
3648 virtual ~wxGraphicsObject() {}
3649 bool IsNull() const { return false; }
3650 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3655 class wxGraphicsPen
: public wxGraphicsObject
3659 virtual ~wxGraphicsPen() {}
3661 wxGraphicsPen wxNullGraphicsPen
;
3665 class wxGraphicsBrush
: public wxGraphicsObject
3668 wxGraphicsBrush() {}
3669 virtual ~wxGraphicsBrush() {}
3671 wxGraphicsBrush wxNullGraphicsBrush
;
3675 class wxGraphicsFont
: public wxGraphicsObject
3679 virtual ~wxGraphicsFont() {}
3681 wxGraphicsFont wxNullGraphicsFont
;
3685 class wxGraphicsPath
: public wxGraphicsObject
3688 wxGraphicsPath() { }
3689 wxGraphicsPath(wxGraphicsRenderer
* ) {
3690 PyErr_SetString(PyExc_NotImplementedError
,
3691 "wx.GraphicsPath is not available on this platform.");
3693 virtual ~wxGraphicsPath() {}
3695 void MoveToPoint( wxDouble
, wxDouble
) {}
3696 void MoveToPoint( const wxPoint2DDouble
& ) {}
3697 void AddLineToPoint( wxDouble
, wxDouble
) {}
3698 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3699 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3700 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3701 void AddPath( const wxGraphicsPath
& ) {}
3702 void CloseSubpath() {}
3703 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3704 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3705 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3706 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void * GetNativePath() const { return NULL
; }
3716 void UnGetNativePath(void *) const {}
3717 void Transform( const wxGraphicsMatrix
& ) {}
3718 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3719 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3721 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3722 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3724 wxGraphicsPath wxNullGraphicsPath
;
3727 class wxGraphicsMatrix
: public wxGraphicsObject
3730 wxGraphicsMatrix() { }
3731 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3732 PyErr_SetString(PyExc_NotImplementedError
,
3733 "wx.GraphicsMatrix is not available on this platform.");
3735 virtual ~wxGraphicsMatrix() {}
3736 virtual void Concat( const wxGraphicsMatrix
& ) {}
3737 virtual void Copy( const wxGraphicsMatrix
& ) {}
3738 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3739 wxDouble
, wxDouble
) {}
3740 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3741 wxDouble
*, 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 int GetLogicalFunction() const { return 0; }
3820 virtual bool SetLogicalFunction(int ) {}
3821 virtual void Translate( wxDouble
, wxDouble
) {}
3822 virtual void Scale( wxDouble
, wxDouble
) {}
3823 virtual void Rotate( wxDouble
) {}
3824 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3825 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3826 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3828 virtual void SetPen( const wxGraphicsPen
& ) {}
3829 void SetPen( const wxPen
& ) {}
3831 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3832 void SetBrush( const wxBrush
& ) {}
3834 virtual void SetFont( const wxGraphicsFont
& ) {}
3835 void SetFont( const wxFont
&, const wxColour
& ) {}
3837 virtual void StrokePath( const wxGraphicsPath
& ) {}
3838 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3839 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3841 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3842 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3845 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3846 wxDouble
*, wxDouble
* ) const {}
3847 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3849 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3850 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3852 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3853 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3854 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3855 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3856 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual bool ShouldOffset() const { return false; }
3863 class wxGraphicsRenderer
: public wxObject
3866 wxGraphicsRenderer() {
3867 PyErr_SetString(PyExc_NotImplementedError
,
3868 "wx.GraphicsRenderer is not available on this platform.");
3871 virtual ~wxGraphicsRenderer() {}
3873 static wxGraphicsRenderer
* GetDefaultRenderer() {
3874 PyErr_SetString(PyExc_NotImplementedError
,
3875 "wx.GraphicsRenderer is not available on this platform.");
3879 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3880 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3881 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3882 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3885 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3887 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3888 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3890 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3891 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3892 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3893 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3894 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3895 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3896 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3901 class wxGCDC
: public wxWindowDC
3904 wxGCDC(const wxWindowDC
&) {
3905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3906 PyErr_SetString(PyExc_NotImplementedError
,
3907 "wxGCDC is not available on this platform.");
3908 wxPyEndBlockThreads(blocked
);
3911 wxGCDC(const wxWindow
*) {
3912 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3913 PyErr_SetString(PyExc_NotImplementedError
,
3914 "wxGCDC is not available on this platform.");
3915 wxPyEndBlockThreads(blocked
);
3919 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3920 PyErr_SetString(PyExc_NotImplementedError
,
3921 "wxGCDC is not available on this platform.");
3922 wxPyEndBlockThreads(blocked
);
3925 virtual ~wxGCDC() {}
3927 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3928 void SetGraphicsContext( wxGraphicsContext
* ) {}
3933 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3934 if ( !backgroundBrush
.IsNull() )
3935 self
->DrawText(str
, x
, y
, backgroundBrush
);
3937 self
->DrawText(str
, x
, y
);
3939 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3940 if ( !backgroundBrush
.IsNull() )
3941 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3943 self
->DrawText(str
, x
, y
, angle
);
3945 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3946 wxDouble width
= 0.0,
3948 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3949 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3950 PyObject
* rv
= PyTuple_New(2);
3951 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3952 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3955 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3956 wxArrayDouble widths
;
3957 self
->GetPartialTextExtents(text
, widths
);
3960 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3961 size_t c1
, c2
, count
;
3962 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3963 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3965 if ( beginP
!= NULL
&& endP
!= NULL
)
3967 count
= wxMin(c1
, c2
);
3968 self
->StrokeLines(count
, beginP
, endP
);
3974 #include "wx/dcgraph.h"
3977 #include <wx/overlay.h>
3981 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3982 self
->AddColour(name
, wxColour(red
, green
, blue
));
3985 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3986 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3987 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3988 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3991 #include <wx/effects.h>
3994 #include "wx/renderer.h"
3997 SWIGINTERNINLINE PyObject
*
3998 SWIG_From_bool (bool value
)
4000 return PyBool_FromLong(value
? 1 : 0);
4004 #include "wx/wxPython/pseudodc.h"
4006 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4008 self
->GetIdBounds(id
, rect
);
4014 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxGDIObject
*result
= 0 ;
4018 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4020 if (!wxPyCheckForApp()) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (wxGDIObject
*)new wxGDIObject();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4033 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4034 PyObject
*resultobj
= 0;
4035 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4038 PyObject
*swig_obj
[1] ;
4040 if (!args
) SWIG_fail
;
4042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4043 if (!SWIG_IsOK(res1
)) {
4044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4046 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_Py_Void();
4061 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4062 PyObject
*resultobj
= 0;
4063 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4067 PyObject
*swig_obj
[1] ;
4069 if (!args
) SWIG_fail
;
4071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4072 if (!SWIG_IsOK(res1
)) {
4073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4075 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (bool)(arg1
)->IsNull();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4091 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4094 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4095 return SWIG_Py_Void();
4098 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 return SWIG_Python_InitShadowInstance(args
);
4102 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
= 0;
4104 byte arg1
= (byte
) 0 ;
4105 byte arg2
= (byte
) 0 ;
4106 byte arg3
= (byte
) 0 ;
4107 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4108 wxColour
*result
= 0 ;
4109 unsigned char val1
;
4111 unsigned char val2
;
4113 unsigned char val3
;
4115 unsigned char val4
;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4119 PyObject
* obj2
= 0 ;
4120 PyObject
* obj3
= 0 ;
4121 char * kwnames
[] = {
4122 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4127 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4128 if (!SWIG_IsOK(ecode1
)) {
4129 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4131 arg1
= static_cast< byte
>(val1
);
4134 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4135 if (!SWIG_IsOK(ecode2
)) {
4136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4138 arg2
= static_cast< byte
>(val2
);
4141 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4142 if (!SWIG_IsOK(ecode3
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4145 arg3
= static_cast< byte
>(val3
);
4148 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4149 if (!SWIG_IsOK(ecode4
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4152 arg4
= static_cast< byte
>(val4
);
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4167 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 wxString
*arg1
= 0 ;
4170 wxColour
*result
= 0 ;
4171 bool temp1
= false ;
4172 PyObject
* obj0
= 0 ;
4173 char * kwnames
[] = {
4174 (char *) "colorName", NULL
4177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4179 arg1
= wxString_in_helper(obj0
);
4180 if (arg1
== NULL
) SWIG_fail
;
4184 if (!wxPyCheckForApp()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4205 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
= 0;
4207 unsigned long arg1
;
4208 wxColour
*result
= 0 ;
4209 unsigned long val1
;
4211 PyObject
* obj0
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "colRGB", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4217 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4218 if (!SWIG_IsOK(ecode1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4221 arg1
= static_cast< unsigned long >(val1
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (wxColour
*)new wxColour(arg1
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4235 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4236 PyObject
*resultobj
= 0;
4237 wxColour
*arg1
= (wxColour
*) 0 ;
4240 PyObject
*swig_obj
[1] ;
4242 if (!args
) SWIG_fail
;
4244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4245 if (!SWIG_IsOK(res1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4248 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4264 PyObject
*resultobj
= 0;
4265 wxColour
*arg1
= (wxColour
*) 0 ;
4269 PyObject
*swig_obj
[1] ;
4271 if (!args
) SWIG_fail
;
4273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4274 if (!SWIG_IsOK(res1
)) {
4275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4277 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (byte
)(arg1
)->Red();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4291 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4292 PyObject
*resultobj
= 0;
4293 wxColour
*arg1
= (wxColour
*) 0 ;
4297 PyObject
*swig_obj
[1] ;
4299 if (!args
) SWIG_fail
;
4301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4302 if (!SWIG_IsOK(res1
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4305 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (byte
)(arg1
)->Green();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4319 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4320 PyObject
*resultobj
= 0;
4321 wxColour
*arg1
= (wxColour
*) 0 ;
4325 PyObject
*swig_obj
[1] ;
4327 if (!args
) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4333 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (byte
)(arg1
)->Blue();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4347 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4348 PyObject
*resultobj
= 0;
4349 wxColour
*arg1
= (wxColour
*) 0 ;
4353 PyObject
*swig_obj
[1] ;
4355 if (!args
) SWIG_fail
;
4357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4358 if (!SWIG_IsOK(res1
)) {
4359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4361 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (byte
)(arg1
)->Alpha();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4375 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4376 PyObject
*resultobj
= 0;
4377 wxColour
*arg1
= (wxColour
*) 0 ;
4381 PyObject
*swig_obj
[1] ;
4383 if (!args
) SWIG_fail
;
4385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4386 if (!SWIG_IsOK(res1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4389 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (bool)(arg1
)->IsOk();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
= 0;
4407 wxColour
*arg1
= (wxColour
*) 0 ;
4411 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4414 unsigned char val2
;
4416 unsigned char val3
;
4418 unsigned char val4
;
4420 unsigned char val5
;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4424 PyObject
* obj2
= 0 ;
4425 PyObject
* obj3
= 0 ;
4426 PyObject
* obj4
= 0 ;
4427 char * kwnames
[] = {
4428 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4433 if (!SWIG_IsOK(res1
)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4436 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4437 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4438 if (!SWIG_IsOK(ecode2
)) {
4439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4441 arg2
= static_cast< byte
>(val2
);
4442 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4443 if (!SWIG_IsOK(ecode3
)) {
4444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4446 arg3
= static_cast< byte
>(val3
);
4447 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4448 if (!SWIG_IsOK(ecode4
)) {
4449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4451 arg4
= static_cast< byte
>(val4
);
4453 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4454 if (!SWIG_IsOK(ecode5
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4457 arg5
= static_cast< byte
>(val5
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_Py_Void();
4472 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= 0;
4474 wxColour
*arg1
= (wxColour
*) 0 ;
4475 unsigned long arg2
;
4478 unsigned long val2
;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 char * kwnames
[] = {
4483 (char *) "self",(char *) "colRGB", NULL
4486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4491 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4492 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4493 if (!SWIG_IsOK(ecode2
)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4496 arg2
= static_cast< unsigned long >(val2
);
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_Py_Void();
4510 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
= 0;
4512 wxColour
*arg1
= (wxColour
*) 0 ;
4513 wxString
*arg2
= 0 ;
4516 bool temp2
= false ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 char * kwnames
[] = {
4520 (char *) "self",(char *) "colourName", NULL
4523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4525 if (!SWIG_IsOK(res1
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4528 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4530 arg2
= wxString_in_helper(obj1
);
4531 if (arg2
== NULL
) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->Set((wxString
const &)*arg2
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= SWIG_Py_Void();
4555 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
= 0;
4557 wxColour
*arg1
= (wxColour
*) 0 ;
4558 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4566 char * kwnames
[] = {
4567 (char *) "self",(char *) "flags", NULL
4570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4572 if (!SWIG_IsOK(res1
)) {
4573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4575 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4578 if (!SWIG_IsOK(ecode2
)) {
4579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4581 arg2
= static_cast< long >(val2
);
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4602 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4603 PyObject
*resultobj
= 0;
4604 wxColour
*arg1
= (wxColour
*) 0 ;
4608 PyObject
*swig_obj
[1] ;
4610 if (!args
) SWIG_fail
;
4612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4613 if (!SWIG_IsOK(res1
)) {
4614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4616 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_long(static_cast< long >(result
));
4630 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
= 0;
4632 wxColour
*arg1
= (wxColour
*) 0 ;
4633 PyObject
*arg2
= (PyObject
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4638 PyObject
* obj1
= 0 ;
4639 char * kwnames
[] = {
4640 (char *) "self",(char *) "other", NULL
4643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4648 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4651 result
= (bool)wxColour___eq__(arg1
,arg2
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4663 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
= 0;
4665 wxColour
*arg1
= (wxColour
*) 0 ;
4666 PyObject
*arg2
= (PyObject
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 char * kwnames
[] = {
4673 (char *) "self",(char *) "other", NULL
4676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4678 if (!SWIG_IsOK(res1
)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4681 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4684 result
= (bool)wxColour___ne__(arg1
,arg2
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4696 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
= 0;
4698 wxColour
*arg1
= (wxColour
*) 0 ;
4699 bool arg2
= (bool) false ;
4700 PyObject
*result
= 0 ;
4705 PyObject
* obj0
= 0 ;
4706 PyObject
* obj1
= 0 ;
4707 char * kwnames
[] = {
4708 (char *) "self",(char *) "includeAlpha", NULL
4711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4713 if (!SWIG_IsOK(res1
)) {
4714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4716 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4718 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4719 if (!SWIG_IsOK(ecode2
)) {
4720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4722 arg2
= static_cast< bool >(val2
);
4725 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4735 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4736 PyObject
*resultobj
= 0;
4737 wxColour
*arg1
= (wxColour
*) 0 ;
4738 unsigned long result
;
4741 PyObject
*swig_obj
[1] ;
4743 if (!args
) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4749 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4751 result
= (unsigned long)wxColour_GetRGB(arg1
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4761 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4764 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4765 return SWIG_Py_Void();
4768 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4769 return SWIG_Python_InitShadowInstance(args
);
4772 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
= 0;
4775 unsigned char *arg2
= (unsigned char *) 0 ;
4776 unsigned char *arg3
= (unsigned char *) 0 ;
4777 unsigned char *arg4
= (unsigned char *) 0 ;
4778 wxPalette
*result
= 0 ;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4789 PyObject
* obj2
= 0 ;
4790 PyObject
* obj3
= 0 ;
4791 char * kwnames
[] = {
4792 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4797 if (!SWIG_IsOK(ecode1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4800 arg1
= static_cast< int >(val1
);
4801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4802 if (!SWIG_IsOK(res2
)) {
4803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4805 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4806 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4807 if (!SWIG_IsOK(res3
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4810 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4811 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4812 if (!SWIG_IsOK(res4
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4815 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4817 if (!wxPyCheckForApp()) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4830 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4832 wxPalette
*arg1
= (wxPalette
*) 0 ;
4835 PyObject
*swig_obj
[1] ;
4837 if (!args
) SWIG_fail
;
4839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4840 if (!SWIG_IsOK(res1
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4843 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_Py_Void();
4858 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
= 0;
4860 wxPalette
*arg1
= (wxPalette
*) 0 ;
4867 unsigned char val2
;
4869 unsigned char val3
;
4871 unsigned char val4
;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 PyObject
* obj2
= 0 ;
4876 PyObject
* obj3
= 0 ;
4877 char * kwnames
[] = {
4878 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4886 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4887 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4888 if (!SWIG_IsOK(ecode2
)) {
4889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4891 arg2
= static_cast< byte
>(val2
);
4892 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4893 if (!SWIG_IsOK(ecode3
)) {
4894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4896 arg3
= static_cast< byte
>(val3
);
4897 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4898 if (!SWIG_IsOK(ecode4
)) {
4899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4901 arg4
= static_cast< byte
>(val4
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_From_int(static_cast< int >(result
));
4915 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxPalette
*arg1
= (wxPalette
*) 0 ;
4919 byte
*arg3
= (byte
*) 0 ;
4920 byte
*arg4
= (byte
*) 0 ;
4921 byte
*arg5
= (byte
*) 0 ;
4928 int res3
= SWIG_TMPOBJ
;
4930 int res4
= SWIG_TMPOBJ
;
4932 int res5
= SWIG_TMPOBJ
;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4935 char * kwnames
[] = {
4936 (char *) "self",(char *) "pixel", NULL
4942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4947 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4949 if (!SWIG_IsOK(ecode2
)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4952 arg2
= static_cast< int >(val2
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4962 if (SWIG_IsTmpObj(res3
)) {
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4965 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4968 if (SWIG_IsTmpObj(res4
)) {
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4971 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4974 if (SWIG_IsTmpObj(res5
)) {
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4977 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4986 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4987 PyObject
*resultobj
= 0;
4988 wxPalette
*arg1
= (wxPalette
*) 0 ;
4992 PyObject
*swig_obj
[1] ;
4994 if (!args
) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5000 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= SWIG_From_int(static_cast< int >(result
));
5014 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5015 PyObject
*resultobj
= 0;
5016 wxPalette
*arg1
= (wxPalette
*) 0 ;
5020 PyObject
*swig_obj
[1] ;
5022 if (!args
) SWIG_fail
;
5024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5025 if (!SWIG_IsOK(res1
)) {
5026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5028 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (bool)(arg1
)->IsOk();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5044 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5048 return SWIG_Py_Void();
5051 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 return SWIG_Python_InitShadowInstance(args
);
5055 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
= 0;
5057 wxColour
*arg1
= 0 ;
5058 int arg2
= (int) 1 ;
5059 int arg3
= (int) wxSOLID
;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5068 PyObject
* obj2
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "colour",(char *) "width",(char *) "style", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5076 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5080 if (!SWIG_IsOK(ecode2
)) {
5081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5083 arg2
= static_cast< int >(val2
);
5086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5087 if (!SWIG_IsOK(ecode3
)) {
5088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5090 arg3
= static_cast< int >(val3
);
5093 if (!wxPyCheckForApp()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5106 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5107 PyObject
*resultobj
= 0;
5108 wxPen
*arg1
= (wxPen
*) 0 ;
5111 PyObject
*swig_obj
[1] ;
5113 if (!args
) SWIG_fail
;
5115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5116 if (!SWIG_IsOK(res1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5119 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_Py_Void();
5134 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5135 PyObject
*resultobj
= 0;
5136 wxPen
*arg1
= (wxPen
*) 0 ;
5140 PyObject
*swig_obj
[1] ;
5142 if (!args
) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5148 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)(arg1
)->GetCap();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_From_int(static_cast< int >(result
));
5162 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5163 PyObject
*resultobj
= 0;
5164 wxPen
*arg1
= (wxPen
*) 0 ;
5168 PyObject
*swig_obj
[1] ;
5170 if (!args
) SWIG_fail
;
5172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5173 if (!SWIG_IsOK(res1
)) {
5174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5176 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (arg1
)->GetColour();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5190 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5191 PyObject
*resultobj
= 0;
5192 wxPen
*arg1
= (wxPen
*) 0 ;
5196 PyObject
*swig_obj
[1] ;
5198 if (!args
) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5204 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (int)(arg1
)->GetJoin();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_From_int(static_cast< int >(result
));
5218 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5219 PyObject
*resultobj
= 0;
5220 wxPen
*arg1
= (wxPen
*) 0 ;
5224 PyObject
*swig_obj
[1] ;
5226 if (!args
) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5232 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (int)(arg1
)->GetStyle();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_From_int(static_cast< int >(result
));
5246 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5247 PyObject
*resultobj
= 0;
5248 wxPen
*arg1
= (wxPen
*) 0 ;
5252 PyObject
*swig_obj
[1] ;
5254 if (!args
) SWIG_fail
;
5256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5257 if (!SWIG_IsOK(res1
)) {
5258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5260 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (int)(arg1
)->GetWidth();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_From_int(static_cast< int >(result
));
5274 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5275 PyObject
*resultobj
= 0;
5276 wxPen
*arg1
= (wxPen
*) 0 ;
5280 PyObject
*swig_obj
[1] ;
5282 if (!args
) SWIG_fail
;
5284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5285 if (!SWIG_IsOK(res1
)) {
5286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5288 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= (bool)(arg1
)->IsOk();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5304 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= 0;
5306 wxPen
*arg1
= (wxPen
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 char * kwnames
[] = {
5315 (char *) "self",(char *) "cap_style", NULL
5318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5320 if (!SWIG_IsOK(res1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5323 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5325 if (!SWIG_IsOK(ecode2
)) {
5326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5328 arg2
= static_cast< int >(val2
);
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetCap(arg2
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_Py_Void();
5342 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
= 0;
5344 wxPen
*arg1
= (wxPen
*) 0 ;
5345 wxColour
*arg2
= 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 char * kwnames
[] = {
5352 (char *) "self",(char *) "colour", NULL
5355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5357 if (!SWIG_IsOK(res1
)) {
5358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5360 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 (arg1
)->SetColour(*arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_Py_Void();
5378 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxPen
*arg1
= (wxPen
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 char * kwnames
[] = {
5389 (char *) "self",(char *) "join_style", NULL
5392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5394 if (!SWIG_IsOK(res1
)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5397 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5399 if (!SWIG_IsOK(ecode2
)) {
5400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5402 arg2
= static_cast< int >(val2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetJoin(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5418 wxPen
*arg1
= (wxPen
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "self",(char *) "style", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5432 if (!SWIG_IsOK(res1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5435 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5440 arg2
= static_cast< int >(val2
);
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetStyle(arg2
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_Py_Void();
5454 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
= 0;
5456 wxPen
*arg1
= (wxPen
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5464 char * kwnames
[] = {
5465 (char *) "self",(char *) "width", NULL
5468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5470 if (!SWIG_IsOK(res1
)) {
5471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5473 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5475 if (!SWIG_IsOK(ecode2
)) {
5476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5478 arg2
= static_cast< int >(val2
);
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 (arg1
)->SetWidth(arg2
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_Py_Void();
5492 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
= 0;
5494 wxPen
*arg1
= (wxPen
*) 0 ;
5496 wxDash
*arg3
= (wxDash
*) 0 ;
5499 PyObject
* obj0
= 0 ;
5500 PyObject
* obj1
= 0 ;
5501 char * kwnames
[] = {
5502 (char *) "self",(char *) "dashes", NULL
5505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5507 if (!SWIG_IsOK(res1
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5510 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5512 arg2
= PyList_Size(obj1
);
5513 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5514 if (arg3
== NULL
) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->SetDashes(arg2
,arg3
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_Py_Void();
5524 if (arg3
) delete [] arg3
;
5529 if (arg3
) delete [] arg3
;
5535 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5536 PyObject
*resultobj
= 0;
5537 wxPen
*arg1
= (wxPen
*) 0 ;
5538 PyObject
*result
= 0 ;
5541 PyObject
*swig_obj
[1] ;
5543 if (!args
) SWIG_fail
;
5545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5546 if (!SWIG_IsOK(res1
)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5549 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5563 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
= 0;
5565 wxPen
*arg1
= (wxPen
*) 0 ;
5566 PyObject
*arg2
= (PyObject
*) 0 ;
5567 PyObject
*arg3
= (PyObject
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 PyObject
* obj2
= 0 ;
5573 char * kwnames
[] = {
5574 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5579 if (!SWIG_IsOK(res1
)) {
5580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5582 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 wxPen__SetDashes(arg1
,arg2
,arg3
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_Py_Void();
5598 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5599 PyObject
*resultobj
= 0;
5600 wxPen
*arg1
= (wxPen
*) 0 ;
5604 PyObject
*swig_obj
[1] ;
5606 if (!args
) SWIG_fail
;
5608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5609 if (!SWIG_IsOK(res1
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5612 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= SWIG_From_int(static_cast< int >(result
));
5626 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
= 0;
5628 wxPen
*arg1
= (wxPen
*) 0 ;
5629 wxPen
*arg2
= (wxPen
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 char * kwnames
[] = {
5638 (char *) "self",(char *) "other", NULL
5641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5643 if (!SWIG_IsOK(res1
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5646 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5648 if (!SWIG_IsOK(res2
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5651 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5667 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
= 0;
5669 wxPen
*arg1
= (wxPen
*) 0 ;
5670 wxPen
*arg2
= (wxPen
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 char * kwnames
[] = {
5679 (char *) "self",(char *) "other", NULL
5682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5684 if (!SWIG_IsOK(res1
)) {
5685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5687 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5689 if (!SWIG_IsOK(res2
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5692 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5708 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5711 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5712 return SWIG_Py_Void();
5715 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5716 return SWIG_Python_InitShadowInstance(args
);
5719 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
= 0;
5721 wxColour
*arg1
= 0 ;
5722 int arg2
= (int) wxSOLID
;
5723 wxBrush
*result
= 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5729 char * kwnames
[] = {
5730 (char *) "colour",(char *) "style", NULL
5733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5736 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5740 if (!SWIG_IsOK(ecode2
)) {
5741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5743 arg2
= static_cast< int >(val2
);
5746 if (!wxPyCheckForApp()) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5759 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
= 0;
5761 wxBitmap
*arg1
= 0 ;
5762 wxBrush
*result
= 0 ;
5765 PyObject
* obj0
= 0 ;
5766 char * kwnames
[] = {
5767 (char *) "stippleBitmap", NULL
5770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5771 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5772 if (!SWIG_IsOK(res1
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5778 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5780 if (!wxPyCheckForApp()) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5793 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxBrush
*arg1
= (wxBrush
*) 0 ;
5798 PyObject
*swig_obj
[1] ;
5800 if (!args
) SWIG_fail
;
5802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5803 if (!SWIG_IsOK(res1
)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5806 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= SWIG_Py_Void();
5821 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
= 0;
5823 wxBrush
*arg1
= (wxBrush
*) 0 ;
5824 wxColour
*arg2
= 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5830 char * kwnames
[] = {
5831 (char *) "self",(char *) "col", NULL
5834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5836 if (!SWIG_IsOK(res1
)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5839 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetColour((wxColour
const &)*arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_Py_Void();
5857 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
= 0;
5859 wxBrush
*arg1
= (wxBrush
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "style", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5876 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5878 if (!SWIG_IsOK(ecode2
)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5881 arg2
= static_cast< int >(val2
);
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetStyle(arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5895 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
= 0;
5897 wxBrush
*arg1
= (wxBrush
*) 0 ;
5898 wxBitmap
*arg2
= 0 ;
5903 PyObject
* obj0
= 0 ;
5904 PyObject
* obj1
= 0 ;
5905 char * kwnames
[] = {
5906 (char *) "self",(char *) "stipple", NULL
5909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5914 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5916 if (!SWIG_IsOK(res2
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5922 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_Py_Void();
5936 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5937 PyObject
*resultobj
= 0;
5938 wxBrush
*arg1
= (wxBrush
*) 0 ;
5942 PyObject
*swig_obj
[1] ;
5944 if (!args
) SWIG_fail
;
5946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5947 if (!SWIG_IsOK(res1
)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5950 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= ((wxBrush
const *)arg1
)->GetColour();
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5964 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5965 PyObject
*resultobj
= 0;
5966 wxBrush
*arg1
= (wxBrush
*) 0 ;
5970 PyObject
*swig_obj
[1] ;
5972 if (!args
) SWIG_fail
;
5974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5975 if (!SWIG_IsOK(res1
)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5978 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_From_int(static_cast< int >(result
));
5992 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5993 PyObject
*resultobj
= 0;
5994 wxBrush
*arg1
= (wxBrush
*) 0 ;
5995 wxBitmap
*result
= 0 ;
5998 PyObject
*swig_obj
[1] ;
6000 if (!args
) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6006 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6020 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxBrush
*arg1
= (wxBrush
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6034 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxBrush
*arg1
= (wxBrush
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6064 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (bool)(arg1
)->IsOk();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6080 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6083 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6084 return SWIG_Py_Void();
6087 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6088 return SWIG_Python_InitShadowInstance(args
);
6091 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
= 0;
6093 wxString
*arg1
= 0 ;
6094 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6095 wxBitmap
*result
= 0 ;
6096 bool temp1
= false ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 char * kwnames
[] = {
6102 (char *) "name",(char *) "type", NULL
6105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6107 arg1
= wxString_in_helper(obj0
);
6108 if (arg1
== NULL
) SWIG_fail
;
6112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6113 if (!SWIG_IsOK(ecode2
)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6116 arg2
= static_cast< wxBitmapType
>(val2
);
6119 if (!wxPyCheckForApp()) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6140 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6141 PyObject
*resultobj
= 0;
6142 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6145 PyObject
*swig_obj
[1] ;
6147 if (!args
) SWIG_fail
;
6149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6150 if (!SWIG_IsOK(res1
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6153 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= SWIG_Py_Void();
6166 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
= 0;
6170 int arg3
= (int) -1 ;
6171 wxBitmap
*result
= 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6180 PyObject
* obj2
= 0 ;
6181 char * kwnames
[] = {
6182 (char *) "width",(char *) "height",(char *) "depth", NULL
6185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6187 if (!SWIG_IsOK(ecode1
)) {
6188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6190 arg1
= static_cast< int >(val1
);
6191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6192 if (!SWIG_IsOK(ecode2
)) {
6193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6195 arg2
= static_cast< int >(val2
);
6197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6198 if (!SWIG_IsOK(ecode3
)) {
6199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6201 arg3
= static_cast< int >(val3
);
6204 if (!wxPyCheckForApp()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6217 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
= 0;
6220 wxBitmap
*result
= 0 ;
6223 PyObject
* obj0
= 0 ;
6224 char * kwnames
[] = {
6225 (char *) "icon", NULL
6228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6230 if (!SWIG_IsOK(res1
)) {
6231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6236 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6238 if (!wxPyCheckForApp()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6251 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
= 0;
6254 int arg2
= (int) -1 ;
6255 wxBitmap
*result
= 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 char * kwnames
[] = {
6263 (char *) "image",(char *) "depth", NULL
6266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6267 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6268 if (!SWIG_IsOK(res1
)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6274 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6277 if (!SWIG_IsOK(ecode2
)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6280 arg2
= static_cast< int >(val2
);
6283 if (!wxPyCheckForApp()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6296 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
= 0;
6298 PyObject
*arg1
= (PyObject
*) 0 ;
6299 wxBitmap
*result
= 0 ;
6300 PyObject
* obj0
= 0 ;
6301 char * kwnames
[] = {
6302 (char *) "listOfStrings", NULL
6305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6308 if (!wxPyCheckForApp()) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6321 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
= 0;
6323 PyObject
*arg1
= (PyObject
*) 0 ;
6326 int arg4
= (int) 1 ;
6327 wxBitmap
*result
= 0 ;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6336 PyObject
* obj2
= 0 ;
6337 PyObject
* obj3
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6345 if (!SWIG_IsOK(ecode2
)) {
6346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6348 arg2
= static_cast< int >(val2
);
6349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6350 if (!SWIG_IsOK(ecode3
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6353 arg3
= static_cast< int >(val3
);
6355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6356 if (!SWIG_IsOK(ecode4
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6359 arg4
= static_cast< int >(val4
);
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6375 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6376 PyObject
*resultobj
= 0;
6377 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6381 PyObject
*swig_obj
[1] ;
6383 if (!args
) SWIG_fail
;
6385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6386 if (!SWIG_IsOK(res1
)) {
6387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6389 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6391 result
= (bool)(arg1
)->IsOk();
6392 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6403 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6404 PyObject
*resultobj
= 0;
6405 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6409 PyObject
*swig_obj
[1] ;
6411 if (!args
) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6417 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6419 result
= (int)(arg1
)->GetWidth();
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_From_int(static_cast< int >(result
));
6429 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6443 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6445 result
= (int)(arg1
)->GetHeight();
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_From_int(static_cast< int >(result
));
6455 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6461 PyObject
*swig_obj
[1] ;
6463 if (!args
) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6471 result
= (int)(arg1
)->GetDepth();
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= SWIG_From_int(static_cast< int >(result
));
6481 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6482 PyObject
*resultobj
= 0;
6483 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6487 PyObject
*swig_obj
[1] ;
6489 if (!args
) SWIG_fail
;
6491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6492 if (!SWIG_IsOK(res1
)) {
6493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6495 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6497 result
= wxBitmap_GetSize(arg1
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6507 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6510 SwigValueWrapper
<wxImage
> result
;
6513 PyObject
*swig_obj
[1] ;
6515 if (!args
) SWIG_fail
;
6517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6518 if (!SWIG_IsOK(res1
)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6521 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6523 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6533 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6534 PyObject
*resultobj
= 0;
6535 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6536 wxMask
*result
= 0 ;
6539 PyObject
*swig_obj
[1] ;
6541 if (!args
) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6547 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6549 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6559 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= 0;
6561 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6562 wxMask
*arg2
= (wxMask
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6568 char * kwnames
[] = {
6569 (char *) "self",(char *) "mask", NULL
6572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6574 if (!SWIG_IsOK(res1
)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6577 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6578 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6579 if (!SWIG_IsOK(res2
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6583 (arg1
)->SetMask(arg2
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_Py_Void();
6593 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= 0;
6595 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6596 wxColour
*arg2
= 0 ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 char * kwnames
[] = {
6603 (char *) "self",(char *) "colour", NULL
6606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6611 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6614 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6617 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= SWIG_Py_Void();
6627 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
= 0;
6629 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6631 SwigValueWrapper
<wxBitmap
> result
;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 char * kwnames
[] = {
6638 (char *) "self",(char *) "rect", NULL
6641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6643 if (!SWIG_IsOK(res1
)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6646 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6652 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6662 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
= 0;
6664 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6665 wxString
*arg2
= 0 ;
6667 wxPalette
*arg4
= (wxPalette
*) NULL
;
6671 bool temp2
= false ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6678 PyObject
* obj2
= 0 ;
6679 PyObject
* obj3
= 0 ;
6680 char * kwnames
[] = {
6681 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6689 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6691 arg2
= wxString_in_helper(obj1
);
6692 if (arg2
== NULL
) SWIG_fail
;
6695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6696 if (!SWIG_IsOK(ecode3
)) {
6697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6699 arg3
= static_cast< wxBitmapType
>(val3
);
6701 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6702 if (!SWIG_IsOK(res4
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6705 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6708 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6728 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
= 0;
6730 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6731 wxString
*arg2
= 0 ;
6736 bool temp2
= false ;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6741 PyObject
* obj2
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "self",(char *) "name",(char *) "type", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6748 if (!SWIG_IsOK(res1
)) {
6749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6751 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6753 arg2
= wxString_in_helper(obj1
);
6754 if (arg2
== NULL
) SWIG_fail
;
6757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6758 if (!SWIG_IsOK(ecode3
)) {
6759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6761 arg3
= static_cast< wxBitmapType
>(val3
);
6763 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6783 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6784 PyObject
*resultobj
= 0;
6785 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6786 wxPalette
*result
= 0 ;
6789 PyObject
*swig_obj
[1] ;
6791 if (!args
) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6797 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6799 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6809 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= 0;
6811 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6820 char * kwnames
[] = {
6821 (char *) "self",(char *) "icon", NULL
6824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6826 if (!SWIG_IsOK(res1
)) {
6827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6829 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6831 if (!SWIG_IsOK(res2
)) {
6832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6837 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6839 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6851 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6853 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 char * kwnames
[] = {
6862 (char *) "self",(char *) "height", NULL
6865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6867 if (!SWIG_IsOK(res1
)) {
6868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6870 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6872 if (!SWIG_IsOK(ecode2
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6875 arg2
= static_cast< int >(val2
);
6877 (arg1
)->SetHeight(arg2
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_Py_Void();
6887 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
= 0;
6889 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6897 char * kwnames
[] = {
6898 (char *) "self",(char *) "width", NULL
6901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6903 if (!SWIG_IsOK(res1
)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6906 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6908 if (!SWIG_IsOK(ecode2
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6911 arg2
= static_cast< int >(val2
);
6913 (arg1
)->SetWidth(arg2
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 char * kwnames
[] = {
6934 (char *) "self",(char *) "depth", NULL
6937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6939 if (!SWIG_IsOK(res1
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6942 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6944 if (!SWIG_IsOK(ecode2
)) {
6945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6947 arg2
= static_cast< int >(val2
);
6949 (arg1
)->SetDepth(arg2
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_Py_Void();
6959 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
= 0;
6961 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 char * kwnames
[] = {
6969 (char *) "self",(char *) "size", NULL
6972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6977 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6980 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6983 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_Py_Void();
6993 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
= 0;
6995 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 char * kwnames
[] = {
7004 (char *) "self",(char *) "data", NULL
7007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7009 if (!SWIG_IsOK(res1
)) {
7010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7012 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7014 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7018 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= SWIG_Py_Void();
7028 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
= 0;
7030 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7038 char * kwnames
[] = {
7039 (char *) "self",(char *) "data", NULL
7042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7047 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7049 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7053 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_Py_Void();
7063 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7066 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "other", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7083 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7085 if (!SWIG_IsOK(res2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7088 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7090 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7102 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
= 0;
7104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7105 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 char * kwnames
[] = {
7114 (char *) "self",(char *) "other", NULL
7117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7122 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7124 if (!SWIG_IsOK(res2
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7127 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7129 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7141 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7144 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7145 return SWIG_Py_Void();
7148 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 return SWIG_Python_InitShadowInstance(args
);
7152 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
= 0;
7160 wxBitmap
*result
= 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7169 PyObject
* obj2
= 0 ;
7170 PyObject
* obj3
= 0 ;
7171 char * kwnames
[] = {
7172 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7177 if (!SWIG_IsOK(ecode1
)) {
7178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7180 arg1
= static_cast< int >(val1
);
7181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7182 if (!SWIG_IsOK(ecode2
)) {
7183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7185 arg2
= static_cast< int >(val2
);
7187 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7191 if (obj3
!= Py_None
) {
7192 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7197 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7207 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= 0;
7213 wxBitmap
*result
= 0 ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 PyObject
* obj2
= 0 ;
7222 char * kwnames
[] = {
7223 (char *) "width",(char *) "height",(char *) "data", NULL
7226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7227 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7228 if (!SWIG_IsOK(ecode1
)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7231 arg1
= static_cast< int >(val1
);
7232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7233 if (!SWIG_IsOK(ecode2
)) {
7234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7236 arg2
= static_cast< int >(val2
);
7238 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7242 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7252 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7258 wxBitmap
*result
= 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 PyObject
* obj2
= 0 ;
7267 char * kwnames
[] = {
7268 (char *) "width",(char *) "height",(char *) "data", NULL
7271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7272 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7273 if (!SWIG_IsOK(ecode1
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7276 arg1
= static_cast< int >(val1
);
7277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7278 if (!SWIG_IsOK(ecode2
)) {
7279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7281 arg2
= static_cast< int >(val2
);
7283 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7287 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7297 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7298 PyObject
*resultobj
= 0;
7299 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7303 PyObject
*swig_obj
[1] ;
7305 if (!args
) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7311 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7313 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7323 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7324 PyObject
*resultobj
= 0;
7325 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7329 PyObject
*swig_obj
[1] ;
7331 if (!args
) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7337 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7339 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_From_int(static_cast< int >(result
));
7349 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7350 PyObject
*resultobj
= 0;
7351 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7355 PyObject
*swig_obj
[1] ;
7357 if (!args
) SWIG_fail
;
7359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7360 if (!SWIG_IsOK(res1
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7363 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7365 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_From_int(static_cast< int >(result
));
7375 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 PyObject
*resultobj
= 0;
7377 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7381 PyObject
*swig_obj
[1] ;
7383 if (!args
) SWIG_fail
;
7385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7386 if (!SWIG_IsOK(res1
)) {
7387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7389 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7391 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7401 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7402 PyObject
*resultobj
= 0;
7403 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7407 PyObject
*swig_obj
[1] ;
7409 if (!args
) SWIG_fail
;
7411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7412 if (!SWIG_IsOK(res1
)) {
7413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7415 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7417 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_From_int(static_cast< int >(result
));
7427 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7430 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7431 return SWIG_Py_Void();
7434 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7435 PyObject
*resultobj
= 0;
7436 wxBitmap
*arg1
= 0 ;
7437 wxNativePixelData
*result
= 0 ;
7441 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7443 if (!SWIG_IsOK(res1
)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7449 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7451 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7461 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7462 PyObject
*resultobj
= 0;
7463 wxBitmap
*arg1
= 0 ;
7465 wxNativePixelData
*result
= 0 ;
7470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7472 if (!SWIG_IsOK(res1
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7481 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7484 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7494 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7495 PyObject
*resultobj
= 0;
7496 wxBitmap
*arg1
= 0 ;
7499 wxNativePixelData
*result
= 0 ;
7505 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7513 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7516 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7520 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7523 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7533 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7537 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7540 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7543 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7546 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7550 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7555 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7556 PyObject
*resultobj
= 0;
7557 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7560 PyObject
*swig_obj
[1] ;
7562 if (!args
) SWIG_fail
;
7564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7565 if (!SWIG_IsOK(res1
)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7568 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= SWIG_Py_Void();
7581 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7582 PyObject
*resultobj
= 0;
7583 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7584 wxNativePixelData_Accessor result
;
7587 PyObject
*swig_obj
[1] ;
7589 if (!args
) SWIG_fail
;
7591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7592 if (!SWIG_IsOK(res1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7595 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7597 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7607 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7608 PyObject
*resultobj
= 0;
7609 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7612 PyObject
*swig_obj
[1] ;
7614 if (!args
) SWIG_fail
;
7616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7617 if (!SWIG_IsOK(res1
)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7620 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_Py_Void();
7632 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 PyObject
*resultobj
= 0;
7634 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7638 PyObject
*swig_obj
[1] ;
7640 if (!args
) SWIG_fail
;
7642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7643 if (!SWIG_IsOK(res1
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7646 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7648 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7660 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7663 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7664 return SWIG_Py_Void();
7667 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7668 return SWIG_Python_InitShadowInstance(args
);
7671 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7672 PyObject
*resultobj
= 0;
7673 wxNativePixelData
*arg1
= 0 ;
7674 wxNativePixelData_Accessor
*result
= 0 ;
7678 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7686 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7688 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7698 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7699 PyObject
*resultobj
= 0;
7700 wxBitmap
*arg1
= 0 ;
7701 wxNativePixelData
*arg2
= 0 ;
7702 wxNativePixelData_Accessor
*result
= 0 ;
7708 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7716 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7717 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7718 if (!SWIG_IsOK(res2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7724 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7726 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7736 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7737 PyObject
*resultobj
= 0;
7738 wxNativePixelData_Accessor
*result
= 0 ;
7740 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7742 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7752 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7756 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7759 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7762 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7765 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7769 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7774 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7775 PyObject
*resultobj
= 0;
7776 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7779 PyObject
*swig_obj
[1] ;
7781 if (!args
) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7787 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= SWIG_Py_Void();
7800 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7803 wxNativePixelData
*arg2
= 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7810 char * kwnames
[] = {
7811 (char *) "self",(char *) "data", NULL
7814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7816 if (!SWIG_IsOK(res1
)) {
7817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7819 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7821 if (!SWIG_IsOK(res2
)) {
7822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7827 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7829 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_Py_Void();
7839 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 PyObject
*resultobj
= 0;
7841 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7845 PyObject
*swig_obj
[1] ;
7847 if (!args
) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7853 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7855 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7856 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7867 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7868 PyObject
*resultobj
= 0;
7869 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7872 PyObject
*swig_obj
[1] ;
7874 if (!args
) SWIG_fail
;
7876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7877 if (!SWIG_IsOK(res1
)) {
7878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7880 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7882 wxNativePixelData_Accessor_nextPixel(arg1
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_Py_Void();
7892 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
= 0;
7894 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7895 wxNativePixelData
*arg2
= 0 ;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7908 PyObject
* obj2
= 0 ;
7909 PyObject
* obj3
= 0 ;
7910 char * kwnames
[] = {
7911 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7916 if (!SWIG_IsOK(res1
)) {
7917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7919 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7921 if (!SWIG_IsOK(res2
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7927 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7929 if (!SWIG_IsOK(ecode3
)) {
7930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7932 arg3
= static_cast< int >(val3
);
7933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7934 if (!SWIG_IsOK(ecode4
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7937 arg4
= static_cast< int >(val4
);
7939 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_Py_Void();
7949 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
= 0;
7951 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7952 wxNativePixelData
*arg2
= 0 ;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7962 PyObject
* obj2
= 0 ;
7963 char * kwnames
[] = {
7964 (char *) "self",(char *) "data",(char *) "x", NULL
7967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7969 if (!SWIG_IsOK(res1
)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7972 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7974 if (!SWIG_IsOK(res2
)) {
7975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7980 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7982 if (!SWIG_IsOK(ecode3
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7985 arg3
= static_cast< int >(val3
);
7987 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_Py_Void();
7997 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= 0;
7999 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8000 wxNativePixelData
*arg2
= 0 ;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 PyObject
* obj2
= 0 ;
8011 char * kwnames
[] = {
8012 (char *) "self",(char *) "data",(char *) "y", NULL
8015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8020 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8022 if (!SWIG_IsOK(res2
)) {
8023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8028 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8030 if (!SWIG_IsOK(ecode3
)) {
8031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8033 arg3
= static_cast< int >(val3
);
8035 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_Py_Void();
8045 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
= 0;
8047 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8048 wxNativePixelData
*arg2
= 0 ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8062 PyObject
* obj3
= 0 ;
8063 char * kwnames
[] = {
8064 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8069 if (!SWIG_IsOK(res1
)) {
8070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8072 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8074 if (!SWIG_IsOK(res2
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8080 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8082 if (!SWIG_IsOK(ecode3
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8085 arg3
= static_cast< int >(val3
);
8086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8087 if (!SWIG_IsOK(ecode4
)) {
8088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8090 arg4
= static_cast< int >(val4
);
8092 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_Py_Void();
8102 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
= 0;
8104 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8110 unsigned char val2
;
8112 unsigned char val3
;
8114 unsigned char val4
;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 PyObject
* obj3
= 0 ;
8120 char * kwnames
[] = {
8121 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8129 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8130 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8131 if (!SWIG_IsOK(ecode2
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8134 arg2
= static_cast< byte
>(val2
);
8135 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8136 if (!SWIG_IsOK(ecode3
)) {
8137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8139 arg3
= static_cast< byte
>(val3
);
8140 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8141 if (!SWIG_IsOK(ecode4
)) {
8142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8144 arg4
= static_cast< byte
>(val4
);
8146 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_Py_Void();
8156 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8157 PyObject
*resultobj
= 0;
8158 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8159 PyObject
*result
= 0 ;
8162 PyObject
*swig_obj
[1] ;
8164 if (!args
) SWIG_fail
;
8166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8167 if (!SWIG_IsOK(res1
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8170 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8172 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8182 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8185 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8186 return SWIG_Py_Void();
8189 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8190 return SWIG_Python_InitShadowInstance(args
);
8193 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8194 PyObject
*resultobj
= 0;
8195 wxBitmap
*arg1
= 0 ;
8196 wxAlphaPixelData
*result
= 0 ;
8200 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8202 if (!SWIG_IsOK(res1
)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8208 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8210 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8220 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8221 PyObject
*resultobj
= 0;
8222 wxBitmap
*arg1
= 0 ;
8224 wxAlphaPixelData
*result
= 0 ;
8229 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8231 if (!SWIG_IsOK(res1
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8237 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8240 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8243 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8253 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8254 PyObject
*resultobj
= 0;
8255 wxBitmap
*arg1
= 0 ;
8258 wxAlphaPixelData
*result
= 0 ;
8264 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8272 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8275 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8279 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8282 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8292 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8296 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8299 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8302 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8305 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8309 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8314 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8315 PyObject
*resultobj
= 0;
8316 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8319 PyObject
*swig_obj
[1] ;
8321 if (!args
) SWIG_fail
;
8323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8324 if (!SWIG_IsOK(res1
)) {
8325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8327 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= SWIG_Py_Void();
8340 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 PyObject
*resultobj
= 0;
8342 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8343 wxAlphaPixelData_Accessor result
;
8346 PyObject
*swig_obj
[1] ;
8348 if (!args
) SWIG_fail
;
8350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8351 if (!SWIG_IsOK(res1
)) {
8352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8354 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8356 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8366 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8367 PyObject
*resultobj
= 0;
8368 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8371 PyObject
*swig_obj
[1] ;
8373 if (!args
) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8379 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_Py_Void();
8391 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 PyObject
*resultobj
= 0;
8393 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8397 PyObject
*swig_obj
[1] ;
8399 if (!args
) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8405 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8407 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8419 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8422 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8423 return SWIG_Py_Void();
8426 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8427 return SWIG_Python_InitShadowInstance(args
);
8430 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8431 PyObject
*resultobj
= 0;
8432 wxAlphaPixelData
*arg1
= 0 ;
8433 wxAlphaPixelData_Accessor
*result
= 0 ;
8437 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8439 if (!SWIG_IsOK(res1
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8445 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8447 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8457 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8458 PyObject
*resultobj
= 0;
8459 wxBitmap
*arg1
= 0 ;
8460 wxAlphaPixelData
*arg2
= 0 ;
8461 wxAlphaPixelData_Accessor
*result
= 0 ;
8467 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8476 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8477 if (!SWIG_IsOK(res2
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8483 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8485 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8495 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8496 PyObject
*resultobj
= 0;
8497 wxAlphaPixelData_Accessor
*result
= 0 ;
8499 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8501 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8511 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8515 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8518 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8521 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8524 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8528 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8533 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8534 PyObject
*resultobj
= 0;
8535 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8538 PyObject
*swig_obj
[1] ;
8540 if (!args
) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8546 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_Py_Void();
8559 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
= 0;
8561 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8562 wxAlphaPixelData
*arg2
= 0 ;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8569 char * kwnames
[] = {
8570 (char *) "self",(char *) "data", NULL
8573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8578 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8580 if (!SWIG_IsOK(res2
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8586 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8588 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_Py_Void();
8598 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8599 PyObject
*resultobj
= 0;
8600 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8604 PyObject
*swig_obj
[1] ;
8606 if (!args
) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8612 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8614 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8626 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8627 PyObject
*resultobj
= 0;
8628 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8631 PyObject
*swig_obj
[1] ;
8633 if (!args
) SWIG_fail
;
8635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8636 if (!SWIG_IsOK(res1
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8639 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8641 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_Py_Void();
8651 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
= 0;
8653 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8654 wxAlphaPixelData
*arg2
= 0 ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8667 PyObject
* obj2
= 0 ;
8668 PyObject
* obj3
= 0 ;
8669 char * kwnames
[] = {
8670 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8675 if (!SWIG_IsOK(res1
)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8678 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8680 if (!SWIG_IsOK(res2
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8686 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8688 if (!SWIG_IsOK(ecode3
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8691 arg3
= static_cast< int >(val3
);
8692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8693 if (!SWIG_IsOK(ecode4
)) {
8694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8696 arg4
= static_cast< int >(val4
);
8698 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_Py_Void();
8708 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
= 0;
8710 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8711 wxAlphaPixelData
*arg2
= 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "self",(char *) "data",(char *) "x", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8731 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8733 if (!SWIG_IsOK(res2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8739 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8741 if (!SWIG_IsOK(ecode3
)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8744 arg3
= static_cast< int >(val3
);
8746 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8756 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
= 0;
8758 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8759 wxAlphaPixelData
*arg2
= 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8770 char * kwnames
[] = {
8771 (char *) "self",(char *) "data",(char *) "y", NULL
8774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8776 if (!SWIG_IsOK(res1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8779 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8781 if (!SWIG_IsOK(res2
)) {
8782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8787 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8789 if (!SWIG_IsOK(ecode3
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8792 arg3
= static_cast< int >(val3
);
8794 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_Py_Void();
8804 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
= 0;
8806 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8807 wxAlphaPixelData
*arg2
= 0 ;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8820 PyObject
* obj2
= 0 ;
8821 PyObject
* obj3
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8831 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8833 if (!SWIG_IsOK(res2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8839 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8841 if (!SWIG_IsOK(ecode3
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8844 arg3
= static_cast< int >(val3
);
8845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8846 if (!SWIG_IsOK(ecode4
)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8849 arg4
= static_cast< int >(val4
);
8851 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_Py_Void();
8861 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
= 0;
8863 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8870 unsigned char val2
;
8872 unsigned char val3
;
8874 unsigned char val4
;
8876 unsigned char val5
;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 PyObject
* obj2
= 0 ;
8881 PyObject
* obj3
= 0 ;
8882 PyObject
* obj4
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8892 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8893 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8894 if (!SWIG_IsOK(ecode2
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8897 arg2
= static_cast< byte
>(val2
);
8898 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8899 if (!SWIG_IsOK(ecode3
)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8902 arg3
= static_cast< byte
>(val3
);
8903 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8904 if (!SWIG_IsOK(ecode4
)) {
8905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8907 arg4
= static_cast< byte
>(val4
);
8908 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8909 if (!SWIG_IsOK(ecode5
)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8912 arg5
= static_cast< byte
>(val5
);
8914 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= SWIG_Py_Void();
8924 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8925 PyObject
*resultobj
= 0;
8926 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8927 PyObject
*result
= 0 ;
8930 PyObject
*swig_obj
[1] ;
8932 if (!args
) SWIG_fail
;
8934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8935 if (!SWIG_IsOK(res1
)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8938 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8940 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8950 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8953 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8954 return SWIG_Py_Void();
8957 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8958 return SWIG_Python_InitShadowInstance(args
);
8961 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
= 0;
8963 wxBitmap
*arg1
= 0 ;
8964 wxColour
const &arg2_defvalue
= wxNullColour
;
8965 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8966 wxMask
*result
= 0 ;
8970 PyObject
* obj0
= 0 ;
8971 PyObject
* obj1
= 0 ;
8972 char * kwnames
[] = {
8973 (char *) "bitmap",(char *) "colour", NULL
8976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8977 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8978 if (!SWIG_IsOK(res1
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8992 if (!wxPyCheckForApp()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9005 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9006 PyObject
*resultobj
= 0;
9007 wxMask
*arg1
= (wxMask
*) 0 ;
9010 PyObject
*swig_obj
[1] ;
9012 if (!args
) SWIG_fail
;
9014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9015 if (!SWIG_IsOK(res1
)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9018 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_Py_Void();
9031 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9035 return SWIG_Py_Void();
9038 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9039 return SWIG_Python_InitShadowInstance(args
);
9042 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
= 0;
9044 wxString
*arg1
= 0 ;
9046 int arg3
= (int) -1 ;
9047 int arg4
= (int) -1 ;
9048 wxIcon
*result
= 0 ;
9049 bool temp1
= false ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 PyObject
* obj2
= 0 ;
9059 PyObject
* obj3
= 0 ;
9060 char * kwnames
[] = {
9061 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9066 arg1
= wxString_in_helper(obj0
);
9067 if (arg1
== NULL
) SWIG_fail
;
9070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9071 if (!SWIG_IsOK(ecode2
)) {
9072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9074 arg2
= static_cast< wxBitmapType
>(val2
);
9076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9077 if (!SWIG_IsOK(ecode3
)) {
9078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9080 arg3
= static_cast< int >(val3
);
9083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9084 if (!SWIG_IsOK(ecode4
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9087 arg4
= static_cast< int >(val4
);
9090 if (!wxPyCheckForApp()) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9111 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9112 PyObject
*resultobj
= 0;
9113 wxIcon
*arg1
= (wxIcon
*) 0 ;
9116 PyObject
*swig_obj
[1] ;
9118 if (!args
) SWIG_fail
;
9120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9121 if (!SWIG_IsOK(res1
)) {
9122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9124 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= SWIG_Py_Void();
9139 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9140 PyObject
*resultobj
= 0;
9141 wxIcon
*result
= 0 ;
9143 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9145 if (!wxPyCheckForApp()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxIcon
*)new wxIcon();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9158 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxIconLocation
*arg1
= 0 ;
9161 wxIcon
*result
= 0 ;
9164 PyObject
* obj0
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "loc", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9177 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9179 if (!wxPyCheckForApp()) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9192 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
= 0;
9194 wxBitmap
*arg1
= 0 ;
9195 wxIcon
*result
= 0 ;
9198 PyObject
* obj0
= 0 ;
9199 char * kwnames
[] = {
9200 (char *) "bmp", NULL
9203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9204 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9205 if (!SWIG_IsOK(res1
)) {
9206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9213 if (!wxPyCheckForApp()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9226 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
= 0;
9228 PyObject
*arg1
= (PyObject
*) 0 ;
9229 wxIcon
*result
= 0 ;
9230 PyObject
* obj0
= 0 ;
9231 char * kwnames
[] = {
9232 (char *) "listOfStrings", NULL
9235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9238 if (!wxPyCheckForApp()) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (wxIcon
*)new_wxIcon(arg1
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9251 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
= 0;
9253 wxIcon
*arg1
= (wxIcon
*) 0 ;
9254 wxString
*arg2
= 0 ;
9259 bool temp2
= false ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj2
= 0 ;
9265 char * kwnames
[] = {
9266 (char *) "self",(char *) "name",(char *) "type", NULL
9269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9271 if (!SWIG_IsOK(res1
)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9274 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9276 arg2
= wxString_in_helper(obj1
);
9277 if (arg2
== NULL
) SWIG_fail
;
9280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9281 if (!SWIG_IsOK(ecode3
)) {
9282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9284 arg3
= static_cast< wxBitmapType
>(val3
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9308 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9309 PyObject
*resultobj
= 0;
9310 wxIcon
*arg1
= (wxIcon
*) 0 ;
9314 PyObject
*swig_obj
[1] ;
9316 if (!args
) SWIG_fail
;
9318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9319 if (!SWIG_IsOK(res1
)) {
9320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9322 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (bool)(arg1
)->IsOk();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9338 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 PyObject
*resultobj
= 0;
9340 wxIcon
*arg1
= (wxIcon
*) 0 ;
9344 PyObject
*swig_obj
[1] ;
9346 if (!args
) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9352 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (int)(arg1
)->GetWidth();
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_From_int(static_cast< int >(result
));
9366 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxIcon
*arg1
= (wxIcon
*) 0 ;
9372 PyObject
*swig_obj
[1] ;
9374 if (!args
) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9380 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (int)(arg1
)->GetHeight();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_From_int(static_cast< int >(result
));
9394 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9395 PyObject
*resultobj
= 0;
9396 wxIcon
*arg1
= (wxIcon
*) 0 ;
9400 PyObject
*swig_obj
[1] ;
9402 if (!args
) SWIG_fail
;
9404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9405 if (!SWIG_IsOK(res1
)) {
9406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9408 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (int)(arg1
)->GetDepth();
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_From_int(static_cast< int >(result
));
9422 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= 0;
9424 wxIcon
*arg1
= (wxIcon
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 char * kwnames
[] = {
9433 (char *) "self",(char *) "w", NULL
9436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9438 if (!SWIG_IsOK(res1
)) {
9439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9441 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9443 if (!SWIG_IsOK(ecode2
)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9446 arg2
= static_cast< int >(val2
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->SetWidth(arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_Py_Void();
9460 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= 0;
9462 wxIcon
*arg1
= (wxIcon
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 char * kwnames
[] = {
9471 (char *) "self",(char *) "h", NULL
9474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9479 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9481 if (!SWIG_IsOK(ecode2
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9484 arg2
= static_cast< int >(val2
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->SetHeight(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_Py_Void();
9498 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxIcon
*arg1
= (wxIcon
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "self",(char *) "d", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9517 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9519 if (!SWIG_IsOK(ecode2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9522 arg2
= static_cast< int >(val2
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 (arg1
)->SetDepth(arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_Py_Void();
9536 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= 0;
9538 wxIcon
*arg1
= (wxIcon
*) 0 ;
9539 wxBitmap
*arg2
= 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 char * kwnames
[] = {
9547 (char *) "self",(char *) "bmp", NULL
9550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9552 if (!SWIG_IsOK(res1
)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9555 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9557 if (!SWIG_IsOK(res2
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9563 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_Py_Void();
9577 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9580 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9581 return SWIG_Py_Void();
9584 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9585 return SWIG_Python_InitShadowInstance(args
);
9588 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
= 0;
9590 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9591 int arg2
= (int) 0 ;
9592 wxIconLocation
*result
= 0 ;
9593 bool temp1
= false ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 char * kwnames
[] = {
9599 (char *) "filename",(char *) "num", NULL
9602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9605 arg1
= wxString_in_helper(obj0
);
9606 if (arg1
== NULL
) SWIG_fail
;
9611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9612 if (!SWIG_IsOK(ecode2
)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9615 arg2
= static_cast< int >(val2
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9638 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9639 PyObject
*resultobj
= 0;
9640 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9643 PyObject
*swig_obj
[1] ;
9645 if (!args
) SWIG_fail
;
9647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9648 if (!SWIG_IsOK(res1
)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9651 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9672 PyObject
*swig_obj
[1] ;
9674 if (!args
) SWIG_fail
;
9676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9677 if (!SWIG_IsOK(res1
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9680 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9696 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= 0;
9698 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9699 wxString
*arg2
= 0 ;
9702 bool temp2
= false ;
9703 PyObject
* obj0
= 0 ;
9704 PyObject
* obj1
= 0 ;
9705 char * kwnames
[] = {
9706 (char *) "self",(char *) "filename", NULL
9709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9711 if (!SWIG_IsOK(res1
)) {
9712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9714 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9716 arg2
= wxString_in_helper(obj1
);
9717 if (arg2
== NULL
) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 (arg1
)->SetFileName((wxString
const &)*arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_Py_Void();
9741 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9742 PyObject
*resultobj
= 0;
9743 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9744 wxString
*result
= 0 ;
9747 PyObject
*swig_obj
[1] ;
9749 if (!args
) SWIG_fail
;
9751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9752 if (!SWIG_IsOK(res1
)) {
9753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9755 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9760 result
= (wxString
*) &_result_ref
;
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9778 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
= 0;
9780 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "num", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9797 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9799 if (!SWIG_IsOK(ecode2
)) {
9800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9802 arg2
= static_cast< int >(val2
);
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 wxIconLocation_SetIndex(arg1
,arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_Py_Void();
9816 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9817 PyObject
*resultobj
= 0;
9818 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9822 PyObject
*swig_obj
[1] ;
9824 if (!args
) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9830 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)wxIconLocation_GetIndex(arg1
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_From_int(static_cast< int >(result
));
9844 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9847 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9848 return SWIG_Py_Void();
9851 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9852 return SWIG_Python_InitShadowInstance(args
);
9855 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9856 PyObject
*resultobj
= 0;
9857 wxIconBundle
*result
= 0 ;
9859 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxIconBundle
*)new wxIconBundle();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9873 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxString
*arg1
= 0 ;
9877 wxIconBundle
*result
= 0 ;
9878 bool temp1
= false ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 char * kwnames
[] = {
9884 (char *) "file",(char *) "type", NULL
9887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9889 arg1
= wxString_in_helper(obj0
);
9890 if (arg1
== NULL
) SWIG_fail
;
9893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9894 if (!SWIG_IsOK(ecode2
)) {
9895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9897 arg2
= static_cast< long >(val2
);
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9919 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
= 0;
9922 wxIconBundle
*result
= 0 ;
9925 PyObject
* obj0
= 0 ;
9926 char * kwnames
[] = {
9927 (char *) "icon", NULL
9930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9938 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9952 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9953 PyObject
*resultobj
= 0;
9954 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9957 PyObject
*swig_obj
[1] ;
9959 if (!args
) SWIG_fail
;
9961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9962 if (!SWIG_IsOK(res1
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9965 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_Py_Void();
9980 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
= 0;
9982 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "self",(char *) "icon", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9999 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10001 if (!SWIG_IsOK(res2
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10007 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_Py_Void();
10021 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
= 0;
10023 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10024 wxString
*arg2
= 0 ;
10028 bool temp2
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 char * kwnames
[] = {
10035 (char *) "self",(char *) "file",(char *) "type", NULL
10038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10040 if (!SWIG_IsOK(res1
)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10043 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10045 arg2
= wxString_in_helper(obj1
);
10046 if (arg2
== NULL
) SWIG_fail
;
10049 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10050 if (!SWIG_IsOK(ecode3
)) {
10051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10053 arg3
= static_cast< long >(val3
);
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_Py_Void();
10075 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10079 wxIcon
*result
= 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "self",(char *) "size", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10094 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10103 result
= (wxIcon
*) &_result_ref
;
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10109 wxIcon
* resultptr
= new wxIcon(*result
);
10110 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10118 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10121 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10122 return SWIG_Py_Void();
10125 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10126 return SWIG_Python_InitShadowInstance(args
);
10129 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10131 wxString
*arg1
= 0 ;
10133 int arg3
= (int) 0 ;
10134 int arg4
= (int) 0 ;
10135 wxCursor
*result
= 0 ;
10136 bool temp1
= false ;
10143 PyObject
* obj0
= 0 ;
10144 PyObject
* obj1
= 0 ;
10145 PyObject
* obj2
= 0 ;
10146 PyObject
* obj3
= 0 ;
10147 char * kwnames
[] = {
10148 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10153 arg1
= wxString_in_helper(obj0
);
10154 if (arg1
== NULL
) SWIG_fail
;
10157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10158 if (!SWIG_IsOK(ecode2
)) {
10159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10161 arg2
= static_cast< long >(val2
);
10163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10164 if (!SWIG_IsOK(ecode3
)) {
10165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10167 arg3
= static_cast< int >(val3
);
10170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10171 if (!SWIG_IsOK(ecode4
)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10174 arg4
= static_cast< int >(val4
);
10177 if (!wxPyCheckForApp()) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10198 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10199 PyObject
*resultobj
= 0;
10200 wxCursor
*arg1
= (wxCursor
*) 0 ;
10203 PyObject
*swig_obj
[1] ;
10205 if (!args
) SWIG_fail
;
10206 swig_obj
[0] = args
;
10207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10208 if (!SWIG_IsOK(res1
)) {
10209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10211 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_Py_Void();
10226 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
= 0;
10229 wxCursor
*result
= 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char * kwnames
[] = {
10234 (char *) "id", NULL
10237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10238 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10239 if (!SWIG_IsOK(ecode1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10242 arg1
= static_cast< int >(val1
);
10244 if (!wxPyCheckForApp()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (wxCursor
*)new wxCursor(arg1
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10257 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
= 0;
10259 wxImage
*arg1
= 0 ;
10260 wxCursor
*result
= 0 ;
10263 PyObject
* obj0
= 0 ;
10264 char * kwnames
[] = {
10265 (char *) "image", NULL
10268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10269 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10276 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10278 if (!wxPyCheckForApp()) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10291 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10292 PyObject
*resultobj
= 0;
10293 wxCursor
*arg1
= (wxCursor
*) 0 ;
10297 PyObject
*swig_obj
[1] ;
10299 if (!args
) SWIG_fail
;
10300 swig_obj
[0] = args
;
10301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10302 if (!SWIG_IsOK(res1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10305 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (bool)(arg1
)->IsOk();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10321 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10324 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10325 return SWIG_Py_Void();
10328 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10329 return SWIG_Python_InitShadowInstance(args
);
10332 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 int arg1
= (int) 0 ;
10335 int arg2
= (int) 0 ;
10336 int arg3
= (int) 0 ;
10337 int arg4
= (int) 0 ;
10338 wxRegion
*result
= 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 PyObject
* obj2
= 0 ;
10350 PyObject
* obj3
= 0 ;
10351 char * kwnames
[] = {
10352 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10358 if (!SWIG_IsOK(ecode1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10361 arg1
= static_cast< int >(val1
);
10364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10365 if (!SWIG_IsOK(ecode2
)) {
10366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10368 arg2
= static_cast< int >(val2
);
10371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10372 if (!SWIG_IsOK(ecode3
)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10375 arg3
= static_cast< int >(val3
);
10378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10379 if (!SWIG_IsOK(ecode4
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10382 arg4
= static_cast< int >(val4
);
10385 if (!wxPyCheckForApp()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10398 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
= 0;
10400 wxBitmap
*arg1
= 0 ;
10401 wxRegion
*result
= 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "bmp", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10410 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10411 if (!SWIG_IsOK(res1
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10417 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10419 if (!wxPyCheckForApp()) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10432 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= 0;
10434 wxBitmap
*arg1
= 0 ;
10435 wxColour
*arg2
= 0 ;
10436 int arg3
= (int) 0 ;
10437 wxRegion
*result
= 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 char * kwnames
[] = {
10447 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10451 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10452 if (!SWIG_IsOK(res1
)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10458 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10465 if (!SWIG_IsOK(ecode3
)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10468 arg3
= static_cast< int >(val3
);
10471 if (!wxPyCheckForApp()) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10484 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10487 wxPoint
*arg2
= (wxPoint
*) 0 ;
10488 int arg3
= (int) wxWINDING_RULE
;
10489 wxRegion
*result
= 0 ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 char * kwnames
[] = {
10495 (char *) "points",(char *) "fillStyle", NULL
10498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10500 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10501 if (arg2
== NULL
) SWIG_fail
;
10504 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10505 if (!SWIG_IsOK(ecode3
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10508 arg3
= static_cast< int >(val3
);
10511 if (!wxPyCheckForApp()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10519 if (arg2
) delete [] arg2
;
10524 if (arg2
) delete [] arg2
;
10530 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10531 PyObject
*resultobj
= 0;
10532 wxRegion
*arg1
= (wxRegion
*) 0 ;
10535 PyObject
*swig_obj
[1] ;
10537 if (!args
) SWIG_fail
;
10538 swig_obj
[0] = args
;
10539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10540 if (!SWIG_IsOK(res1
)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10543 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_Py_Void();
10558 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10559 PyObject
*resultobj
= 0;
10560 wxRegion
*arg1
= (wxRegion
*) 0 ;
10563 PyObject
*swig_obj
[1] ;
10565 if (!args
) SWIG_fail
;
10566 swig_obj
[0] = args
;
10567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= SWIG_Py_Void();
10585 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
= 0;
10587 wxRegion
*arg1
= (wxRegion
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 PyObject
* obj2
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "x",(char *) "y", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10609 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10611 if (!SWIG_IsOK(ecode2
)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10614 arg2
= static_cast< int >(val2
);
10615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10616 if (!SWIG_IsOK(ecode3
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10619 arg3
= static_cast< int >(val3
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10635 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
= 0;
10637 wxRegion
*arg1
= (wxRegion
*) 0 ;
10640 wxRegionContain result
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 PyObject
* obj2
= 0 ;
10650 char * kwnames
[] = {
10651 (char *) "self",(char *) "x",(char *) "y", NULL
10654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10656 if (!SWIG_IsOK(res1
)) {
10657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10659 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10661 if (!SWIG_IsOK(ecode2
)) {
10662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10664 arg2
= static_cast< int >(val2
);
10665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10666 if (!SWIG_IsOK(ecode3
)) {
10667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10669 arg3
= static_cast< int >(val3
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_From_int(static_cast< int >(result
));
10683 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 wxRegion
*arg1
= (wxRegion
*) 0 ;
10686 wxPoint
*arg2
= 0 ;
10687 wxRegionContain result
;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "self",(char *) "pt", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10702 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_From_int(static_cast< int >(result
));
10720 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10722 wxRegion
*arg1
= (wxRegion
*) 0 ;
10724 wxRegionContain result
;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "self",(char *) "rect", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10736 if (!SWIG_IsOK(res1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10739 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10742 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_From_int(static_cast< int >(result
));
10757 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
= 0;
10759 wxRegion
*arg1
= (wxRegion
*) 0 ;
10764 wxRegionContain result
;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 PyObject
* obj2
= 0 ;
10778 PyObject
* obj3
= 0 ;
10779 PyObject
* obj4
= 0 ;
10780 char * kwnames
[] = {
10781 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10789 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10791 if (!SWIG_IsOK(ecode2
)) {
10792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10794 arg2
= static_cast< int >(val2
);
10795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10796 if (!SWIG_IsOK(ecode3
)) {
10797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10799 arg3
= static_cast< int >(val3
);
10800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10801 if (!SWIG_IsOK(ecode4
)) {
10802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10804 arg4
= static_cast< int >(val4
);
10805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10806 if (!SWIG_IsOK(ecode5
)) {
10807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10809 arg5
= static_cast< int >(val5
);
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_From_int(static_cast< int >(result
));
10823 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10824 PyObject
*resultobj
= 0;
10825 wxRegion
*arg1
= (wxRegion
*) 0 ;
10829 PyObject
*swig_obj
[1] ;
10831 if (!args
) SWIG_fail
;
10832 swig_obj
[0] = args
;
10833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10834 if (!SWIG_IsOK(res1
)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10837 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (arg1
)->GetBox();
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10851 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
= 0;
10853 wxRegion
*arg1
= (wxRegion
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 PyObject
* obj3
= 0 ;
10873 PyObject
* obj4
= 0 ;
10874 char * kwnames
[] = {
10875 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10883 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10885 if (!SWIG_IsOK(ecode2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10888 arg2
= static_cast< int >(val2
);
10889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10890 if (!SWIG_IsOK(ecode3
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10893 arg3
= static_cast< int >(val3
);
10894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10895 if (!SWIG_IsOK(ecode4
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10898 arg4
= static_cast< int >(val4
);
10899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10900 if (!SWIG_IsOK(ecode5
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10903 arg5
= static_cast< int >(val5
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10919 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
= 0;
10921 wxRegion
*arg1
= (wxRegion
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char * kwnames
[] = {
10930 (char *) "self",(char *) "rect", NULL
10933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10935 if (!SWIG_IsOK(res1
)) {
10936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10938 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10941 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
= 0;
10960 wxRegion
*arg1
= (wxRegion
*) 0 ;
10961 wxRegion
*arg2
= 0 ;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 char * kwnames
[] = {
10970 (char *) "self",(char *) "region", NULL
10973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10978 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10980 if (!SWIG_IsOK(res2
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10986 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11002 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11003 PyObject
*resultobj
= 0;
11004 wxRegion
*arg1
= (wxRegion
*) 0 ;
11008 PyObject
*swig_obj
[1] ;
11010 if (!args
) SWIG_fail
;
11011 swig_obj
[0] = args
;
11012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11013 if (!SWIG_IsOK(res1
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11016 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)(arg1
)->IsEmpty();
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11032 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= 0;
11034 wxRegion
*arg1
= (wxRegion
*) 0 ;
11035 wxRegion
*arg2
= 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char * kwnames
[] = {
11044 (char *) "self",(char *) "region", NULL
11047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11052 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11054 if (!SWIG_IsOK(res2
)) {
11055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11060 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
= 0;
11078 wxRegion
*arg1
= (wxRegion
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 PyObject
* obj3
= 0 ;
11098 PyObject
* obj4
= 0 ;
11099 char * kwnames
[] = {
11100 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11105 if (!SWIG_IsOK(res1
)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11108 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11110 if (!SWIG_IsOK(ecode2
)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11113 arg2
= static_cast< int >(val2
);
11114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11115 if (!SWIG_IsOK(ecode3
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11118 arg3
= static_cast< int >(val3
);
11119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11120 if (!SWIG_IsOK(ecode4
)) {
11121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11123 arg4
= static_cast< int >(val4
);
11124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11125 if (!SWIG_IsOK(ecode5
)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11128 arg5
= static_cast< int >(val5
);
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
= 0;
11146 wxRegion
*arg1
= (wxRegion
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "rect", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11163 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11166 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11183 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
= 0;
11185 wxRegion
*arg1
= (wxRegion
*) 0 ;
11186 wxRegion
*arg2
= 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char * kwnames
[] = {
11195 (char *) "self",(char *) "region", NULL
11198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11203 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11205 if (!SWIG_IsOK(res2
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11211 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11227 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
= 0;
11229 wxRegion
*arg1
= (wxRegion
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 PyObject
* obj4
= 0 ;
11250 char * kwnames
[] = {
11251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11259 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11261 if (!SWIG_IsOK(ecode2
)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11264 arg2
= static_cast< int >(val2
);
11265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11266 if (!SWIG_IsOK(ecode3
)) {
11267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11269 arg3
= static_cast< int >(val3
);
11270 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11271 if (!SWIG_IsOK(ecode4
)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11274 arg4
= static_cast< int >(val4
);
11275 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11276 if (!SWIG_IsOK(ecode5
)) {
11277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11279 arg5
= static_cast< int >(val5
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11295 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
= 0;
11297 wxRegion
*arg1
= (wxRegion
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 char * kwnames
[] = {
11306 (char *) "self",(char *) "rect", NULL
11309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11311 if (!SWIG_IsOK(res1
)) {
11312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11314 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11317 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11334 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
= 0;
11336 wxRegion
*arg1
= (wxRegion
*) 0 ;
11337 wxRegion
*arg2
= 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 char * kwnames
[] = {
11346 (char *) "self",(char *) "region", NULL
11349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11351 if (!SWIG_IsOK(res1
)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11354 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11356 if (!SWIG_IsOK(res2
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11362 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11378 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
= 0;
11380 wxRegion
*arg1
= (wxRegion
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 PyObject
* obj3
= 0 ;
11400 PyObject
* obj4
= 0 ;
11401 char * kwnames
[] = {
11402 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11407 if (!SWIG_IsOK(res1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11410 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11412 if (!SWIG_IsOK(ecode2
)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11415 arg2
= static_cast< int >(val2
);
11416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11417 if (!SWIG_IsOK(ecode3
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11420 arg3
= static_cast< int >(val3
);
11421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11422 if (!SWIG_IsOK(ecode4
)) {
11423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11425 arg4
= static_cast< int >(val4
);
11426 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11427 if (!SWIG_IsOK(ecode5
)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11430 arg5
= static_cast< int >(val5
);
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= 0;
11448 wxRegion
*arg1
= (wxRegion
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char * kwnames
[] = {
11457 (char *) "self",(char *) "rect", NULL
11460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11462 if (!SWIG_IsOK(res1
)) {
11463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11465 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11485 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
= 0;
11487 wxRegion
*arg1
= (wxRegion
*) 0 ;
11488 wxRegion
*arg2
= 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char * kwnames
[] = {
11497 (char *) "self",(char *) "region", NULL
11500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11507 if (!SWIG_IsOK(res2
)) {
11508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11513 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11529 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxRegion
*arg1
= (wxRegion
*) 0 ;
11532 SwigValueWrapper
<wxBitmap
> result
;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11543 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (arg1
)->ConvertToBitmap();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11557 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegion
*arg1
= (wxRegion
*) 0 ;
11560 wxBitmap
*arg2
= 0 ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "self",(char *) "bmp", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11577 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11579 if (!SWIG_IsOK(res2
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11585 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11601 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxRegion
*arg1
= (wxRegion
*) 0 ;
11604 wxBitmap
*arg2
= 0 ;
11605 wxColour
*arg3
= 0 ;
11606 int arg4
= (int) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 PyObject
* obj2
= 0 ;
11618 PyObject
* obj3
= 0 ;
11619 char * kwnames
[] = {
11620 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11625 if (!SWIG_IsOK(res1
)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11628 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11630 if (!SWIG_IsOK(res2
)) {
11631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11636 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11643 if (!SWIG_IsOK(ecode4
)) {
11644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11646 arg4
= static_cast< int >(val4
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11663 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11666 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11667 return SWIG_Py_Void();
11670 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 return SWIG_Python_InitShadowInstance(args
);
11674 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
= 0;
11676 wxRegion
*arg1
= 0 ;
11677 wxRegionIterator
*result
= 0 ;
11680 PyObject
* obj0
= 0 ;
11681 char * kwnames
[] = {
11682 (char *) "region", NULL
11685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11686 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11687 if (!SWIG_IsOK(res1
)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11693 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11695 if (!wxPyCheckForApp()) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11708 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 PyObject
*resultobj
= 0;
11710 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11713 PyObject
*swig_obj
[1] ;
11715 if (!args
) SWIG_fail
;
11716 swig_obj
[0] = args
;
11717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11721 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_Py_Void();
11736 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11737 PyObject
*resultobj
= 0;
11738 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11742 PyObject
*swig_obj
[1] ;
11744 if (!args
) SWIG_fail
;
11745 swig_obj
[0] = args
;
11746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11747 if (!SWIG_IsOK(res1
)) {
11748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11750 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (int)(arg1
)->GetX();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_int(static_cast< int >(result
));
11764 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 PyObject
*resultobj
= 0;
11766 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11770 PyObject
*swig_obj
[1] ;
11772 if (!args
) SWIG_fail
;
11773 swig_obj
[0] = args
;
11774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11778 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (int)(arg1
)->GetY();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_From_int(static_cast< int >(result
));
11792 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11806 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (int)(arg1
)->GetW();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11826 PyObject
*swig_obj
[1] ;
11828 if (!args
) SWIG_fail
;
11829 swig_obj
[0] = args
;
11830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11834 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (int)(arg1
)->GetWidth();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_From_int(static_cast< int >(result
));
11848 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11862 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (int)(arg1
)->GetH();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_From_int(static_cast< int >(result
));
11876 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11877 PyObject
*resultobj
= 0;
11878 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11882 PyObject
*swig_obj
[1] ;
11884 if (!args
) SWIG_fail
;
11885 swig_obj
[0] = args
;
11886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11887 if (!SWIG_IsOK(res1
)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11890 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (int)(arg1
)->GetHeight();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_From_int(static_cast< int >(result
));
11904 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11905 PyObject
*resultobj
= 0;
11906 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11910 PyObject
*swig_obj
[1] ;
11912 if (!args
) SWIG_fail
;
11913 swig_obj
[0] = args
;
11914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11915 if (!SWIG_IsOK(res1
)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11918 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (arg1
)->GetRect();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11932 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11933 PyObject
*resultobj
= 0;
11934 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11938 PyObject
*swig_obj
[1] ;
11940 if (!args
) SWIG_fail
;
11941 swig_obj
[0] = args
;
11942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11946 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (bool)(arg1
)->HaveRects();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11962 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11963 PyObject
*resultobj
= 0;
11964 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11967 PyObject
*swig_obj
[1] ;
11969 if (!args
) SWIG_fail
;
11970 swig_obj
[0] = args
;
11971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11975 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_Py_Void();
11989 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11990 PyObject
*resultobj
= 0;
11991 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11994 PyObject
*swig_obj
[1] ;
11996 if (!args
) SWIG_fail
;
11997 swig_obj
[0] = args
;
11998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11999 if (!SWIG_IsOK(res1
)) {
12000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12002 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 wxRegionIterator_Next(arg1
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= SWIG_Py_Void();
12016 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12017 PyObject
*resultobj
= 0;
12018 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12022 PyObject
*swig_obj
[1] ;
12024 if (!args
) SWIG_fail
;
12025 swig_obj
[0] = args
;
12026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12027 if (!SWIG_IsOK(res1
)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12030 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12046 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12049 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12050 return SWIG_Py_Void();
12053 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12054 return SWIG_Python_InitShadowInstance(args
);
12057 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12058 PyObject
*resultobj
= 0;
12059 wxNativeFontInfo
*result
= 0 ;
12061 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12075 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12076 PyObject
*resultobj
= 0;
12077 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12080 PyObject
*swig_obj
[1] ;
12082 if (!args
) SWIG_fail
;
12083 swig_obj
[0] = args
;
12084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12088 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_Py_Void();
12103 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12116 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_Py_Void();
12130 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "font", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12149 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12151 if (!SWIG_IsOK(res2
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12157 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12171 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12177 PyObject
*swig_obj
[1] ;
12179 if (!args
) SWIG_fail
;
12180 swig_obj
[0] = args
;
12181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12185 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_int(static_cast< int >(result
));
12199 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12202 wxFontStyle result
;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12213 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_From_int(static_cast< int >(result
));
12227 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12228 PyObject
*resultobj
= 0;
12229 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12230 wxFontWeight result
;
12233 PyObject
*swig_obj
[1] ;
12235 if (!args
) SWIG_fail
;
12236 swig_obj
[0] = args
;
12237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12238 if (!SWIG_IsOK(res1
)) {
12239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12241 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_From_int(static_cast< int >(result
));
12255 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 PyObject
*resultobj
= 0;
12257 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12261 PyObject
*swig_obj
[1] ;
12263 if (!args
) SWIG_fail
;
12264 swig_obj
[0] = args
;
12265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12266 if (!SWIG_IsOK(res1
)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12269 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12286 PyObject
*resultobj
= 0;
12287 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12291 PyObject
*swig_obj
[1] ;
12293 if (!args
) SWIG_fail
;
12294 swig_obj
[0] = args
;
12295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12296 if (!SWIG_IsOK(res1
)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12299 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12319 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 PyObject
*resultobj
= 0;
12321 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12322 wxFontFamily result
;
12325 PyObject
*swig_obj
[1] ;
12327 if (!args
) SWIG_fail
;
12328 swig_obj
[0] = args
;
12329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12333 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_From_int(static_cast< int >(result
));
12347 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 PyObject
*resultobj
= 0;
12349 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12350 wxFontEncoding result
;
12353 PyObject
*swig_obj
[1] ;
12355 if (!args
) SWIG_fail
;
12356 swig_obj
[0] = args
;
12357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12358 if (!SWIG_IsOK(res1
)) {
12359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12361 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_From_int(static_cast< int >(result
));
12375 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
= 0;
12377 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "pointsize", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12394 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12399 arg2
= static_cast< int >(val2
);
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetPointSize(arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_Py_Void();
12413 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char * kwnames
[] = {
12424 (char *) "self",(char *) "style", NULL
12427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12432 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12434 if (!SWIG_IsOK(ecode2
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12437 arg2
= static_cast< wxFontStyle
>(val2
);
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetStyle(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_Py_Void();
12451 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= 0;
12453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12454 wxFontWeight arg2
;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "weight", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12470 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12475 arg2
= static_cast< wxFontWeight
>(val2
);
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetWeight(arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_Py_Void();
12489 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
= 0;
12491 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char * kwnames
[] = {
12500 (char *) "self",(char *) "underlined", NULL
12503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12508 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12509 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12510 if (!SWIG_IsOK(ecode2
)) {
12511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12513 arg2
= static_cast< bool >(val2
);
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetUnderlined(arg2
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= SWIG_Py_Void();
12527 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
= 0;
12529 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 char * kwnames
[] = {
12537 (char *) "self",(char *) "facename", NULL
12540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12542 if (!SWIG_IsOK(res1
)) {
12543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12545 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12547 wxString
* sptr
= wxString_in_helper(obj1
);
12548 if (sptr
== NULL
) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= (bool)(arg1
)->SetFaceName(arg2
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
= 0;
12569 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12570 wxFontFamily arg2
;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "self",(char *) "family", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12586 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12588 if (!SWIG_IsOK(ecode2
)) {
12589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12591 arg2
= static_cast< wxFontFamily
>(val2
);
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetFamily(arg2
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= SWIG_Py_Void();
12605 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
= 0;
12607 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12608 wxFontEncoding arg2
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 char * kwnames
[] = {
12616 (char *) "self",(char *) "encoding", NULL
12619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12624 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12626 if (!SWIG_IsOK(ecode2
)) {
12627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12629 arg2
= static_cast< wxFontEncoding
>(val2
);
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 (arg1
)->SetEncoding(arg2
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_Py_Void();
12643 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
= 0;
12645 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12646 wxString
*arg2
= 0 ;
12650 bool temp2
= false ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char * kwnames
[] = {
12654 (char *) "self",(char *) "s", NULL
12657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12659 if (!SWIG_IsOK(res1
)) {
12660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12662 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12664 arg2
= wxString_in_helper(obj1
);
12665 if (arg2
== NULL
) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12691 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12692 PyObject
*resultobj
= 0;
12693 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12697 PyObject
*swig_obj
[1] ;
12699 if (!args
) SWIG_fail
;
12700 swig_obj
[0] = args
;
12701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12702 if (!SWIG_IsOK(res1
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12705 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12725 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 PyObject
*resultobj
= 0;
12727 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12731 PyObject
*swig_obj
[1] ;
12733 if (!args
) SWIG_fail
;
12734 swig_obj
[0] = args
;
12735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12739 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= wxNativeFontInfo___str__(arg1
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12759 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12762 wxString
*arg2
= 0 ;
12766 bool temp2
= false ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 char * kwnames
[] = {
12770 (char *) "self",(char *) "s", NULL
12773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12775 if (!SWIG_IsOK(res1
)) {
12776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12778 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12780 arg2
= wxString_in_helper(obj1
);
12781 if (arg2
== NULL
) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12807 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12808 PyObject
*resultobj
= 0;
12809 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12813 PyObject
*swig_obj
[1] ;
12815 if (!args
) SWIG_fail
;
12816 swig_obj
[0] = args
;
12817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12818 if (!SWIG_IsOK(res1
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12821 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12841 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12844 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12845 return SWIG_Py_Void();
12848 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12849 return SWIG_Python_InitShadowInstance(args
);
12852 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12853 PyObject
*resultobj
= 0;
12854 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12855 wxString
*arg2
= (wxString
*) 0 ;
12858 bool temp2
= false ;
12859 PyObject
*swig_obj
[2] ;
12861 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12866 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12868 arg2
= wxString_in_helper(swig_obj
[1]);
12869 if (arg2
== NULL
) SWIG_fail
;
12872 if (arg1
) (arg1
)->facename
= *arg2
;
12874 resultobj
= SWIG_Py_Void();
12889 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12890 PyObject
*resultobj
= 0;
12891 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12892 wxString
*result
= 0 ;
12895 PyObject
*swig_obj
[1] ;
12897 if (!args
) SWIG_fail
;
12898 swig_obj
[0] = args
;
12899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12903 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12904 result
= (wxString
*)& ((arg1
)->facename
);
12907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12918 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 PyObject
*resultobj
= 0;
12920 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12921 wxFontEncoding arg2
;
12926 PyObject
*swig_obj
[2] ;
12928 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12933 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12934 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12935 if (!SWIG_IsOK(ecode2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12938 arg2
= static_cast< wxFontEncoding
>(val2
);
12939 if (arg1
) (arg1
)->encoding
= arg2
;
12941 resultobj
= SWIG_Py_Void();
12948 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12949 PyObject
*resultobj
= 0;
12950 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12951 wxFontEncoding result
;
12954 PyObject
*swig_obj
[1] ;
12956 if (!args
) SWIG_fail
;
12957 swig_obj
[0] = args
;
12958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12962 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12963 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12964 resultobj
= SWIG_From_int(static_cast< int >(result
));
12971 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 PyObject
*resultobj
= 0;
12973 wxNativeEncodingInfo
*result
= 0 ;
12975 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12989 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12990 PyObject
*resultobj
= 0;
12991 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12994 PyObject
*swig_obj
[1] ;
12996 if (!args
) SWIG_fail
;
12997 swig_obj
[0] = args
;
12998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12999 if (!SWIG_IsOK(res1
)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13002 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= SWIG_Py_Void();
13017 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
= 0;
13019 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13020 wxString
*arg2
= 0 ;
13024 bool temp2
= false ;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 char * kwnames
[] = {
13028 (char *) "self",(char *) "s", NULL
13031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13033 if (!SWIG_IsOK(res1
)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13036 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13038 arg2
= wxString_in_helper(obj1
);
13039 if (arg2
== NULL
) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13065 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13066 PyObject
*resultobj
= 0;
13067 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13071 PyObject
*swig_obj
[1] ;
13073 if (!args
) SWIG_fail
;
13074 swig_obj
[0] = args
;
13075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13079 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13099 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13102 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13103 return SWIG_Py_Void();
13106 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13107 return SWIG_Python_InitShadowInstance(args
);
13110 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= 0;
13112 wxFontEncoding arg1
;
13113 wxNativeEncodingInfo
*result
= 0 ;
13116 PyObject
* obj0
= 0 ;
13117 char * kwnames
[] = {
13118 (char *) "encoding", NULL
13121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13122 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13123 if (!SWIG_IsOK(ecode1
)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13126 arg1
= static_cast< wxFontEncoding
>(val1
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13140 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxNativeEncodingInfo
*arg1
= 0 ;
13146 PyObject
* obj0
= 0 ;
13147 char * kwnames
[] = {
13148 (char *) "info", NULL
13151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13152 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13153 if (!SWIG_IsOK(res1
)) {
13154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13159 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13175 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13176 PyObject
*resultobj
= 0;
13177 wxFontMapper
*result
= 0 ;
13179 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (wxFontMapper
*)new wxFontMapper();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13193 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13194 PyObject
*resultobj
= 0;
13195 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13198 PyObject
*swig_obj
[1] ;
13200 if (!args
) SWIG_fail
;
13201 swig_obj
[0] = args
;
13202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13203 if (!SWIG_IsOK(res1
)) {
13204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13206 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_Py_Void();
13221 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 PyObject
*resultobj
= 0;
13223 wxFontMapper
*result
= 0 ;
13225 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxFontMapper
*)wxFontMapper::Get();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13239 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
= 0;
13241 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13242 wxFontMapper
*result
= 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char * kwnames
[] = {
13247 (char *) "mapper", NULL
13250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13252 if (!SWIG_IsOK(res1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13255 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13269 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
= 0;
13271 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13272 wxString
*arg2
= 0 ;
13273 bool arg3
= (bool) true ;
13274 wxFontEncoding result
;
13277 bool temp2
= false ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 PyObject
* obj2
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13292 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13294 arg2
= wxString_in_helper(obj1
);
13295 if (arg2
== NULL
) SWIG_fail
;
13299 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13300 if (!SWIG_IsOK(ecode3
)) {
13301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13303 arg3
= static_cast< bool >(val3
);
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_From_int(static_cast< int >(result
));
13326 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13327 PyObject
*resultobj
= 0;
13330 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13344 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
= 0;
13347 wxFontEncoding result
;
13350 PyObject
* obj0
= 0 ;
13351 char * kwnames
[] = {
13355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13356 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13357 if (!SWIG_IsOK(ecode1
)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13360 arg1
= static_cast< size_t >(val1
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_From_int(static_cast< int >(result
));
13374 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
= 0;
13376 wxFontEncoding arg1
;
13380 PyObject
* obj0
= 0 ;
13381 char * kwnames
[] = {
13382 (char *) "encoding", NULL
13385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13386 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13387 if (!SWIG_IsOK(ecode1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13390 arg1
= static_cast< wxFontEncoding
>(val1
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= wxFontMapper::GetEncodingName(arg1
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13410 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
= 0;
13412 wxFontEncoding arg1
;
13416 PyObject
* obj0
= 0 ;
13417 char * kwnames
[] = {
13418 (char *) "encoding", NULL
13421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13423 if (!SWIG_IsOK(ecode1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13426 arg1
= static_cast< wxFontEncoding
>(val1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= wxFontMapper::GetEncodingDescription(arg1
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13446 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
= 0;
13448 wxString
*arg1
= 0 ;
13449 wxFontEncoding result
;
13450 bool temp1
= false ;
13451 PyObject
* obj0
= 0 ;
13452 char * kwnames
[] = {
13453 (char *) "name", NULL
13456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13458 arg1
= wxString_in_helper(obj0
);
13459 if (arg1
== NULL
) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_From_int(static_cast< int >(result
));
13483 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
= 0;
13485 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13486 wxString
*arg2
= 0 ;
13489 bool temp2
= false ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char * kwnames
[] = {
13493 (char *) "self",(char *) "prefix", NULL
13496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13501 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13503 arg2
= wxString_in_helper(obj1
);
13504 if (arg2
== NULL
) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_Py_Void();
13528 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13529 PyObject
*resultobj
= 0;
13532 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= wxFontMapper::GetDefaultConfigPath();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13552 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
= 0;
13554 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13555 wxFontEncoding arg2
;
13556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13558 bool arg4
= (bool) true ;
13559 PyObject
*result
= 0 ;
13564 bool temp3
= false ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 PyObject
* obj2
= 0 ;
13570 PyObject
* obj3
= 0 ;
13571 char * kwnames
[] = {
13572 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13577 if (!SWIG_IsOK(res1
)) {
13578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13580 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13582 if (!SWIG_IsOK(ecode2
)) {
13583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13585 arg2
= static_cast< wxFontEncoding
>(val2
);
13588 arg3
= wxString_in_helper(obj2
);
13589 if (arg3
== NULL
) SWIG_fail
;
13594 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13595 if (!SWIG_IsOK(ecode4
)) {
13596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13598 arg4
= static_cast< bool >(val4
);
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= result
;
13621 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13624 wxFontEncoding arg2
;
13625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13632 bool temp3
= false ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 PyObject
* obj2
= 0 ;
13636 char * kwnames
[] = {
13637 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13642 if (!SWIG_IsOK(res1
)) {
13643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13645 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13647 if (!SWIG_IsOK(ecode2
)) {
13648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13650 arg2
= static_cast< wxFontEncoding
>(val2
);
13653 arg3
= wxString_in_helper(obj2
);
13654 if (arg3
== NULL
) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13681 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
= 0;
13683 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13684 wxWindow
*arg2
= (wxWindow
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char * kwnames
[] = {
13692 (char *) "self",(char *) "parent", NULL
13695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13700 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13702 if (!SWIG_IsOK(res2
)) {
13703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13705 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->SetDialogParent(arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_Py_Void();
13719 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13722 wxString
*arg2
= 0 ;
13725 bool temp2
= false ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 char * kwnames
[] = {
13729 (char *) "self",(char *) "title", NULL
13732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13734 if (!SWIG_IsOK(res1
)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13737 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13739 arg2
= wxString_in_helper(obj1
);
13740 if (arg2
== NULL
) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_Py_Void();
13764 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13767 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13768 return SWIG_Py_Void();
13771 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13772 return SWIG_Python_InitShadowInstance(args
);
13775 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= 0;
13781 bool arg5
= (bool) false ;
13782 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13783 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13784 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13785 wxFont
*result
= 0 ;
13796 bool temp6
= false ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 PyObject
* obj2
= 0 ;
13802 PyObject
* obj3
= 0 ;
13803 PyObject
* obj4
= 0 ;
13804 PyObject
* obj5
= 0 ;
13805 PyObject
* obj6
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13812 if (!SWIG_IsOK(ecode1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13815 arg1
= static_cast< int >(val1
);
13816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13817 if (!SWIG_IsOK(ecode2
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13820 arg2
= static_cast< int >(val2
);
13821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13822 if (!SWIG_IsOK(ecode3
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13825 arg3
= static_cast< int >(val3
);
13826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13827 if (!SWIG_IsOK(ecode4
)) {
13828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13830 arg4
= static_cast< int >(val4
);
13832 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13833 if (!SWIG_IsOK(ecode5
)) {
13834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13836 arg5
= static_cast< bool >(val5
);
13840 arg6
= wxString_in_helper(obj5
);
13841 if (arg6
== NULL
) SWIG_fail
;
13846 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13847 if (!SWIG_IsOK(ecode7
)) {
13848 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13850 arg7
= static_cast< wxFontEncoding
>(val7
);
13853 if (!wxPyCheckForApp()) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13874 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13875 PyObject
*resultobj
= 0;
13876 wxFont
*arg1
= (wxFont
*) 0 ;
13879 PyObject
*swig_obj
[1] ;
13881 if (!args
) SWIG_fail
;
13882 swig_obj
[0] = args
;
13883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13884 if (!SWIG_IsOK(res1
)) {
13885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_Py_Void();
13902 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13904 wxNativeFontInfo
*arg1
= 0 ;
13905 wxFont
*result
= 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char * kwnames
[] = {
13910 (char *) "info", NULL
13913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13914 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13915 if (!SWIG_IsOK(res1
)) {
13916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13921 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13923 if (!wxPyCheckForApp()) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13936 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
= 0;
13938 wxString
*arg1
= 0 ;
13939 wxFont
*result
= 0 ;
13940 bool temp1
= false ;
13941 PyObject
* obj0
= 0 ;
13942 char * kwnames
[] = {
13943 (char *) "info", NULL
13946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13948 arg1
= wxString_in_helper(obj0
);
13949 if (arg1
== NULL
) SWIG_fail
;
13953 if (!wxPyCheckForApp()) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13974 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
= 0;
13977 wxFontFamily arg2
;
13978 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13979 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13980 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13981 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13982 wxFont
*result
= 0 ;
13989 bool temp4
= false ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 PyObject
* obj2
= 0 ;
13995 PyObject
* obj3
= 0 ;
13996 PyObject
* obj4
= 0 ;
13997 char * kwnames
[] = {
13998 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14003 if (!SWIG_IsOK(ecode1
)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14006 arg1
= static_cast< int >(val1
);
14007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14008 if (!SWIG_IsOK(ecode2
)) {
14009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14011 arg2
= static_cast< wxFontFamily
>(val2
);
14013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14014 if (!SWIG_IsOK(ecode3
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14017 arg3
= static_cast< int >(val3
);
14021 arg4
= wxString_in_helper(obj3
);
14022 if (arg4
== NULL
) SWIG_fail
;
14027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14028 if (!SWIG_IsOK(ecode5
)) {
14029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14031 arg5
= static_cast< wxFontEncoding
>(val5
);
14034 if (!wxPyCheckForApp()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14055 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
= 0;
14061 bool arg5
= (bool) false ;
14062 wxString
const &arg6_defvalue
= wxEmptyString
;
14063 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14064 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14065 wxFont
*result
= 0 ;
14075 bool temp6
= false ;
14078 PyObject
* obj0
= 0 ;
14079 PyObject
* obj1
= 0 ;
14080 PyObject
* obj2
= 0 ;
14081 PyObject
* obj3
= 0 ;
14082 PyObject
* obj4
= 0 ;
14083 PyObject
* obj5
= 0 ;
14084 PyObject
* obj6
= 0 ;
14085 char * kwnames
[] = {
14086 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14092 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14095 if (!SWIG_IsOK(ecode2
)) {
14096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14098 arg2
= static_cast< int >(val2
);
14099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14100 if (!SWIG_IsOK(ecode3
)) {
14101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14103 arg3
= static_cast< int >(val3
);
14104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14105 if (!SWIG_IsOK(ecode4
)) {
14106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14108 arg4
= static_cast< int >(val4
);
14110 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14111 if (!SWIG_IsOK(ecode5
)) {
14112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14114 arg5
= static_cast< bool >(val5
);
14118 arg6
= wxString_in_helper(obj5
);
14119 if (arg6
== NULL
) SWIG_fail
;
14124 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14125 if (!SWIG_IsOK(ecode7
)) {
14126 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14128 arg7
= static_cast< wxFontEncoding
>(val7
);
14131 if (!wxPyCheckForApp()) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14152 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
= 0;
14155 wxFontFamily arg2
;
14156 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14157 wxString
const &arg4_defvalue
= wxEmptyString
;
14158 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14159 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14160 wxFont
*result
= 0 ;
14166 bool temp4
= false ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 PyObject
* obj3
= 0 ;
14173 PyObject
* obj4
= 0 ;
14174 char * kwnames
[] = {
14175 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14181 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14184 if (!SWIG_IsOK(ecode2
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14187 arg2
= static_cast< wxFontFamily
>(val2
);
14189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14190 if (!SWIG_IsOK(ecode3
)) {
14191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14193 arg3
= static_cast< int >(val3
);
14197 arg4
= wxString_in_helper(obj3
);
14198 if (arg4
== NULL
) SWIG_fail
;
14203 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14204 if (!SWIG_IsOK(ecode5
)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14207 arg5
= static_cast< wxFontEncoding
>(val5
);
14210 if (!wxPyCheckForApp()) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14231 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14232 PyObject
*resultobj
= 0;
14233 wxFont
*arg1
= (wxFont
*) 0 ;
14237 PyObject
*swig_obj
[1] ;
14239 if (!args
) SWIG_fail
;
14240 swig_obj
[0] = args
;
14241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14245 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14261 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
= 0;
14263 wxFont
*arg1
= (wxFont
*) 0 ;
14264 wxFont
*arg2
= (wxFont
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 PyObject
* obj1
= 0 ;
14272 char * kwnames
[] = {
14273 (char *) "self",(char *) "other", NULL
14276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14278 if (!SWIG_IsOK(res1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14281 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14283 if (!SWIG_IsOK(res2
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14286 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
= 0;
14304 wxFont
*arg1
= (wxFont
*) 0 ;
14305 wxFont
*arg2
= (wxFont
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 char * kwnames
[] = {
14314 (char *) "self",(char *) "other", NULL
14317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14322 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14324 if (!SWIG_IsOK(res2
)) {
14325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14327 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14343 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14344 PyObject
*resultobj
= 0;
14345 wxFont
*arg1
= (wxFont
*) 0 ;
14349 PyObject
*swig_obj
[1] ;
14351 if (!args
) SWIG_fail
;
14352 swig_obj
[0] = args
;
14353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14354 if (!SWIG_IsOK(res1
)) {
14355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14357 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_From_int(static_cast< int >(result
));
14371 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14372 PyObject
*resultobj
= 0;
14373 wxFont
*arg1
= (wxFont
*) 0 ;
14377 PyObject
*swig_obj
[1] ;
14379 if (!args
) SWIG_fail
;
14380 swig_obj
[0] = args
;
14381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14385 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14399 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14400 PyObject
*resultobj
= 0;
14401 wxFont
*arg1
= (wxFont
*) 0 ;
14405 PyObject
*swig_obj
[1] ;
14407 if (!args
) SWIG_fail
;
14408 swig_obj
[0] = args
;
14409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14413 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14429 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14430 PyObject
*resultobj
= 0;
14431 wxFont
*arg1
= (wxFont
*) 0 ;
14435 PyObject
*swig_obj
[1] ;
14437 if (!args
) SWIG_fail
;
14438 swig_obj
[0] = args
;
14439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14443 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_From_int(static_cast< int >(result
));
14457 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxFont
*arg1
= (wxFont
*) 0 ;
14463 PyObject
*swig_obj
[1] ;
14465 if (!args
) SWIG_fail
;
14466 swig_obj
[0] = args
;
14467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14471 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_From_int(static_cast< int >(result
));
14485 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14486 PyObject
*resultobj
= 0;
14487 wxFont
*arg1
= (wxFont
*) 0 ;
14491 PyObject
*swig_obj
[1] ;
14493 if (!args
) SWIG_fail
;
14494 swig_obj
[0] = args
;
14495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14499 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_From_int(static_cast< int >(result
));
14513 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14514 PyObject
*resultobj
= 0;
14515 wxFont
*arg1
= (wxFont
*) 0 ;
14519 PyObject
*swig_obj
[1] ;
14521 if (!args
) SWIG_fail
;
14522 swig_obj
[0] = args
;
14523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14527 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14544 PyObject
*resultobj
= 0;
14545 wxFont
*arg1
= (wxFont
*) 0 ;
14549 PyObject
*swig_obj
[1] ;
14551 if (!args
) SWIG_fail
;
14552 swig_obj
[0] = args
;
14553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14557 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= ((wxFont
const *)arg1
)->GetFaceName();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14577 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxFont
*arg1
= (wxFont
*) 0 ;
14580 wxFontEncoding result
;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14591 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_From_int(static_cast< int >(result
));
14605 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14606 PyObject
*resultobj
= 0;
14607 wxFont
*arg1
= (wxFont
*) 0 ;
14608 wxNativeFontInfo
*result
= 0 ;
14611 PyObject
*swig_obj
[1] ;
14613 if (!args
) SWIG_fail
;
14614 swig_obj
[0] = args
;
14615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14619 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14633 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxFont
*arg1
= (wxFont
*) 0 ;
14639 PyObject
*swig_obj
[1] ;
14641 if (!args
) SWIG_fail
;
14642 swig_obj
[0] = args
;
14643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14647 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14663 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14664 PyObject
*resultobj
= 0;
14665 wxFont
*arg1
= (wxFont
*) 0 ;
14669 PyObject
*swig_obj
[1] ;
14671 if (!args
) SWIG_fail
;
14672 swig_obj
[0] = args
;
14673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14674 if (!SWIG_IsOK(res1
)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14677 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14697 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14698 PyObject
*resultobj
= 0;
14699 wxFont
*arg1
= (wxFont
*) 0 ;
14703 PyObject
*swig_obj
[1] ;
14705 if (!args
) SWIG_fail
;
14706 swig_obj
[0] = args
;
14707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14708 if (!SWIG_IsOK(res1
)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14711 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14731 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
= 0;
14733 wxFont
*arg1
= (wxFont
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 char * kwnames
[] = {
14742 (char *) "self",(char *) "pointSize", NULL
14745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14750 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14752 if (!SWIG_IsOK(ecode2
)) {
14753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14755 arg2
= static_cast< int >(val2
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 (arg1
)->SetPointSize(arg2
);
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_Py_Void();
14769 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
= 0;
14771 wxFont
*arg1
= (wxFont
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char * kwnames
[] = {
14779 (char *) "self",(char *) "pixelSize", NULL
14782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14787 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14790 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_Py_Void();
14805 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
= 0;
14807 wxFont
*arg1
= (wxFont
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char * kwnames
[] = {
14816 (char *) "self",(char *) "family", NULL
14819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14824 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14826 if (!SWIG_IsOK(ecode2
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14829 arg2
= static_cast< int >(val2
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->SetFamily(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_Py_Void();
14843 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
= 0;
14845 wxFont
*arg1
= (wxFont
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char * kwnames
[] = {
14854 (char *) "self",(char *) "style", NULL
14857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14862 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14864 if (!SWIG_IsOK(ecode2
)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14867 arg2
= static_cast< int >(val2
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetStyle(arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_Py_Void();
14881 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
= 0;
14883 wxFont
*arg1
= (wxFont
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "weight", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14902 if (!SWIG_IsOK(ecode2
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14905 arg2
= static_cast< int >(val2
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 (arg1
)->SetWeight(arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_Py_Void();
14919 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
= 0;
14921 wxFont
*arg1
= (wxFont
*) 0 ;
14922 wxString
*arg2
= 0 ;
14926 bool temp2
= false ;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 char * kwnames
[] = {
14930 (char *) "self",(char *) "faceName", NULL
14933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14935 if (!SWIG_IsOK(res1
)) {
14936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14938 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14940 arg2
= wxString_in_helper(obj1
);
14941 if (arg2
== NULL
) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14967 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
= 0;
14969 wxFont
*arg1
= (wxFont
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 char * kwnames
[] = {
14978 (char *) "self",(char *) "underlined", NULL
14981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14986 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14987 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14988 if (!SWIG_IsOK(ecode2
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14991 arg2
= static_cast< bool >(val2
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 (arg1
)->SetUnderlined(arg2
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_Py_Void();
15005 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxFont
*arg1
= (wxFont
*) 0 ;
15008 wxFontEncoding arg2
;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "encoding", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15024 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15026 if (!SWIG_IsOK(ecode2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15029 arg2
= static_cast< wxFontEncoding
>(val2
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->SetEncoding(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= 0;
15045 wxFont
*arg1
= (wxFont
*) 0 ;
15046 wxNativeFontInfo
*arg2
= 0 ;
15051 PyObject
* obj0
= 0 ;
15052 PyObject
* obj1
= 0 ;
15053 char * kwnames
[] = {
15054 (char *) "self",(char *) "info", NULL
15057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15062 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15064 if (!SWIG_IsOK(res2
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15070 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_Py_Void();
15084 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= 0;
15086 wxFont
*arg1
= (wxFont
*) 0 ;
15087 wxString
*arg2
= 0 ;
15091 bool temp2
= false ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 char * kwnames
[] = {
15095 (char *) "self",(char *) "info", NULL
15098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15100 if (!SWIG_IsOK(res1
)) {
15101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15103 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15105 arg2
= wxString_in_helper(obj1
);
15106 if (arg2
== NULL
) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15132 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= 0;
15134 wxFont
*arg1
= (wxFont
*) 0 ;
15135 wxString
*arg2
= 0 ;
15139 bool temp2
= false ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char * kwnames
[] = {
15143 (char *) "self",(char *) "info", NULL
15146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15148 if (!SWIG_IsOK(res1
)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15151 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15153 arg2
= wxString_in_helper(obj1
);
15154 if (arg2
== NULL
) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15180 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15181 PyObject
*resultobj
= 0;
15182 wxFont
*arg1
= (wxFont
*) 0 ;
15186 PyObject
*swig_obj
[1] ;
15188 if (!args
) SWIG_fail
;
15189 swig_obj
[0] = args
;
15190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15194 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15214 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15215 PyObject
*resultobj
= 0;
15216 wxFont
*arg1
= (wxFont
*) 0 ;
15220 PyObject
*swig_obj
[1] ;
15222 if (!args
) SWIG_fail
;
15223 swig_obj
[0] = args
;
15224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15225 if (!SWIG_IsOK(res1
)) {
15226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15228 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= ((wxFont
const *)arg1
)->GetStyleString();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15248 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15249 PyObject
*resultobj
= 0;
15250 wxFont
*arg1
= (wxFont
*) 0 ;
15254 PyObject
*swig_obj
[1] ;
15256 if (!args
) SWIG_fail
;
15257 swig_obj
[0] = args
;
15258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15262 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= ((wxFont
const *)arg1
)->GetWeightString();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15282 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxFont
*arg1
= (wxFont
*) 0 ;
15285 bool arg2
= (bool) true ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "no", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15301 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15303 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15304 if (!SWIG_IsOK(ecode2
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15307 arg2
= static_cast< bool >(val2
);
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 (arg1
)->SetNoAntiAliasing(arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_Py_Void();
15322 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15323 PyObject
*resultobj
= 0;
15324 wxFont
*arg1
= (wxFont
*) 0 ;
15328 PyObject
*swig_obj
[1] ;
15330 if (!args
) SWIG_fail
;
15331 swig_obj
[0] = args
;
15332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15333 if (!SWIG_IsOK(res1
)) {
15334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15336 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15352 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15353 PyObject
*resultobj
= 0;
15354 wxFontEncoding result
;
15356 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15358 if (!wxPyCheckForApp()) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= SWIG_From_int(static_cast< int >(result
));
15371 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
= 0;
15373 wxFontEncoding arg1
;
15376 PyObject
* obj0
= 0 ;
15377 char * kwnames
[] = {
15378 (char *) "encoding", NULL
15381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15383 if (!SWIG_IsOK(ecode1
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15386 arg1
= static_cast< wxFontEncoding
>(val1
);
15388 if (!wxPyCheckForApp()) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 wxFont::SetDefaultEncoding(arg1
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_Py_Void();
15401 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15404 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15405 return SWIG_Py_Void();
15408 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15409 return SWIG_Python_InitShadowInstance(args
);
15412 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxPyFontEnumerator
*result
= 0 ;
15416 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15418 if (!wxPyCheckForApp()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15431 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15432 PyObject
*resultobj
= 0;
15433 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15436 PyObject
*swig_obj
[1] ;
15438 if (!args
) SWIG_fail
;
15439 swig_obj
[0] = args
;
15440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15441 if (!SWIG_IsOK(res1
)) {
15442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15444 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_Py_Void();
15459 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
= 0;
15461 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15462 PyObject
*arg2
= (PyObject
*) 0 ;
15463 PyObject
*arg3
= (PyObject
*) 0 ;
15464 int arg4
= (int) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 PyObject
* obj2
= 0 ;
15472 PyObject
* obj3
= 0 ;
15473 char * kwnames
[] = {
15474 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15482 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15487 if (!SWIG_IsOK(ecode4
)) {
15488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15490 arg4
= static_cast< int >(val4
);
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_Py_Void();
15505 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
= 0;
15507 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15508 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15509 bool arg3
= (bool) false ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 char * kwnames
[] = {
15521 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15526 if (!SWIG_IsOK(res1
)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15529 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15532 if (!SWIG_IsOK(ecode2
)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15535 arg2
= static_cast< wxFontEncoding
>(val2
);
15538 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15539 if (!SWIG_IsOK(ecode3
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15542 arg3
= static_cast< bool >(val3
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
= 0;
15561 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15562 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15563 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15567 bool temp2
= false ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char * kwnames
[] = {
15571 (char *) "self",(char *) "facename", NULL
15574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15576 if (!SWIG_IsOK(res1
)) {
15577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15579 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15582 arg2
= wxString_in_helper(obj1
);
15583 if (arg2
== NULL
) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15610 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 PyObject
*resultobj
= 0;
15612 PyObject
*result
= 0 ;
15614 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= result
;
15628 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15629 PyObject
*resultobj
= 0;
15630 PyObject
*result
= 0 ;
15632 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
;
15646 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
= 0;
15648 wxString
*arg1
= 0 ;
15650 bool temp1
= false ;
15651 PyObject
* obj0
= 0 ;
15652 char * kwnames
[] = {
15653 (char *) "str", NULL
15656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15658 arg1
= wxString_in_helper(obj0
);
15659 if (arg1
== NULL
) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15685 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15688 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15689 return SWIG_Py_Void();
15692 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15693 return SWIG_Python_InitShadowInstance(args
);
15696 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 PyObject
*resultobj
= 0;
15698 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15704 PyObject
*swig_obj
[2] ;
15706 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15708 if (!SWIG_IsOK(res1
)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15711 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15712 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15713 if (!SWIG_IsOK(ecode2
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15716 arg2
= static_cast< int >(val2
);
15717 if (arg1
) (arg1
)->Language
= arg2
;
15719 resultobj
= SWIG_Py_Void();
15726 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15727 PyObject
*resultobj
= 0;
15728 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15732 PyObject
*swig_obj
[1] ;
15734 if (!args
) SWIG_fail
;
15735 swig_obj
[0] = args
;
15736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15740 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15741 result
= (int) ((arg1
)->Language
);
15742 resultobj
= SWIG_From_int(static_cast< int >(result
));
15749 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15750 PyObject
*resultobj
= 0;
15751 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15752 wxString
*arg2
= (wxString
*) 0 ;
15755 bool temp2
= false ;
15756 PyObject
*swig_obj
[2] ;
15758 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15763 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15765 arg2
= wxString_in_helper(swig_obj
[1]);
15766 if (arg2
== NULL
) SWIG_fail
;
15769 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15771 resultobj
= SWIG_Py_Void();
15786 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15787 PyObject
*resultobj
= 0;
15788 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15789 wxString
*result
= 0 ;
15792 PyObject
*swig_obj
[1] ;
15794 if (!args
) SWIG_fail
;
15795 swig_obj
[0] = args
;
15796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15800 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15801 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15804 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15806 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15815 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15816 PyObject
*resultobj
= 0;
15817 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15818 wxString
*arg2
= (wxString
*) 0 ;
15821 bool temp2
= false ;
15822 PyObject
*swig_obj
[2] ;
15824 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15829 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15831 arg2
= wxString_in_helper(swig_obj
[1]);
15832 if (arg2
== NULL
) SWIG_fail
;
15835 if (arg1
) (arg1
)->Description
= *arg2
;
15837 resultobj
= SWIG_Py_Void();
15852 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15853 PyObject
*resultobj
= 0;
15854 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15855 wxString
*result
= 0 ;
15858 PyObject
*swig_obj
[1] ;
15860 if (!args
) SWIG_fail
;
15861 swig_obj
[0] = args
;
15862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15863 if (!SWIG_IsOK(res1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15866 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15867 result
= (wxString
*)& ((arg1
)->Description
);
15870 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15872 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15881 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15884 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15885 return SWIG_Py_Void();
15888 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
= 0;
15890 int arg1
= (int) -1 ;
15891 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15892 wxLocale
*result
= 0 ;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 char * kwnames
[] = {
15900 (char *) "language",(char *) "flags", NULL
15903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15905 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15906 if (!SWIG_IsOK(ecode1
)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15909 arg1
= static_cast< int >(val1
);
15912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15913 if (!SWIG_IsOK(ecode2
)) {
15914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15916 arg2
= static_cast< int >(val2
);
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15931 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 PyObject
*resultobj
= 0;
15933 wxLocale
*arg1
= (wxLocale
*) 0 ;
15936 PyObject
*swig_obj
[1] ;
15938 if (!args
) SWIG_fail
;
15939 swig_obj
[0] = args
;
15940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15941 if (!SWIG_IsOK(res1
)) {
15942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15944 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_Py_Void();
15959 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
= 0;
15961 wxLocale
*arg1
= (wxLocale
*) 0 ;
15962 wxString
*arg2
= 0 ;
15963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15965 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15966 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15967 bool arg5
= (bool) true ;
15968 bool arg6
= (bool) false ;
15972 bool temp2
= false ;
15973 bool temp3
= false ;
15974 bool temp4
= false ;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 PyObject
* obj2
= 0 ;
15982 PyObject
* obj3
= 0 ;
15983 PyObject
* obj4
= 0 ;
15984 PyObject
* obj5
= 0 ;
15985 char * kwnames
[] = {
15986 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15991 if (!SWIG_IsOK(res1
)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15994 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15996 arg2
= wxString_in_helper(obj1
);
15997 if (arg2
== NULL
) SWIG_fail
;
16002 arg3
= wxString_in_helper(obj2
);
16003 if (arg3
== NULL
) SWIG_fail
;
16009 arg4
= wxString_in_helper(obj3
);
16010 if (arg4
== NULL
) SWIG_fail
;
16015 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16016 if (!SWIG_IsOK(ecode5
)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16019 arg5
= static_cast< bool >(val5
);
16022 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16023 if (!SWIG_IsOK(ecode6
)) {
16024 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16026 arg6
= static_cast< bool >(val6
);
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16067 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
= 0;
16069 wxLocale
*arg1
= (wxLocale
*) 0 ;
16070 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16071 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16079 PyObject
* obj0
= 0 ;
16080 PyObject
* obj1
= 0 ;
16081 PyObject
* obj2
= 0 ;
16082 char * kwnames
[] = {
16083 (char *) "self",(char *) "language",(char *) "flags", NULL
16086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16088 if (!SWIG_IsOK(res1
)) {
16089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16091 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16094 if (!SWIG_IsOK(ecode2
)) {
16095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16097 arg2
= static_cast< int >(val2
);
16100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16101 if (!SWIG_IsOK(ecode3
)) {
16102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16104 arg3
= static_cast< int >(val3
);
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16121 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16122 PyObject
*resultobj
= 0;
16125 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (int)wxLocale::GetSystemLanguage();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_From_int(static_cast< int >(result
));
16139 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16140 PyObject
*resultobj
= 0;
16141 wxFontEncoding result
;
16143 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_From_int(static_cast< int >(result
));
16157 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16158 PyObject
*resultobj
= 0;
16161 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= wxLocale::GetSystemEncodingName();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16181 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 PyObject
*resultobj
= 0;
16183 wxLocale
*arg1
= (wxLocale
*) 0 ;
16187 PyObject
*swig_obj
[1] ;
16189 if (!args
) SWIG_fail
;
16190 swig_obj
[0] = args
;
16191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16192 if (!SWIG_IsOK(res1
)) {
16193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16195 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16211 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16212 PyObject
*resultobj
= 0;
16213 wxLocale
*arg1
= (wxLocale
*) 0 ;
16217 PyObject
*swig_obj
[1] ;
16219 if (!args
) SWIG_fail
;
16220 swig_obj
[0] = args
;
16221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16225 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= ((wxLocale
const *)arg1
)->GetLocale();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16245 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16246 PyObject
*resultobj
= 0;
16247 wxLocale
*arg1
= (wxLocale
*) 0 ;
16251 PyObject
*swig_obj
[1] ;
16253 if (!args
) SWIG_fail
;
16254 swig_obj
[0] = args
;
16255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16256 if (!SWIG_IsOK(res1
)) {
16257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16259 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 resultobj
= SWIG_From_int(static_cast< int >(result
));
16273 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16274 PyObject
*resultobj
= 0;
16275 wxLocale
*arg1
= (wxLocale
*) 0 ;
16279 PyObject
*swig_obj
[1] ;
16281 if (!args
) SWIG_fail
;
16282 swig_obj
[0] = args
;
16283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16284 if (!SWIG_IsOK(res1
)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16287 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= ((wxLocale
const *)arg1
)->GetSysName();
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16307 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16308 PyObject
*resultobj
= 0;
16309 wxLocale
*arg1
= (wxLocale
*) 0 ;
16313 PyObject
*swig_obj
[1] ;
16315 if (!args
) SWIG_fail
;
16316 swig_obj
[0] = args
;
16317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16318 if (!SWIG_IsOK(res1
)) {
16319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16321 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16341 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
= 0;
16343 wxString
*arg1
= 0 ;
16344 bool temp1
= false ;
16345 PyObject
* obj0
= 0 ;
16346 char * kwnames
[] = {
16347 (char *) "prefix", NULL
16350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16352 arg1
= wxString_in_helper(obj0
);
16353 if (arg1
== NULL
) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_Py_Void();
16377 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
= 0;
16379 wxLocale
*arg1
= (wxLocale
*) 0 ;
16380 wxString
*arg2
= 0 ;
16384 bool temp2
= false ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char * kwnames
[] = {
16388 (char *) "self",(char *) "szDomain", NULL
16391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16393 if (!SWIG_IsOK(res1
)) {
16394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16396 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16398 arg2
= wxString_in_helper(obj1
);
16399 if (arg2
== NULL
) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16425 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
= 0;
16431 PyObject
* obj0
= 0 ;
16432 char * kwnames
[] = {
16433 (char *) "lang", NULL
16436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16438 if (!SWIG_IsOK(ecode1
)) {
16439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16441 arg1
= static_cast< int >(val1
);
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)wxLocale::IsAvailable(arg1
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16457 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= 0;
16459 wxLocale
*arg1
= (wxLocale
*) 0 ;
16460 wxString
*arg2
= 0 ;
16464 bool temp2
= false ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char * kwnames
[] = {
16468 (char *) "self",(char *) "szDomain", NULL
16471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16476 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16478 arg2
= wxString_in_helper(obj1
);
16479 if (arg2
== NULL
) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16505 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16508 wxLanguageInfo
*result
= 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char * kwnames
[] = {
16513 (char *) "lang", NULL
16516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16518 if (!SWIG_IsOK(ecode1
)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16521 arg1
= static_cast< int >(val1
);
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16535 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
= 0;
16541 PyObject
* obj0
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "lang", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16548 if (!SWIG_IsOK(ecode1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16551 arg1
= static_cast< int >(val1
);
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= wxLocale::GetLanguageName(arg1
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16571 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxString
*arg1
= 0 ;
16574 wxLanguageInfo
*result
= 0 ;
16575 bool temp1
= false ;
16576 PyObject
* obj0
= 0 ;
16577 char * kwnames
[] = {
16578 (char *) "locale", NULL
16581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16583 arg1
= wxString_in_helper(obj0
);
16584 if (arg1
== NULL
) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16608 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
= 0;
16610 wxLanguageInfo
*arg1
= 0 ;
16613 PyObject
* obj0
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "info", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16626 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_Py_Void();
16640 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
= 0;
16642 wxLocale
*arg1
= (wxLocale
*) 0 ;
16643 wxString
*arg2
= 0 ;
16644 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16645 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16649 bool temp2
= false ;
16650 bool temp3
= false ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 PyObject
* obj2
= 0 ;
16654 char * kwnames
[] = {
16655 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16663 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16665 arg2
= wxString_in_helper(obj1
);
16666 if (arg2
== NULL
) SWIG_fail
;
16671 arg3
= wxString_in_helper(obj2
);
16672 if (arg3
== NULL
) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16711 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16712 PyObject
*resultobj
= 0;
16713 wxLocale
*arg1
= (wxLocale
*) 0 ;
16714 wxString
*result
= 0 ;
16717 PyObject
*swig_obj
[1] ;
16719 if (!args
) SWIG_fail
;
16720 swig_obj
[0] = args
;
16721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16722 if (!SWIG_IsOK(res1
)) {
16723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16725 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16730 result
= (wxString
*) &_result_ref
;
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16739 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16748 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16751 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16752 return SWIG_Py_Void();
16755 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16756 return SWIG_Python_InitShadowInstance(args
);
16759 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
= 0;
16761 int arg1
= (int) -1 ;
16762 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16763 wxPyLocale
*result
= 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char * kwnames
[] = {
16771 (char *) "language",(char *) "flags", NULL
16774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16777 if (!SWIG_IsOK(ecode1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16780 arg1
= static_cast< int >(val1
);
16783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16784 if (!SWIG_IsOK(ecode2
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16787 arg2
= static_cast< int >(val2
);
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16802 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16807 PyObject
*swig_obj
[1] ;
16809 if (!args
) SWIG_fail
;
16810 swig_obj
[0] = args
;
16811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16815 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_Py_Void();
16830 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
= 0;
16832 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16833 PyObject
*arg2
= (PyObject
*) 0 ;
16834 PyObject
*arg3
= (PyObject
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 PyObject
* obj2
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "self",(char *) "self",(char *) "_class", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16846 if (!SWIG_IsOK(res1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16849 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_Py_Void();
16865 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
= 0;
16867 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16868 wxChar
*arg2
= (wxChar
*) 0 ;
16869 wxChar
*arg3
= (wxChar
*) NULL
;
16870 wxChar
*result
= 0 ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16889 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16891 if (!SWIG_IsOK(res2
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16894 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16896 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16897 if (!SWIG_IsOK(res3
)) {
16898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16900 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16915 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16918 wxChar
*arg2
= (wxChar
*) 0 ;
16919 wxChar
*arg3
= (wxChar
*) 0 ;
16921 wxChar
*arg5
= (wxChar
*) NULL
;
16922 wxChar
*result
= 0 ;
16933 PyObject
* obj0
= 0 ;
16934 PyObject
* obj1
= 0 ;
16935 PyObject
* obj2
= 0 ;
16936 PyObject
* obj3
= 0 ;
16937 PyObject
* obj4
= 0 ;
16938 char * kwnames
[] = {
16939 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16944 if (!SWIG_IsOK(res1
)) {
16945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16947 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16949 if (!SWIG_IsOK(res2
)) {
16950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16952 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16953 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16954 if (!SWIG_IsOK(res3
)) {
16955 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16957 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16958 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16959 if (!SWIG_IsOK(ecode4
)) {
16960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16962 arg4
= static_cast< size_t >(val4
);
16964 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16965 if (!SWIG_IsOK(res5
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16968 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16983 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16987 return SWIG_Py_Void();
16990 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16991 return SWIG_Python_InitShadowInstance(args
);
16994 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16995 PyObject
*resultobj
= 0;
16996 wxLocale
*result
= 0 ;
16998 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (wxLocale
*)wxGetLocale();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17012 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17013 PyObject
*resultobj
= 0;
17014 wxString
*arg1
= 0 ;
17016 bool temp1
= false ;
17018 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17020 arg1
= wxString_in_helper(swig_obj
[0]);
17021 if (arg1
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= wxGetTranslation((wxString
const &)*arg1
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17051 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17052 PyObject
*resultobj
= 0;
17053 wxString
*arg1
= 0 ;
17054 wxString
*arg2
= 0 ;
17056 bool temp1
= false ;
17057 bool temp2
= false ;
17059 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17061 arg1
= wxString_in_helper(swig_obj
[0]);
17062 if (arg1
== NULL
) SWIG_fail
;
17066 arg2
= wxString_in_helper(swig_obj
[1]);
17067 if (arg2
== NULL
) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17105 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17106 PyObject
*resultobj
= 0;
17107 wxString
*arg1
= 0 ;
17108 wxString
*arg2
= 0 ;
17111 bool temp1
= false ;
17112 bool temp2
= false ;
17116 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17118 arg1
= wxString_in_helper(swig_obj
[0]);
17119 if (arg1
== NULL
) SWIG_fail
;
17123 arg2
= wxString_in_helper(swig_obj
[1]);
17124 if (arg2
== NULL
) SWIG_fail
;
17127 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17128 if (!SWIG_IsOK(ecode3
)) {
17129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17131 arg3
= static_cast< size_t >(val3
);
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17167 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17168 PyObject
*resultobj
= 0;
17169 wxString
*arg1
= 0 ;
17170 wxString
*arg2
= 0 ;
17172 wxString
*arg4
= 0 ;
17174 bool temp1
= false ;
17175 bool temp2
= false ;
17178 bool temp4
= false ;
17180 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17182 arg1
= wxString_in_helper(swig_obj
[0]);
17183 if (arg1
== NULL
) SWIG_fail
;
17187 arg2
= wxString_in_helper(swig_obj
[1]);
17188 if (arg2
== NULL
) SWIG_fail
;
17191 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17192 if (!SWIG_IsOK(ecode3
)) {
17193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17195 arg3
= static_cast< size_t >(val3
);
17197 arg4
= wxString_in_helper(swig_obj
[3]);
17198 if (arg4
== NULL
) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17244 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17248 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17251 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17254 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17257 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17260 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17264 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17269 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 PyObject
*resultobj
= 0;
17271 wxEncodingConverter
*result
= 0 ;
17273 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17287 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17288 PyObject
*resultobj
= 0;
17289 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17292 PyObject
*swig_obj
[1] ;
17294 if (!args
) SWIG_fail
;
17295 swig_obj
[0] = args
;
17296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17300 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_Py_Void();
17315 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
= 0;
17317 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17318 wxFontEncoding arg2
;
17319 wxFontEncoding arg3
;
17320 int arg4
= (int) wxCONVERT_STRICT
;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 PyObject
* obj2
= 0 ;
17333 PyObject
* obj3
= 0 ;
17334 char * kwnames
[] = {
17335 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17340 if (!SWIG_IsOK(res1
)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17343 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17345 if (!SWIG_IsOK(ecode2
)) {
17346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17348 arg2
= static_cast< wxFontEncoding
>(val2
);
17349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17350 if (!SWIG_IsOK(ecode3
)) {
17351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17353 arg3
= static_cast< wxFontEncoding
>(val3
);
17355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17356 if (!SWIG_IsOK(ecode4
)) {
17357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17359 arg4
= static_cast< int >(val4
);
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17376 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= 0;
17378 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17379 wxString
*arg2
= 0 ;
17383 bool temp2
= false ;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 char * kwnames
[] = {
17387 (char *) "self",(char *) "input", NULL
17390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17392 if (!SWIG_IsOK(res1
)) {
17393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17395 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17397 arg2
= wxString_in_helper(obj1
);
17398 if (arg2
== NULL
) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17428 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
= 0;
17430 wxFontEncoding arg1
;
17431 int arg2
= (int) wxPLATFORM_CURRENT
;
17432 wxFontEncodingArray result
;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char * kwnames
[] = {
17440 (char *) "enc",(char *) "platform", NULL
17443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17445 if (!SWIG_IsOK(ecode1
)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17448 arg1
= static_cast< wxFontEncoding
>(val1
);
17450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17451 if (!SWIG_IsOK(ecode2
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17454 arg2
= static_cast< int >(val2
);
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= PyList_New(0);
17464 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17465 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17466 PyList_Append(resultobj
, number
);
17476 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= 0;
17478 wxFontEncoding arg1
;
17479 wxFontEncodingArray result
;
17482 PyObject
* obj0
= 0 ;
17483 char * kwnames
[] = {
17484 (char *) "enc", NULL
17487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17489 if (!SWIG_IsOK(ecode1
)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17492 arg1
= static_cast< wxFontEncoding
>(val1
);
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= PyList_New(0);
17501 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17502 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17503 PyList_Append(resultobj
, number
);
17513 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
= 0;
17515 wxFontEncoding arg1
;
17516 wxFontEncoding arg2
;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 char * kwnames
[] = {
17525 (char *) "encIn",(char *) "encOut", NULL
17528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17530 if (!SWIG_IsOK(ecode1
)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17533 arg1
= static_cast< wxFontEncoding
>(val1
);
17534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17535 if (!SWIG_IsOK(ecode2
)) {
17536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17538 arg2
= static_cast< wxFontEncoding
>(val2
);
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17554 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17557 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17558 return SWIG_Py_Void();
17561 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17562 return SWIG_Python_InitShadowInstance(args
);
17565 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17566 PyObject
*resultobj
= 0;
17567 wxDC
*arg1
= (wxDC
*) 0 ;
17570 PyObject
*swig_obj
[1] ;
17572 if (!args
) SWIG_fail
;
17573 swig_obj
[0] = args
;
17574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17575 if (!SWIG_IsOK(res1
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_Py_Void();
17593 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= 0;
17595 wxDC
*arg1
= (wxDC
*) 0 ;
17598 wxColour
*arg4
= 0 ;
17599 int arg5
= (int) wxFLOOD_SURFACE
;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 PyObject
* obj2
= 0 ;
17613 PyObject
* obj3
= 0 ;
17614 PyObject
* obj4
= 0 ;
17615 char * kwnames
[] = {
17616 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17626 if (!SWIG_IsOK(ecode2
)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17629 arg2
= static_cast< int >(val2
);
17630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17631 if (!SWIG_IsOK(ecode3
)) {
17632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17634 arg3
= static_cast< int >(val3
);
17637 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17641 if (!SWIG_IsOK(ecode5
)) {
17642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17644 arg5
= static_cast< int >(val5
);
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxDC
*arg1
= (wxDC
*) 0 ;
17664 wxPoint
*arg2
= 0 ;
17665 wxColour
*arg3
= 0 ;
17666 int arg4
= (int) wxFLOOD_SURFACE
;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 PyObject
* obj2
= 0 ;
17677 PyObject
* obj3
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17694 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17698 if (!SWIG_IsOK(ecode4
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17701 arg4
= static_cast< int >(val4
);
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
= 0;
17720 wxDC
*arg1
= (wxDC
*) 0 ;
17722 wxColour
*arg3
= 0 ;
17723 wxColour
*arg4
= 0 ;
17724 wxPoint
*arg5
= 0 ;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 PyObject
* obj2
= 0 ;
17734 PyObject
* obj3
= 0 ;
17735 PyObject
* obj4
= 0 ;
17736 char * kwnames
[] = {
17737 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17748 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17752 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17756 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17760 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= SWIG_Py_Void();
17775 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
= 0;
17777 wxDC
*arg1
= (wxDC
*) 0 ;
17779 wxColour
*arg3
= 0 ;
17780 wxColour
*arg4
= 0 ;
17781 wxDirection arg5
= (wxDirection
) wxEAST
;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 PyObject
* obj2
= 0 ;
17792 PyObject
* obj3
= 0 ;
17793 PyObject
* obj4
= 0 ;
17794 char * kwnames
[] = {
17795 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17810 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17814 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17817 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17818 if (!SWIG_IsOK(ecode5
)) {
17819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17821 arg5
= static_cast< wxDirection
>(val5
);
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= SWIG_Py_Void();
17836 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
= 0;
17838 wxDC
*arg1
= (wxDC
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 PyObject
* obj1
= 0 ;
17850 PyObject
* obj2
= 0 ;
17851 char * kwnames
[] = {
17852 (char *) "self",(char *) "x",(char *) "y", NULL
17855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17857 if (!SWIG_IsOK(res1
)) {
17858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17862 if (!SWIG_IsOK(ecode2
)) {
17863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17865 arg2
= static_cast< int >(val2
);
17866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17867 if (!SWIG_IsOK(ecode3
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17870 arg3
= static_cast< int >(val3
);
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17884 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
= 0;
17886 wxDC
*arg1
= (wxDC
*) 0 ;
17887 wxPoint
*arg2
= 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "pt", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17921 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
= 0;
17923 wxDC
*arg1
= (wxDC
*) 0 ;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 PyObject
* obj2
= 0 ;
17941 PyObject
* obj3
= 0 ;
17942 PyObject
* obj4
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17954 if (!SWIG_IsOK(ecode2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17957 arg2
= static_cast< int >(val2
);
17958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17959 if (!SWIG_IsOK(ecode3
)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17962 arg3
= static_cast< int >(val3
);
17963 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17964 if (!SWIG_IsOK(ecode4
)) {
17965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17967 arg4
= static_cast< int >(val4
);
17968 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17969 if (!SWIG_IsOK(ecode5
)) {
17970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17972 arg5
= static_cast< int >(val5
);
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_Py_Void();
17986 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxDC
*arg1
= (wxDC
*) 0 ;
17989 wxPoint
*arg2
= 0 ;
17990 wxPoint
*arg3
= 0 ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 PyObject
* obj2
= 0 ;
17998 char * kwnames
[] = {
17999 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18004 if (!SWIG_IsOK(res1
)) {
18005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_Py_Void();
18029 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
= 0;
18031 wxDC
*arg1
= (wxDC
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 PyObject
* obj2
= 0 ;
18043 char * kwnames
[] = {
18044 (char *) "self",(char *) "x",(char *) "y", NULL
18047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18049 if (!SWIG_IsOK(res1
)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18054 if (!SWIG_IsOK(ecode2
)) {
18055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18057 arg2
= static_cast< int >(val2
);
18058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18059 if (!SWIG_IsOK(ecode3
)) {
18060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18062 arg3
= static_cast< int >(val3
);
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->CrossHair(arg2
,arg3
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_Py_Void();
18076 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
= 0;
18078 wxDC
*arg1
= (wxDC
*) 0 ;
18079 wxPoint
*arg2
= 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char * kwnames
[] = {
18086 (char *) "self",(char *) "pt", NULL
18089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18091 if (!SWIG_IsOK(res1
)) {
18092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_Py_Void();
18112 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
= 0;
18114 wxDC
*arg1
= (wxDC
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 PyObject
* obj3
= 0 ;
18139 PyObject
* obj4
= 0 ;
18140 PyObject
* obj5
= 0 ;
18141 PyObject
* obj6
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18153 if (!SWIG_IsOK(ecode2
)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18156 arg2
= static_cast< int >(val2
);
18157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18158 if (!SWIG_IsOK(ecode3
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18161 arg3
= static_cast< int >(val3
);
18162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18163 if (!SWIG_IsOK(ecode4
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18166 arg4
= static_cast< int >(val4
);
18167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18168 if (!SWIG_IsOK(ecode5
)) {
18169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18171 arg5
= static_cast< int >(val5
);
18172 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18173 if (!SWIG_IsOK(ecode6
)) {
18174 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18176 arg6
= static_cast< int >(val6
);
18177 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18178 if (!SWIG_IsOK(ecode7
)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18181 arg7
= static_cast< int >(val7
);
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_Py_Void();
18195 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
= 0;
18197 wxDC
*arg1
= (wxDC
*) 0 ;
18198 wxPoint
*arg2
= 0 ;
18199 wxPoint
*arg3
= 0 ;
18200 wxPoint
*arg4
= 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 PyObject
* obj3
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_Py_Void();
18245 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= 0;
18247 wxDC
*arg1
= (wxDC
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 PyObject
* obj2
= 0 ;
18265 PyObject
* obj3
= 0 ;
18266 PyObject
* obj4
= 0 ;
18267 char * kwnames
[] = {
18268 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18278 if (!SWIG_IsOK(ecode2
)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18281 arg2
= static_cast< int >(val2
);
18282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18283 if (!SWIG_IsOK(ecode3
)) {
18284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18286 arg3
= static_cast< int >(val3
);
18287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18288 if (!SWIG_IsOK(ecode4
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18291 arg4
= static_cast< int >(val4
);
18292 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18293 if (!SWIG_IsOK(ecode5
)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18296 arg5
= static_cast< int >(val5
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_Py_Void();
18310 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
= 0;
18312 wxDC
*arg1
= (wxDC
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 PyObject
* obj1
= 0 ;
18319 char * kwnames
[] = {
18320 (char *) "self",(char *) "rect", NULL
18323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18325 if (!SWIG_IsOK(res1
)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18328 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18331 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_Py_Void();
18346 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
= 0;
18348 wxDC
*arg1
= (wxDC
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 PyObject
* obj1
= 0 ;
18371 PyObject
* obj2
= 0 ;
18372 PyObject
* obj3
= 0 ;
18373 PyObject
* obj4
= 0 ;
18374 PyObject
* obj5
= 0 ;
18375 PyObject
* obj6
= 0 ;
18376 char * kwnames
[] = {
18377 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18382 if (!SWIG_IsOK(res1
)) {
18383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18387 if (!SWIG_IsOK(ecode2
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18390 arg2
= static_cast< int >(val2
);
18391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18392 if (!SWIG_IsOK(ecode3
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18395 arg3
= static_cast< int >(val3
);
18396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18397 if (!SWIG_IsOK(ecode4
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18400 arg4
= static_cast< int >(val4
);
18401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18402 if (!SWIG_IsOK(ecode5
)) {
18403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18405 arg5
= static_cast< int >(val5
);
18406 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18407 if (!SWIG_IsOK(ecode6
)) {
18408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18410 arg6
= static_cast< double >(val6
);
18411 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18412 if (!SWIG_IsOK(ecode7
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18415 arg7
= static_cast< double >(val7
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_Py_Void();
18429 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
= 0;
18431 wxDC
*arg1
= (wxDC
*) 0 ;
18432 wxPoint
*arg2
= 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 PyObject
* obj3
= 0 ;
18448 PyObject
* obj4
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18465 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18467 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18468 if (!SWIG_IsOK(ecode4
)) {
18469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18471 arg4
= static_cast< double >(val4
);
18472 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18473 if (!SWIG_IsOK(ecode5
)) {
18474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18476 arg5
= static_cast< double >(val5
);
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_Py_Void();
18490 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
= 0;
18492 wxDC
*arg1
= (wxDC
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 PyObject
* obj2
= 0 ;
18504 char * kwnames
[] = {
18505 (char *) "self",(char *) "x",(char *) "y", NULL
18508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18510 if (!SWIG_IsOK(res1
)) {
18511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18515 if (!SWIG_IsOK(ecode2
)) {
18516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18518 arg2
= static_cast< int >(val2
);
18519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18520 if (!SWIG_IsOK(ecode3
)) {
18521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18523 arg3
= static_cast< int >(val3
);
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 (arg1
)->DrawPoint(arg2
,arg3
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= SWIG_Py_Void();
18537 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
= 0;
18539 wxDC
*arg1
= (wxDC
*) 0 ;
18540 wxPoint
*arg2
= 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char * kwnames
[] = {
18547 (char *) "self",(char *) "pt", NULL
18550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_Py_Void();
18573 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
= 0;
18575 wxDC
*arg1
= (wxDC
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 PyObject
* obj2
= 0 ;
18593 PyObject
* obj3
= 0 ;
18594 PyObject
* obj4
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18606 if (!SWIG_IsOK(ecode2
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18609 arg2
= static_cast< int >(val2
);
18610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18611 if (!SWIG_IsOK(ecode3
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18614 arg3
= static_cast< int >(val3
);
18615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18616 if (!SWIG_IsOK(ecode4
)) {
18617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18619 arg4
= static_cast< int >(val4
);
18620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18621 if (!SWIG_IsOK(ecode5
)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18624 arg5
= static_cast< int >(val5
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_Py_Void();
18638 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
= 0;
18640 wxDC
*arg1
= (wxDC
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char * kwnames
[] = {
18648 (char *) "self",(char *) "rect", NULL
18651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxDC
*arg1
= (wxDC
*) 0 ;
18677 wxPoint
*arg2
= 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 PyObject
* obj2
= 0 ;
18686 char * kwnames
[] = {
18687 (char *) "self",(char *) "pt",(char *) "sz", NULL
18690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18698 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18702 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_Py_Void();
18717 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
= 0;
18719 wxDC
*arg1
= (wxDC
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 PyObject
* obj3
= 0 ;
18741 PyObject
* obj4
= 0 ;
18742 PyObject
* obj5
= 0 ;
18743 char * kwnames
[] = {
18744 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18749 if (!SWIG_IsOK(res1
)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18754 if (!SWIG_IsOK(ecode2
)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18757 arg2
= static_cast< int >(val2
);
18758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18759 if (!SWIG_IsOK(ecode3
)) {
18760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18762 arg3
= static_cast< int >(val3
);
18763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18764 if (!SWIG_IsOK(ecode4
)) {
18765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18767 arg4
= static_cast< int >(val4
);
18768 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18769 if (!SWIG_IsOK(ecode5
)) {
18770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18772 arg5
= static_cast< int >(val5
);
18773 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18774 if (!SWIG_IsOK(ecode6
)) {
18775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18777 arg6
= static_cast< double >(val6
);
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= SWIG_Py_Void();
18791 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
= 0;
18793 wxDC
*arg1
= (wxDC
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 PyObject
* obj2
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "r",(char *) "radius", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18816 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18818 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18819 if (!SWIG_IsOK(ecode3
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18822 arg3
= static_cast< double >(val3
);
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_Py_Void();
18836 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
= 0;
18838 wxDC
*arg1
= (wxDC
*) 0 ;
18839 wxPoint
*arg2
= 0 ;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 PyObject
* obj2
= 0 ;
18851 PyObject
* obj3
= 0 ;
18852 char * kwnames
[] = {
18853 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18858 if (!SWIG_IsOK(res1
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18868 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18871 if (!SWIG_IsOK(ecode4
)) {
18872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18874 arg4
= static_cast< double >(val4
);
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_Py_Void();
18888 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= 0;
18890 wxDC
*arg1
= (wxDC
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 PyObject
* obj2
= 0 ;
18905 PyObject
* obj3
= 0 ;
18906 char * kwnames
[] = {
18907 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18912 if (!SWIG_IsOK(res1
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18917 if (!SWIG_IsOK(ecode2
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18920 arg2
= static_cast< int >(val2
);
18921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18922 if (!SWIG_IsOK(ecode3
)) {
18923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18925 arg3
= static_cast< int >(val3
);
18926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18927 if (!SWIG_IsOK(ecode4
)) {
18928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18930 arg4
= static_cast< int >(val4
);
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= SWIG_Py_Void();
18944 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
= 0;
18946 wxDC
*arg1
= (wxDC
*) 0 ;
18947 wxPoint
*arg2
= 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 PyObject
* obj2
= 0 ;
18957 char * kwnames
[] = {
18958 (char *) "self",(char *) "pt",(char *) "radius", NULL
18961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18963 if (!SWIG_IsOK(res1
)) {
18964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18972 if (!SWIG_IsOK(ecode3
)) {
18973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18975 arg3
= static_cast< int >(val3
);
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_Py_Void();
18989 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= 0;
18991 wxDC
*arg1
= (wxDC
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 PyObject
* obj2
= 0 ;
19009 PyObject
* obj3
= 0 ;
19010 PyObject
* obj4
= 0 ;
19011 char * kwnames
[] = {
19012 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19022 if (!SWIG_IsOK(ecode2
)) {
19023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19025 arg2
= static_cast< int >(val2
);
19026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19027 if (!SWIG_IsOK(ecode3
)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19030 arg3
= static_cast< int >(val3
);
19031 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19032 if (!SWIG_IsOK(ecode4
)) {
19033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19035 arg4
= static_cast< int >(val4
);
19036 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19037 if (!SWIG_IsOK(ecode5
)) {
19038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19040 arg5
= static_cast< int >(val5
);
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= SWIG_Py_Void();
19054 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
= 0;
19056 wxDC
*arg1
= (wxDC
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char * kwnames
[] = {
19064 (char *) "self",(char *) "rect", NULL
19067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19069 if (!SWIG_IsOK(res1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19075 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_Py_Void();
19090 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= 0;
19092 wxDC
*arg1
= (wxDC
*) 0 ;
19093 wxPoint
*arg2
= 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 PyObject
* obj2
= 0 ;
19102 char * kwnames
[] = {
19103 (char *) "self",(char *) "pt",(char *) "sz", NULL
19106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19118 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_Py_Void();
19133 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxDC
*arg1
= (wxDC
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 PyObject
* obj3
= 0 ;
19151 char * kwnames
[] = {
19152 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19162 if (!SWIG_IsOK(res2
)) {
19163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19168 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19170 if (!SWIG_IsOK(ecode3
)) {
19171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19173 arg3
= static_cast< int >(val3
);
19174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19175 if (!SWIG_IsOK(ecode4
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19178 arg4
= static_cast< int >(val4
);
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_Py_Void();
19192 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
= 0;
19194 wxDC
*arg1
= (wxDC
*) 0 ;
19196 wxPoint
*arg3
= 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 PyObject
* obj2
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "icon",(char *) "pt", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19216 if (!SWIG_IsOK(res2
)) {
19217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19222 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= SWIG_Py_Void();
19240 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
= 0;
19242 wxDC
*arg1
= (wxDC
*) 0 ;
19243 wxBitmap
*arg2
= 0 ;
19246 bool arg5
= (bool) false ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 PyObject
* obj2
= 0 ;
19260 PyObject
* obj3
= 0 ;
19261 PyObject
* obj4
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19273 if (!SWIG_IsOK(res2
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19279 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19281 if (!SWIG_IsOK(ecode3
)) {
19282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19284 arg3
= static_cast< int >(val3
);
19285 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19286 if (!SWIG_IsOK(ecode4
)) {
19287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19289 arg4
= static_cast< int >(val4
);
19291 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19292 if (!SWIG_IsOK(ecode5
)) {
19293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19295 arg5
= static_cast< bool >(val5
);
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_Py_Void();
19310 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
= 0;
19312 wxDC
*arg1
= (wxDC
*) 0 ;
19313 wxBitmap
*arg2
= 0 ;
19314 wxPoint
*arg3
= 0 ;
19315 bool arg4
= (bool) false ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 PyObject
* obj2
= 0 ;
19326 PyObject
* obj3
= 0 ;
19327 char * kwnames
[] = {
19328 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19338 if (!SWIG_IsOK(res2
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19350 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19351 if (!SWIG_IsOK(ecode4
)) {
19352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19354 arg4
= static_cast< bool >(val4
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19369 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxDC
*arg1
= (wxDC
*) 0 ;
19372 wxString
*arg2
= 0 ;
19377 bool temp2
= false ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 PyObject
* obj2
= 0 ;
19385 PyObject
* obj3
= 0 ;
19386 char * kwnames
[] = {
19387 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19392 if (!SWIG_IsOK(res1
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19397 arg2
= wxString_in_helper(obj1
);
19398 if (arg2
== NULL
) SWIG_fail
;
19401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19402 if (!SWIG_IsOK(ecode3
)) {
19403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19405 arg3
= static_cast< int >(val3
);
19406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19407 if (!SWIG_IsOK(ecode4
)) {
19408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19410 arg4
= static_cast< int >(val4
);
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxDC
*arg1
= (wxDC
*) 0 ;
19435 wxString
*arg2
= 0 ;
19436 wxPoint
*arg3
= 0 ;
19439 bool temp2
= false ;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 PyObject
* obj2
= 0 ;
19444 char * kwnames
[] = {
19445 (char *) "self",(char *) "text",(char *) "pt", NULL
19448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19450 if (!SWIG_IsOK(res1
)) {
19451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19455 arg2
= wxString_in_helper(obj1
);
19456 if (arg2
== NULL
) SWIG_fail
;
19461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_Py_Void();
19484 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
= 0;
19486 wxDC
*arg1
= (wxDC
*) 0 ;
19487 wxString
*arg2
= 0 ;
19493 bool temp2
= false ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 PyObject
* obj2
= 0 ;
19503 PyObject
* obj3
= 0 ;
19504 PyObject
* obj4
= 0 ;
19505 char * kwnames
[] = {
19506 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19516 arg2
= wxString_in_helper(obj1
);
19517 if (arg2
== NULL
) SWIG_fail
;
19520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19521 if (!SWIG_IsOK(ecode3
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19524 arg3
= static_cast< int >(val3
);
19525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19526 if (!SWIG_IsOK(ecode4
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19529 arg4
= static_cast< int >(val4
);
19530 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19531 if (!SWIG_IsOK(ecode5
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19534 arg5
= static_cast< double >(val5
);
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 resultobj
= SWIG_Py_Void();
19556 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxDC
*arg1
= (wxDC
*) 0 ;
19559 wxString
*arg2
= 0 ;
19560 wxPoint
*arg3
= 0 ;
19564 bool temp2
= false ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 PyObject
* obj3
= 0 ;
19572 char * kwnames
[] = {
19573 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19583 arg2
= wxString_in_helper(obj1
);
19584 if (arg2
== NULL
) SWIG_fail
;
19589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19591 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19592 if (!SWIG_IsOK(ecode4
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19595 arg4
= static_cast< double >(val4
);
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_Py_Void();
19617 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
= 0;
19619 wxDC
*arg1
= (wxDC
*) 0 ;
19624 wxDC
*arg6
= (wxDC
*) 0 ;
19627 int arg9
= (int) wxCOPY
;
19628 bool arg10
= (bool) false ;
19629 int arg11
= (int) -1 ;
19630 int arg12
= (int) -1 ;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 PyObject
* obj2
= 0 ;
19659 PyObject
* obj3
= 0 ;
19660 PyObject
* obj4
= 0 ;
19661 PyObject
* obj5
= 0 ;
19662 PyObject
* obj6
= 0 ;
19663 PyObject
* obj7
= 0 ;
19664 PyObject
* obj8
= 0 ;
19665 PyObject
* obj9
= 0 ;
19666 PyObject
* obj10
= 0 ;
19667 PyObject
* obj11
= 0 ;
19668 char * kwnames
[] = {
19669 (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
19672 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
;
19673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19674 if (!SWIG_IsOK(res1
)) {
19675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19679 if (!SWIG_IsOK(ecode2
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19682 arg2
= static_cast< int >(val2
);
19683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19684 if (!SWIG_IsOK(ecode3
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19687 arg3
= static_cast< int >(val3
);
19688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19689 if (!SWIG_IsOK(ecode4
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19692 arg4
= static_cast< int >(val4
);
19693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19694 if (!SWIG_IsOK(ecode5
)) {
19695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19697 arg5
= static_cast< int >(val5
);
19698 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19699 if (!SWIG_IsOK(res6
)) {
19700 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19702 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19703 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19704 if (!SWIG_IsOK(ecode7
)) {
19705 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19707 arg7
= static_cast< int >(val7
);
19708 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19709 if (!SWIG_IsOK(ecode8
)) {
19710 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19712 arg8
= static_cast< int >(val8
);
19714 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19715 if (!SWIG_IsOK(ecode9
)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19718 arg9
= static_cast< int >(val9
);
19721 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19722 if (!SWIG_IsOK(ecode10
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19725 arg10
= static_cast< bool >(val10
);
19728 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19729 if (!SWIG_IsOK(ecode11
)) {
19730 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19732 arg11
= static_cast< int >(val11
);
19735 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19736 if (!SWIG_IsOK(ecode12
)) {
19737 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19739 arg12
= static_cast< int >(val12
);
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19756 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
= 0;
19758 wxDC
*arg1
= (wxDC
*) 0 ;
19759 wxPoint
*arg2
= 0 ;
19761 wxDC
*arg4
= (wxDC
*) 0 ;
19762 wxPoint
*arg5
= 0 ;
19763 int arg6
= (int) wxCOPY
;
19764 bool arg7
= (bool) false ;
19765 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19766 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 PyObject
* obj2
= 0 ;
19783 PyObject
* obj3
= 0 ;
19784 PyObject
* obj4
= 0 ;
19785 PyObject
* obj5
= 0 ;
19786 PyObject
* obj6
= 0 ;
19787 PyObject
* obj7
= 0 ;
19788 char * kwnames
[] = {
19789 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19804 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19806 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19807 if (!SWIG_IsOK(res4
)) {
19808 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19810 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19816 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19817 if (!SWIG_IsOK(ecode6
)) {
19818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19820 arg6
= static_cast< int >(val6
);
19823 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19824 if (!SWIG_IsOK(ecode7
)) {
19825 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19827 arg7
= static_cast< bool >(val7
);
19832 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19850 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
= 0;
19852 wxDC
*arg1
= (wxDC
*) 0 ;
19853 wxRect
*arg2
= (wxRect
*) NULL
;
19854 SwigValueWrapper
<wxBitmap
> result
;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char * kwnames
[] = {
19862 (char *) "self",(char *) "subrect", NULL
19865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19867 if (!SWIG_IsOK(res1
)) {
19868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19873 if (!SWIG_IsOK(res2
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19876 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19891 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
= 0;
19893 wxDC
*arg1
= (wxDC
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 PyObject
* obj2
= 0 ;
19911 PyObject
* obj3
= 0 ;
19912 PyObject
* obj4
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19924 if (!SWIG_IsOK(ecode2
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19927 arg2
= static_cast< int >(val2
);
19928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19929 if (!SWIG_IsOK(ecode3
)) {
19930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19932 arg3
= static_cast< int >(val3
);
19933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19934 if (!SWIG_IsOK(ecode4
)) {
19935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19937 arg4
= static_cast< int >(val4
);
19938 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19939 if (!SWIG_IsOK(ecode5
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19942 arg5
= static_cast< int >(val5
);
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= SWIG_Py_Void();
19956 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
= 0;
19958 wxDC
*arg1
= (wxDC
*) 0 ;
19959 wxPoint
*arg2
= 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 PyObject
* obj2
= 0 ;
19968 char * kwnames
[] = {
19969 (char *) "self",(char *) "pt",(char *) "sz", NULL
19972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19974 if (!SWIG_IsOK(res1
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19984 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_Py_Void();
19999 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
= 0;
20001 wxDC
*arg1
= (wxDC
*) 0 ;
20002 wxRegion
*arg2
= 0 ;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 char * kwnames
[] = {
20010 (char *) "self",(char *) "region", NULL
20013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20015 if (!SWIG_IsOK(res1
)) {
20016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20020 if (!SWIG_IsOK(res2
)) {
20021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20026 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_Py_Void();
20040 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
= 0;
20042 wxDC
*arg1
= (wxDC
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "rect", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20061 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_Py_Void();
20076 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
= 0;
20078 wxDC
*arg1
= (wxDC
*) 0 ;
20080 wxPoint
*arg3
= (wxPoint
*) 0 ;
20081 int arg4
= (int) 0 ;
20082 int arg5
= (int) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 PyObject
* obj1
= 0 ;
20091 PyObject
* obj2
= 0 ;
20092 PyObject
* obj3
= 0 ;
20093 char * kwnames
[] = {
20094 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20099 if (!SWIG_IsOK(res1
)) {
20100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20104 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20105 if (arg3
== NULL
) SWIG_fail
;
20108 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20109 if (!SWIG_IsOK(ecode4
)) {
20110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20112 arg4
= static_cast< int >(val4
);
20115 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20116 if (!SWIG_IsOK(ecode5
)) {
20117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20119 arg5
= static_cast< int >(val5
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_Py_Void();
20129 if (arg3
) delete [] arg3
;
20134 if (arg3
) delete [] arg3
;
20140 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
= 0;
20142 wxDC
*arg1
= (wxDC
*) 0 ;
20144 wxPoint
*arg3
= (wxPoint
*) 0 ;
20145 int arg4
= (int) 0 ;
20146 int arg5
= (int) 0 ;
20147 int arg6
= (int) wxODDEVEN_RULE
;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 PyObject
* obj2
= 0 ;
20159 PyObject
* obj3
= 0 ;
20160 PyObject
* obj4
= 0 ;
20161 char * kwnames
[] = {
20162 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20167 if (!SWIG_IsOK(res1
)) {
20168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20172 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20173 if (arg3
== NULL
) SWIG_fail
;
20176 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20177 if (!SWIG_IsOK(ecode4
)) {
20178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20180 arg4
= static_cast< int >(val4
);
20183 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20184 if (!SWIG_IsOK(ecode5
)) {
20185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20187 arg5
= static_cast< int >(val5
);
20190 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20191 if (!SWIG_IsOK(ecode6
)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20194 arg6
= static_cast< int >(val6
);
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_Py_Void();
20204 if (arg3
) delete [] arg3
;
20209 if (arg3
) delete [] arg3
;
20215 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
= 0;
20217 wxDC
*arg1
= (wxDC
*) 0 ;
20218 wxString
*arg2
= 0 ;
20220 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20221 int arg5
= (int) -1 ;
20224 bool temp2
= false ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 PyObject
* obj2
= 0 ;
20233 PyObject
* obj3
= 0 ;
20234 PyObject
* obj4
= 0 ;
20235 char * kwnames
[] = {
20236 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20246 arg2
= wxString_in_helper(obj1
);
20247 if (arg2
== NULL
) SWIG_fail
;
20252 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20256 if (!SWIG_IsOK(ecode4
)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20259 arg4
= static_cast< int >(val4
);
20262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20263 if (!SWIG_IsOK(ecode5
)) {
20264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20266 arg5
= static_cast< int >(val5
);
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_Py_Void();
20289 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
= 0;
20291 wxDC
*arg1
= (wxDC
*) 0 ;
20292 wxString
*arg2
= 0 ;
20293 wxBitmap
*arg3
= 0 ;
20295 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20296 int arg6
= (int) -1 ;
20300 bool temp2
= false ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 PyObject
* obj2
= 0 ;
20311 PyObject
* obj3
= 0 ;
20312 PyObject
* obj4
= 0 ;
20313 PyObject
* obj5
= 0 ;
20314 char * kwnames
[] = {
20315 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20320 if (!SWIG_IsOK(res1
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20325 arg2
= wxString_in_helper(obj1
);
20326 if (arg2
== NULL
) SWIG_fail
;
20329 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20330 if (!SWIG_IsOK(res3
)) {
20331 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20336 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20339 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20342 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20343 if (!SWIG_IsOK(ecode5
)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20346 arg5
= static_cast< int >(val5
);
20349 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20350 if (!SWIG_IsOK(ecode6
)) {
20351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20353 arg6
= static_cast< int >(val6
);
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20376 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
= 0;
20378 wxDC
*arg1
= (wxDC
*) 0 ;
20380 wxPoint
*arg3
= (wxPoint
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char * kwnames
[] = {
20386 (char *) "self",(char *) "points", NULL
20389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20391 if (!SWIG_IsOK(res1
)) {
20392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20396 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20397 if (arg3
== NULL
) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 (arg1
)->DrawSpline(arg2
,arg3
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_Py_Void();
20407 if (arg3
) delete [] arg3
;
20412 if (arg3
) delete [] arg3
;
20418 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20419 PyObject
*resultobj
= 0;
20420 wxDC
*arg1
= (wxDC
*) 0 ;
20423 PyObject
*swig_obj
[1] ;
20425 if (!args
) SWIG_fail
;
20426 swig_obj
[0] = args
;
20427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20428 if (!SWIG_IsOK(res1
)) {
20429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= SWIG_Py_Void();
20445 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
= 0;
20447 wxDC
*arg1
= (wxDC
*) 0 ;
20448 wxString
*arg2
= 0 ;
20452 bool temp2
= false ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 char * kwnames
[] = {
20456 (char *) "self",(char *) "message", NULL
20459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20461 if (!SWIG_IsOK(res1
)) {
20462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20466 arg2
= wxString_in_helper(obj1
);
20467 if (arg2
== NULL
) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20493 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20494 PyObject
*resultobj
= 0;
20495 wxDC
*arg1
= (wxDC
*) 0 ;
20498 PyObject
*swig_obj
[1] ;
20500 if (!args
) SWIG_fail
;
20501 swig_obj
[0] = args
;
20502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_Py_Void();
20520 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20521 PyObject
*resultobj
= 0;
20522 wxDC
*arg1
= (wxDC
*) 0 ;
20525 PyObject
*swig_obj
[1] ;
20527 if (!args
) SWIG_fail
;
20528 swig_obj
[0] = args
;
20529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20530 if (!SWIG_IsOK(res1
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->StartPage();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20548 PyObject
*resultobj
= 0;
20549 wxDC
*arg1
= (wxDC
*) 0 ;
20552 PyObject
*swig_obj
[1] ;
20554 if (!args
) SWIG_fail
;
20555 swig_obj
[0] = args
;
20556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20557 if (!SWIG_IsOK(res1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_Py_Void();
20574 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
= 0;
20576 wxDC
*arg1
= (wxDC
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char * kwnames
[] = {
20585 (char *) "self",(char *) "font", NULL
20588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20590 if (!SWIG_IsOK(res1
)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20595 if (!SWIG_IsOK(res2
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20601 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetFont((wxFont
const &)*arg2
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_Py_Void();
20615 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxDC
*arg1
= (wxDC
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 char * kwnames
[] = {
20626 (char *) "self",(char *) "pen", NULL
20629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20631 if (!SWIG_IsOK(res1
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20636 if (!SWIG_IsOK(res2
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20642 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->SetPen((wxPen
const &)*arg2
);
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= SWIG_Py_Void();
20656 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
= 0;
20658 wxDC
*arg1
= (wxDC
*) 0 ;
20659 wxBrush
*arg2
= 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "self",(char *) "brush", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20672 if (!SWIG_IsOK(res1
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20677 if (!SWIG_IsOK(res2
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20683 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_Py_Void();
20697 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
= 0;
20699 wxDC
*arg1
= (wxDC
*) 0 ;
20700 wxBrush
*arg2
= 0 ;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 char * kwnames
[] = {
20708 (char *) "self",(char *) "brush", NULL
20711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20713 if (!SWIG_IsOK(res1
)) {
20714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20718 if (!SWIG_IsOK(res2
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20724 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_Py_Void();
20738 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxDC
*arg1
= (wxDC
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 char * kwnames
[] = {
20749 (char *) "self",(char *) "mode", NULL
20752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20754 if (!SWIG_IsOK(res1
)) {
20755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20759 if (!SWIG_IsOK(ecode2
)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20762 arg2
= static_cast< int >(val2
);
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 (arg1
)->SetBackgroundMode(arg2
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_Py_Void();
20776 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
= 0;
20778 wxDC
*arg1
= (wxDC
*) 0 ;
20779 wxPalette
*arg2
= 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char * kwnames
[] = {
20787 (char *) "self",(char *) "palette", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20797 if (!SWIG_IsOK(res2
)) {
20798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20803 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_Py_Void();
20817 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20818 PyObject
*resultobj
= 0;
20819 wxDC
*arg1
= (wxDC
*) 0 ;
20822 PyObject
*swig_obj
[1] ;
20824 if (!args
) SWIG_fail
;
20825 swig_obj
[0] = args
;
20826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 (arg1
)->DestroyClippingRegion();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_Py_Void();
20844 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20845 PyObject
*resultobj
= 0;
20846 wxDC
*arg1
= (wxDC
*) 0 ;
20847 int *arg2
= (int *) 0 ;
20848 int *arg3
= (int *) 0 ;
20849 int *arg4
= (int *) 0 ;
20850 int *arg5
= (int *) 0 ;
20854 int res2
= SWIG_TMPOBJ
;
20856 int res3
= SWIG_TMPOBJ
;
20858 int res4
= SWIG_TMPOBJ
;
20860 int res5
= SWIG_TMPOBJ
;
20861 PyObject
*swig_obj
[1] ;
20867 if (!args
) SWIG_fail
;
20868 swig_obj
[0] = args
;
20869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_Py_Void();
20881 if (SWIG_IsTmpObj(res2
)) {
20882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20884 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20887 if (SWIG_IsTmpObj(res3
)) {
20888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20890 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20893 if (SWIG_IsTmpObj(res4
)) {
20894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20896 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20899 if (SWIG_IsTmpObj(res5
)) {
20900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20902 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20911 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 PyObject
*resultobj
= 0;
20913 wxDC
*arg1
= (wxDC
*) 0 ;
20917 PyObject
*swig_obj
[1] ;
20919 if (!args
) SWIG_fail
;
20920 swig_obj
[0] = args
;
20921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20922 if (!SWIG_IsOK(res1
)) {
20923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= wxDC_GetClippingRect(arg1
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20939 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20940 PyObject
*resultobj
= 0;
20941 wxDC
*arg1
= (wxDC
*) 0 ;
20945 PyObject
*swig_obj
[1] ;
20947 if (!args
) SWIG_fail
;
20948 swig_obj
[0] = args
;
20949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20950 if (!SWIG_IsOK(res1
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= SWIG_From_int(static_cast< int >(result
));
20967 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20968 PyObject
*resultobj
= 0;
20969 wxDC
*arg1
= (wxDC
*) 0 ;
20973 PyObject
*swig_obj
[1] ;
20975 if (!args
) SWIG_fail
;
20976 swig_obj
[0] = args
;
20977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_From_int(static_cast< int >(result
));
20995 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
20998 wxString
*arg2
= 0 ;
20999 int *arg3
= (int *) 0 ;
21000 int *arg4
= (int *) 0 ;
21003 bool temp2
= false ;
21005 int res3
= SWIG_TMPOBJ
;
21007 int res4
= SWIG_TMPOBJ
;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 char * kwnames
[] = {
21011 (char *) "self",(char *) "string", NULL
21016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21018 if (!SWIG_IsOK(res1
)) {
21019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21023 arg2
= wxString_in_helper(obj1
);
21024 if (arg2
== NULL
) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_Py_Void();
21034 if (SWIG_IsTmpObj(res3
)) {
21035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21037 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21040 if (SWIG_IsTmpObj(res4
)) {
21041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21043 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21060 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
= 0;
21062 wxDC
*arg1
= (wxDC
*) 0 ;
21063 wxString
*arg2
= 0 ;
21064 int *arg3
= (int *) 0 ;
21065 int *arg4
= (int *) 0 ;
21066 int *arg5
= (int *) 0 ;
21067 int *arg6
= (int *) 0 ;
21068 wxFont
*arg7
= (wxFont
*) NULL
;
21071 bool temp2
= false ;
21073 int res3
= SWIG_TMPOBJ
;
21075 int res4
= SWIG_TMPOBJ
;
21077 int res5
= SWIG_TMPOBJ
;
21079 int res6
= SWIG_TMPOBJ
;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 PyObject
* obj2
= 0 ;
21085 char * kwnames
[] = {
21086 (char *) "self",(char *) "string",(char *) "font", NULL
21093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21095 if (!SWIG_IsOK(res1
)) {
21096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21100 arg2
= wxString_in_helper(obj1
);
21101 if (arg2
== NULL
) SWIG_fail
;
21105 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21106 if (!SWIG_IsOK(res7
)) {
21107 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21109 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= SWIG_Py_Void();
21118 if (SWIG_IsTmpObj(res3
)) {
21119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21121 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21124 if (SWIG_IsTmpObj(res4
)) {
21125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21127 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21130 if (SWIG_IsTmpObj(res5
)) {
21131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21133 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21136 if (SWIG_IsTmpObj(res6
)) {
21137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21139 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21156 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
= 0;
21158 wxDC
*arg1
= (wxDC
*) 0 ;
21159 wxString
*arg2
= 0 ;
21160 int *arg3
= (int *) 0 ;
21161 int *arg4
= (int *) 0 ;
21162 int *arg5
= (int *) 0 ;
21163 wxFont
*arg6
= (wxFont
*) NULL
;
21166 bool temp2
= false ;
21168 int res3
= SWIG_TMPOBJ
;
21170 int res4
= SWIG_TMPOBJ
;
21172 int res5
= SWIG_TMPOBJ
;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 PyObject
* obj2
= 0 ;
21178 char * kwnames
[] = {
21179 (char *) "self",(char *) "text",(char *) "font", NULL
21185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21187 if (!SWIG_IsOK(res1
)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21190 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21192 arg2
= wxString_in_helper(obj1
);
21193 if (arg2
== NULL
) SWIG_fail
;
21197 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21198 if (!SWIG_IsOK(res6
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21201 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_Py_Void();
21210 if (SWIG_IsTmpObj(res3
)) {
21211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21213 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21216 if (SWIG_IsTmpObj(res4
)) {
21217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21219 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21222 if (SWIG_IsTmpObj(res5
)) {
21223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21225 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21242 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
= 0;
21244 wxDC
*arg1
= (wxDC
*) 0 ;
21245 wxString
*arg2
= 0 ;
21249 bool temp2
= false ;
21250 PyObject
* obj0
= 0 ;
21251 PyObject
* obj1
= 0 ;
21252 char * kwnames
[] = {
21253 (char *) "self",(char *) "text", NULL
21256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21258 if (!SWIG_IsOK(res1
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21263 arg2
= wxString_in_helper(obj1
);
21264 if (arg2
== NULL
) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21274 resultobj
= wxArrayInt2PyList_helper(result
);
21290 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21291 PyObject
*resultobj
= 0;
21292 wxDC
*arg1
= (wxDC
*) 0 ;
21296 PyObject
*swig_obj
[1] ;
21298 if (!args
) SWIG_fail
;
21299 swig_obj
[0] = args
;
21300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21301 if (!SWIG_IsOK(res1
)) {
21302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (arg1
)->GetSize();
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21318 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21319 PyObject
*resultobj
= 0;
21320 wxDC
*arg1
= (wxDC
*) 0 ;
21321 int *arg2
= (int *) 0 ;
21322 int *arg3
= (int *) 0 ;
21326 int res2
= SWIG_TMPOBJ
;
21328 int res3
= SWIG_TMPOBJ
;
21329 PyObject
*swig_obj
[1] ;
21333 if (!args
) SWIG_fail
;
21334 swig_obj
[0] = args
;
21335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21336 if (!SWIG_IsOK(res1
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 (arg1
)->GetSize(arg2
,arg3
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_Py_Void();
21347 if (SWIG_IsTmpObj(res2
)) {
21348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21350 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21353 if (SWIG_IsTmpObj(res3
)) {
21354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21365 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21366 PyObject
*resultobj
= 0;
21367 wxDC
*arg1
= (wxDC
*) 0 ;
21371 PyObject
*swig_obj
[1] ;
21373 if (!args
) SWIG_fail
;
21374 swig_obj
[0] = args
;
21375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21376 if (!SWIG_IsOK(res1
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21393 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21394 PyObject
*resultobj
= 0;
21395 wxDC
*arg1
= (wxDC
*) 0 ;
21396 int *arg2
= (int *) 0 ;
21397 int *arg3
= (int *) 0 ;
21401 int res2
= SWIG_TMPOBJ
;
21403 int res3
= SWIG_TMPOBJ
;
21404 PyObject
*swig_obj
[1] ;
21408 if (!args
) SWIG_fail
;
21409 swig_obj
[0] = args
;
21410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= SWIG_Py_Void();
21422 if (SWIG_IsTmpObj(res2
)) {
21423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21425 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21428 if (SWIG_IsTmpObj(res3
)) {
21429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21431 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21440 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
= 0;
21442 wxDC
*arg1
= (wxDC
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char * kwnames
[] = {
21452 (char *) "self",(char *) "x", NULL
21455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21457 if (!SWIG_IsOK(res1
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21462 if (!SWIG_IsOK(ecode2
)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21465 arg2
= static_cast< int >(val2
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_From_int(static_cast< int >(result
));
21479 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
= 0;
21481 wxDC
*arg1
= (wxDC
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "self",(char *) "y", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21501 if (!SWIG_IsOK(ecode2
)) {
21502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21504 arg2
= static_cast< int >(val2
);
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_From_int(static_cast< int >(result
));
21518 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
= 0;
21520 wxDC
*arg1
= (wxDC
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "x", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21540 if (!SWIG_IsOK(ecode2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21543 arg2
= static_cast< int >(val2
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_From_int(static_cast< int >(result
));
21557 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxDC
*arg1
= (wxDC
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "y", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21579 if (!SWIG_IsOK(ecode2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21582 arg2
= static_cast< int >(val2
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_From_int(static_cast< int >(result
));
21596 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char * kwnames
[] = {
21608 (char *) "self",(char *) "x", NULL
21611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21618 if (!SWIG_IsOK(ecode2
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21621 arg2
= static_cast< int >(val2
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_From_int(static_cast< int >(result
));
21635 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
= 0;
21637 wxDC
*arg1
= (wxDC
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char * kwnames
[] = {
21647 (char *) "self",(char *) "y", NULL
21650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21657 if (!SWIG_IsOK(ecode2
)) {
21658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21660 arg2
= static_cast< int >(val2
);
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_From_int(static_cast< int >(result
));
21674 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= 0;
21676 wxDC
*arg1
= (wxDC
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 char * kwnames
[] = {
21686 (char *) "self",(char *) "x", NULL
21689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21691 if (!SWIG_IsOK(res1
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21696 if (!SWIG_IsOK(ecode2
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21699 arg2
= static_cast< int >(val2
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_From_int(static_cast< int >(result
));
21713 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
= 0;
21715 wxDC
*arg1
= (wxDC
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 char * kwnames
[] = {
21725 (char *) "self",(char *) "y", NULL
21728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21735 if (!SWIG_IsOK(ecode2
)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21738 arg2
= static_cast< int >(val2
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_From_int(static_cast< int >(result
));
21752 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21753 PyObject
*resultobj
= 0;
21754 wxDC
*arg1
= (wxDC
*) 0 ;
21758 PyObject
*swig_obj
[1] ;
21760 if (!args
) SWIG_fail
;
21761 swig_obj
[0] = args
;
21762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21763 if (!SWIG_IsOK(res1
)) {
21764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21782 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21783 PyObject
*resultobj
= 0;
21784 wxDC
*arg1
= (wxDC
*) 0 ;
21788 PyObject
*swig_obj
[1] ;
21790 if (!args
) SWIG_fail
;
21791 swig_obj
[0] = args
;
21792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21793 if (!SWIG_IsOK(res1
)) {
21794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21812 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 PyObject
*resultobj
= 0;
21814 wxDC
*arg1
= (wxDC
*) 0 ;
21818 PyObject
*swig_obj
[1] ;
21820 if (!args
) SWIG_fail
;
21821 swig_obj
[0] = args
;
21822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_From_int(static_cast< int >(result
));
21840 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21841 PyObject
*resultobj
= 0;
21842 wxDC
*arg1
= (wxDC
*) 0 ;
21846 PyObject
*swig_obj
[1] ;
21848 if (!args
) SWIG_fail
;
21849 swig_obj
[0] = args
;
21850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= ((wxDC
const *)arg1
)->GetPPI();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21868 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21869 PyObject
*resultobj
= 0;
21870 wxDC
*arg1
= (wxDC
*) 0 ;
21874 PyObject
*swig_obj
[1] ;
21876 if (!args
) SWIG_fail
;
21877 swig_obj
[0] = args
;
21878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21879 if (!SWIG_IsOK(res1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21899 PyObject
*resultobj
= 0;
21900 wxDC
*arg1
= (wxDC
*) 0 ;
21904 PyObject
*swig_obj
[1] ;
21906 if (!args
) SWIG_fail
;
21907 swig_obj
[0] = args
;
21908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21909 if (!SWIG_IsOK(res1
)) {
21910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_From_int(static_cast< int >(result
));
21926 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21927 PyObject
*resultobj
= 0;
21928 wxDC
*arg1
= (wxDC
*) 0 ;
21929 wxBrush
*result
= 0 ;
21932 PyObject
*swig_obj
[1] ;
21934 if (!args
) SWIG_fail
;
21935 swig_obj
[0] = args
;
21936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21937 if (!SWIG_IsOK(res1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21945 result
= (wxBrush
*) &_result_ref
;
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 wxBrush
* resultptr
= new wxBrush(*result
);
21952 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21960 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21961 PyObject
*resultobj
= 0;
21962 wxDC
*arg1
= (wxDC
*) 0 ;
21963 wxBrush
*result
= 0 ;
21966 PyObject
*swig_obj
[1] ;
21968 if (!args
) SWIG_fail
;
21969 swig_obj
[0] = args
;
21970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21971 if (!SWIG_IsOK(res1
)) {
21972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21979 result
= (wxBrush
*) &_result_ref
;
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 wxBrush
* resultptr
= new wxBrush(*result
);
21986 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21994 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21995 PyObject
*resultobj
= 0;
21996 wxDC
*arg1
= (wxDC
*) 0 ;
21997 wxFont
*result
= 0 ;
22000 PyObject
*swig_obj
[1] ;
22002 if (!args
) SWIG_fail
;
22003 swig_obj
[0] = args
;
22004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22013 result
= (wxFont
*) &_result_ref
;
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22019 wxFont
* resultptr
= new wxFont(*result
);
22020 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22028 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22029 PyObject
*resultobj
= 0;
22030 wxDC
*arg1
= (wxDC
*) 0 ;
22031 wxPen
*result
= 0 ;
22034 PyObject
*swig_obj
[1] ;
22036 if (!args
) SWIG_fail
;
22037 swig_obj
[0] = args
;
22038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22039 if (!SWIG_IsOK(res1
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22047 result
= (wxPen
*) &_result_ref
;
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 wxPen
* resultptr
= new wxPen(*result
);
22054 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22062 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 PyObject
*resultobj
= 0;
22064 wxDC
*arg1
= (wxDC
*) 0 ;
22065 wxColour
*result
= 0 ;
22068 PyObject
*swig_obj
[1] ;
22070 if (!args
) SWIG_fail
;
22071 swig_obj
[0] = args
;
22072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22081 result
= (wxColour
*) &_result_ref
;
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22093 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22094 PyObject
*resultobj
= 0;
22095 wxDC
*arg1
= (wxDC
*) 0 ;
22096 wxColour
*result
= 0 ;
22099 PyObject
*swig_obj
[1] ;
22101 if (!args
) SWIG_fail
;
22102 swig_obj
[0] = args
;
22103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22104 if (!SWIG_IsOK(res1
)) {
22105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22107 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22112 result
= (wxColour
*) &_result_ref
;
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22124 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
= 0;
22126 wxDC
*arg1
= (wxDC
*) 0 ;
22127 wxColour
*arg2
= 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char * kwnames
[] = {
22134 (char *) "self",(char *) "colour", NULL
22137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22139 if (!SWIG_IsOK(res1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_Py_Void();
22160 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
= 0;
22162 wxDC
*arg1
= (wxDC
*) 0 ;
22163 wxColour
*arg2
= 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char * kwnames
[] = {
22170 (char *) "self",(char *) "colour", NULL
22173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22175 if (!SWIG_IsOK(res1
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= SWIG_Py_Void();
22196 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22197 PyObject
*resultobj
= 0;
22198 wxDC
*arg1
= (wxDC
*) 0 ;
22202 PyObject
*swig_obj
[1] ;
22204 if (!args
) SWIG_fail
;
22205 swig_obj
[0] = args
;
22206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22207 if (!SWIG_IsOK(res1
)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_From_int(static_cast< int >(result
));
22224 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
= 0;
22226 wxDC
*arg1
= (wxDC
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char * kwnames
[] = {
22235 (char *) "self",(char *) "mode", NULL
22238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22240 if (!SWIG_IsOK(res1
)) {
22241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22245 if (!SWIG_IsOK(ecode2
)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22248 arg2
= static_cast< int >(val2
);
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 (arg1
)->SetMapMode(arg2
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_Py_Void();
22262 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22263 PyObject
*resultobj
= 0;
22264 wxDC
*arg1
= (wxDC
*) 0 ;
22265 double *arg2
= (double *) 0 ;
22266 double *arg3
= (double *) 0 ;
22270 int res2
= SWIG_TMPOBJ
;
22272 int res3
= SWIG_TMPOBJ
;
22273 PyObject
*swig_obj
[1] ;
22277 if (!args
) SWIG_fail
;
22278 swig_obj
[0] = args
;
22279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22280 if (!SWIG_IsOK(res1
)) {
22281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_Py_Void();
22291 if (SWIG_IsTmpObj(res2
)) {
22292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22294 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22297 if (SWIG_IsTmpObj(res3
)) {
22298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22300 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22309 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
= 0;
22311 wxDC
*arg1
= (wxDC
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 PyObject
* obj2
= 0 ;
22323 char * kwnames
[] = {
22324 (char *) "self",(char *) "x",(char *) "y", NULL
22327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22329 if (!SWIG_IsOK(res1
)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22333 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22334 if (!SWIG_IsOK(ecode2
)) {
22335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22337 arg2
= static_cast< double >(val2
);
22338 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22339 if (!SWIG_IsOK(ecode3
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22342 arg3
= static_cast< double >(val3
);
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->SetUserScale(arg2
,arg3
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= SWIG_Py_Void();
22356 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22357 PyObject
*resultobj
= 0;
22358 wxDC
*arg1
= (wxDC
*) 0 ;
22359 double *arg2
= (double *) 0 ;
22360 double *arg3
= (double *) 0 ;
22364 int res2
= SWIG_TMPOBJ
;
22366 int res3
= SWIG_TMPOBJ
;
22367 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 (arg1
)->GetLogicalScale(arg2
,arg3
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_Py_Void();
22385 if (SWIG_IsTmpObj(res2
)) {
22386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22388 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22391 if (SWIG_IsTmpObj(res3
)) {
22392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22403 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
= 0;
22405 wxDC
*arg1
= (wxDC
*) 0 ;
22414 PyObject
* obj0
= 0 ;
22415 PyObject
* obj1
= 0 ;
22416 PyObject
* obj2
= 0 ;
22417 char * kwnames
[] = {
22418 (char *) "self",(char *) "x",(char *) "y", NULL
22421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22423 if (!SWIG_IsOK(res1
)) {
22424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22427 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22428 if (!SWIG_IsOK(ecode2
)) {
22429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22431 arg2
= static_cast< double >(val2
);
22432 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22433 if (!SWIG_IsOK(ecode3
)) {
22434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22436 arg3
= static_cast< double >(val3
);
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 (arg1
)->SetLogicalScale(arg2
,arg3
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_Py_Void();
22450 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22451 PyObject
*resultobj
= 0;
22452 wxDC
*arg1
= (wxDC
*) 0 ;
22456 PyObject
*swig_obj
[1] ;
22458 if (!args
) SWIG_fail
;
22459 swig_obj
[0] = args
;
22460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22461 if (!SWIG_IsOK(res1
)) {
22462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22478 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 PyObject
*resultobj
= 0;
22480 wxDC
*arg1
= (wxDC
*) 0 ;
22481 int *arg2
= (int *) 0 ;
22482 int *arg3
= (int *) 0 ;
22486 int res2
= SWIG_TMPOBJ
;
22488 int res3
= SWIG_TMPOBJ
;
22489 PyObject
*swig_obj
[1] ;
22493 if (!args
) SWIG_fail
;
22494 swig_obj
[0] = args
;
22495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22496 if (!SWIG_IsOK(res1
)) {
22497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_Py_Void();
22507 if (SWIG_IsTmpObj(res2
)) {
22508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22510 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22513 if (SWIG_IsTmpObj(res3
)) {
22514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22516 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22525 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
= 0;
22527 wxDC
*arg1
= (wxDC
*) 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 PyObject
* obj2
= 0 ;
22539 char * kwnames
[] = {
22540 (char *) "self",(char *) "x",(char *) "y", NULL
22543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22550 if (!SWIG_IsOK(ecode2
)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22553 arg2
= static_cast< int >(val2
);
22554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22555 if (!SWIG_IsOK(ecode3
)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22558 arg3
= static_cast< int >(val3
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_Py_Void();
22572 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
= 0;
22574 wxDC
*arg1
= (wxDC
*) 0 ;
22575 wxPoint
*arg2
= 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 char * kwnames
[] = {
22582 (char *) "self",(char *) "point", NULL
22585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22587 if (!SWIG_IsOK(res1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= SWIG_Py_Void();
22608 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22609 PyObject
*resultobj
= 0;
22610 wxDC
*arg1
= (wxDC
*) 0 ;
22614 PyObject
*swig_obj
[1] ;
22616 if (!args
) SWIG_fail
;
22617 swig_obj
[0] = args
;
22618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22636 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22637 PyObject
*resultobj
= 0;
22638 wxDC
*arg1
= (wxDC
*) 0 ;
22639 int *arg2
= (int *) 0 ;
22640 int *arg3
= (int *) 0 ;
22644 int res2
= SWIG_TMPOBJ
;
22646 int res3
= SWIG_TMPOBJ
;
22647 PyObject
*swig_obj
[1] ;
22651 if (!args
) SWIG_fail
;
22652 swig_obj
[0] = args
;
22653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22654 if (!SWIG_IsOK(res1
)) {
22655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= SWIG_Py_Void();
22665 if (SWIG_IsTmpObj(res2
)) {
22666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22671 if (SWIG_IsTmpObj(res3
)) {
22672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22683 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
= 0;
22685 wxDC
*arg1
= (wxDC
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 PyObject
* obj2
= 0 ;
22697 char * kwnames
[] = {
22698 (char *) "self",(char *) "x",(char *) "y", NULL
22701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22703 if (!SWIG_IsOK(res1
)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22708 if (!SWIG_IsOK(ecode2
)) {
22709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22711 arg2
= static_cast< int >(val2
);
22712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22713 if (!SWIG_IsOK(ecode3
)) {
22714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22716 arg3
= static_cast< int >(val3
);
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_Py_Void();
22730 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
= 0;
22732 wxDC
*arg1
= (wxDC
*) 0 ;
22733 wxPoint
*arg2
= 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 char * kwnames
[] = {
22740 (char *) "self",(char *) "point", NULL
22743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_Py_Void();
22766 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
= 0;
22768 wxDC
*arg1
= (wxDC
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 PyObject
* obj2
= 0 ;
22780 char * kwnames
[] = {
22781 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22786 if (!SWIG_IsOK(res1
)) {
22787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22791 if (!SWIG_IsOK(ecode2
)) {
22792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22794 arg2
= static_cast< bool >(val2
);
22795 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22796 if (!SWIG_IsOK(ecode3
)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22799 arg3
= static_cast< bool >(val3
);
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_Py_Void();
22813 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22814 PyObject
*resultobj
= 0;
22815 wxDC
*arg1
= (wxDC
*) 0 ;
22819 PyObject
*swig_obj
[1] ;
22821 if (!args
) SWIG_fail
;
22822 swig_obj
[0] = args
;
22823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22824 if (!SWIG_IsOK(res1
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= SWIG_From_int(static_cast< int >(result
));
22841 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
= 0;
22843 wxDC
*arg1
= (wxDC
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char * kwnames
[] = {
22852 (char *) "self",(char *) "function", NULL
22855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22862 if (!SWIG_IsOK(ecode2
)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22865 arg2
= static_cast< int >(val2
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->SetLogicalFunction(arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_Py_Void();
22879 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxDC
*arg1
= (wxDC
*) 0 ;
22884 PyObject
*swig_obj
[1] ;
22886 if (!args
) SWIG_fail
;
22887 swig_obj
[0] = args
;
22888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22889 if (!SWIG_IsOK(res1
)) {
22890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 (arg1
)->ComputeScaleAndOrigin();
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_Py_Void();
22906 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
= 0;
22908 wxDC
*arg1
= (wxDC
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 PyObject
* obj2
= 0 ;
22920 char * kwnames
[] = {
22921 (char *) "self",(char *) "x",(char *) "y", NULL
22924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22931 if (!SWIG_IsOK(ecode2
)) {
22932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22934 arg2
= static_cast< int >(val2
);
22935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22936 if (!SWIG_IsOK(ecode3
)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22939 arg3
= static_cast< int >(val3
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_Py_Void();
22953 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
= 0;
22955 wxDC
*arg1
= (wxDC
*) 0 ;
22956 wxPoint
*arg2
= 0 ;
22960 PyObject
* obj0
= 0 ;
22961 PyObject
* obj1
= 0 ;
22962 char * kwnames
[] = {
22963 (char *) "self",(char *) "point", NULL
22966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22968 if (!SWIG_IsOK(res1
)) {
22969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_Py_Void();
22989 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 PyObject
*resultobj
= 0;
22991 wxDC
*arg1
= (wxDC
*) 0 ;
22994 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 (arg1
)->ResetBoundingBox();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_Py_Void();
23016 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 PyObject
*resultobj
= 0;
23018 wxDC
*arg1
= (wxDC
*) 0 ;
23022 PyObject
*swig_obj
[1] ;
23024 if (!args
) SWIG_fail
;
23025 swig_obj
[0] = args
;
23026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (int)((wxDC
const *)arg1
)->MinX();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_From_int(static_cast< int >(result
));
23044 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23045 PyObject
*resultobj
= 0;
23046 wxDC
*arg1
= (wxDC
*) 0 ;
23050 PyObject
*swig_obj
[1] ;
23052 if (!args
) SWIG_fail
;
23053 swig_obj
[0] = args
;
23054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxDC
const *)arg1
)->MaxX();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_From_int(static_cast< int >(result
));
23072 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23073 PyObject
*resultobj
= 0;
23074 wxDC
*arg1
= (wxDC
*) 0 ;
23078 PyObject
*swig_obj
[1] ;
23080 if (!args
) SWIG_fail
;
23081 swig_obj
[0] = args
;
23082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23083 if (!SWIG_IsOK(res1
)) {
23084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (int)((wxDC
const *)arg1
)->MinY();
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_From_int(static_cast< int >(result
));
23100 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23101 PyObject
*resultobj
= 0;
23102 wxDC
*arg1
= (wxDC
*) 0 ;
23106 PyObject
*swig_obj
[1] ;
23108 if (!args
) SWIG_fail
;
23109 swig_obj
[0] = args
;
23110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (int)((wxDC
const *)arg1
)->MaxY();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_From_int(static_cast< int >(result
));
23128 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23129 PyObject
*resultobj
= 0;
23130 wxDC
*arg1
= (wxDC
*) 0 ;
23131 int *arg2
= (int *) 0 ;
23132 int *arg3
= (int *) 0 ;
23133 int *arg4
= (int *) 0 ;
23134 int *arg5
= (int *) 0 ;
23138 int res2
= SWIG_TMPOBJ
;
23140 int res3
= SWIG_TMPOBJ
;
23142 int res4
= SWIG_TMPOBJ
;
23144 int res5
= SWIG_TMPOBJ
;
23145 PyObject
*swig_obj
[1] ;
23151 if (!args
) SWIG_fail
;
23152 swig_obj
[0] = args
;
23153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_Py_Void();
23165 if (SWIG_IsTmpObj(res2
)) {
23166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23168 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23171 if (SWIG_IsTmpObj(res3
)) {
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23177 if (SWIG_IsTmpObj(res4
)) {
23178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23180 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23183 if (SWIG_IsTmpObj(res5
)) {
23184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23186 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23195 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23196 PyObject
*resultobj
= 0;
23197 wxDC
*arg1
= (wxDC
*) 0 ;
23198 wxLayoutDirection result
;
23201 PyObject
*swig_obj
[1] ;
23203 if (!args
) SWIG_fail
;
23204 swig_obj
[0] = args
;
23205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23206 if (!SWIG_IsOK(res1
)) {
23207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_From_int(static_cast< int >(result
));
23223 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
= 0;
23225 wxDC
*arg1
= (wxDC
*) 0 ;
23226 wxLayoutDirection arg2
;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char * kwnames
[] = {
23234 (char *) "self",(char *) "dir", NULL
23237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23244 if (!SWIG_IsOK(ecode2
)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23247 arg2
= static_cast< wxLayoutDirection
>(val2
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->SetLayoutDirection(arg2
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= SWIG_Py_Void();
23261 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= 0;
23263 wxDC
*arg1
= (wxDC
*) 0 ;
23264 PyObject
*arg2
= (PyObject
*) 0 ;
23265 PyObject
*arg3
= (PyObject
*) 0 ;
23266 PyObject
*arg4
= (PyObject
*) 0 ;
23267 PyObject
*result
= 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 PyObject
* obj2
= 0 ;
23273 PyObject
* obj3
= 0 ;
23274 char * kwnames
[] = {
23275 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= result
;
23300 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
= 0;
23302 wxDC
*arg1
= (wxDC
*) 0 ;
23303 PyObject
*arg2
= (PyObject
*) 0 ;
23304 PyObject
*arg3
= (PyObject
*) 0 ;
23305 PyObject
*arg4
= (PyObject
*) 0 ;
23306 PyObject
*result
= 0 ;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 PyObject
* obj2
= 0 ;
23312 PyObject
* obj3
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= result
;
23339 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
= 0;
23341 wxDC
*arg1
= (wxDC
*) 0 ;
23342 PyObject
*arg2
= (PyObject
*) 0 ;
23343 PyObject
*arg3
= (PyObject
*) 0 ;
23344 PyObject
*arg4
= (PyObject
*) 0 ;
23345 PyObject
*result
= 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 PyObject
* obj2
= 0 ;
23351 PyObject
* obj3
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= result
;
23378 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 wxDC
*arg1
= (wxDC
*) 0 ;
23381 PyObject
*arg2
= (PyObject
*) 0 ;
23382 PyObject
*arg3
= (PyObject
*) 0 ;
23383 PyObject
*arg4
= (PyObject
*) 0 ;
23384 PyObject
*result
= 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 PyObject
* obj2
= 0 ;
23390 PyObject
* obj3
= 0 ;
23391 char * kwnames
[] = {
23392 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23397 if (!SWIG_IsOK(res1
)) {
23398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= result
;
23417 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
= 0;
23419 wxDC
*arg1
= (wxDC
*) 0 ;
23420 PyObject
*arg2
= (PyObject
*) 0 ;
23421 PyObject
*arg3
= (PyObject
*) 0 ;
23422 PyObject
*arg4
= (PyObject
*) 0 ;
23423 PyObject
*result
= 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 PyObject
* obj2
= 0 ;
23429 PyObject
* obj3
= 0 ;
23430 char * kwnames
[] = {
23431 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= result
;
23456 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
= 0;
23458 wxDC
*arg1
= (wxDC
*) 0 ;
23459 PyObject
*arg2
= (PyObject
*) 0 ;
23460 PyObject
*arg3
= (PyObject
*) 0 ;
23461 PyObject
*arg4
= (PyObject
*) 0 ;
23462 PyObject
*arg5
= (PyObject
*) 0 ;
23463 PyObject
*result
= 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 PyObject
* obj3
= 0 ;
23470 PyObject
* obj4
= 0 ;
23471 char * kwnames
[] = {
23472 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= result
;
23498 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23501 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23502 return SWIG_Py_Void();
23505 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
= 0;
23508 wxColour
*arg2
= 0 ;
23509 wxDCTextColourChanger
*result
= 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char * kwnames
[] = {
23516 (char *) "dc",(char *) "col", NULL
23519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23520 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23521 if (!SWIG_IsOK(res1
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23530 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23545 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23546 PyObject
*resultobj
= 0;
23547 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23550 PyObject
*swig_obj
[1] ;
23552 if (!args
) SWIG_fail
;
23553 swig_obj
[0] = args
;
23554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23558 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_Py_Void();
23573 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23576 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23577 return SWIG_Py_Void();
23580 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23581 return SWIG_Python_InitShadowInstance(args
);
23584 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
= 0;
23588 wxDCPenChanger
*result
= 0 ;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 char * kwnames
[] = {
23596 (char *) "dc",(char *) "pen", NULL
23599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23600 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23601 if (!SWIG_IsOK(res1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23609 if (!SWIG_IsOK(res2
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23615 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23629 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23630 PyObject
*resultobj
= 0;
23631 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23634 PyObject
*swig_obj
[1] ;
23636 if (!args
) SWIG_fail
;
23637 swig_obj
[0] = args
;
23638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23639 if (!SWIG_IsOK(res1
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23642 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_Py_Void();
23657 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23660 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23661 return SWIG_Py_Void();
23664 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23665 return SWIG_Python_InitShadowInstance(args
);
23668 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
= 0;
23671 wxBrush
*arg2
= 0 ;
23672 wxDCBrushChanger
*result
= 0 ;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char * kwnames
[] = {
23680 (char *) "dc",(char *) "brush", NULL
23683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23684 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23685 if (!SWIG_IsOK(res1
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23693 if (!SWIG_IsOK(res2
)) {
23694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23699 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23713 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23714 PyObject
*resultobj
= 0;
23715 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23718 PyObject
*swig_obj
[1] ;
23720 if (!args
) SWIG_fail
;
23721 swig_obj
[0] = args
;
23722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23726 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= SWIG_Py_Void();
23741 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23744 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23745 return SWIG_Py_Void();
23748 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23749 return SWIG_Python_InitShadowInstance(args
);
23752 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23753 PyObject
*resultobj
= 0;
23755 wxRegion
*arg2
= 0 ;
23756 wxDCClipper
*result
= 0 ;
23762 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23771 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23772 if (!SWIG_IsOK(res2
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23778 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23792 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23793 PyObject
*resultobj
= 0;
23796 wxDCClipper
*result
= 0 ;
23801 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23803 if (!SWIG_IsOK(res1
)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23809 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23812 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23827 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23828 PyObject
*resultobj
= 0;
23834 wxDCClipper
*result
= 0 ;
23846 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23848 if (!SWIG_IsOK(res1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23855 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23856 if (!SWIG_IsOK(ecode2
)) {
23857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23859 arg2
= static_cast< int >(val2
);
23860 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23861 if (!SWIG_IsOK(ecode3
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23864 arg3
= static_cast< int >(val3
);
23865 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23866 if (!SWIG_IsOK(ecode4
)) {
23867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23869 arg4
= static_cast< int >(val4
);
23870 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23871 if (!SWIG_IsOK(ecode5
)) {
23872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23874 arg5
= static_cast< int >(val5
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23888 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23892 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23897 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23898 _v
= SWIG_CheckState(res
);
23900 if (!_v
) goto check_1
;
23901 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23906 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23909 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23913 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23918 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23919 PyObject
*resultobj
= 0;
23920 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23923 PyObject
*swig_obj
[1] ;
23925 if (!args
) SWIG_fail
;
23926 swig_obj
[0] = args
;
23927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23931 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_Py_Void();
23946 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23949 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23950 return SWIG_Py_Void();
23953 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23954 return SWIG_Python_InitShadowInstance(args
);
23957 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23958 PyObject
*resultobj
= 0;
23959 wxScreenDC
*result
= 0 ;
23961 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23963 if (!wxPyCheckForApp()) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (wxScreenDC
*)new wxScreenDC();
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23976 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23979 wxWindow
*arg2
= (wxWindow
*) 0 ;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 char * kwnames
[] = {
23988 (char *) "self",(char *) "window", NULL
23991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23993 if (!SWIG_IsOK(res1
)) {
23994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23996 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23998 if (!SWIG_IsOK(res2
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24017 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
= 0;
24019 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24020 wxRect
*arg2
= (wxRect
*) NULL
;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char * kwnames
[] = {
24029 (char *) "self",(char *) "rect", NULL
24032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24037 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24040 if (!SWIG_IsOK(res2
)) {
24041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24043 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24060 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 PyObject
*resultobj
= 0;
24062 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24066 PyObject
*swig_obj
[1] ;
24068 if (!args
) SWIG_fail
;
24069 swig_obj
[0] = args
;
24070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24074 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)(arg1
)->EndDrawingOnTop();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24090 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24093 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24094 return SWIG_Py_Void();
24097 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24098 return SWIG_Python_InitShadowInstance(args
);
24101 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
= 0;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 wxWindowDC
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "win", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24119 if (!wxPyCheckForApp()) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24132 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24135 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24136 return SWIG_Py_Void();
24139 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24140 return SWIG_Python_InitShadowInstance(args
);
24143 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxWindow
*arg1
= (wxWindow
*) 0 ;
24146 wxClientDC
*result
= 0 ;
24149 PyObject
* obj0
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "win", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24161 if (!wxPyCheckForApp()) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (wxClientDC
*)new wxClientDC(arg1
);
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24174 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24177 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24178 return SWIG_Py_Void();
24181 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24182 return SWIG_Python_InitShadowInstance(args
);
24185 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
= 0;
24187 wxWindow
*arg1
= (wxWindow
*) 0 ;
24188 wxPaintDC
*result
= 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char * kwnames
[] = {
24193 (char *) "win", NULL
24196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24198 if (!SWIG_IsOK(res1
)) {
24199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24203 if (!wxPyCheckForApp()) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24216 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24219 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24220 return SWIG_Py_Void();
24223 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24224 return SWIG_Python_InitShadowInstance(args
);
24227 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
= 0;
24229 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24230 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24231 wxMemoryDC
*result
= 0 ;
24234 PyObject
* obj0
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "bitmap", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24241 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24251 if (!wxPyCheckForApp()) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24264 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxDC
*arg1
= (wxDC
*) 0 ;
24267 wxMemoryDC
*result
= 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "oldDC", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24282 if (!wxPyCheckForApp()) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24295 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
= 0;
24297 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24298 wxBitmap
*arg2
= 0 ;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 char * kwnames
[] = {
24306 (char *) "self",(char *) "bitmap", NULL
24309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24311 if (!SWIG_IsOK(res1
)) {
24312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24314 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24316 if (!SWIG_IsOK(res2
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24322 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 (arg1
)->SelectObject(*arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_Py_Void();
24336 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= 0;
24338 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24339 wxBitmap
*arg2
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "bmp", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24355 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24357 if (!SWIG_IsOK(res2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24363 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_Py_Void();
24377 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24380 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24381 return SWIG_Py_Void();
24384 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24385 return SWIG_Python_InitShadowInstance(args
);
24388 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24389 PyObject
*resultobj
= 0;
24390 wxDC
*arg1
= (wxDC
*) 0 ;
24391 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24392 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24393 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24394 wxBufferedDC
*result
= 0 ;
24402 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24409 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24410 if (!SWIG_IsOK(res2
)) {
24411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24416 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24419 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24420 if (!SWIG_IsOK(ecode3
)) {
24421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24423 arg3
= static_cast< int >(val3
);
24426 if (!wxPyCheckForApp()) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24439 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24440 PyObject
*resultobj
= 0;
24441 wxDC
*arg1
= (wxDC
*) 0 ;
24443 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24444 wxBufferedDC
*result
= 0 ;
24451 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24453 if (!SWIG_IsOK(res1
)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24459 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24462 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24463 if (!SWIG_IsOK(ecode3
)) {
24464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24466 arg3
= static_cast< int >(val3
);
24469 if (!wxPyCheckForApp()) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24482 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24486 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24488 if ((argc
>= 1) && (argc
<= 3)) {
24493 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24494 _v
= SWIG_CheckState(res
);
24496 if (!_v
) goto check_1
;
24498 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24502 if ((argc
>= 2) && (argc
<= 3)) {
24503 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24507 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24512 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24513 PyObject
*resultobj
= 0;
24514 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24517 PyObject
*swig_obj
[1] ;
24519 if (!args
) SWIG_fail
;
24520 swig_obj
[0] = args
;
24521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24522 if (!SWIG_IsOK(res1
)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24525 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_Py_Void();
24540 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24541 PyObject
*resultobj
= 0;
24542 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24545 PyObject
*swig_obj
[1] ;
24547 if (!args
) SWIG_fail
;
24548 swig_obj
[0] = args
;
24549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24550 if (!SWIG_IsOK(res1
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24553 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= SWIG_Py_Void();
24567 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
= 0;
24569 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char * kwnames
[] = {
24578 (char *) "self",(char *) "style", NULL
24581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24586 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24588 if (!SWIG_IsOK(ecode2
)) {
24589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24591 arg2
= static_cast< int >(val2
);
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 (arg1
)->SetStyle(arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_Py_Void();
24605 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24606 PyObject
*resultobj
= 0;
24607 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24611 PyObject
*swig_obj
[1] ;
24613 if (!args
) SWIG_fail
;
24614 swig_obj
[0] = args
;
24615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24616 if (!SWIG_IsOK(res1
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24619 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_From_int(static_cast< int >(result
));
24633 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24636 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24637 return SWIG_Py_Void();
24640 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24641 return SWIG_Python_InitShadowInstance(args
);
24644 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxWindow
*arg1
= (wxWindow
*) 0 ;
24647 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24648 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24649 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24650 wxBufferedPaintDC
*result
= 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 PyObject
* obj2
= 0 ;
24660 char * kwnames
[] = {
24661 (char *) "window",(char *) "buffer",(char *) "style", NULL
24664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24666 if (!SWIG_IsOK(res1
)) {
24667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24672 if (!SWIG_IsOK(res2
)) {
24673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24678 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24682 if (!SWIG_IsOK(ecode3
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24685 arg3
= static_cast< int >(val3
);
24688 if (!wxPyCheckForApp()) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24701 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24704 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24705 return SWIG_Py_Void();
24708 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24709 return SWIG_Python_InitShadowInstance(args
);
24712 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= 0;
24714 wxWindow
*arg1
= (wxWindow
*) 0 ;
24715 wxAutoBufferedPaintDC
*result
= 0 ;
24718 PyObject
* obj0
= 0 ;
24719 char * kwnames
[] = {
24720 (char *) "win", NULL
24723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24725 if (!SWIG_IsOK(res1
)) {
24726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24742 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24745 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24746 return SWIG_Py_Void();
24749 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24750 return SWIG_Python_InitShadowInstance(args
);
24753 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
= 0;
24755 wxWindow
*arg1
= (wxWindow
*) 0 ;
24759 PyObject
* obj0
= 0 ;
24760 char * kwnames
[] = {
24761 (char *) "window", NULL
24764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24785 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24789 wxMirrorDC
*result
= 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "dc",(char *) "mirror", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24810 if (!SWIG_IsOK(ecode2
)) {
24811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24813 arg2
= static_cast< bool >(val2
);
24815 if (!wxPyCheckForApp()) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24828 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24831 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24832 return SWIG_Py_Void();
24835 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24836 return SWIG_Python_InitShadowInstance(args
);
24839 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= 0;
24841 wxPrintData
*arg1
= 0 ;
24842 wxPostScriptDC
*result
= 0 ;
24845 PyObject
* obj0
= 0 ;
24846 char * kwnames
[] = {
24847 (char *) "printData", NULL
24850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24851 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24852 if (!SWIG_IsOK(res1
)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24858 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24860 if (!wxPyCheckForApp()) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24873 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24874 PyObject
*resultobj
= 0;
24875 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24876 wxPrintData
*result
= 0 ;
24879 PyObject
*swig_obj
[1] ;
24881 if (!args
) SWIG_fail
;
24882 swig_obj
[0] = args
;
24883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24884 if (!SWIG_IsOK(res1
)) {
24885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24887 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24892 result
= (wxPrintData
*) &_result_ref
;
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24904 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
= 0;
24906 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24907 wxPrintData
*arg2
= 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char * kwnames
[] = {
24915 (char *) "self",(char *) "data", NULL
24918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24923 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24925 if (!SWIG_IsOK(res2
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24931 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_Py_Void();
24945 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
= 0;
24950 PyObject
* obj0
= 0 ;
24951 char * kwnames
[] = {
24952 (char *) "ppi", NULL
24955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24956 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24957 if (!SWIG_IsOK(ecode1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24960 arg1
= static_cast< int >(val1
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 wxPostScriptDC::SetResolution(arg1
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_Py_Void();
24974 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24975 PyObject
*resultobj
= 0;
24978 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 result
= (int)wxPostScriptDC::GetResolution();
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= SWIG_From_int(static_cast< int >(result
));
24992 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24995 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24996 return SWIG_Py_Void();
24999 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25000 return SWIG_Python_InitShadowInstance(args
);
25003 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
= 0;
25005 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25006 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25007 wxMetaFile
*result
= 0 ;
25008 bool temp1
= false ;
25009 PyObject
* obj0
= 0 ;
25010 char * kwnames
[] = {
25011 (char *) "filename", NULL
25014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25017 arg1
= wxString_in_helper(obj0
);
25018 if (arg1
== NULL
) SWIG_fail
;
25023 if (!wxPyCheckForApp()) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25044 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25047 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25048 return SWIG_Py_Void();
25051 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25052 return SWIG_Python_InitShadowInstance(args
);
25055 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
= 0;
25057 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25058 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25059 int arg2
= (int) 0 ;
25060 int arg3
= (int) 0 ;
25061 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25062 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25063 wxMetaFileDC
*result
= 0 ;
25064 bool temp1
= false ;
25069 bool temp4
= false ;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj1
= 0 ;
25072 PyObject
* obj2
= 0 ;
25073 PyObject
* obj3
= 0 ;
25074 char * kwnames
[] = {
25075 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25081 arg1
= wxString_in_helper(obj0
);
25082 if (arg1
== NULL
) SWIG_fail
;
25087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25088 if (!SWIG_IsOK(ecode2
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25091 arg2
= static_cast< int >(val2
);
25094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25095 if (!SWIG_IsOK(ecode3
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25098 arg3
= static_cast< int >(val3
);
25102 arg4
= wxString_in_helper(obj3
);
25103 if (arg4
== NULL
) SWIG_fail
;
25108 if (!wxPyCheckForApp()) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25137 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25140 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25141 return SWIG_Py_Void();
25144 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25145 return SWIG_Python_InitShadowInstance(args
);
25148 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
= 0;
25150 wxPrintData
*arg1
= 0 ;
25151 wxPrinterDC
*result
= 0 ;
25154 PyObject
* obj0
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "printData", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25167 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25169 if (!wxPyCheckForApp()) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25182 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25185 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25186 return SWIG_Py_Void();
25189 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 return SWIG_Python_InitShadowInstance(args
);
25193 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25196 wxGraphicsObject
*result
= 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char * kwnames
[] = {
25201 (char *) "renderer", NULL
25204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25210 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25213 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25223 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25224 PyObject
*resultobj
= 0;
25225 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25228 PyObject
*swig_obj
[1] ;
25230 if (!args
) SWIG_fail
;
25231 swig_obj
[0] = args
;
25232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25236 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_Py_Void();
25249 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25250 PyObject
*resultobj
= 0;
25251 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25255 PyObject
*swig_obj
[1] ;
25257 if (!args
) SWIG_fail
;
25258 swig_obj
[0] = args
;
25259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25263 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25265 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25277 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25278 PyObject
*resultobj
= 0;
25279 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25280 wxGraphicsRenderer
*result
= 0 ;
25283 PyObject
*swig_obj
[1] ;
25285 if (!args
) SWIG_fail
;
25286 swig_obj
[0] = args
;
25287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25291 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25293 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25303 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25306 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25307 return SWIG_Py_Void();
25310 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25311 return SWIG_Python_InitShadowInstance(args
);
25314 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25315 PyObject
*resultobj
= 0;
25316 wxGraphicsPen
*result
= 0 ;
25318 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25320 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25330 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25331 PyObject
*resultobj
= 0;
25332 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25335 PyObject
*swig_obj
[1] ;
25337 if (!args
) SWIG_fail
;
25338 swig_obj
[0] = args
;
25339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25343 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_Py_Void();
25356 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25359 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25360 return SWIG_Py_Void();
25363 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25364 return SWIG_Python_InitShadowInstance(args
);
25367 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 PyObject
*resultobj
= 0;
25369 wxGraphicsBrush
*result
= 0 ;
25371 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25373 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25383 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25384 PyObject
*resultobj
= 0;
25385 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25396 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_Py_Void();
25409 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25412 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25413 return SWIG_Py_Void();
25416 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25417 return SWIG_Python_InitShadowInstance(args
);
25420 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25421 PyObject
*resultobj
= 0;
25422 wxGraphicsFont
*result
= 0 ;
25424 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25426 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25436 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25437 PyObject
*resultobj
= 0;
25438 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25441 PyObject
*swig_obj
[1] ;
25443 if (!args
) SWIG_fail
;
25444 swig_obj
[0] = args
;
25445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25449 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= SWIG_Py_Void();
25462 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25465 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25466 return SWIG_Py_Void();
25469 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25470 return SWIG_Python_InitShadowInstance(args
);
25473 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 PyObject
*resultobj
= 0;
25475 wxGraphicsMatrix
*result
= 0 ;
25477 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25479 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25489 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25490 PyObject
*resultobj
= 0;
25491 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25494 PyObject
*swig_obj
[1] ;
25496 if (!args
) SWIG_fail
;
25497 swig_obj
[0] = args
;
25498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25499 if (!SWIG_IsOK(res1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25502 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_Py_Void();
25515 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
= 0;
25517 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25518 wxGraphicsMatrix
*arg2
= 0 ;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 char * kwnames
[] = {
25526 (char *) "self",(char *) "t", NULL
25529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25531 if (!SWIG_IsOK(res1
)) {
25532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25534 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25536 if (!SWIG_IsOK(res2
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25542 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25544 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_Py_Void();
25554 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
= 0;
25556 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25557 wxDouble arg2
= (wxDouble
) 1.0 ;
25558 wxDouble arg3
= (wxDouble
) 0.0 ;
25559 wxDouble arg4
= (wxDouble
) 0.0 ;
25560 wxDouble arg5
= (wxDouble
) 1.0 ;
25561 wxDouble arg6
= (wxDouble
) 0.0 ;
25562 wxDouble arg7
= (wxDouble
) 0.0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 PyObject
* obj2
= 0 ;
25580 PyObject
* obj3
= 0 ;
25581 PyObject
* obj4
= 0 ;
25582 PyObject
* obj5
= 0 ;
25583 PyObject
* obj6
= 0 ;
25584 char * kwnames
[] = {
25585 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25590 if (!SWIG_IsOK(res1
)) {
25591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25593 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25595 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25596 if (!SWIG_IsOK(ecode2
)) {
25597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25599 arg2
= static_cast< wxDouble
>(val2
);
25602 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25603 if (!SWIG_IsOK(ecode3
)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25606 arg3
= static_cast< wxDouble
>(val3
);
25609 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25610 if (!SWIG_IsOK(ecode4
)) {
25611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25613 arg4
= static_cast< wxDouble
>(val4
);
25616 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25617 if (!SWIG_IsOK(ecode5
)) {
25618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25620 arg5
= static_cast< wxDouble
>(val5
);
25623 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25624 if (!SWIG_IsOK(ecode6
)) {
25625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25627 arg6
= static_cast< wxDouble
>(val6
);
25630 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25631 if (!SWIG_IsOK(ecode7
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25634 arg7
= static_cast< wxDouble
>(val7
);
25637 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_Py_Void();
25647 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 PyObject
*resultobj
= 0;
25649 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25650 wxDouble
*arg2
= (wxDouble
*) 0 ;
25651 wxDouble
*arg3
= (wxDouble
*) 0 ;
25652 wxDouble
*arg4
= (wxDouble
*) 0 ;
25653 wxDouble
*arg5
= (wxDouble
*) 0 ;
25654 wxDouble
*arg6
= (wxDouble
*) 0 ;
25655 wxDouble
*arg7
= (wxDouble
*) 0 ;
25659 int res2
= SWIG_TMPOBJ
;
25661 int res3
= SWIG_TMPOBJ
;
25663 int res4
= SWIG_TMPOBJ
;
25665 int res5
= SWIG_TMPOBJ
;
25667 int res6
= SWIG_TMPOBJ
;
25669 int res7
= SWIG_TMPOBJ
;
25670 PyObject
*swig_obj
[1] ;
25678 if (!args
) SWIG_fail
;
25679 swig_obj
[0] = args
;
25680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25684 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25686 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_Py_Void();
25690 if (SWIG_IsTmpObj(res2
)) {
25691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25693 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25696 if (SWIG_IsTmpObj(res3
)) {
25697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25699 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25702 if (SWIG_IsTmpObj(res4
)) {
25703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25705 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25708 if (SWIG_IsTmpObj(res5
)) {
25709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25711 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25714 if (SWIG_IsTmpObj(res6
)) {
25715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25717 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25720 if (SWIG_IsTmpObj(res7
)) {
25721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25723 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25732 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25733 PyObject
*resultobj
= 0;
25734 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25737 PyObject
*swig_obj
[1] ;
25739 if (!args
) SWIG_fail
;
25740 swig_obj
[0] = args
;
25741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25745 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_Py_Void();
25757 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
= 0;
25759 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25760 wxGraphicsMatrix
*arg2
= 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char * kwnames
[] = {
25769 (char *) "self",(char *) "t", NULL
25772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25777 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25779 if (!SWIG_IsOK(res2
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25785 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25787 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25799 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25800 PyObject
*resultobj
= 0;
25801 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25805 PyObject
*swig_obj
[1] ;
25807 if (!args
) SWIG_fail
;
25808 swig_obj
[0] = args
;
25809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25813 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25815 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25827 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
= 0;
25829 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 PyObject
* obj2
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "dx",(char *) "dy", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25850 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25851 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25852 if (!SWIG_IsOK(ecode2
)) {
25853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25855 arg2
= static_cast< wxDouble
>(val2
);
25856 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25857 if (!SWIG_IsOK(ecode3
)) {
25858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25860 arg3
= static_cast< wxDouble
>(val3
);
25862 (arg1
)->Translate(arg2
,arg3
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_Py_Void();
25872 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
= 0;
25874 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 PyObject
* obj2
= 0 ;
25886 char * kwnames
[] = {
25887 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25895 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25896 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25897 if (!SWIG_IsOK(ecode2
)) {
25898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25900 arg2
= static_cast< wxDouble
>(val2
);
25901 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25902 if (!SWIG_IsOK(ecode3
)) {
25903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25905 arg3
= static_cast< wxDouble
>(val3
);
25907 (arg1
)->Scale(arg2
,arg3
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_Py_Void();
25917 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
= 0;
25919 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char * kwnames
[] = {
25928 (char *) "self",(char *) "angle", NULL
25931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25936 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25937 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25938 if (!SWIG_IsOK(ecode2
)) {
25939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25941 arg2
= static_cast< wxDouble
>(val2
);
25943 (arg1
)->Rotate(arg2
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_Py_Void();
25953 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
= 0;
25955 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25956 wxDouble
*arg2
= (wxDouble
*) 0 ;
25957 wxDouble
*arg3
= (wxDouble
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 PyObject
* obj2
= 0 ;
25967 char * kwnames
[] = {
25968 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25973 if (!SWIG_IsOK(res1
)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25976 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25977 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25979 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25980 if (!SWIG_IsOK(ecode
)) {
25981 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25983 temp2
= static_cast< wxDouble
>(val
);
25985 res2
= SWIG_AddTmpMask(ecode
);
25987 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25989 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25990 if (!SWIG_IsOK(ecode
)) {
25991 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25993 temp3
= static_cast< wxDouble
>(val
);
25995 res3
= SWIG_AddTmpMask(ecode
);
25998 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26001 resultobj
= SWIG_Py_Void();
26002 if (SWIG_IsTmpObj(res2
)) {
26003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26005 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26008 if (SWIG_IsTmpObj(res3
)) {
26009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26011 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26020 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
= 0;
26022 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26023 wxDouble
*arg2
= (wxDouble
*) 0 ;
26024 wxDouble
*arg3
= (wxDouble
*) 0 ;
26031 PyObject
* obj0
= 0 ;
26032 PyObject
* obj1
= 0 ;
26033 PyObject
* obj2
= 0 ;
26034 char * kwnames
[] = {
26035 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26043 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26044 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26046 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26047 if (!SWIG_IsOK(ecode
)) {
26048 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26050 temp2
= static_cast< wxDouble
>(val
);
26052 res2
= SWIG_AddTmpMask(ecode
);
26054 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26056 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26057 if (!SWIG_IsOK(ecode
)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26060 temp3
= static_cast< wxDouble
>(val
);
26062 res3
= SWIG_AddTmpMask(ecode
);
26065 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= SWIG_Py_Void();
26069 if (SWIG_IsTmpObj(res2
)) {
26070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26072 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26075 if (SWIG_IsTmpObj(res3
)) {
26076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26078 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26087 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26088 PyObject
*resultobj
= 0;
26089 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26093 PyObject
*swig_obj
[1] ;
26095 if (!args
) SWIG_fail
;
26096 swig_obj
[0] = args
;
26097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26101 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26103 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26113 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26116 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26117 return SWIG_Py_Void();
26120 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 return SWIG_Python_InitShadowInstance(args
);
26124 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26125 PyObject
*resultobj
= 0;
26126 wxGraphicsPath
*result
= 0 ;
26128 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26130 if (!wxPyCheckForApp()) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26143 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 PyObject
*resultobj
= 0;
26145 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26148 PyObject
*swig_obj
[1] ;
26150 if (!args
) SWIG_fail
;
26151 swig_obj
[0] = args
;
26152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26156 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_Py_Void();
26169 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26170 PyObject
*resultobj
= 0;
26171 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26181 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26186 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26187 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26188 if (!SWIG_IsOK(ecode2
)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26191 arg2
= static_cast< wxDouble
>(val2
);
26192 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26193 if (!SWIG_IsOK(ecode3
)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26196 arg3
= static_cast< wxDouble
>(val3
);
26198 (arg1
)->MoveToPoint(arg2
,arg3
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_Py_Void();
26208 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26209 PyObject
*resultobj
= 0;
26210 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26211 wxPoint2D
*arg2
= 0 ;
26216 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26221 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26224 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26227 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_Py_Void();
26237 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26241 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26244 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26247 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26251 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26256 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26257 PyObject
*resultobj
= 0;
26258 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26268 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26270 if (!SWIG_IsOK(res1
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26273 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26274 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26275 if (!SWIG_IsOK(ecode2
)) {
26276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26278 arg2
= static_cast< wxDouble
>(val2
);
26279 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26280 if (!SWIG_IsOK(ecode3
)) {
26281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26283 arg3
= static_cast< wxDouble
>(val3
);
26285 (arg1
)->AddLineToPoint(arg2
,arg3
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_Py_Void();
26295 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26296 PyObject
*resultobj
= 0;
26297 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26298 wxPoint2D
*arg2
= 0 ;
26303 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26305 if (!SWIG_IsOK(res1
)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26308 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26311 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26314 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_Py_Void();
26324 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26328 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26331 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26334 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26338 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26343 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26344 PyObject
*resultobj
= 0;
26345 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26367 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26369 if (!SWIG_IsOK(res1
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26372 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26373 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26374 if (!SWIG_IsOK(ecode2
)) {
26375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26377 arg2
= static_cast< wxDouble
>(val2
);
26378 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26379 if (!SWIG_IsOK(ecode3
)) {
26380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26382 arg3
= static_cast< wxDouble
>(val3
);
26383 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26384 if (!SWIG_IsOK(ecode4
)) {
26385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26387 arg4
= static_cast< wxDouble
>(val4
);
26388 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26389 if (!SWIG_IsOK(ecode5
)) {
26390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26392 arg5
= static_cast< wxDouble
>(val5
);
26393 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26394 if (!SWIG_IsOK(ecode6
)) {
26395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26397 arg6
= static_cast< wxDouble
>(val6
);
26398 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26399 if (!SWIG_IsOK(ecode7
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26402 arg7
= static_cast< wxDouble
>(val7
);
26404 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26415 PyObject
*resultobj
= 0;
26416 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26417 wxPoint2D
*arg2
= 0 ;
26418 wxPoint2D
*arg3
= 0 ;
26419 wxPoint2D
*arg4
= 0 ;
26426 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26431 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26434 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26438 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26442 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26445 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_Py_Void();
26455 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26459 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26462 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26465 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26469 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26474 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
= 0;
26476 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26477 wxGraphicsPath
*arg2
= 0 ;
26482 PyObject
* obj0
= 0 ;
26483 PyObject
* obj1
= 0 ;
26484 char * kwnames
[] = {
26485 (char *) "self",(char *) "path", NULL
26488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26490 if (!SWIG_IsOK(res1
)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26493 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26495 if (!SWIG_IsOK(res2
)) {
26496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26501 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26503 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_Py_Void();
26513 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26514 PyObject
*resultobj
= 0;
26515 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26518 PyObject
*swig_obj
[1] ;
26520 if (!args
) SWIG_fail
;
26521 swig_obj
[0] = args
;
26522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26523 if (!SWIG_IsOK(res1
)) {
26524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26526 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26528 (arg1
)->CloseSubpath();
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 resultobj
= SWIG_Py_Void();
26538 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26539 PyObject
*resultobj
= 0;
26540 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26544 PyObject
*swig_obj
[1] ;
26546 if (!args
) SWIG_fail
;
26547 swig_obj
[0] = args
;
26548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26549 if (!SWIG_IsOK(res1
)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26552 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26554 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26564 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26565 PyObject
*resultobj
= 0;
26566 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26572 bool arg7
= (bool) true ;
26588 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26593 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26594 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26595 if (!SWIG_IsOK(ecode2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26598 arg2
= static_cast< wxDouble
>(val2
);
26599 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26600 if (!SWIG_IsOK(ecode3
)) {
26601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26603 arg3
= static_cast< wxDouble
>(val3
);
26604 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26605 if (!SWIG_IsOK(ecode4
)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26608 arg4
= static_cast< wxDouble
>(val4
);
26609 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26610 if (!SWIG_IsOK(ecode5
)) {
26611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26613 arg5
= static_cast< wxDouble
>(val5
);
26614 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26615 if (!SWIG_IsOK(ecode6
)) {
26616 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26618 arg6
= static_cast< wxDouble
>(val6
);
26620 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26621 if (!SWIG_IsOK(ecode7
)) {
26622 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26624 arg7
= static_cast< bool >(val7
);
26627 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_Py_Void();
26637 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26638 PyObject
*resultobj
= 0;
26639 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26640 wxPoint2D
*arg2
= 0 ;
26644 bool arg6
= (bool) true ;
26657 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26662 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26665 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26667 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26668 if (!SWIG_IsOK(ecode3
)) {
26669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26671 arg3
= static_cast< wxDouble
>(val3
);
26672 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26673 if (!SWIG_IsOK(ecode4
)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26676 arg4
= static_cast< wxDouble
>(val4
);
26677 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26678 if (!SWIG_IsOK(ecode5
)) {
26679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26681 arg5
= static_cast< wxDouble
>(val5
);
26683 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26684 if (!SWIG_IsOK(ecode6
)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26687 arg6
= static_cast< bool >(val6
);
26690 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26704 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26706 if ((argc
>= 5) && (argc
<= 6)) {
26710 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26713 if (!_v
) goto check_1
;
26717 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26718 _v
= SWIG_CheckState(res
);
26721 if (!_v
) goto check_1
;
26723 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26727 if ((argc
>= 6) && (argc
<= 7)) {
26728 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26732 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26737 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 PyObject
* obj2
= 0 ;
26757 PyObject
* obj3
= 0 ;
26758 PyObject
* obj4
= 0 ;
26759 char * kwnames
[] = {
26760 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26768 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26769 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26770 if (!SWIG_IsOK(ecode2
)) {
26771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26773 arg2
= static_cast< wxDouble
>(val2
);
26774 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26775 if (!SWIG_IsOK(ecode3
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26778 arg3
= static_cast< wxDouble
>(val3
);
26779 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26780 if (!SWIG_IsOK(ecode4
)) {
26781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26783 arg4
= static_cast< wxDouble
>(val4
);
26784 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26785 if (!SWIG_IsOK(ecode5
)) {
26786 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26788 arg5
= static_cast< wxDouble
>(val5
);
26790 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= SWIG_Py_Void();
26800 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
= 0;
26802 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 PyObject
* obj2
= 0 ;
26820 PyObject
* obj3
= 0 ;
26821 PyObject
* obj4
= 0 ;
26822 char * kwnames
[] = {
26823 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26828 if (!SWIG_IsOK(res1
)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26831 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26832 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26833 if (!SWIG_IsOK(ecode2
)) {
26834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26836 arg2
= static_cast< wxDouble
>(val2
);
26837 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26838 if (!SWIG_IsOK(ecode3
)) {
26839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26841 arg3
= static_cast< wxDouble
>(val3
);
26842 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26843 if (!SWIG_IsOK(ecode4
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26846 arg4
= static_cast< wxDouble
>(val4
);
26847 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26848 if (!SWIG_IsOK(ecode5
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26851 arg5
= static_cast< wxDouble
>(val5
);
26853 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= SWIG_Py_Void();
26863 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
= 0;
26865 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 PyObject
* obj2
= 0 ;
26880 PyObject
* obj3
= 0 ;
26881 char * kwnames
[] = {
26882 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26887 if (!SWIG_IsOK(res1
)) {
26888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26890 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26891 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26892 if (!SWIG_IsOK(ecode2
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26895 arg2
= static_cast< wxDouble
>(val2
);
26896 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26897 if (!SWIG_IsOK(ecode3
)) {
26898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26900 arg3
= static_cast< wxDouble
>(val3
);
26901 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26902 if (!SWIG_IsOK(ecode4
)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26905 arg4
= static_cast< wxDouble
>(val4
);
26907 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_Py_Void();
26917 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
= 0;
26919 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 PyObject
* obj2
= 0 ;
26940 PyObject
* obj3
= 0 ;
26941 PyObject
* obj4
= 0 ;
26942 PyObject
* obj5
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26952 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26953 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26954 if (!SWIG_IsOK(ecode2
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26957 arg2
= static_cast< wxDouble
>(val2
);
26958 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26959 if (!SWIG_IsOK(ecode3
)) {
26960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26962 arg3
= static_cast< wxDouble
>(val3
);
26963 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26964 if (!SWIG_IsOK(ecode4
)) {
26965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26967 arg4
= static_cast< wxDouble
>(val4
);
26968 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26969 if (!SWIG_IsOK(ecode5
)) {
26970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26972 arg5
= static_cast< wxDouble
>(val5
);
26973 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26974 if (!SWIG_IsOK(ecode6
)) {
26975 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26977 arg6
= static_cast< wxDouble
>(val6
);
26979 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_Py_Void();
26989 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
= 0;
26991 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 PyObject
* obj2
= 0 ;
27009 PyObject
* obj3
= 0 ;
27010 PyObject
* obj4
= 0 ;
27011 char * kwnames
[] = {
27012 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27020 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27021 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27022 if (!SWIG_IsOK(ecode2
)) {
27023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27025 arg2
= static_cast< wxDouble
>(val2
);
27026 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27027 if (!SWIG_IsOK(ecode3
)) {
27028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27030 arg3
= static_cast< wxDouble
>(val3
);
27031 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27032 if (!SWIG_IsOK(ecode4
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27035 arg4
= static_cast< wxDouble
>(val4
);
27036 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27037 if (!SWIG_IsOK(ecode5
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27040 arg5
= static_cast< wxDouble
>(val5
);
27042 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
= 0;
27054 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 PyObject
* obj2
= 0 ;
27075 PyObject
* obj3
= 0 ;
27076 PyObject
* obj4
= 0 ;
27077 PyObject
* obj5
= 0 ;
27078 char * kwnames
[] = {
27079 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27084 if (!SWIG_IsOK(res1
)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27087 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27088 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27089 if (!SWIG_IsOK(ecode2
)) {
27090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27092 arg2
= static_cast< wxDouble
>(val2
);
27093 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27094 if (!SWIG_IsOK(ecode3
)) {
27095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27097 arg3
= static_cast< wxDouble
>(val3
);
27098 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27099 if (!SWIG_IsOK(ecode4
)) {
27100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27102 arg4
= static_cast< wxDouble
>(val4
);
27103 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27104 if (!SWIG_IsOK(ecode5
)) {
27105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27107 arg5
= static_cast< wxDouble
>(val5
);
27108 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27109 if (!SWIG_IsOK(ecode6
)) {
27110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27112 arg6
= static_cast< wxDouble
>(val6
);
27114 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= SWIG_Py_Void();
27124 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27125 PyObject
*resultobj
= 0;
27126 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27130 PyObject
*swig_obj
[1] ;
27132 if (!args
) SWIG_fail
;
27133 swig_obj
[0] = args
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27138 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27140 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27150 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
= 0;
27152 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27153 void *arg2
= (void *) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char * kwnames
[] = {
27160 (char *) "self",(char *) "p", NULL
27163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27168 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27169 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27170 if (!SWIG_IsOK(res2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27174 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_Py_Void();
27184 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= 0;
27186 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27187 wxGraphicsMatrix
*arg2
= 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "matrix", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27203 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27205 if (!SWIG_IsOK(res2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27211 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27213 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_Py_Void();
27223 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27224 PyObject
*resultobj
= 0;
27225 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27229 PyObject
*swig_obj
[1] ;
27231 if (!args
) SWIG_fail
;
27232 swig_obj
[0] = args
;
27233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27237 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27239 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27249 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27250 PyObject
*resultobj
= 0;
27251 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27254 int arg4
= (int) wxODDEVEN_RULE
;
27265 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27267 if (!SWIG_IsOK(res1
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27270 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27271 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27272 if (!SWIG_IsOK(ecode2
)) {
27273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27275 arg2
= static_cast< wxDouble
>(val2
);
27276 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27277 if (!SWIG_IsOK(ecode3
)) {
27278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27280 arg3
= static_cast< wxDouble
>(val3
);
27282 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27283 if (!SWIG_IsOK(ecode4
)) {
27284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27286 arg4
= static_cast< int >(val4
);
27289 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27301 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27302 PyObject
*resultobj
= 0;
27303 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27304 wxPoint2D
*arg2
= 0 ;
27305 int arg3
= (int) wxODDEVEN_RULE
;
27313 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27318 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27321 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27324 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27325 if (!SWIG_IsOK(ecode3
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27328 arg3
= static_cast< int >(val3
);
27331 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27343 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27347 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27349 if ((argc
>= 2) && (argc
<= 3)) {
27353 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27356 if (!_v
) goto check_1
;
27360 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27361 _v
= SWIG_CheckState(res
);
27364 if (!_v
) goto check_1
;
27366 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27370 if ((argc
>= 3) && (argc
<= 4)) {
27371 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27375 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27380 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27383 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27384 return SWIG_Py_Void();
27387 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27388 return SWIG_Python_InitShadowInstance(args
);
27391 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27392 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27397 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27398 PyObject
*pyobj
= 0;
27400 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27405 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27406 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27411 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27412 PyObject
*pyobj
= 0;
27414 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27419 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27420 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27425 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27426 PyObject
*pyobj
= 0;
27428 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27433 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27434 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27439 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27440 PyObject
*pyobj
= 0;
27442 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27447 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27448 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27453 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27454 PyObject
*pyobj
= 0;
27456 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27461 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27462 PyObject
*resultobj
= 0;
27463 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27466 PyObject
*swig_obj
[1] ;
27468 if (!args
) SWIG_fail
;
27469 swig_obj
[0] = args
;
27470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27474 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_Py_Void();
27487 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27488 PyObject
*resultobj
= 0;
27489 wxWindowDC
*arg1
= 0 ;
27490 wxGraphicsContext
*result
= 0 ;
27494 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27502 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27504 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27514 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27515 PyObject
*resultobj
= 0;
27516 wxWindow
*arg1
= (wxWindow
*) 0 ;
27517 wxGraphicsContext
*result
= 0 ;
27521 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27523 if (!SWIG_IsOK(res1
)) {
27524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27526 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27528 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27538 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27542 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27547 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27548 _v
= SWIG_CheckState(res
);
27550 if (!_v
) goto check_1
;
27551 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27556 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27560 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27565 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxGraphicsContext
*result
= 0 ;
27569 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27571 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27572 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27581 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
= 0;
27583 void *arg1
= (void *) 0 ;
27584 wxGraphicsContext
*result
= 0 ;
27586 PyObject
* obj0
= 0 ;
27587 char * kwnames
[] = {
27588 (char *) "context", NULL
27591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27592 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27593 if (!SWIG_IsOK(res1
)) {
27594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27597 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27607 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
= 0;
27609 void *arg1
= (void *) 0 ;
27610 wxGraphicsContext
*result
= 0 ;
27612 PyObject
* obj0
= 0 ;
27613 char * kwnames
[] = {
27614 (char *) "window", NULL
27617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27618 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27623 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27633 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27634 PyObject
*resultobj
= 0;
27635 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27636 wxGraphicsPath result
;
27639 PyObject
*swig_obj
[1] ;
27641 if (!args
) SWIG_fail
;
27642 swig_obj
[0] = args
;
27643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27644 if (!SWIG_IsOK(res1
)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27647 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27649 result
= (arg1
)->CreatePath();
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27659 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
= 0;
27661 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27663 wxGraphicsPen result
;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 char * kwnames
[] = {
27671 (char *) "self",(char *) "pen", NULL
27674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27676 if (!SWIG_IsOK(res1
)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27679 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27681 if (!SWIG_IsOK(res2
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27687 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27689 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27699 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
= 0;
27701 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27702 wxBrush
*arg2
= 0 ;
27703 wxGraphicsBrush result
;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char * kwnames
[] = {
27711 (char *) "self",(char *) "brush", NULL
27714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27719 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27721 if (!SWIG_IsOK(res2
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27727 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27729 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27739 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
= 0;
27741 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27746 wxColour
*arg6
= 0 ;
27747 wxColour
*arg7
= 0 ;
27748 wxGraphicsBrush result
;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 PyObject
* obj2
= 0 ;
27764 PyObject
* obj3
= 0 ;
27765 PyObject
* obj4
= 0 ;
27766 PyObject
* obj5
= 0 ;
27767 PyObject
* obj6
= 0 ;
27768 char * kwnames
[] = {
27769 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27777 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27778 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27779 if (!SWIG_IsOK(ecode2
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27782 arg2
= static_cast< wxDouble
>(val2
);
27783 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27784 if (!SWIG_IsOK(ecode3
)) {
27785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27787 arg3
= static_cast< wxDouble
>(val3
);
27788 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27789 if (!SWIG_IsOK(ecode4
)) {
27790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27792 arg4
= static_cast< wxDouble
>(val4
);
27793 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27794 if (!SWIG_IsOK(ecode5
)) {
27795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27797 arg5
= static_cast< wxDouble
>(val5
);
27800 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27804 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27807 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27817 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
= 0;
27819 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27825 wxColour
*arg7
= 0 ;
27826 wxColour
*arg8
= 0 ;
27827 wxGraphicsBrush result
;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 PyObject
* obj2
= 0 ;
27845 PyObject
* obj3
= 0 ;
27846 PyObject
* obj4
= 0 ;
27847 PyObject
* obj5
= 0 ;
27848 PyObject
* obj6
= 0 ;
27849 PyObject
* obj7
= 0 ;
27850 char * kwnames
[] = {
27851 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27859 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27860 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27861 if (!SWIG_IsOK(ecode2
)) {
27862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27864 arg2
= static_cast< wxDouble
>(val2
);
27865 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27866 if (!SWIG_IsOK(ecode3
)) {
27867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27869 arg3
= static_cast< wxDouble
>(val3
);
27870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27871 if (!SWIG_IsOK(ecode4
)) {
27872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27874 arg4
= static_cast< wxDouble
>(val4
);
27875 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27876 if (!SWIG_IsOK(ecode5
)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27879 arg5
= static_cast< wxDouble
>(val5
);
27880 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27881 if (!SWIG_IsOK(ecode6
)) {
27882 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27884 arg6
= static_cast< wxDouble
>(val6
);
27887 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27891 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27894 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27904 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
= 0;
27906 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27908 wxColour
const &arg3_defvalue
= *wxBLACK
;
27909 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27910 wxGraphicsFont result
;
27916 PyObject
* obj0
= 0 ;
27917 PyObject
* obj1
= 0 ;
27918 PyObject
* obj2
= 0 ;
27919 char * kwnames
[] = {
27920 (char *) "self",(char *) "font",(char *) "col", NULL
27923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27928 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27930 if (!SWIG_IsOK(res2
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27936 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27940 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27944 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27954 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
= 0;
27956 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27957 wxDouble arg2
= (wxDouble
) 1.0 ;
27958 wxDouble arg3
= (wxDouble
) 0.0 ;
27959 wxDouble arg4
= (wxDouble
) 0.0 ;
27960 wxDouble arg5
= (wxDouble
) 1.0 ;
27961 wxDouble arg6
= (wxDouble
) 0.0 ;
27962 wxDouble arg7
= (wxDouble
) 0.0 ;
27963 wxGraphicsMatrix result
;
27978 PyObject
* obj0
= 0 ;
27979 PyObject
* obj1
= 0 ;
27980 PyObject
* obj2
= 0 ;
27981 PyObject
* obj3
= 0 ;
27982 PyObject
* obj4
= 0 ;
27983 PyObject
* obj5
= 0 ;
27984 PyObject
* obj6
= 0 ;
27985 char * kwnames
[] = {
27986 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27991 if (!SWIG_IsOK(res1
)) {
27992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27994 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27996 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27997 if (!SWIG_IsOK(ecode2
)) {
27998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28000 arg2
= static_cast< wxDouble
>(val2
);
28003 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28004 if (!SWIG_IsOK(ecode3
)) {
28005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28007 arg3
= static_cast< wxDouble
>(val3
);
28010 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28011 if (!SWIG_IsOK(ecode4
)) {
28012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28014 arg4
= static_cast< wxDouble
>(val4
);
28017 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28018 if (!SWIG_IsOK(ecode5
)) {
28019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28021 arg5
= static_cast< wxDouble
>(val5
);
28024 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28025 if (!SWIG_IsOK(ecode6
)) {
28026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28028 arg6
= static_cast< wxDouble
>(val6
);
28031 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28032 if (!SWIG_IsOK(ecode7
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28035 arg7
= static_cast< wxDouble
>(val7
);
28038 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28048 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 PyObject
*resultobj
= 0;
28050 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28053 PyObject
*swig_obj
[1] ;
28055 if (!args
) SWIG_fail
;
28056 swig_obj
[0] = args
;
28057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28061 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28063 (arg1
)->PushState();
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_Py_Void();
28073 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28074 PyObject
*resultobj
= 0;
28075 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28078 PyObject
*swig_obj
[1] ;
28080 if (!args
) SWIG_fail
;
28081 swig_obj
[0] = args
;
28082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28088 (arg1
)->PopState();
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_Py_Void();
28098 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
= 0;
28100 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28101 wxRegion
*arg2
= 0 ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char * kwnames
[] = {
28109 (char *) "self",(char *) "region", NULL
28112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28117 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28119 if (!SWIG_IsOK(res2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28125 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28127 (arg1
)->Clip((wxRegion
const &)*arg2
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= SWIG_Py_Void();
28137 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
= 0;
28139 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 PyObject
* obj1
= 0 ;
28156 PyObject
* obj2
= 0 ;
28157 PyObject
* obj3
= 0 ;
28158 PyObject
* obj4
= 0 ;
28159 char * kwnames
[] = {
28160 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Clip" "', 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_Clip" "', 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_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28178 arg3
= static_cast< wxDouble
>(val3
);
28179 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28180 if (!SWIG_IsOK(ecode4
)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28183 arg4
= static_cast< wxDouble
>(val4
);
28184 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28185 if (!SWIG_IsOK(ecode5
)) {
28186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28188 arg5
= static_cast< wxDouble
>(val5
);
28190 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_Py_Void();
28200 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28205 PyObject
*swig_obj
[1] ;
28207 if (!args
) SWIG_fail
;
28208 swig_obj
[0] = args
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28213 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28215 (arg1
)->ResetClip();
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= SWIG_Py_Void();
28225 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28226 PyObject
*resultobj
= 0;
28227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28231 PyObject
*swig_obj
[1] ;
28233 if (!args
) SWIG_fail
;
28234 swig_obj
[0] = args
;
28235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28236 if (!SWIG_IsOK(res1
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28239 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28241 result
= (void *)(arg1
)->GetNativeContext();
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28251 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28257 PyObject
*swig_obj
[1] ;
28259 if (!args
) SWIG_fail
;
28260 swig_obj
[0] = args
;
28261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28265 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28267 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= SWIG_From_int(static_cast< int >(result
));
28277 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
= 0;
28279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 char * kwnames
[] = {
28289 (char *) "self",(char *) "function", NULL
28292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28297 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28299 if (!SWIG_IsOK(ecode2
)) {
28300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28302 arg2
= static_cast< int >(val2
);
28304 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28316 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= 0;
28318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28327 PyObject
* obj0
= 0 ;
28328 PyObject
* obj1
= 0 ;
28329 PyObject
* obj2
= 0 ;
28330 char * kwnames
[] = {
28331 (char *) "self",(char *) "dx",(char *) "dy", NULL
28334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28336 if (!SWIG_IsOK(res1
)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28339 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28340 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28341 if (!SWIG_IsOK(ecode2
)) {
28342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28344 arg2
= static_cast< wxDouble
>(val2
);
28345 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28346 if (!SWIG_IsOK(ecode3
)) {
28347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28349 arg3
= static_cast< wxDouble
>(val3
);
28351 (arg1
)->Translate(arg2
,arg3
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= SWIG_Py_Void();
28361 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
= 0;
28363 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 PyObject
* obj2
= 0 ;
28375 char * kwnames
[] = {
28376 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28384 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28385 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28386 if (!SWIG_IsOK(ecode2
)) {
28387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28389 arg2
= static_cast< wxDouble
>(val2
);
28390 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28391 if (!SWIG_IsOK(ecode3
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28394 arg3
= static_cast< wxDouble
>(val3
);
28396 (arg1
)->Scale(arg2
,arg3
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 resultobj
= SWIG_Py_Void();
28406 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
= 0;
28408 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "self",(char *) "angle", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28425 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28426 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28427 if (!SWIG_IsOK(ecode2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28430 arg2
= static_cast< wxDouble
>(val2
);
28432 (arg1
)->Rotate(arg2
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_Py_Void();
28442 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
= 0;
28444 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28445 wxGraphicsMatrix
*arg2
= 0 ;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 char * kwnames
[] = {
28453 (char *) "self",(char *) "matrix", NULL
28456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28458 if (!SWIG_IsOK(res1
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28463 if (!SWIG_IsOK(res2
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28469 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28471 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= SWIG_Py_Void();
28481 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
= 0;
28483 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28484 wxGraphicsMatrix
*arg2
= 0 ;
28489 PyObject
* obj0
= 0 ;
28490 PyObject
* obj1
= 0 ;
28491 char * kwnames
[] = {
28492 (char *) "self",(char *) "matrix", NULL
28495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28497 if (!SWIG_IsOK(res1
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28500 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28502 if (!SWIG_IsOK(res2
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28508 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28510 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 resultobj
= SWIG_Py_Void();
28520 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28521 PyObject
*resultobj
= 0;
28522 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28523 wxGraphicsMatrix result
;
28526 PyObject
*swig_obj
[1] ;
28528 if (!args
) SWIG_fail
;
28529 swig_obj
[0] = args
;
28530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28536 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28546 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28547 PyObject
*resultobj
= 0;
28548 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28549 wxGraphicsPen
*arg2
= 0 ;
28555 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28557 if (!SWIG_IsOK(res1
)) {
28558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28560 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28561 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28562 if (!SWIG_IsOK(res2
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28568 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28570 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_Py_Void();
28580 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28581 PyObject
*resultobj
= 0;
28582 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28589 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28591 if (!SWIG_IsOK(res1
)) {
28592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28594 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28595 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28596 if (!SWIG_IsOK(res2
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28602 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28604 (arg1
)->SetPen((wxPen
const &)*arg2
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= SWIG_Py_Void();
28614 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28618 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28623 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28624 _v
= SWIG_CheckState(res
);
28626 if (!_v
) goto check_1
;
28627 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28632 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28636 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28641 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28642 PyObject
*resultobj
= 0;
28643 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28644 wxGraphicsBrush
*arg2
= 0 ;
28650 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28652 if (!SWIG_IsOK(res1
)) {
28653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28655 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28656 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28657 if (!SWIG_IsOK(res2
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28663 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28665 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_Py_Void();
28675 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28676 PyObject
*resultobj
= 0;
28677 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28678 wxBrush
*arg2
= 0 ;
28684 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28689 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28690 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28691 if (!SWIG_IsOK(res2
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28697 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28699 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= SWIG_Py_Void();
28709 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28713 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28718 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28719 _v
= SWIG_CheckState(res
);
28721 if (!_v
) goto check_1
;
28722 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28727 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28731 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28736 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28737 PyObject
*resultobj
= 0;
28738 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28739 wxGraphicsFont
*arg2
= 0 ;
28745 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28750 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28751 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28752 if (!SWIG_IsOK(res2
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28758 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28760 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_Py_Void();
28770 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28771 PyObject
*resultobj
= 0;
28772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28774 wxColour
const &arg3_defvalue
= *wxBLACK
;
28775 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28782 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28787 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28788 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28789 if (!SWIG_IsOK(res2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28795 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28799 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28803 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_Py_Void();
28813 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28817 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28822 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28823 _v
= SWIG_CheckState(res
);
28825 if (!_v
) goto check_1
;
28826 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28830 if ((argc
>= 2) && (argc
<= 3)) {
28831 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28835 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28840 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28841 PyObject
*resultobj
= 0;
28842 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28843 wxGraphicsPath
*arg2
= 0 ;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 char * kwnames
[] = {
28851 (char *) "self",(char *) "path", NULL
28854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28859 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28861 if (!SWIG_IsOK(res2
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28867 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28869 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= SWIG_Py_Void();
28879 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
= 0;
28881 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28882 wxGraphicsPath
*arg2
= 0 ;
28883 int arg3
= (int) wxODDEVEN_RULE
;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 PyObject
* obj2
= 0 ;
28893 char * kwnames
[] = {
28894 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28902 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28904 if (!SWIG_IsOK(res2
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28910 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28913 if (!SWIG_IsOK(ecode3
)) {
28914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28916 arg3
= static_cast< int >(val3
);
28919 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= SWIG_Py_Void();
28929 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
= 0;
28931 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28932 wxGraphicsPath
*arg2
= 0 ;
28933 int arg3
= (int) wxODDEVEN_RULE
;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 PyObject
* obj2
= 0 ;
28943 char * kwnames
[] = {
28944 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28949 if (!SWIG_IsOK(res1
)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28952 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28954 if (!SWIG_IsOK(res2
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28960 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28963 if (!SWIG_IsOK(ecode3
)) {
28964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28966 arg3
= static_cast< int >(val3
);
28969 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_Py_Void();
28979 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
= 0;
28981 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28982 wxString
*arg2
= 0 ;
28985 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28986 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28989 bool temp2
= false ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 PyObject
* obj2
= 0 ;
28999 PyObject
* obj3
= 0 ;
29000 PyObject
* obj4
= 0 ;
29001 char * kwnames
[] = {
29002 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29010 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29012 arg2
= wxString_in_helper(obj1
);
29013 if (arg2
== NULL
) SWIG_fail
;
29016 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29017 if (!SWIG_IsOK(ecode3
)) {
29018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29020 arg3
= static_cast< wxDouble
>(val3
);
29021 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29022 if (!SWIG_IsOK(ecode4
)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29025 arg4
= static_cast< wxDouble
>(val4
);
29027 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29028 if (!SWIG_IsOK(res5
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29034 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29037 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_Py_Void();
29055 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
= 0;
29057 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29058 wxString
*arg2
= 0 ;
29062 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29063 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29066 bool temp2
= false ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 PyObject
* obj3
= 0 ;
29079 PyObject
* obj4
= 0 ;
29080 PyObject
* obj5
= 0 ;
29081 char * kwnames
[] = {
29082 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29090 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29092 arg2
= wxString_in_helper(obj1
);
29093 if (arg2
== NULL
) SWIG_fail
;
29096 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29097 if (!SWIG_IsOK(ecode3
)) {
29098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29100 arg3
= static_cast< wxDouble
>(val3
);
29101 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29102 if (!SWIG_IsOK(ecode4
)) {
29103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29105 arg4
= static_cast< wxDouble
>(val4
);
29106 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29107 if (!SWIG_IsOK(ecode5
)) {
29108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29110 arg5
= static_cast< wxDouble
>(val5
);
29112 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29113 if (!SWIG_IsOK(res6
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29119 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29122 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= SWIG_Py_Void();
29140 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
= 0;
29142 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29143 wxString
*arg2
= 0 ;
29144 wxDouble
*arg3
= (wxDouble
*) 0 ;
29145 wxDouble
*arg4
= (wxDouble
*) 0 ;
29146 wxDouble
*arg5
= (wxDouble
*) 0 ;
29147 wxDouble
*arg6
= (wxDouble
*) 0 ;
29150 bool temp2
= false ;
29152 int res3
= SWIG_TMPOBJ
;
29154 int res4
= SWIG_TMPOBJ
;
29156 int res5
= SWIG_TMPOBJ
;
29158 int res6
= SWIG_TMPOBJ
;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 char * kwnames
[] = {
29162 (char *) "self",(char *) "text", NULL
29169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29171 if (!SWIG_IsOK(res1
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29174 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29176 arg2
= wxString_in_helper(obj1
);
29177 if (arg2
== NULL
) SWIG_fail
;
29181 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_Py_Void();
29185 if (SWIG_IsTmpObj(res3
)) {
29186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29191 if (SWIG_IsTmpObj(res4
)) {
29192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29194 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29197 if (SWIG_IsTmpObj(res5
)) {
29198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29200 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29203 if (SWIG_IsTmpObj(res6
)) {
29204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29206 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29223 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
= 0;
29225 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29226 wxString
*arg2
= 0 ;
29227 PyObject
*result
= 0 ;
29230 bool temp2
= false ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 char * kwnames
[] = {
29234 (char *) "self",(char *) "text", NULL
29237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29239 if (!SWIG_IsOK(res1
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29242 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29244 arg2
= wxString_in_helper(obj1
);
29245 if (arg2
== NULL
) SWIG_fail
;
29249 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= result
;
29267 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
= 0;
29269 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29270 wxString
*arg2
= 0 ;
29271 wxArrayDouble result
;
29274 bool temp2
= false ;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 char * kwnames
[] = {
29278 (char *) "self",(char *) "text", NULL
29281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29283 if (!SWIG_IsOK(res1
)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29286 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29288 arg2
= wxString_in_helper(obj1
);
29289 if (arg2
== NULL
) SWIG_fail
;
29293 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= wxArrayDouble2PyList_helper(result
);
29313 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
= 0;
29315 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29316 wxBitmap
*arg2
= 0 ;
29333 PyObject
* obj0
= 0 ;
29334 PyObject
* obj1
= 0 ;
29335 PyObject
* obj2
= 0 ;
29336 PyObject
* obj3
= 0 ;
29337 PyObject
* obj4
= 0 ;
29338 PyObject
* obj5
= 0 ;
29339 char * kwnames
[] = {
29340 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29345 if (!SWIG_IsOK(res1
)) {
29346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29348 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29350 if (!SWIG_IsOK(res2
)) {
29351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29356 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29357 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29358 if (!SWIG_IsOK(ecode3
)) {
29359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29361 arg3
= static_cast< wxDouble
>(val3
);
29362 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29363 if (!SWIG_IsOK(ecode4
)) {
29364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29366 arg4
= static_cast< wxDouble
>(val4
);
29367 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29368 if (!SWIG_IsOK(ecode5
)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29371 arg5
= static_cast< wxDouble
>(val5
);
29372 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29373 if (!SWIG_IsOK(ecode6
)) {
29374 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29376 arg6
= static_cast< wxDouble
>(val6
);
29378 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_Py_Void();
29388 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= 0;
29390 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 PyObject
* obj2
= 0 ;
29411 PyObject
* obj3
= 0 ;
29412 PyObject
* obj4
= 0 ;
29413 PyObject
* obj5
= 0 ;
29414 char * kwnames
[] = {
29415 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29420 if (!SWIG_IsOK(res1
)) {
29421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29425 if (!SWIG_IsOK(res2
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29431 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29432 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29433 if (!SWIG_IsOK(ecode3
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29436 arg3
= static_cast< wxDouble
>(val3
);
29437 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29438 if (!SWIG_IsOK(ecode4
)) {
29439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29441 arg4
= static_cast< wxDouble
>(val4
);
29442 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29443 if (!SWIG_IsOK(ecode5
)) {
29444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29446 arg5
= static_cast< wxDouble
>(val5
);
29447 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29448 if (!SWIG_IsOK(ecode6
)) {
29449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29451 arg6
= static_cast< wxDouble
>(val6
);
29453 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= SWIG_Py_Void();
29463 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
= 0;
29465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29480 PyObject
* obj0
= 0 ;
29481 PyObject
* obj1
= 0 ;
29482 PyObject
* obj2
= 0 ;
29483 PyObject
* obj3
= 0 ;
29484 PyObject
* obj4
= 0 ;
29485 char * kwnames
[] = {
29486 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29491 if (!SWIG_IsOK(res1
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29495 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29496 if (!SWIG_IsOK(ecode2
)) {
29497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29499 arg2
= static_cast< wxDouble
>(val2
);
29500 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29501 if (!SWIG_IsOK(ecode3
)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29504 arg3
= static_cast< wxDouble
>(val3
);
29505 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29506 if (!SWIG_IsOK(ecode4
)) {
29507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29509 arg4
= static_cast< wxDouble
>(val4
);
29510 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29511 if (!SWIG_IsOK(ecode5
)) {
29512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29514 arg5
= static_cast< wxDouble
>(val5
);
29516 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_Py_Void();
29526 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
= 0;
29528 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29530 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 char * kwnames
[] = {
29536 (char *) "self",(char *) "points", NULL
29539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29544 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29546 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29547 if (arg3
== NULL
) SWIG_fail
;
29550 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= SWIG_Py_Void();
29555 if (arg3
) delete [] arg3
;
29560 if (arg3
) delete [] arg3
;
29566 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
= 0;
29568 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29569 PyObject
*arg2
= (PyObject
*) 0 ;
29570 PyObject
*arg3
= (PyObject
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 PyObject
* obj2
= 0 ;
29576 char * kwnames
[] = {
29577 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29585 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29589 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_Py_Void();
29599 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29600 PyObject
*resultobj
= 0;
29601 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29603 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29604 int arg4
= (int) wxODDEVEN_RULE
;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 PyObject
* obj2
= 0 ;
29612 char * kwnames
[] = {
29613 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29621 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29623 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29624 if (arg3
== NULL
) SWIG_fail
;
29627 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29628 if (!SWIG_IsOK(ecode4
)) {
29629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29631 arg4
= static_cast< int >(val4
);
29634 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= SWIG_Py_Void();
29639 if (arg3
) delete [] arg3
;
29644 if (arg3
) delete [] arg3
;
29650 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= 0;
29652 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 PyObject
* obj1
= 0 ;
29669 PyObject
* obj2
= 0 ;
29670 PyObject
* obj3
= 0 ;
29671 PyObject
* obj4
= 0 ;
29672 char * kwnames
[] = {
29673 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29681 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29682 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29683 if (!SWIG_IsOK(ecode2
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29686 arg2
= static_cast< wxDouble
>(val2
);
29687 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29688 if (!SWIG_IsOK(ecode3
)) {
29689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29691 arg3
= static_cast< wxDouble
>(val3
);
29692 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29693 if (!SWIG_IsOK(ecode4
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29696 arg4
= static_cast< wxDouble
>(val4
);
29697 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29698 if (!SWIG_IsOK(ecode5
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29701 arg5
= static_cast< wxDouble
>(val5
);
29703 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_Py_Void();
29713 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29730 PyObject
* obj0
= 0 ;
29731 PyObject
* obj1
= 0 ;
29732 PyObject
* obj2
= 0 ;
29733 PyObject
* obj3
= 0 ;
29734 PyObject
* obj4
= 0 ;
29735 char * kwnames
[] = {
29736 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29744 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29745 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29746 if (!SWIG_IsOK(ecode2
)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29749 arg2
= static_cast< wxDouble
>(val2
);
29750 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29751 if (!SWIG_IsOK(ecode3
)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29754 arg3
= static_cast< wxDouble
>(val3
);
29755 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29756 if (!SWIG_IsOK(ecode4
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29759 arg4
= static_cast< wxDouble
>(val4
);
29760 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29761 if (!SWIG_IsOK(ecode5
)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29764 arg5
= static_cast< wxDouble
>(val5
);
29766 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= SWIG_Py_Void();
29776 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
= 0;
29778 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 PyObject
* obj2
= 0 ;
29799 PyObject
* obj3
= 0 ;
29800 PyObject
* obj4
= 0 ;
29801 PyObject
* obj5
= 0 ;
29802 char * kwnames
[] = {
29803 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29808 if (!SWIG_IsOK(res1
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29811 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29812 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29813 if (!SWIG_IsOK(ecode2
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29816 arg2
= static_cast< wxDouble
>(val2
);
29817 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29818 if (!SWIG_IsOK(ecode3
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29821 arg3
= static_cast< wxDouble
>(val3
);
29822 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29823 if (!SWIG_IsOK(ecode4
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29826 arg4
= static_cast< wxDouble
>(val4
);
29827 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29828 if (!SWIG_IsOK(ecode5
)) {
29829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29831 arg5
= static_cast< wxDouble
>(val5
);
29832 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29833 if (!SWIG_IsOK(ecode6
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29836 arg6
= static_cast< wxDouble
>(val6
);
29838 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= SWIG_Py_Void();
29848 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29849 PyObject
*resultobj
= 0;
29850 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 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_wxGraphicsContext
, 0 | 0 );
29859 if (!SWIG_IsOK(res1
)) {
29860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29862 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29864 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29865 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29876 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29879 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29880 return SWIG_Py_Void();
29883 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29884 PyObject
*resultobj
= 0;
29885 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29888 PyObject
*swig_obj
[1] ;
29890 if (!args
) SWIG_fail
;
29891 swig_obj
[0] = args
;
29892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29893 if (!SWIG_IsOK(res1
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29896 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= SWIG_Py_Void();
29909 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29910 PyObject
*resultobj
= 0;
29911 wxGraphicsRenderer
*result
= 0 ;
29913 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29915 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29925 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29926 PyObject
*resultobj
= 0;
29927 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29928 wxWindowDC
*arg2
= 0 ;
29929 wxGraphicsContext
*result
= 0 ;
29935 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29940 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29941 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29942 if (!SWIG_IsOK(res2
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29948 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29950 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29960 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29961 PyObject
*resultobj
= 0;
29962 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29963 wxWindow
*arg2
= (wxWindow
*) 0 ;
29964 wxGraphicsContext
*result
= 0 ;
29970 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29975 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29976 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29977 if (!SWIG_IsOK(res2
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29980 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29982 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29992 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29996 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30001 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30002 _v
= SWIG_CheckState(res
);
30004 if (!_v
) goto check_1
;
30005 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30010 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30014 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30019 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30020 PyObject
*resultobj
= 0;
30021 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30022 wxGraphicsContext
*result
= 0 ;
30025 PyObject
*swig_obj
[1] ;
30027 if (!args
) SWIG_fail
;
30028 swig_obj
[0] = args
;
30029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30033 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30035 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30045 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
= 0;
30047 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30048 void *arg2
= (void *) 0 ;
30049 wxGraphicsContext
*result
= 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 char * kwnames
[] = {
30056 (char *) "self",(char *) "context", NULL
30059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30061 if (!SWIG_IsOK(res1
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30064 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30065 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30066 if (!SWIG_IsOK(res2
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30070 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30080 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30083 void *arg2
= (void *) 0 ;
30084 wxGraphicsContext
*result
= 0 ;
30088 PyObject
* obj0
= 0 ;
30089 PyObject
* obj1
= 0 ;
30090 char * kwnames
[] = {
30091 (char *) "self",(char *) "window", NULL
30094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30096 if (!SWIG_IsOK(res1
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30099 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30100 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30101 if (!SWIG_IsOK(res2
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30105 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30115 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30116 PyObject
*resultobj
= 0;
30117 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30118 wxGraphicsPath result
;
30121 PyObject
*swig_obj
[1] ;
30123 if (!args
) SWIG_fail
;
30124 swig_obj
[0] = args
;
30125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30129 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30131 result
= (arg1
)->CreatePath();
30132 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30141 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
= 0;
30143 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30144 wxDouble arg2
= (wxDouble
) 1.0 ;
30145 wxDouble arg3
= (wxDouble
) 0.0 ;
30146 wxDouble arg4
= (wxDouble
) 0.0 ;
30147 wxDouble arg5
= (wxDouble
) 1.0 ;
30148 wxDouble arg6
= (wxDouble
) 0.0 ;
30149 wxDouble arg7
= (wxDouble
) 0.0 ;
30150 wxGraphicsMatrix result
;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 PyObject
* obj2
= 0 ;
30168 PyObject
* obj3
= 0 ;
30169 PyObject
* obj4
= 0 ;
30170 PyObject
* obj5
= 0 ;
30171 PyObject
* obj6
= 0 ;
30172 char * kwnames
[] = {
30173 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30181 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_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30187 arg2
= static_cast< wxDouble
>(val2
);
30190 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30191 if (!SWIG_IsOK(ecode3
)) {
30192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30194 arg3
= static_cast< wxDouble
>(val3
);
30197 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30198 if (!SWIG_IsOK(ecode4
)) {
30199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30201 arg4
= static_cast< wxDouble
>(val4
);
30204 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30205 if (!SWIG_IsOK(ecode5
)) {
30206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30208 arg5
= static_cast< wxDouble
>(val5
);
30211 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30212 if (!SWIG_IsOK(ecode6
)) {
30213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30215 arg6
= static_cast< wxDouble
>(val6
);
30218 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30219 if (!SWIG_IsOK(ecode7
)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30222 arg7
= static_cast< wxDouble
>(val7
);
30225 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30235 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
= 0;
30237 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30239 wxGraphicsPen result
;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 char * kwnames
[] = {
30247 (char *) "self",(char *) "pen", NULL
30250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30255 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30257 if (!SWIG_IsOK(res2
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30263 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30265 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30275 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
= 0;
30277 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30278 wxBrush
*arg2
= 0 ;
30279 wxGraphicsBrush result
;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 char * kwnames
[] = {
30287 (char *) "self",(char *) "brush", NULL
30290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30292 if (!SWIG_IsOK(res1
)) {
30293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30295 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30297 if (!SWIG_IsOK(res2
)) {
30298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30303 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30305 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30315 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30322 wxColour
*arg6
= 0 ;
30323 wxColour
*arg7
= 0 ;
30324 wxGraphicsBrush result
;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 PyObject
* obj2
= 0 ;
30340 PyObject
* obj3
= 0 ;
30341 PyObject
* obj4
= 0 ;
30342 PyObject
* obj5
= 0 ;
30343 PyObject
* obj6
= 0 ;
30344 char * kwnames
[] = {
30345 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30350 if (!SWIG_IsOK(res1
)) {
30351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30353 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30354 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30355 if (!SWIG_IsOK(ecode2
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30358 arg2
= static_cast< wxDouble
>(val2
);
30359 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30360 if (!SWIG_IsOK(ecode3
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30363 arg3
= static_cast< wxDouble
>(val3
);
30364 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30365 if (!SWIG_IsOK(ecode4
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30368 arg4
= static_cast< wxDouble
>(val4
);
30369 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30370 if (!SWIG_IsOK(ecode5
)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30373 arg5
= static_cast< wxDouble
>(val5
);
30376 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30380 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30383 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30393 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
= 0;
30395 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30401 wxColour
*arg7
= 0 ;
30402 wxColour
*arg8
= 0 ;
30403 wxGraphicsBrush result
;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 PyObject
* obj2
= 0 ;
30421 PyObject
* obj3
= 0 ;
30422 PyObject
* obj4
= 0 ;
30423 PyObject
* obj5
= 0 ;
30424 PyObject
* obj6
= 0 ;
30425 PyObject
* obj7
= 0 ;
30426 char * kwnames
[] = {
30427 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30435 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30436 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30437 if (!SWIG_IsOK(ecode2
)) {
30438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30440 arg2
= static_cast< wxDouble
>(val2
);
30441 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30442 if (!SWIG_IsOK(ecode3
)) {
30443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30445 arg3
= static_cast< wxDouble
>(val3
);
30446 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30447 if (!SWIG_IsOK(ecode4
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30450 arg4
= static_cast< wxDouble
>(val4
);
30451 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30452 if (!SWIG_IsOK(ecode5
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30455 arg5
= static_cast< wxDouble
>(val5
);
30456 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30457 if (!SWIG_IsOK(ecode6
)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30460 arg6
= static_cast< wxDouble
>(val6
);
30463 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30467 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30470 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30480 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
= 0;
30482 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30484 wxColour
const &arg3_defvalue
= *wxBLACK
;
30485 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30486 wxGraphicsFont result
;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 PyObject
* obj2
= 0 ;
30495 char * kwnames
[] = {
30496 (char *) "self",(char *) "font",(char *) "col", NULL
30499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30501 if (!SWIG_IsOK(res1
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30504 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30506 if (!SWIG_IsOK(res2
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30512 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30516 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30520 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30530 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30533 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30534 return SWIG_Py_Void();
30537 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30538 PyObject
*resultobj
= 0;
30539 wxWindowDC
*arg1
= 0 ;
30540 wxGCDC
*result
= 0 ;
30544 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30546 if (!SWIG_IsOK(res1
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30552 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30554 if (!wxPyCheckForApp()) SWIG_fail
;
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30567 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30568 PyObject
*resultobj
= 0;
30569 wxWindow
*arg1
= (wxWindow
*) 0 ;
30570 wxGCDC
*result
= 0 ;
30574 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30576 if (!SWIG_IsOK(res1
)) {
30577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30581 if (!wxPyCheckForApp()) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= (wxGCDC
*)new wxGCDC(arg1
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30594 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30598 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30603 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30604 _v
= SWIG_CheckState(res
);
30606 if (!_v
) goto check_1
;
30607 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30612 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30616 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30621 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30622 PyObject
*resultobj
= 0;
30623 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30626 PyObject
*swig_obj
[1] ;
30628 if (!args
) SWIG_fail
;
30629 swig_obj
[0] = args
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30634 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= SWIG_Py_Void();
30647 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30648 PyObject
*resultobj
= 0;
30649 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30650 wxGraphicsContext
*result
= 0 ;
30653 PyObject
*swig_obj
[1] ;
30655 if (!args
) SWIG_fail
;
30656 swig_obj
[0] = args
;
30657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30661 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30663 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30673 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
= 0;
30675 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30676 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 char * kwnames
[] = {
30684 (char *) "self",(char *) "ctx", NULL
30687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30689 if (!SWIG_IsOK(res1
)) {
30690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30692 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30694 if (!SWIG_IsOK(res2
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30697 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30699 (arg1
)->SetGraphicsContext(arg2
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= SWIG_Py_Void();
30709 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30712 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30713 return SWIG_Py_Void();
30716 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30717 return SWIG_Python_InitShadowInstance(args
);
30720 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30721 PyObject
*resultobj
= 0;
30722 wxOverlay
*result
= 0 ;
30724 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (wxOverlay
*)new wxOverlay();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30738 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30739 PyObject
*resultobj
= 0;
30740 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30743 PyObject
*swig_obj
[1] ;
30745 if (!args
) SWIG_fail
;
30746 swig_obj
[0] = args
;
30747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30748 if (!SWIG_IsOK(res1
)) {
30749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30751 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_Py_Void();
30766 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30767 PyObject
*resultobj
= 0;
30768 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30771 PyObject
*swig_obj
[1] ;
30773 if (!args
) SWIG_fail
;
30774 swig_obj
[0] = args
;
30775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30779 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_Py_Void();
30793 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30796 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30797 return SWIG_Py_Void();
30800 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30801 return SWIG_Python_InitShadowInstance(args
);
30804 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30805 PyObject
*resultobj
= 0;
30806 wxOverlay
*arg1
= 0 ;
30807 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30812 wxDCOverlay
*result
= 0 ;
30826 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30828 if (!SWIG_IsOK(res1
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30834 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30835 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30836 if (!SWIG_IsOK(res2
)) {
30837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30839 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30840 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30841 if (!SWIG_IsOK(ecode3
)) {
30842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30844 arg3
= static_cast< int >(val3
);
30845 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30846 if (!SWIG_IsOK(ecode4
)) {
30847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30849 arg4
= static_cast< int >(val4
);
30850 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30851 if (!SWIG_IsOK(ecode5
)) {
30852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30854 arg5
= static_cast< int >(val5
);
30855 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30856 if (!SWIG_IsOK(ecode6
)) {
30857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30859 arg6
= static_cast< int >(val6
);
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30873 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30874 PyObject
*resultobj
= 0;
30875 wxOverlay
*arg1
= 0 ;
30876 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30877 wxDCOverlay
*result
= 0 ;
30883 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30885 if (!SWIG_IsOK(res1
)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30891 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30892 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30893 if (!SWIG_IsOK(res2
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30896 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30910 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30914 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30917 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30920 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30924 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30929 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30930 PyObject
*resultobj
= 0;
30931 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30934 PyObject
*swig_obj
[1] ;
30936 if (!args
) SWIG_fail
;
30937 swig_obj
[0] = args
;
30938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30939 if (!SWIG_IsOK(res1
)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30942 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_Py_Void();
30957 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30958 PyObject
*resultobj
= 0;
30959 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30962 PyObject
*swig_obj
[1] ;
30964 if (!args
) SWIG_fail
;
30965 swig_obj
[0] = args
;
30966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30970 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_Py_Void();
30984 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30987 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30988 return SWIG_Py_Void();
30991 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30992 return SWIG_Python_InitShadowInstance(args
);
30995 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
= 0;
30999 int arg3
= (int) true ;
31000 int arg4
= (int) 1 ;
31001 wxImageList
*result
= 0 ;
31010 PyObject
* obj0
= 0 ;
31011 PyObject
* obj1
= 0 ;
31012 PyObject
* obj2
= 0 ;
31013 PyObject
* obj3
= 0 ;
31014 char * kwnames
[] = {
31015 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31020 if (!SWIG_IsOK(ecode1
)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31023 arg1
= static_cast< int >(val1
);
31024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31025 if (!SWIG_IsOK(ecode2
)) {
31026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31028 arg2
= static_cast< int >(val2
);
31030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31031 if (!SWIG_IsOK(ecode3
)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31034 arg3
= static_cast< int >(val3
);
31037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31038 if (!SWIG_IsOK(ecode4
)) {
31039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31041 arg4
= static_cast< int >(val4
);
31044 if (!wxPyCheckForApp()) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31047 wxPyEndAllowThreads(__tstate
);
31048 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31057 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31058 PyObject
*resultobj
= 0;
31059 wxImageList
*arg1
= (wxImageList
*) 0 ;
31062 PyObject
*swig_obj
[1] ;
31064 if (!args
) SWIG_fail
;
31065 swig_obj
[0] = args
;
31066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31070 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 wxPyEndAllowThreads(__tstate
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31078 resultobj
= SWIG_Py_Void();
31085 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
= 0;
31087 wxImageList
*arg1
= (wxImageList
*) 0 ;
31088 wxBitmap
*arg2
= 0 ;
31089 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31090 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 PyObject
* obj2
= 0 ;
31101 char * kwnames
[] = {
31102 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31107 if (!SWIG_IsOK(res1
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31110 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31112 if (!SWIG_IsOK(res2
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31118 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31120 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31121 if (!SWIG_IsOK(res3
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31127 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_From_int(static_cast< int >(result
));
31142 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
= 0;
31144 wxImageList
*arg1
= (wxImageList
*) 0 ;
31145 wxBitmap
*arg2
= 0 ;
31146 wxColour
*arg3
= 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 PyObject
* obj2
= 0 ;
31156 char * kwnames
[] = {
31157 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31165 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31167 if (!SWIG_IsOK(res2
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31173 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= SWIG_From_int(static_cast< int >(result
));
31191 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
= 0;
31193 wxImageList
*arg1
= (wxImageList
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 char * kwnames
[] = {
31203 (char *) "self",(char *) "icon", NULL
31206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31208 if (!SWIG_IsOK(res1
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31211 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31213 if (!SWIG_IsOK(res2
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31219 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 resultobj
= SWIG_From_int(static_cast< int >(result
));
31233 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
= 0;
31235 wxImageList
*arg1
= (wxImageList
*) 0 ;
31237 SwigValueWrapper
<wxBitmap
> result
;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 char * kwnames
[] = {
31245 (char *) "self",(char *) "index", NULL
31248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31250 if (!SWIG_IsOK(res1
)) {
31251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31253 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31255 if (!SWIG_IsOK(ecode2
)) {
31256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31258 arg2
= static_cast< int >(val2
);
31260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31261 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31272 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
= 0;
31274 wxImageList
*arg1
= (wxImageList
*) 0 ;
31281 PyObject
* obj0
= 0 ;
31282 PyObject
* obj1
= 0 ;
31283 char * kwnames
[] = {
31284 (char *) "self",(char *) "index", NULL
31287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31289 if (!SWIG_IsOK(res1
)) {
31290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31292 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31294 if (!SWIG_IsOK(ecode2
)) {
31295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31297 arg2
= static_cast< int >(val2
);
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31311 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31312 PyObject
*resultobj
= 0;
31313 wxImageList
*arg1
= (wxImageList
*) 0 ;
31315 wxBitmap
*arg3
= 0 ;
31316 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31317 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31327 PyObject
* obj0
= 0 ;
31328 PyObject
* obj1
= 0 ;
31329 PyObject
* obj2
= 0 ;
31330 PyObject
* obj3
= 0 ;
31331 char * kwnames
[] = {
31332 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31337 if (!SWIG_IsOK(res1
)) {
31338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31340 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31342 if (!SWIG_IsOK(ecode2
)) {
31343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31345 arg2
= static_cast< int >(val2
);
31346 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31347 if (!SWIG_IsOK(res3
)) {
31348 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31353 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31355 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31356 if (!SWIG_IsOK(res4
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31362 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31379 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
= 0;
31381 wxImageList
*arg1
= (wxImageList
*) 0 ;
31386 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31387 bool arg7
= (bool) (bool)false ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 PyObject
* obj2
= 0 ;
31406 PyObject
* obj3
= 0 ;
31407 PyObject
* obj4
= 0 ;
31408 PyObject
* obj5
= 0 ;
31409 PyObject
* obj6
= 0 ;
31410 char * kwnames
[] = {
31411 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31419 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31421 if (!SWIG_IsOK(ecode2
)) {
31422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31424 arg2
= static_cast< int >(val2
);
31425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31426 if (!SWIG_IsOK(res3
)) {
31427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31432 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31434 if (!SWIG_IsOK(ecode4
)) {
31435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31437 arg4
= static_cast< int >(val4
);
31438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31439 if (!SWIG_IsOK(ecode5
)) {
31440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31442 arg5
= static_cast< int >(val5
);
31444 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31445 if (!SWIG_IsOK(ecode6
)) {
31446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31448 arg6
= static_cast< int >(val6
);
31451 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31452 if (!SWIG_IsOK(ecode7
)) {
31453 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31455 arg7
= static_cast< bool >(val7
);
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31472 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31473 PyObject
*resultobj
= 0;
31474 wxImageList
*arg1
= (wxImageList
*) 0 ;
31478 PyObject
*swig_obj
[1] ;
31480 if (!args
) SWIG_fail
;
31481 swig_obj
[0] = args
;
31482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31486 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (int)(arg1
)->GetImageCount();
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31493 resultobj
= SWIG_From_int(static_cast< int >(result
));
31500 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
= 0;
31502 wxImageList
*arg1
= (wxImageList
*) 0 ;
31509 PyObject
* obj0
= 0 ;
31510 PyObject
* obj1
= 0 ;
31511 char * kwnames
[] = {
31512 (char *) "self",(char *) "index", NULL
31515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31517 if (!SWIG_IsOK(res1
)) {
31518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31520 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31522 if (!SWIG_IsOK(ecode2
)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31525 arg2
= static_cast< int >(val2
);
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (bool)(arg1
)->Remove(arg2
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31541 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31542 PyObject
*resultobj
= 0;
31543 wxImageList
*arg1
= (wxImageList
*) 0 ;
31547 PyObject
*swig_obj
[1] ;
31549 if (!args
) SWIG_fail
;
31550 swig_obj
[0] = args
;
31551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31552 if (!SWIG_IsOK(res1
)) {
31553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31555 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 result
= (bool)(arg1
)->RemoveAll();
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31571 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31572 PyObject
*resultobj
= 0;
31573 wxImageList
*arg1
= (wxImageList
*) 0 ;
31582 int res3
= SWIG_TMPOBJ
;
31584 int res4
= SWIG_TMPOBJ
;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 char * kwnames
[] = {
31588 (char *) "self",(char *) "index", NULL
31593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31595 if (!SWIG_IsOK(res1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31598 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31600 if (!SWIG_IsOK(ecode2
)) {
31601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31603 arg2
= static_cast< int >(val2
);
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31606 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= SWIG_Py_Void();
31611 if (SWIG_IsTmpObj(res3
)) {
31612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31614 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31617 if (SWIG_IsTmpObj(res4
)) {
31618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31620 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31629 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31632 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31633 return SWIG_Py_Void();
31636 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31637 return SWIG_Python_InitShadowInstance(args
);
31640 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31641 PyObject
*resultobj
= 0;
31642 wxStockGDI
*result
= 0 ;
31644 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 result
= (wxStockGDI
*)new wxStockGDI();
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31658 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31659 PyObject
*resultobj
= 0;
31660 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31663 PyObject
*swig_obj
[1] ;
31665 if (!args
) SWIG_fail
;
31666 swig_obj
[0] = args
;
31667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31668 if (!SWIG_IsOK(res1
)) {
31669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31671 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_Py_Void();
31686 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31687 PyObject
*resultobj
= 0;
31689 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 wxStockGDI::DeleteAll();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_Py_Void();
31703 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31704 PyObject
*resultobj
= 0;
31705 wxStockGDI
*result
= 0 ;
31707 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31712 result
= (wxStockGDI
*) &_result_ref
;
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31724 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
= 0;
31726 wxStockGDI::Item arg1
;
31727 wxBrush
*result
= 0 ;
31730 PyObject
* obj0
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "item", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31737 if (!SWIG_IsOK(ecode1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31740 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31754 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
= 0;
31756 wxStockGDI::Item arg1
;
31757 wxColour
*result
= 0 ;
31760 PyObject
* obj0
= 0 ;
31761 char * kwnames
[] = {
31762 (char *) "item", NULL
31765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31766 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31767 if (!SWIG_IsOK(ecode1
)) {
31768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31770 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31784 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
= 0;
31786 wxStockGDI::Item arg1
;
31787 wxCursor
*result
= 0 ;
31790 PyObject
* obj0
= 0 ;
31791 char * kwnames
[] = {
31792 (char *) "item", NULL
31795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31797 if (!SWIG_IsOK(ecode1
)) {
31798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31800 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31814 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
= 0;
31816 wxStockGDI::Item arg1
;
31817 wxPen
*result
= 0 ;
31820 PyObject
* obj0
= 0 ;
31821 char * kwnames
[] = {
31822 (char *) "item", NULL
31825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31827 if (!SWIG_IsOK(ecode1
)) {
31828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31830 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31844 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
= 0;
31846 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31847 wxStockGDI::Item arg2
;
31848 wxFont
*result
= 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 char * kwnames
[] = {
31856 (char *) "self",(char *) "item", NULL
31859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31861 if (!SWIG_IsOK(res1
)) {
31862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31864 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31866 if (!SWIG_IsOK(ecode2
)) {
31867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31869 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31883 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31886 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31887 return SWIG_Py_Void();
31890 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31891 return SWIG_Python_InitShadowInstance(args
);
31894 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31895 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31900 SWIGINTERN PyObject
*NullBitmap_get(void) {
31901 PyObject
*pyobj
= 0;
31903 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31908 SWIGINTERN
int NullIcon_set(PyObject
*) {
31909 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31914 SWIGINTERN PyObject
*NullIcon_get(void) {
31915 PyObject
*pyobj
= 0;
31917 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31922 SWIGINTERN
int NullCursor_set(PyObject
*) {
31923 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31928 SWIGINTERN PyObject
*NullCursor_get(void) {
31929 PyObject
*pyobj
= 0;
31931 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31936 SWIGINTERN
int NullPen_set(PyObject
*) {
31937 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31942 SWIGINTERN PyObject
*NullPen_get(void) {
31943 PyObject
*pyobj
= 0;
31945 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31950 SWIGINTERN
int NullBrush_set(PyObject
*) {
31951 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31956 SWIGINTERN PyObject
*NullBrush_get(void) {
31957 PyObject
*pyobj
= 0;
31959 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31964 SWIGINTERN
int NullPalette_set(PyObject
*) {
31965 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31970 SWIGINTERN PyObject
*NullPalette_get(void) {
31971 PyObject
*pyobj
= 0;
31973 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31978 SWIGINTERN
int NullFont_set(PyObject
*) {
31979 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31984 SWIGINTERN PyObject
*NullFont_get(void) {
31985 PyObject
*pyobj
= 0;
31987 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31992 SWIGINTERN
int NullColour_set(PyObject
*) {
31993 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31998 SWIGINTERN PyObject
*NullColour_get(void) {
31999 PyObject
*pyobj
= 0;
32001 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32006 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32007 PyObject
*resultobj
= 0;
32008 wxGDIObjListBase
*result
= 0 ;
32010 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32024 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32025 PyObject
*resultobj
= 0;
32026 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32029 PyObject
*swig_obj
[1] ;
32031 if (!args
) SWIG_fail
;
32032 swig_obj
[0] = args
;
32033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32034 if (!SWIG_IsOK(res1
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32037 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_Py_Void();
32052 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32055 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32056 return SWIG_Py_Void();
32059 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32060 return SWIG_Python_InitShadowInstance(args
);
32063 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
= 0;
32065 wxPenList
*arg1
= (wxPenList
*) 0 ;
32066 wxColour
*arg2
= 0 ;
32069 wxPen
*result
= 0 ;
32077 PyObject
* obj0
= 0 ;
32078 PyObject
* obj1
= 0 ;
32079 PyObject
* obj2
= 0 ;
32080 PyObject
* obj3
= 0 ;
32081 char * kwnames
[] = {
32082 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32087 if (!SWIG_IsOK(res1
)) {
32088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32090 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32093 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32096 if (!SWIG_IsOK(ecode3
)) {
32097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32099 arg3
= static_cast< int >(val3
);
32100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32101 if (!SWIG_IsOK(ecode4
)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32104 arg4
= static_cast< int >(val4
);
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32118 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= 0;
32120 wxPenList
*arg1
= (wxPenList
*) 0 ;
32121 wxPen
*arg2
= (wxPen
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 char * kwnames
[] = {
32129 (char *) "self",(char *) "pen", NULL
32132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32137 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32139 if (!SWIG_IsOK(res2
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32142 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 (arg1
)->AddPen(arg2
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= SWIG_Py_Void();
32156 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32157 PyObject
*resultobj
= 0;
32158 wxPenList
*arg1
= (wxPenList
*) 0 ;
32159 wxPen
*arg2
= (wxPen
*) 0 ;
32164 PyObject
* obj0
= 0 ;
32165 PyObject
* obj1
= 0 ;
32166 char * kwnames
[] = {
32167 (char *) "self",(char *) "pen", NULL
32170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32172 if (!SWIG_IsOK(res1
)) {
32173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32175 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32177 if (!SWIG_IsOK(res2
)) {
32178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32180 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 (arg1
)->RemovePen(arg2
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= SWIG_Py_Void();
32194 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32198 return SWIG_Py_Void();
32201 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
= 0;
32203 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32204 wxColour
*arg2
= 0 ;
32205 int arg3
= (int) wxSOLID
;
32206 wxBrush
*result
= 0 ;
32212 PyObject
* obj0
= 0 ;
32213 PyObject
* obj1
= 0 ;
32214 PyObject
* obj2
= 0 ;
32215 char * kwnames
[] = {
32216 (char *) "self",(char *) "colour",(char *) "style", NULL
32219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32221 if (!SWIG_IsOK(res1
)) {
32222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32224 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32231 if (!SWIG_IsOK(ecode3
)) {
32232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32234 arg3
= static_cast< int >(val3
);
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32249 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
= 0;
32251 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32252 wxBrush
*arg2
= (wxBrush
*) 0 ;
32257 PyObject
* obj0
= 0 ;
32258 PyObject
* obj1
= 0 ;
32259 char * kwnames
[] = {
32260 (char *) "self",(char *) "brush", NULL
32263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32265 if (!SWIG_IsOK(res1
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32268 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32270 if (!SWIG_IsOK(res2
)) {
32271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32273 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 (arg1
)->AddBrush(arg2
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_Py_Void();
32287 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
= 0;
32289 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32290 wxBrush
*arg2
= (wxBrush
*) 0 ;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 char * kwnames
[] = {
32298 (char *) "self",(char *) "brush", NULL
32301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32303 if (!SWIG_IsOK(res1
)) {
32304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32306 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32308 if (!SWIG_IsOK(res2
)) {
32309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32311 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32314 (arg1
)->RemoveBrush(arg2
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= SWIG_Py_Void();
32325 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32328 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32329 return SWIG_Py_Void();
32332 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32333 PyObject
*resultobj
= 0;
32334 wxFontList
*arg1
= (wxFontList
*) 0 ;
32339 bool arg6
= (bool) false ;
32340 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32341 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32342 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32343 wxFont
*result
= 0 ;
32356 bool temp7
= false ;
32359 PyObject
* obj0
= 0 ;
32360 PyObject
* obj1
= 0 ;
32361 PyObject
* obj2
= 0 ;
32362 PyObject
* obj3
= 0 ;
32363 PyObject
* obj4
= 0 ;
32364 PyObject
* obj5
= 0 ;
32365 PyObject
* obj6
= 0 ;
32366 PyObject
* obj7
= 0 ;
32367 char * kwnames
[] = {
32368 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32373 if (!SWIG_IsOK(res1
)) {
32374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32376 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32378 if (!SWIG_IsOK(ecode2
)) {
32379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32381 arg2
= static_cast< int >(val2
);
32382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32383 if (!SWIG_IsOK(ecode3
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32386 arg3
= static_cast< int >(val3
);
32387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32388 if (!SWIG_IsOK(ecode4
)) {
32389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32391 arg4
= static_cast< int >(val4
);
32392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32393 if (!SWIG_IsOK(ecode5
)) {
32394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32396 arg5
= static_cast< int >(val5
);
32398 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32399 if (!SWIG_IsOK(ecode6
)) {
32400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32402 arg6
= static_cast< bool >(val6
);
32406 arg7
= wxString_in_helper(obj6
);
32407 if (arg7
== NULL
) SWIG_fail
;
32412 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32413 if (!SWIG_IsOK(ecode8
)) {
32414 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32416 arg8
= static_cast< wxFontEncoding
>(val8
);
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32439 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32440 PyObject
*resultobj
= 0;
32441 wxFontList
*arg1
= (wxFontList
*) 0 ;
32442 wxFont
*arg2
= (wxFont
*) 0 ;
32447 PyObject
* obj0
= 0 ;
32448 PyObject
* obj1
= 0 ;
32449 char * kwnames
[] = {
32450 (char *) "self",(char *) "font", NULL
32453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32455 if (!SWIG_IsOK(res1
)) {
32456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32458 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32460 if (!SWIG_IsOK(res2
)) {
32461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32463 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 (arg1
)->AddFont(arg2
);
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= SWIG_Py_Void();
32477 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxFontList
*arg1
= (wxFontList
*) 0 ;
32480 wxFont
*arg2
= (wxFont
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char * kwnames
[] = {
32488 (char *) "self",(char *) "font", NULL
32491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32493 if (!SWIG_IsOK(res1
)) {
32494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32496 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32498 if (!SWIG_IsOK(res2
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32501 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 (arg1
)->RemoveFont(arg2
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= SWIG_Py_Void();
32515 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32518 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32519 return SWIG_Py_Void();
32522 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32523 PyObject
*resultobj
= 0;
32524 wxColourDatabase
*result
= 0 ;
32526 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32528 if (!wxPyCheckForApp()) SWIG_fail
;
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 result
= (wxColourDatabase
*)new wxColourDatabase();
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32541 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32542 PyObject
*resultobj
= 0;
32543 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32546 PyObject
*swig_obj
[1] ;
32548 if (!args
) SWIG_fail
;
32549 swig_obj
[0] = args
;
32550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32551 if (!SWIG_IsOK(res1
)) {
32552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32554 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 resultobj
= SWIG_Py_Void();
32569 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
= 0;
32571 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32572 wxString
*arg2
= 0 ;
32576 bool temp2
= false ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 char * kwnames
[] = {
32580 (char *) "self",(char *) "name", NULL
32583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32585 if (!SWIG_IsOK(res1
)) {
32586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32588 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32590 arg2
= wxString_in_helper(obj1
);
32591 if (arg2
== NULL
) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32597 wxPyEndAllowThreads(__tstate
);
32598 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32615 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32616 PyObject
*resultobj
= 0;
32617 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32618 wxColour
*arg2
= 0 ;
32623 PyObject
* obj0
= 0 ;
32624 PyObject
* obj1
= 0 ;
32625 char * kwnames
[] = {
32626 (char *) "self",(char *) "colour", NULL
32629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32631 if (!SWIG_IsOK(res1
)) {
32632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32634 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32637 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32658 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
= 0;
32660 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32661 wxString
*arg2
= 0 ;
32662 wxColour
*arg3
= 0 ;
32665 bool temp2
= false ;
32667 PyObject
* obj0
= 0 ;
32668 PyObject
* obj1
= 0 ;
32669 PyObject
* obj2
= 0 ;
32670 char * kwnames
[] = {
32671 (char *) "self",(char *) "name",(char *) "colour", NULL
32674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32676 if (!SWIG_IsOK(res1
)) {
32677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32679 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32681 arg2
= wxString_in_helper(obj1
);
32682 if (arg2
== NULL
) SWIG_fail
;
32687 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= SWIG_Py_Void();
32710 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
= 0;
32712 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32713 wxString
*arg2
= 0 ;
32719 bool temp2
= false ;
32726 PyObject
* obj0
= 0 ;
32727 PyObject
* obj1
= 0 ;
32728 PyObject
* obj2
= 0 ;
32729 PyObject
* obj3
= 0 ;
32730 PyObject
* obj4
= 0 ;
32731 char * kwnames
[] = {
32732 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32740 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32742 arg2
= wxString_in_helper(obj1
);
32743 if (arg2
== NULL
) SWIG_fail
;
32746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32747 if (!SWIG_IsOK(ecode3
)) {
32748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32750 arg3
= static_cast< int >(val3
);
32751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32752 if (!SWIG_IsOK(ecode4
)) {
32753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32755 arg4
= static_cast< int >(val4
);
32756 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32757 if (!SWIG_IsOK(ecode5
)) {
32758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32760 arg5
= static_cast< int >(val5
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_Py_Void();
32782 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32785 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32786 return SWIG_Py_Void();
32789 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32790 return SWIG_Python_InitShadowInstance(args
);
32793 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32794 PyObject
*resultobj
= 0;
32795 wxFontList
*result
= 0 ;
32797 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 result
= (wxFontList
*)_wxPyInitTheFontList();
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32811 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32812 PyObject
*resultobj
= 0;
32813 wxPenList
*result
= 0 ;
32815 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 result
= (wxPenList
*)_wxPyInitThePenList();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32829 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32830 PyObject
*resultobj
= 0;
32831 wxBrushList
*result
= 0 ;
32833 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32836 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32847 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32848 PyObject
*resultobj
= 0;
32849 wxColourDatabase
*result
= 0 ;
32851 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32865 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32866 PyObject
*resultobj
= 0;
32867 wxEffects
*result
= 0 ;
32869 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxEffects
*)new wxEffects();
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32883 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32884 PyObject
*resultobj
= 0;
32885 wxEffects
*arg1
= (wxEffects
*) 0 ;
32889 PyObject
*swig_obj
[1] ;
32891 if (!args
) SWIG_fail
;
32892 swig_obj
[0] = args
;
32893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32894 if (!SWIG_IsOK(res1
)) {
32895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32897 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32911 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32912 PyObject
*resultobj
= 0;
32913 wxEffects
*arg1
= (wxEffects
*) 0 ;
32917 PyObject
*swig_obj
[1] ;
32919 if (!args
) SWIG_fail
;
32920 swig_obj
[0] = args
;
32921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32925 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32939 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32940 PyObject
*resultobj
= 0;
32941 wxEffects
*arg1
= (wxEffects
*) 0 ;
32945 PyObject
*swig_obj
[1] ;
32947 if (!args
) SWIG_fail
;
32948 swig_obj
[0] = args
;
32949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32950 if (!SWIG_IsOK(res1
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32953 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32967 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32968 PyObject
*resultobj
= 0;
32969 wxEffects
*arg1
= (wxEffects
*) 0 ;
32973 PyObject
*swig_obj
[1] ;
32975 if (!args
) SWIG_fail
;
32976 swig_obj
[0] = args
;
32977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32978 if (!SWIG_IsOK(res1
)) {
32979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32981 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32984 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32988 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32995 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32996 PyObject
*resultobj
= 0;
32997 wxEffects
*arg1
= (wxEffects
*) 0 ;
33001 PyObject
*swig_obj
[1] ;
33003 if (!args
) SWIG_fail
;
33004 swig_obj
[0] = args
;
33005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33006 if (!SWIG_IsOK(res1
)) {
33007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33009 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33023 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33024 PyObject
*resultobj
= 0;
33025 wxEffects
*arg1
= (wxEffects
*) 0 ;
33026 wxColour
*arg2
= 0 ;
33030 PyObject
* obj0
= 0 ;
33031 PyObject
* obj1
= 0 ;
33032 char * kwnames
[] = {
33033 (char *) "self",(char *) "c", NULL
33036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33038 if (!SWIG_IsOK(res1
)) {
33039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33041 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33052 resultobj
= SWIG_Py_Void();
33059 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33060 PyObject
*resultobj
= 0;
33061 wxEffects
*arg1
= (wxEffects
*) 0 ;
33062 wxColour
*arg2
= 0 ;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 char * kwnames
[] = {
33069 (char *) "self",(char *) "c", NULL
33072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33074 if (!SWIG_IsOK(res1
)) {
33075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33077 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33084 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33085 wxPyEndAllowThreads(__tstate
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33088 resultobj
= SWIG_Py_Void();
33095 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33096 PyObject
*resultobj
= 0;
33097 wxEffects
*arg1
= (wxEffects
*) 0 ;
33098 wxColour
*arg2
= 0 ;
33102 PyObject
* obj0
= 0 ;
33103 PyObject
* obj1
= 0 ;
33104 char * kwnames
[] = {
33105 (char *) "self",(char *) "c", NULL
33108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33110 if (!SWIG_IsOK(res1
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33113 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33116 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33124 resultobj
= SWIG_Py_Void();
33131 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33132 PyObject
*resultobj
= 0;
33133 wxEffects
*arg1
= (wxEffects
*) 0 ;
33134 wxColour
*arg2
= 0 ;
33138 PyObject
* obj0
= 0 ;
33139 PyObject
* obj1
= 0 ;
33140 char * kwnames
[] = {
33141 (char *) "self",(char *) "c", NULL
33144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33146 if (!SWIG_IsOK(res1
)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33149 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 resultobj
= SWIG_Py_Void();
33167 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33168 PyObject
*resultobj
= 0;
33169 wxEffects
*arg1
= (wxEffects
*) 0 ;
33170 wxColour
*arg2
= 0 ;
33174 PyObject
* obj0
= 0 ;
33175 PyObject
* obj1
= 0 ;
33176 char * kwnames
[] = {
33177 (char *) "self",(char *) "c", NULL
33180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33182 if (!SWIG_IsOK(res1
)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33185 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= SWIG_Py_Void();
33203 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
= 0;
33205 wxEffects
*arg1
= (wxEffects
*) 0 ;
33206 wxColour
*arg2
= 0 ;
33207 wxColour
*arg3
= 0 ;
33208 wxColour
*arg4
= 0 ;
33209 wxColour
*arg5
= 0 ;
33210 wxColour
*arg6
= 0 ;
33218 PyObject
* obj0
= 0 ;
33219 PyObject
* obj1
= 0 ;
33220 PyObject
* obj2
= 0 ;
33221 PyObject
* obj3
= 0 ;
33222 PyObject
* obj4
= 0 ;
33223 PyObject
* obj5
= 0 ;
33224 char * kwnames
[] = {
33225 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33230 if (!SWIG_IsOK(res1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33233 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33240 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33244 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33248 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33252 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33256 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33257 wxPyEndAllowThreads(__tstate
);
33258 if (PyErr_Occurred()) SWIG_fail
;
33260 resultobj
= SWIG_Py_Void();
33267 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33268 PyObject
*resultobj
= 0;
33269 wxEffects
*arg1
= (wxEffects
*) 0 ;
33272 int arg4
= (int) 1 ;
33280 PyObject
* obj0
= 0 ;
33281 PyObject
* obj1
= 0 ;
33282 PyObject
* obj2
= 0 ;
33283 PyObject
* obj3
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33293 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33295 if (!SWIG_IsOK(res2
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33301 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33304 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33308 if (!SWIG_IsOK(ecode4
)) {
33309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33311 arg4
= static_cast< int >(val4
);
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_Py_Void();
33326 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxEffects
*arg1
= (wxEffects
*) 0 ;
33331 wxBitmap
*arg4
= 0 ;
33340 PyObject
* obj0
= 0 ;
33341 PyObject
* obj1
= 0 ;
33342 PyObject
* obj2
= 0 ;
33343 PyObject
* obj3
= 0 ;
33344 char * kwnames
[] = {
33345 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33350 if (!SWIG_IsOK(res1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33353 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33356 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33358 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33359 if (!SWIG_IsOK(res3
)) {
33360 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33365 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33366 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33367 if (!SWIG_IsOK(res4
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33373 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33389 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33392 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33393 return SWIG_Py_Void();
33396 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33397 return SWIG_Python_InitShadowInstance(args
);
33400 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
= 0;
33405 wxSplitterRenderParams
*result
= 0 ;
33412 PyObject
* obj0
= 0 ;
33413 PyObject
* obj1
= 0 ;
33414 PyObject
* obj2
= 0 ;
33415 char * kwnames
[] = {
33416 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33420 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33421 if (!SWIG_IsOK(ecode1
)) {
33422 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33424 arg1
= static_cast< int >(val1
);
33425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33426 if (!SWIG_IsOK(ecode2
)) {
33427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33429 arg2
= static_cast< int >(val2
);
33430 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33431 if (!SWIG_IsOK(ecode3
)) {
33432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33434 arg3
= static_cast< bool >(val3
);
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33448 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33449 PyObject
*resultobj
= 0;
33450 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33453 PyObject
*swig_obj
[1] ;
33455 if (!args
) SWIG_fail
;
33456 swig_obj
[0] = args
;
33457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33458 if (!SWIG_IsOK(res1
)) {
33459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33461 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_Py_Void();
33476 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33477 PyObject
*resultobj
= 0;
33478 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33482 PyObject
*swig_obj
[1] ;
33484 if (!args
) SWIG_fail
;
33485 swig_obj
[0] = args
;
33486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33487 if (!SWIG_IsOK(res1
)) {
33488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33490 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33491 result
= (int)(int) ((arg1
)->widthSash
);
33492 resultobj
= SWIG_From_int(static_cast< int >(result
));
33499 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33500 PyObject
*resultobj
= 0;
33501 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33505 PyObject
*swig_obj
[1] ;
33507 if (!args
) SWIG_fail
;
33508 swig_obj
[0] = args
;
33509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33510 if (!SWIG_IsOK(res1
)) {
33511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33513 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33514 result
= (int)(int) ((arg1
)->border
);
33515 resultobj
= SWIG_From_int(static_cast< int >(result
));
33522 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33523 PyObject
*resultobj
= 0;
33524 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33528 PyObject
*swig_obj
[1] ;
33530 if (!args
) SWIG_fail
;
33531 swig_obj
[0] = args
;
33532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33533 if (!SWIG_IsOK(res1
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33536 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33537 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33538 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33545 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33548 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33549 return SWIG_Py_Void();
33552 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33553 return SWIG_Python_InitShadowInstance(args
);
33556 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33557 PyObject
*resultobj
= 0;
33558 wxHeaderButtonParams
*result
= 0 ;
33560 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33574 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33575 PyObject
*resultobj
= 0;
33576 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33579 PyObject
*swig_obj
[1] ;
33581 if (!args
) SWIG_fail
;
33582 swig_obj
[0] = args
;
33583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33587 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33595 resultobj
= SWIG_Py_Void();
33602 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 PyObject
*resultobj
= 0;
33604 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33605 wxColour
*arg2
= (wxColour
*) 0 ;
33609 PyObject
*swig_obj
[2] ;
33611 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33616 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33619 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33621 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33623 resultobj
= SWIG_Py_Void();
33630 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33631 PyObject
*resultobj
= 0;
33632 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33633 wxColour
*result
= 0 ;
33636 PyObject
*swig_obj
[1] ;
33638 if (!args
) SWIG_fail
;
33639 swig_obj
[0] = args
;
33640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33641 if (!SWIG_IsOK(res1
)) {
33642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33644 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33645 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33653 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33654 PyObject
*resultobj
= 0;
33655 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33656 wxColour
*arg2
= (wxColour
*) 0 ;
33660 PyObject
*swig_obj
[2] ;
33662 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33664 if (!SWIG_IsOK(res1
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33667 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33670 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33672 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33674 resultobj
= SWIG_Py_Void();
33681 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33682 PyObject
*resultobj
= 0;
33683 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33684 wxColour
*result
= 0 ;
33687 PyObject
*swig_obj
[1] ;
33689 if (!args
) SWIG_fail
;
33690 swig_obj
[0] = args
;
33691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33692 if (!SWIG_IsOK(res1
)) {
33693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33695 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33696 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33704 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33705 PyObject
*resultobj
= 0;
33706 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33707 wxString
*arg2
= (wxString
*) 0 ;
33710 bool temp2
= false ;
33711 PyObject
*swig_obj
[2] ;
33713 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_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_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33718 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33720 arg2
= wxString_in_helper(swig_obj
[1]);
33721 if (arg2
== NULL
) SWIG_fail
;
33724 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33726 resultobj
= SWIG_Py_Void();
33741 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33742 PyObject
*resultobj
= 0;
33743 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33744 wxString
*result
= 0 ;
33747 PyObject
*swig_obj
[1] ;
33749 if (!args
) SWIG_fail
;
33750 swig_obj
[0] = args
;
33751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33752 if (!SWIG_IsOK(res1
)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33755 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33756 result
= (wxString
*)& ((arg1
)->m_labelText
);
33759 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33761 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33770 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33771 PyObject
*resultobj
= 0;
33772 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33773 wxFont
*arg2
= (wxFont
*) 0 ;
33778 PyObject
*swig_obj
[2] ;
33780 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33785 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33786 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33787 if (!SWIG_IsOK(res2
)) {
33788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33790 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33791 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33793 resultobj
= SWIG_Py_Void();
33800 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33801 PyObject
*resultobj
= 0;
33802 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33803 wxFont
*result
= 0 ;
33806 PyObject
*swig_obj
[1] ;
33808 if (!args
) SWIG_fail
;
33809 swig_obj
[0] = args
;
33810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33811 if (!SWIG_IsOK(res1
)) {
33812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33814 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33815 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33823 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33824 PyObject
*resultobj
= 0;
33825 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33826 wxColour
*arg2
= (wxColour
*) 0 ;
33830 PyObject
*swig_obj
[2] ;
33832 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33834 if (!SWIG_IsOK(res1
)) {
33835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33837 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33840 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33842 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33844 resultobj
= SWIG_Py_Void();
33851 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33852 PyObject
*resultobj
= 0;
33853 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33854 wxColour
*result
= 0 ;
33857 PyObject
*swig_obj
[1] ;
33859 if (!args
) SWIG_fail
;
33860 swig_obj
[0] = args
;
33861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33865 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33866 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33874 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33875 PyObject
*resultobj
= 0;
33876 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33877 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33882 PyObject
*swig_obj
[2] ;
33884 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33889 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33890 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33891 if (!SWIG_IsOK(res2
)) {
33892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33894 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33895 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33897 resultobj
= SWIG_Py_Void();
33904 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33905 PyObject
*resultobj
= 0;
33906 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33907 wxBitmap
*result
= 0 ;
33910 PyObject
*swig_obj
[1] ;
33912 if (!args
) SWIG_fail
;
33913 swig_obj
[0] = args
;
33914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33915 if (!SWIG_IsOK(res1
)) {
33916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33918 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33919 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33927 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33928 PyObject
*resultobj
= 0;
33929 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33935 PyObject
*swig_obj
[2] ;
33937 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33939 if (!SWIG_IsOK(res1
)) {
33940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33942 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33943 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33944 if (!SWIG_IsOK(ecode2
)) {
33945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33947 arg2
= static_cast< int >(val2
);
33948 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33950 resultobj
= SWIG_Py_Void();
33957 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33958 PyObject
*resultobj
= 0;
33959 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33963 PyObject
*swig_obj
[1] ;
33965 if (!args
) SWIG_fail
;
33966 swig_obj
[0] = args
;
33967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33968 if (!SWIG_IsOK(res1
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33971 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33972 result
= (int) ((arg1
)->m_labelAlignment
);
33973 resultobj
= SWIG_From_int(static_cast< int >(result
));
33980 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33983 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33984 return SWIG_Py_Void();
33987 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33988 return SWIG_Python_InitShadowInstance(args
);
33991 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
= 0;
33995 wxRendererVersion
*result
= 0 ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 char * kwnames
[] = {
34003 (char *) "version_",(char *) "age_", NULL
34006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34008 if (!SWIG_IsOK(ecode1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34011 arg1
= static_cast< int >(val1
);
34012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34013 if (!SWIG_IsOK(ecode2
)) {
34014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34016 arg2
= static_cast< int >(val2
);
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34030 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34031 PyObject
*resultobj
= 0;
34032 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34035 PyObject
*swig_obj
[1] ;
34037 if (!args
) SWIG_fail
;
34038 swig_obj
[0] = args
;
34039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34043 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= SWIG_Py_Void();
34058 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
= 0;
34060 wxRendererVersion
*arg1
= 0 ;
34064 PyObject
* obj0
= 0 ;
34065 char * kwnames
[] = {
34066 (char *) "ver", NULL
34069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34070 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34071 if (!SWIG_IsOK(res1
)) {
34072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34077 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34093 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34094 PyObject
*resultobj
= 0;
34095 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34099 PyObject
*swig_obj
[1] ;
34101 if (!args
) SWIG_fail
;
34102 swig_obj
[0] = args
;
34103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34107 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34108 result
= (int)(int) ((arg1
)->version
);
34109 resultobj
= SWIG_From_int(static_cast< int >(result
));
34116 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34117 PyObject
*resultobj
= 0;
34118 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34122 PyObject
*swig_obj
[1] ;
34124 if (!args
) SWIG_fail
;
34125 swig_obj
[0] = args
;
34126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34127 if (!SWIG_IsOK(res1
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34130 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34131 result
= (int)(int) ((arg1
)->age
);
34132 resultobj
= SWIG_From_int(static_cast< int >(result
));
34139 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34142 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34143 return SWIG_Py_Void();
34146 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34147 return SWIG_Python_InitShadowInstance(args
);
34150 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34151 PyObject
*resultobj
= 0;
34152 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34153 wxWindow
*arg2
= (wxWindow
*) 0 ;
34156 int arg5
= (int) 0 ;
34157 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34158 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34173 PyObject
* obj0
= 0 ;
34174 PyObject
* obj1
= 0 ;
34175 PyObject
* obj2
= 0 ;
34176 PyObject
* obj3
= 0 ;
34177 PyObject
* obj4
= 0 ;
34178 PyObject
* obj5
= 0 ;
34179 PyObject
* obj6
= 0 ;
34180 char * kwnames
[] = {
34181 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34186 if (!SWIG_IsOK(res1
)) {
34187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34189 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34191 if (!SWIG_IsOK(res2
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34196 if (!SWIG_IsOK(res3
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34202 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34205 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34208 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34209 if (!SWIG_IsOK(ecode5
)) {
34210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34212 arg5
= static_cast< int >(val5
);
34215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34216 if (!SWIG_IsOK(ecode6
)) {
34217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34219 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34222 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34223 if (!SWIG_IsOK(res7
)) {
34224 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34226 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34231 wxPyEndAllowThreads(__tstate
);
34232 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= SWIG_From_int(static_cast< int >(result
));
34241 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34242 PyObject
*resultobj
= 0;
34243 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34244 wxWindow
*arg2
= (wxWindow
*) 0 ;
34247 int arg5
= (int) 0 ;
34248 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34249 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 PyObject
* obj2
= 0 ;
34267 PyObject
* obj3
= 0 ;
34268 PyObject
* obj4
= 0 ;
34269 PyObject
* obj5
= 0 ;
34270 PyObject
* obj6
= 0 ;
34271 char * kwnames
[] = {
34272 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34277 if (!SWIG_IsOK(res1
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34280 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34282 if (!SWIG_IsOK(res2
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34287 if (!SWIG_IsOK(res3
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34293 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34296 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34300 if (!SWIG_IsOK(ecode5
)) {
34301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34303 arg5
= static_cast< int >(val5
);
34306 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34307 if (!SWIG_IsOK(ecode6
)) {
34308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34310 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34313 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34314 if (!SWIG_IsOK(res7
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34317 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34321 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34322 wxPyEndAllowThreads(__tstate
);
34323 if (PyErr_Occurred()) SWIG_fail
;
34325 resultobj
= SWIG_From_int(static_cast< int >(result
));
34332 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34333 PyObject
*resultobj
= 0;
34334 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34335 wxWindow
*arg2
= (wxWindow
*) 0 ;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 char * kwnames
[] = {
34344 (char *) "self",(char *) "win", NULL
34347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34349 if (!SWIG_IsOK(res1
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34352 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34354 if (!SWIG_IsOK(res2
)) {
34355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34361 wxPyEndAllowThreads(__tstate
);
34362 if (PyErr_Occurred()) SWIG_fail
;
34364 resultobj
= SWIG_From_int(static_cast< int >(result
));
34371 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
= 0;
34373 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34374 wxWindow
*arg2
= (wxWindow
*) 0 ;
34377 int arg5
= (int) 0 ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 PyObject
* obj2
= 0 ;
34390 PyObject
* obj3
= 0 ;
34391 PyObject
* obj4
= 0 ;
34392 char * kwnames
[] = {
34393 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34401 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34407 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34408 if (!SWIG_IsOK(res3
)) {
34409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34414 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34417 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34420 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34421 if (!SWIG_IsOK(ecode5
)) {
34422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34424 arg5
= static_cast< int >(val5
);
34427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34428 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34429 wxPyEndAllowThreads(__tstate
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34432 resultobj
= SWIG_Py_Void();
34439 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34440 PyObject
*resultobj
= 0;
34441 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34442 wxWindow
*arg2
= (wxWindow
*) 0 ;
34445 int arg5
= (int) 0 ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 PyObject
* obj2
= 0 ;
34458 PyObject
* obj3
= 0 ;
34459 PyObject
* obj4
= 0 ;
34460 char * kwnames
[] = {
34461 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34466 if (!SWIG_IsOK(res1
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34469 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34471 if (!SWIG_IsOK(res2
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34476 if (!SWIG_IsOK(res3
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34482 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34485 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34488 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34489 if (!SWIG_IsOK(ecode5
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34492 arg5
= static_cast< int >(val5
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_Py_Void();
34507 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34508 PyObject
*resultobj
= 0;
34509 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34510 wxWindow
*arg2
= (wxWindow
*) 0 ;
34514 wxOrientation arg6
;
34515 int arg7
= (int) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 PyObject
* obj1
= 0 ;
34531 PyObject
* obj2
= 0 ;
34532 PyObject
* obj3
= 0 ;
34533 PyObject
* obj4
= 0 ;
34534 PyObject
* obj5
= 0 ;
34535 PyObject
* obj6
= 0 ;
34536 char * kwnames
[] = {
34537 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34542 if (!SWIG_IsOK(res1
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34545 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34547 if (!SWIG_IsOK(res2
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34550 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34551 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34552 if (!SWIG_IsOK(res3
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34558 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34563 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34564 if (!SWIG_IsOK(ecode5
)) {
34565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34567 arg5
= static_cast< int >(val5
);
34568 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34569 if (!SWIG_IsOK(ecode6
)) {
34570 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34572 arg6
= static_cast< wxOrientation
>(val6
);
34574 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34575 if (!SWIG_IsOK(ecode7
)) {
34576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34578 arg7
= static_cast< int >(val7
);
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34583 wxPyEndAllowThreads(__tstate
);
34584 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= SWIG_Py_Void();
34593 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34594 PyObject
*resultobj
= 0;
34595 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34596 wxWindow
*arg2
= (wxWindow
*) 0 ;
34599 int arg5
= (int) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 PyObject
* obj1
= 0 ;
34611 PyObject
* obj2
= 0 ;
34612 PyObject
* obj3
= 0 ;
34613 PyObject
* obj4
= 0 ;
34614 char * kwnames
[] = {
34615 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34620 if (!SWIG_IsOK(res1
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34623 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34625 if (!SWIG_IsOK(res2
)) {
34626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34628 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34629 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34630 if (!SWIG_IsOK(res3
)) {
34631 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34636 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34639 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34643 if (!SWIG_IsOK(ecode5
)) {
34644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34646 arg5
= static_cast< int >(val5
);
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= SWIG_Py_Void();
34661 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
= 0;
34663 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34664 wxWindow
*arg2
= (wxWindow
*) 0 ;
34667 int arg5
= (int) 0 ;
34677 PyObject
* obj0
= 0 ;
34678 PyObject
* obj1
= 0 ;
34679 PyObject
* obj2
= 0 ;
34680 PyObject
* obj3
= 0 ;
34681 PyObject
* obj4
= 0 ;
34682 char * kwnames
[] = {
34683 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34688 if (!SWIG_IsOK(res1
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34691 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34693 if (!SWIG_IsOK(res2
)) {
34694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34697 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34698 if (!SWIG_IsOK(res3
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34704 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34707 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34710 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34711 if (!SWIG_IsOK(ecode5
)) {
34712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34714 arg5
= static_cast< int >(val5
);
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= SWIG_Py_Void();
34729 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
= 0;
34731 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34732 wxWindow
*arg2
= (wxWindow
*) 0 ;
34735 int arg5
= (int) 0 ;
34745 PyObject
* obj0
= 0 ;
34746 PyObject
* obj1
= 0 ;
34747 PyObject
* obj2
= 0 ;
34748 PyObject
* obj3
= 0 ;
34749 PyObject
* obj4
= 0 ;
34750 char * kwnames
[] = {
34751 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34756 if (!SWIG_IsOK(res1
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34759 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34761 if (!SWIG_IsOK(res2
)) {
34762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34764 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34765 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34766 if (!SWIG_IsOK(res3
)) {
34767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34772 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34775 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34778 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34779 if (!SWIG_IsOK(ecode5
)) {
34780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34782 arg5
= static_cast< int >(val5
);
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34790 resultobj
= SWIG_Py_Void();
34797 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34798 PyObject
*resultobj
= 0;
34799 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34800 wxWindow
*arg2
= (wxWindow
*) 0 ;
34803 int arg5
= (int) 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 PyObject
* obj2
= 0 ;
34816 PyObject
* obj3
= 0 ;
34817 PyObject
* obj4
= 0 ;
34818 char * kwnames
[] = {
34819 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34824 if (!SWIG_IsOK(res1
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34827 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34829 if (!SWIG_IsOK(res2
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34833 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34834 if (!SWIG_IsOK(res3
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34840 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34843 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34847 if (!SWIG_IsOK(ecode5
)) {
34848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34850 arg5
= static_cast< int >(val5
);
34853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34854 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34855 wxPyEndAllowThreads(__tstate
);
34856 if (PyErr_Occurred()) SWIG_fail
;
34858 resultobj
= SWIG_Py_Void();
34865 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34866 PyObject
*resultobj
= 0;
34867 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34868 wxWindow
*arg2
= (wxWindow
*) 0 ;
34871 int arg5
= (int) 0 ;
34881 PyObject
* obj0
= 0 ;
34882 PyObject
* obj1
= 0 ;
34883 PyObject
* obj2
= 0 ;
34884 PyObject
* obj3
= 0 ;
34885 PyObject
* obj4
= 0 ;
34886 char * kwnames
[] = {
34887 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34892 if (!SWIG_IsOK(res1
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34895 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34897 if (!SWIG_IsOK(res2
)) {
34898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34901 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34902 if (!SWIG_IsOK(res3
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34908 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34911 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34915 if (!SWIG_IsOK(ecode5
)) {
34916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34918 arg5
= static_cast< int >(val5
);
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= SWIG_Py_Void();
34933 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34934 PyObject
*resultobj
= 0;
34935 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34936 wxWindow
*arg2
= (wxWindow
*) 0 ;
34937 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34942 PyObject
* obj0
= 0 ;
34943 PyObject
* obj1
= 0 ;
34944 char * kwnames
[] = {
34945 (char *) "self",(char *) "win", NULL
34948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34950 if (!SWIG_IsOK(res1
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34953 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34955 if (!SWIG_IsOK(res2
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34961 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34962 wxPyEndAllowThreads(__tstate
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34965 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34972 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34973 PyObject
*resultobj
= 0;
34974 wxRendererNative
*result
= 0 ;
34976 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34978 if (!wxPyCheckForApp()) SWIG_fail
;
34979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34981 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34982 result
= (wxRendererNative
*) &_result_ref
;
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34994 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34995 PyObject
*resultobj
= 0;
34996 wxRendererNative
*result
= 0 ;
34998 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35000 if (!wxPyCheckForApp()) SWIG_fail
;
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35004 result
= (wxRendererNative
*) &_result_ref
;
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35016 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35017 PyObject
*resultobj
= 0;
35018 wxRendererNative
*result
= 0 ;
35020 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35022 if (!wxPyCheckForApp()) SWIG_fail
;
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35025 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35026 result
= (wxRendererNative
*) &_result_ref
;
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35038 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
= 0;
35040 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35041 wxRendererNative
*result
= 0 ;
35044 PyObject
* obj0
= 0 ;
35045 char * kwnames
[] = {
35046 (char *) "renderer", NULL
35049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35051 if (!SWIG_IsOK(res1
)) {
35052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35054 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35056 if (!wxPyCheckForApp()) SWIG_fail
;
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35069 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35070 PyObject
*resultobj
= 0;
35071 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35072 SwigValueWrapper
<wxRendererVersion
> result
;
35075 PyObject
*swig_obj
[1] ;
35077 if (!args
) SWIG_fail
;
35078 swig_obj
[0] = args
;
35079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35080 if (!SWIG_IsOK(res1
)) {
35081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35083 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35086 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35087 wxPyEndAllowThreads(__tstate
);
35088 if (PyErr_Occurred()) SWIG_fail
;
35090 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35097 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35100 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35101 return SWIG_Py_Void();
35104 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35105 PyObject
*resultobj
= 0;
35106 wxPseudoDC
*result
= 0 ;
35108 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 result
= (wxPseudoDC
*)new wxPseudoDC();
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35122 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35123 PyObject
*resultobj
= 0;
35124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35127 PyObject
*swig_obj
[1] ;
35129 if (!args
) SWIG_fail
;
35130 swig_obj
[0] = args
;
35131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35132 if (!SWIG_IsOK(res1
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35135 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 (arg1
)->BeginDrawing();
35139 wxPyEndAllowThreads(__tstate
);
35140 if (PyErr_Occurred()) SWIG_fail
;
35142 resultobj
= SWIG_Py_Void();
35149 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35150 PyObject
*resultobj
= 0;
35151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35154 PyObject
*swig_obj
[1] ;
35156 if (!args
) SWIG_fail
;
35157 swig_obj
[0] = args
;
35158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35159 if (!SWIG_IsOK(res1
)) {
35160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35162 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 (arg1
)->EndDrawing();
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= SWIG_Py_Void();
35176 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35177 PyObject
*resultobj
= 0;
35178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35181 PyObject
*swig_obj
[1] ;
35183 if (!args
) SWIG_fail
;
35184 swig_obj
[0] = args
;
35185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35186 if (!SWIG_IsOK(res1
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35189 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35194 wxPyEndAllowThreads(__tstate
);
35195 if (PyErr_Occurred()) SWIG_fail
;
35197 resultobj
= SWIG_Py_Void();
35204 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35205 PyObject
*resultobj
= 0;
35206 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35209 PyObject
*swig_obj
[1] ;
35211 if (!args
) SWIG_fail
;
35212 swig_obj
[0] = args
;
35213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35220 (arg1
)->RemoveAll();
35221 wxPyEndAllowThreads(__tstate
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= SWIG_Py_Void();
35231 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35232 PyObject
*resultobj
= 0;
35233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35237 PyObject
*swig_obj
[1] ;
35239 if (!args
) SWIG_fail
;
35240 swig_obj
[0] = args
;
35241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35242 if (!SWIG_IsOK(res1
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 result
= (int)(arg1
)->GetLen();
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= SWIG_From_int(static_cast< int >(result
));
35259 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
= 0;
35261 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35267 PyObject
* obj0
= 0 ;
35268 PyObject
* obj1
= 0 ;
35269 char * kwnames
[] = {
35270 (char *) "self",(char *) "id", NULL
35273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35275 if (!SWIG_IsOK(res1
)) {
35276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35278 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35280 if (!SWIG_IsOK(ecode2
)) {
35281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35283 arg2
= static_cast< int >(val2
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 (arg1
)->SetId(arg2
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_Py_Void();
35297 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
= 0;
35299 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35305 PyObject
* obj0
= 0 ;
35306 PyObject
* obj1
= 0 ;
35307 char * kwnames
[] = {
35308 (char *) "self",(char *) "id", NULL
35311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35313 if (!SWIG_IsOK(res1
)) {
35314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35316 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35318 if (!SWIG_IsOK(ecode2
)) {
35319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35321 arg2
= static_cast< int >(val2
);
35323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 (arg1
)->ClearId(arg2
);
35325 wxPyEndAllowThreads(__tstate
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35328 resultobj
= SWIG_Py_Void();
35335 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35336 PyObject
*resultobj
= 0;
35337 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35343 PyObject
* obj0
= 0 ;
35344 PyObject
* obj1
= 0 ;
35345 char * kwnames
[] = {
35346 (char *) "self",(char *) "id", NULL
35349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35351 if (!SWIG_IsOK(res1
)) {
35352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35354 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35356 if (!SWIG_IsOK(ecode2
)) {
35357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35359 arg2
= static_cast< int >(val2
);
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 (arg1
)->RemoveId(arg2
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= SWIG_Py_Void();
35373 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 PyObject
* obj2
= 0 ;
35390 PyObject
* obj3
= 0 ;
35391 char * kwnames
[] = {
35392 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35402 if (!SWIG_IsOK(ecode2
)) {
35403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35405 arg2
= static_cast< int >(val2
);
35406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35407 if (!SWIG_IsOK(ecode3
)) {
35408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35410 arg3
= static_cast< int >(val3
);
35411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35412 if (!SWIG_IsOK(ecode4
)) {
35413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35415 arg4
= static_cast< int >(val4
);
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= SWIG_Py_Void();
35429 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
= 0;
35431 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35433 bool arg3
= (bool) true ;
35440 PyObject
* obj0
= 0 ;
35441 PyObject
* obj1
= 0 ;
35442 PyObject
* obj2
= 0 ;
35443 char * kwnames
[] = {
35444 (char *) "self",(char *) "id",(char *) "greyout", NULL
35447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35449 if (!SWIG_IsOK(res1
)) {
35450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35454 if (!SWIG_IsOK(ecode2
)) {
35455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35457 arg2
= static_cast< int >(val2
);
35459 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35460 if (!SWIG_IsOK(ecode3
)) {
35461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35463 arg3
= static_cast< bool >(val3
);
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= SWIG_Py_Void();
35478 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
= 0;
35480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35487 PyObject
* obj0
= 0 ;
35488 PyObject
* obj1
= 0 ;
35489 char * kwnames
[] = {
35490 (char *) "self",(char *) "id", NULL
35493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35495 if (!SWIG_IsOK(res1
)) {
35496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35498 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35500 if (!SWIG_IsOK(ecode2
)) {
35501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35503 arg2
= static_cast< int >(val2
);
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35519 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
= 0;
35521 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35524 int arg4
= (int) 1 ;
35525 wxColour
const &arg5_defvalue
= *wxWHITE
;
35526 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35527 PyObject
*result
= 0 ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 PyObject
* obj2
= 0 ;
35540 PyObject
* obj3
= 0 ;
35541 PyObject
* obj4
= 0 ;
35542 char * kwnames
[] = {
35543 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35548 if (!SWIG_IsOK(res1
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35553 if (!SWIG_IsOK(ecode2
)) {
35554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35556 arg2
= static_cast< int >(val2
);
35557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35558 if (!SWIG_IsOK(ecode3
)) {
35559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35561 arg3
= static_cast< int >(val3
);
35563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35564 if (!SWIG_IsOK(ecode4
)) {
35565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35567 arg4
= static_cast< int >(val4
);
35572 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35576 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= result
;
35586 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35587 PyObject
*resultobj
= 0;
35588 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35591 PyObject
*result
= 0 ;
35598 PyObject
* obj0
= 0 ;
35599 PyObject
* obj1
= 0 ;
35600 PyObject
* obj2
= 0 ;
35601 char * kwnames
[] = {
35602 (char *) "self",(char *) "x",(char *) "y", NULL
35605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35607 if (!SWIG_IsOK(res1
)) {
35608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35612 if (!SWIG_IsOK(ecode2
)) {
35613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35615 arg2
= static_cast< int >(val2
);
35616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35617 if (!SWIG_IsOK(ecode3
)) {
35618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35620 arg3
= static_cast< int >(val3
);
35622 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35623 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= result
;
35632 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35633 PyObject
*resultobj
= 0;
35634 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35636 wxDC
*arg3
= (wxDC
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 PyObject
* obj2
= 0 ;
35646 char * kwnames
[] = {
35647 (char *) "self",(char *) "id",(char *) "dc", NULL
35650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35652 if (!SWIG_IsOK(res1
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35655 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35657 if (!SWIG_IsOK(ecode2
)) {
35658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35660 arg2
= static_cast< int >(val2
);
35661 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35662 if (!SWIG_IsOK(res3
)) {
35663 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35665 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 (arg1
)->DrawIdToDC(arg2
,arg3
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_Py_Void();
35679 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 PyObject
* obj2
= 0 ;
35692 char * kwnames
[] = {
35693 (char *) "self",(char *) "id",(char *) "rect", NULL
35696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35698 if (!SWIG_IsOK(res1
)) {
35699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35701 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35703 if (!SWIG_IsOK(ecode2
)) {
35704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35706 arg2
= static_cast< int >(val2
);
35709 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 (arg1
)->SetIdBounds(arg2
,*arg3
);
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35717 resultobj
= SWIG_Py_Void();
35724 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
= 0;
35726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 char * kwnames
[] = {
35736 (char *) "self",(char *) "id", NULL
35739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35741 if (!SWIG_IsOK(res1
)) {
35742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35746 if (!SWIG_IsOK(ecode2
)) {
35747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35749 arg2
= static_cast< int >(val2
);
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35756 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35764 PyObject
*resultobj
= 0;
35765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35766 wxDC
*arg2
= (wxDC
*) 0 ;
35773 PyObject
* obj0
= 0 ;
35774 PyObject
* obj1
= 0 ;
35775 PyObject
* obj2
= 0 ;
35776 char * kwnames
[] = {
35777 (char *) "self",(char *) "dc",(char *) "rect", NULL
35780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35782 if (!SWIG_IsOK(res1
)) {
35783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35787 if (!SWIG_IsOK(res2
)) {
35788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35790 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35793 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 resultobj
= SWIG_Py_Void();
35808 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
= 0;
35810 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35811 wxDC
*arg2
= (wxDC
*) 0 ;
35812 wxRegion
*arg3
= 0 ;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 PyObject
* obj2
= 0 ;
35822 char * kwnames
[] = {
35823 (char *) "self",(char *) "dc",(char *) "region", NULL
35826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35828 if (!SWIG_IsOK(res1
)) {
35829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35833 if (!SWIG_IsOK(res2
)) {
35834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35836 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35837 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35838 if (!SWIG_IsOK(res3
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35844 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35851 resultobj
= SWIG_Py_Void();
35858 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35859 PyObject
*resultobj
= 0;
35860 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35861 wxDC
*arg2
= (wxDC
*) 0 ;
35866 PyObject
* obj0
= 0 ;
35867 PyObject
* obj1
= 0 ;
35868 char * kwnames
[] = {
35869 (char *) "self",(char *) "dc", NULL
35872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35874 if (!SWIG_IsOK(res1
)) {
35875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35877 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35879 if (!SWIG_IsOK(res2
)) {
35880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35882 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35885 (arg1
)->DrawToDC(arg2
);
35886 wxPyEndAllowThreads(__tstate
);
35887 if (PyErr_Occurred()) SWIG_fail
;
35889 resultobj
= SWIG_Py_Void();
35896 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35897 PyObject
*resultobj
= 0;
35898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35901 wxColour
*arg4
= 0 ;
35902 int arg5
= (int) wxFLOOD_SURFACE
;
35912 PyObject
* obj0
= 0 ;
35913 PyObject
* obj1
= 0 ;
35914 PyObject
* obj2
= 0 ;
35915 PyObject
* obj3
= 0 ;
35916 PyObject
* obj4
= 0 ;
35917 char * kwnames
[] = {
35918 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35923 if (!SWIG_IsOK(res1
)) {
35924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35926 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35928 if (!SWIG_IsOK(ecode2
)) {
35929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35931 arg2
= static_cast< int >(val2
);
35932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35933 if (!SWIG_IsOK(ecode3
)) {
35934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35936 arg3
= static_cast< int >(val3
);
35939 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35942 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35943 if (!SWIG_IsOK(ecode5
)) {
35944 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35946 arg5
= static_cast< int >(val5
);
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= SWIG_Py_Void();
35961 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
= 0;
35963 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35964 wxPoint
*arg2
= 0 ;
35965 wxColour
*arg3
= 0 ;
35966 int arg4
= (int) wxFLOOD_SURFACE
;
35973 PyObject
* obj0
= 0 ;
35974 PyObject
* obj1
= 0 ;
35975 PyObject
* obj2
= 0 ;
35976 PyObject
* obj3
= 0 ;
35977 char * kwnames
[] = {
35978 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35983 if (!SWIG_IsOK(res1
)) {
35984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35986 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35993 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35996 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35997 if (!SWIG_IsOK(ecode4
)) {
35998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36000 arg4
= static_cast< int >(val4
);
36003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36004 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= SWIG_Py_Void();
36015 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
= 0;
36017 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36032 PyObject
* obj0
= 0 ;
36033 PyObject
* obj1
= 0 ;
36034 PyObject
* obj2
= 0 ;
36035 PyObject
* obj3
= 0 ;
36036 PyObject
* obj4
= 0 ;
36037 char * kwnames
[] = {
36038 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36043 if (!SWIG_IsOK(res1
)) {
36044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36048 if (!SWIG_IsOK(ecode2
)) {
36049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36051 arg2
= static_cast< int >(val2
);
36052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36053 if (!SWIG_IsOK(ecode3
)) {
36054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36056 arg3
= static_cast< int >(val3
);
36057 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36058 if (!SWIG_IsOK(ecode4
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36061 arg4
= static_cast< int >(val4
);
36062 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36063 if (!SWIG_IsOK(ecode5
)) {
36064 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36066 arg5
= static_cast< int >(val5
);
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36070 wxPyEndAllowThreads(__tstate
);
36071 if (PyErr_Occurred()) SWIG_fail
;
36073 resultobj
= SWIG_Py_Void();
36080 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36081 PyObject
*resultobj
= 0;
36082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36083 wxPoint
*arg2
= 0 ;
36084 wxPoint
*arg3
= 0 ;
36089 PyObject
* obj0
= 0 ;
36090 PyObject
* obj1
= 0 ;
36091 PyObject
* obj2
= 0 ;
36092 char * kwnames
[] = {
36093 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36098 if (!SWIG_IsOK(res1
)) {
36099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36101 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36108 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36112 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36113 wxPyEndAllowThreads(__tstate
);
36114 if (PyErr_Occurred()) SWIG_fail
;
36116 resultobj
= SWIG_Py_Void();
36123 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36134 PyObject
* obj0
= 0 ;
36135 PyObject
* obj1
= 0 ;
36136 PyObject
* obj2
= 0 ;
36137 char * kwnames
[] = {
36138 (char *) "self",(char *) "x",(char *) "y", NULL
36141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36143 if (!SWIG_IsOK(res1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36148 if (!SWIG_IsOK(ecode2
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36151 arg2
= static_cast< int >(val2
);
36152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36153 if (!SWIG_IsOK(ecode3
)) {
36154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36156 arg3
= static_cast< int >(val3
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->CrossHair(arg2
,arg3
);
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_Py_Void();
36170 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36171 PyObject
*resultobj
= 0;
36172 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36173 wxPoint
*arg2
= 0 ;
36177 PyObject
* obj0
= 0 ;
36178 PyObject
* obj1
= 0 ;
36179 char * kwnames
[] = {
36180 (char *) "self",(char *) "pt", NULL
36183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36185 if (!SWIG_IsOK(res1
)) {
36186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36188 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= SWIG_Py_Void();
36206 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
= 0;
36208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36229 PyObject
* obj0
= 0 ;
36230 PyObject
* obj1
= 0 ;
36231 PyObject
* obj2
= 0 ;
36232 PyObject
* obj3
= 0 ;
36233 PyObject
* obj4
= 0 ;
36234 PyObject
* obj5
= 0 ;
36235 PyObject
* obj6
= 0 ;
36236 char * kwnames
[] = {
36237 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36242 if (!SWIG_IsOK(res1
)) {
36243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36247 if (!SWIG_IsOK(ecode2
)) {
36248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36250 arg2
= static_cast< int >(val2
);
36251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36252 if (!SWIG_IsOK(ecode3
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36255 arg3
= static_cast< int >(val3
);
36256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36257 if (!SWIG_IsOK(ecode4
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36260 arg4
= static_cast< int >(val4
);
36261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36262 if (!SWIG_IsOK(ecode5
)) {
36263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36265 arg5
= static_cast< int >(val5
);
36266 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36267 if (!SWIG_IsOK(ecode6
)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36270 arg6
= static_cast< int >(val6
);
36271 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36272 if (!SWIG_IsOK(ecode7
)) {
36273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36275 arg7
= static_cast< int >(val7
);
36277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36278 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= SWIG_Py_Void();
36289 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
= 0;
36291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36292 wxPoint
*arg2
= 0 ;
36293 wxPoint
*arg3
= 0 ;
36294 wxPoint
*arg4
= 0 ;
36300 PyObject
* obj0
= 0 ;
36301 PyObject
* obj1
= 0 ;
36302 PyObject
* obj2
= 0 ;
36303 PyObject
* obj3
= 0 ;
36304 char * kwnames
[] = {
36305 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36328 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 resultobj
= SWIG_Py_Void();
36339 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
= 0;
36341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36356 PyObject
* obj0
= 0 ;
36357 PyObject
* obj1
= 0 ;
36358 PyObject
* obj2
= 0 ;
36359 PyObject
* obj3
= 0 ;
36360 PyObject
* obj4
= 0 ;
36361 char * kwnames
[] = {
36362 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36367 if (!SWIG_IsOK(res1
)) {
36368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36370 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36372 if (!SWIG_IsOK(ecode2
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36375 arg2
= static_cast< int >(val2
);
36376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36377 if (!SWIG_IsOK(ecode3
)) {
36378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36380 arg3
= static_cast< int >(val3
);
36381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36382 if (!SWIG_IsOK(ecode4
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36385 arg4
= static_cast< int >(val4
);
36386 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36387 if (!SWIG_IsOK(ecode5
)) {
36388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36390 arg5
= static_cast< int >(val5
);
36392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= SWIG_Py_Void();
36404 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
= 0;
36406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36411 PyObject
* obj0
= 0 ;
36412 PyObject
* obj1
= 0 ;
36413 char * kwnames
[] = {
36414 (char *) "self",(char *) "rect", NULL
36417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36419 if (!SWIG_IsOK(res1
)) {
36420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36422 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36429 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36430 wxPyEndAllowThreads(__tstate
);
36431 if (PyErr_Occurred()) SWIG_fail
;
36433 resultobj
= SWIG_Py_Void();
36440 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36441 PyObject
*resultobj
= 0;
36442 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36463 PyObject
* obj0
= 0 ;
36464 PyObject
* obj1
= 0 ;
36465 PyObject
* obj2
= 0 ;
36466 PyObject
* obj3
= 0 ;
36467 PyObject
* obj4
= 0 ;
36468 PyObject
* obj5
= 0 ;
36469 PyObject
* obj6
= 0 ;
36470 char * kwnames
[] = {
36471 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36476 if (!SWIG_IsOK(res1
)) {
36477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36481 if (!SWIG_IsOK(ecode2
)) {
36482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36484 arg2
= static_cast< int >(val2
);
36485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36486 if (!SWIG_IsOK(ecode3
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36489 arg3
= static_cast< int >(val3
);
36490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36491 if (!SWIG_IsOK(ecode4
)) {
36492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36494 arg4
= static_cast< int >(val4
);
36495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36496 if (!SWIG_IsOK(ecode5
)) {
36497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36499 arg5
= static_cast< int >(val5
);
36500 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36501 if (!SWIG_IsOK(ecode6
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36504 arg6
= static_cast< double >(val6
);
36505 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36506 if (!SWIG_IsOK(ecode7
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36509 arg7
= static_cast< double >(val7
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 wxPoint
*arg2
= 0 ;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 PyObject
* obj2
= 0 ;
36541 PyObject
* obj3
= 0 ;
36542 PyObject
* obj4
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36552 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36559 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36561 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36562 if (!SWIG_IsOK(ecode4
)) {
36563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36565 arg4
= static_cast< double >(val4
);
36566 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36567 if (!SWIG_IsOK(ecode5
)) {
36568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36570 arg5
= static_cast< double >(val5
);
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36574 wxPyEndAllowThreads(__tstate
);
36575 if (PyErr_Occurred()) SWIG_fail
;
36577 resultobj
= SWIG_Py_Void();
36584 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36585 PyObject
*resultobj
= 0;
36586 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36595 PyObject
* obj0
= 0 ;
36596 PyObject
* obj1
= 0 ;
36597 PyObject
* obj2
= 0 ;
36598 char * kwnames
[] = {
36599 (char *) "self",(char *) "x",(char *) "y", NULL
36602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36604 if (!SWIG_IsOK(res1
)) {
36605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36607 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36609 if (!SWIG_IsOK(ecode2
)) {
36610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36612 arg2
= static_cast< int >(val2
);
36613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36614 if (!SWIG_IsOK(ecode3
)) {
36615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36617 arg3
= static_cast< int >(val3
);
36619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36620 (arg1
)->DrawPoint(arg2
,arg3
);
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 resultobj
= SWIG_Py_Void();
36631 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36632 PyObject
*resultobj
= 0;
36633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36634 wxPoint
*arg2
= 0 ;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 char * kwnames
[] = {
36641 (char *) "self",(char *) "pt", NULL
36644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36646 if (!SWIG_IsOK(res1
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36656 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36657 wxPyEndAllowThreads(__tstate
);
36658 if (PyErr_Occurred()) SWIG_fail
;
36660 resultobj
= SWIG_Py_Void();
36667 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36668 PyObject
*resultobj
= 0;
36669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36684 PyObject
* obj0
= 0 ;
36685 PyObject
* obj1
= 0 ;
36686 PyObject
* obj2
= 0 ;
36687 PyObject
* obj3
= 0 ;
36688 PyObject
* obj4
= 0 ;
36689 char * kwnames
[] = {
36690 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36695 if (!SWIG_IsOK(res1
)) {
36696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36700 if (!SWIG_IsOK(ecode2
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36703 arg2
= static_cast< int >(val2
);
36704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36705 if (!SWIG_IsOK(ecode3
)) {
36706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36708 arg3
= static_cast< int >(val3
);
36709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36710 if (!SWIG_IsOK(ecode4
)) {
36711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36713 arg4
= static_cast< int >(val4
);
36714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36715 if (!SWIG_IsOK(ecode5
)) {
36716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36718 arg5
= static_cast< int >(val5
);
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36722 wxPyEndAllowThreads(__tstate
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= SWIG_Py_Void();
36732 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36733 PyObject
*resultobj
= 0;
36734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36739 PyObject
* obj0
= 0 ;
36740 PyObject
* obj1
= 0 ;
36741 char * kwnames
[] = {
36742 (char *) "self",(char *) "rect", NULL
36745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36747 if (!SWIG_IsOK(res1
)) {
36748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36750 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36753 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36758 wxPyEndAllowThreads(__tstate
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= SWIG_Py_Void();
36768 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36769 PyObject
*resultobj
= 0;
36770 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36771 wxPoint
*arg2
= 0 ;
36777 PyObject
* obj0
= 0 ;
36778 PyObject
* obj1
= 0 ;
36779 PyObject
* obj2
= 0 ;
36780 char * kwnames
[] = {
36781 (char *) "self",(char *) "pt",(char *) "sz", NULL
36784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36786 if (!SWIG_IsOK(res1
)) {
36787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36789 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36796 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36804 resultobj
= SWIG_Py_Void();
36811 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36812 PyObject
*resultobj
= 0;
36813 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36831 PyObject
* obj0
= 0 ;
36832 PyObject
* obj1
= 0 ;
36833 PyObject
* obj2
= 0 ;
36834 PyObject
* obj3
= 0 ;
36835 PyObject
* obj4
= 0 ;
36836 PyObject
* obj5
= 0 ;
36837 char * kwnames
[] = {
36838 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36843 if (!SWIG_IsOK(res1
)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36846 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36848 if (!SWIG_IsOK(ecode2
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36851 arg2
= static_cast< int >(val2
);
36852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36853 if (!SWIG_IsOK(ecode3
)) {
36854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36856 arg3
= static_cast< int >(val3
);
36857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36858 if (!SWIG_IsOK(ecode4
)) {
36859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36861 arg4
= static_cast< int >(val4
);
36862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36863 if (!SWIG_IsOK(ecode5
)) {
36864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36866 arg5
= static_cast< int >(val5
);
36867 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36868 if (!SWIG_IsOK(ecode6
)) {
36869 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36871 arg6
= static_cast< double >(val6
);
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_Py_Void();
36885 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
= 0;
36887 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 PyObject
* obj2
= 0 ;
36898 char * kwnames
[] = {
36899 (char *) "self",(char *) "r",(char *) "radius", NULL
36902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36904 if (!SWIG_IsOK(res1
)) {
36905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36910 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36912 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36913 if (!SWIG_IsOK(ecode3
)) {
36914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36916 arg3
= static_cast< double >(val3
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36933 wxPoint
*arg2
= 0 ;
36942 PyObject
* obj0
= 0 ;
36943 PyObject
* obj1
= 0 ;
36944 PyObject
* obj2
= 0 ;
36945 PyObject
* obj3
= 0 ;
36946 char * kwnames
[] = {
36947 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36952 if (!SWIG_IsOK(res1
)) {
36953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36955 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36962 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36964 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36965 if (!SWIG_IsOK(ecode4
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36968 arg4
= static_cast< double >(val4
);
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36971 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= SWIG_Py_Void();
36982 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36983 PyObject
*resultobj
= 0;
36984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36996 PyObject
* obj0
= 0 ;
36997 PyObject
* obj1
= 0 ;
36998 PyObject
* obj2
= 0 ;
36999 PyObject
* obj3
= 0 ;
37000 char * kwnames
[] = {
37001 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37006 if (!SWIG_IsOK(res1
)) {
37007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37011 if (!SWIG_IsOK(ecode2
)) {
37012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37014 arg2
= static_cast< int >(val2
);
37015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37016 if (!SWIG_IsOK(ecode3
)) {
37017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37019 arg3
= static_cast< int >(val3
);
37020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37021 if (!SWIG_IsOK(ecode4
)) {
37022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37024 arg4
= static_cast< int >(val4
);
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_Py_Void();
37038 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
= 0;
37040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37041 wxPoint
*arg2
= 0 ;
37048 PyObject
* obj0
= 0 ;
37049 PyObject
* obj1
= 0 ;
37050 PyObject
* obj2
= 0 ;
37051 char * kwnames
[] = {
37052 (char *) "self",(char *) "pt",(char *) "radius", NULL
37055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37057 if (!SWIG_IsOK(res1
)) {
37058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37060 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37066 if (!SWIG_IsOK(ecode3
)) {
37067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37069 arg3
= static_cast< int >(val3
);
37071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37072 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37073 wxPyEndAllowThreads(__tstate
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37076 resultobj
= SWIG_Py_Void();
37083 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37084 PyObject
*resultobj
= 0;
37085 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37100 PyObject
* obj0
= 0 ;
37101 PyObject
* obj1
= 0 ;
37102 PyObject
* obj2
= 0 ;
37103 PyObject
* obj3
= 0 ;
37104 PyObject
* obj4
= 0 ;
37105 char * kwnames
[] = {
37106 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37111 if (!SWIG_IsOK(res1
)) {
37112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37114 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37116 if (!SWIG_IsOK(ecode2
)) {
37117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37119 arg2
= static_cast< int >(val2
);
37120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37121 if (!SWIG_IsOK(ecode3
)) {
37122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37124 arg3
= static_cast< int >(val3
);
37125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37126 if (!SWIG_IsOK(ecode4
)) {
37127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37129 arg4
= static_cast< int >(val4
);
37130 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37131 if (!SWIG_IsOK(ecode5
)) {
37132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37134 arg5
= static_cast< int >(val5
);
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 resultobj
= SWIG_Py_Void();
37148 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
= 0;
37150 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37155 PyObject
* obj0
= 0 ;
37156 PyObject
* obj1
= 0 ;
37157 char * kwnames
[] = {
37158 (char *) "self",(char *) "rect", NULL
37161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37163 if (!SWIG_IsOK(res1
)) {
37164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37177 resultobj
= SWIG_Py_Void();
37184 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
= 0;
37186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37187 wxPoint
*arg2
= 0 ;
37193 PyObject
* obj0
= 0 ;
37194 PyObject
* obj1
= 0 ;
37195 PyObject
* obj2
= 0 ;
37196 char * kwnames
[] = {
37197 (char *) "self",(char *) "pt",(char *) "sz", NULL
37200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37202 if (!SWIG_IsOK(res1
)) {
37203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37205 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37212 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37216 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37220 resultobj
= SWIG_Py_Void();
37227 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
= 0;
37229 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 PyObject
* obj2
= 0 ;
37244 PyObject
* obj3
= 0 ;
37245 char * kwnames
[] = {
37246 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37251 if (!SWIG_IsOK(res1
)) {
37252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37254 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37256 if (!SWIG_IsOK(res2
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37262 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37264 if (!SWIG_IsOK(ecode3
)) {
37265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37267 arg3
= static_cast< int >(val3
);
37268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37269 if (!SWIG_IsOK(ecode4
)) {
37270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37272 arg4
= static_cast< int >(val4
);
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37276 wxPyEndAllowThreads(__tstate
);
37277 if (PyErr_Occurred()) SWIG_fail
;
37279 resultobj
= SWIG_Py_Void();
37286 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37287 PyObject
*resultobj
= 0;
37288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37290 wxPoint
*arg3
= 0 ;
37296 PyObject
* obj0
= 0 ;
37297 PyObject
* obj1
= 0 ;
37298 PyObject
* obj2
= 0 ;
37299 char * kwnames
[] = {
37300 (char *) "self",(char *) "icon",(char *) "pt", NULL
37303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37305 if (!SWIG_IsOK(res1
)) {
37306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37308 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37310 if (!SWIG_IsOK(res2
)) {
37311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37316 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37319 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37323 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37324 wxPyEndAllowThreads(__tstate
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37327 resultobj
= SWIG_Py_Void();
37334 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37335 PyObject
*resultobj
= 0;
37336 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37337 wxBitmap
*arg2
= 0 ;
37340 bool arg5
= (bool) false ;
37351 PyObject
* obj0
= 0 ;
37352 PyObject
* obj1
= 0 ;
37353 PyObject
* obj2
= 0 ;
37354 PyObject
* obj3
= 0 ;
37355 PyObject
* obj4
= 0 ;
37356 char * kwnames
[] = {
37357 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37362 if (!SWIG_IsOK(res1
)) {
37363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37365 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37367 if (!SWIG_IsOK(res2
)) {
37368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37373 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37375 if (!SWIG_IsOK(ecode3
)) {
37376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37378 arg3
= static_cast< int >(val3
);
37379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37380 if (!SWIG_IsOK(ecode4
)) {
37381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37383 arg4
= static_cast< int >(val4
);
37385 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37386 if (!SWIG_IsOK(ecode5
)) {
37387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37389 arg5
= static_cast< bool >(val5
);
37392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37393 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_Py_Void();
37404 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
= 0;
37406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37407 wxBitmap
*arg2
= 0 ;
37408 wxPoint
*arg3
= 0 ;
37409 bool arg4
= (bool) false ;
37417 PyObject
* obj0
= 0 ;
37418 PyObject
* obj1
= 0 ;
37419 PyObject
* obj2
= 0 ;
37420 PyObject
* obj3
= 0 ;
37421 char * kwnames
[] = {
37422 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37427 if (!SWIG_IsOK(res1
)) {
37428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37432 if (!SWIG_IsOK(res2
)) {
37433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37438 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37444 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37445 if (!SWIG_IsOK(ecode4
)) {
37446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37448 arg4
= static_cast< bool >(val4
);
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37453 wxPyEndAllowThreads(__tstate
);
37454 if (PyErr_Occurred()) SWIG_fail
;
37456 resultobj
= SWIG_Py_Void();
37463 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37464 PyObject
*resultobj
= 0;
37465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37466 wxString
*arg2
= 0 ;
37471 bool temp2
= false ;
37476 PyObject
* obj0
= 0 ;
37477 PyObject
* obj1
= 0 ;
37478 PyObject
* obj2
= 0 ;
37479 PyObject
* obj3
= 0 ;
37480 char * kwnames
[] = {
37481 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37486 if (!SWIG_IsOK(res1
)) {
37487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37491 arg2
= wxString_in_helper(obj1
);
37492 if (arg2
== NULL
) SWIG_fail
;
37495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37496 if (!SWIG_IsOK(ecode3
)) {
37497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37499 arg3
= static_cast< int >(val3
);
37500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37501 if (!SWIG_IsOK(ecode4
)) {
37502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37504 arg4
= static_cast< int >(val4
);
37506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37507 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37508 wxPyEndAllowThreads(__tstate
);
37509 if (PyErr_Occurred()) SWIG_fail
;
37511 resultobj
= SWIG_Py_Void();
37526 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37527 PyObject
*resultobj
= 0;
37528 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37529 wxString
*arg2
= 0 ;
37530 wxPoint
*arg3
= 0 ;
37533 bool temp2
= false ;
37535 PyObject
* obj0
= 0 ;
37536 PyObject
* obj1
= 0 ;
37537 PyObject
* obj2
= 0 ;
37538 char * kwnames
[] = {
37539 (char *) "self",(char *) "text",(char *) "pt", NULL
37542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37544 if (!SWIG_IsOK(res1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37549 arg2
= wxString_in_helper(obj1
);
37550 if (arg2
== NULL
) SWIG_fail
;
37555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37559 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37560 wxPyEndAllowThreads(__tstate
);
37561 if (PyErr_Occurred()) SWIG_fail
;
37563 resultobj
= SWIG_Py_Void();
37578 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
= 0;
37580 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37581 wxString
*arg2
= 0 ;
37587 bool temp2
= false ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 PyObject
* obj2
= 0 ;
37597 PyObject
* obj3
= 0 ;
37598 PyObject
* obj4
= 0 ;
37599 char * kwnames
[] = {
37600 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37605 if (!SWIG_IsOK(res1
)) {
37606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37608 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37610 arg2
= wxString_in_helper(obj1
);
37611 if (arg2
== NULL
) SWIG_fail
;
37614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37615 if (!SWIG_IsOK(ecode3
)) {
37616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37618 arg3
= static_cast< int >(val3
);
37619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37620 if (!SWIG_IsOK(ecode4
)) {
37621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37623 arg4
= static_cast< int >(val4
);
37624 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37625 if (!SWIG_IsOK(ecode5
)) {
37626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37628 arg5
= static_cast< double >(val5
);
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37632 wxPyEndAllowThreads(__tstate
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= SWIG_Py_Void();
37650 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37651 PyObject
*resultobj
= 0;
37652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37653 wxString
*arg2
= 0 ;
37654 wxPoint
*arg3
= 0 ;
37658 bool temp2
= false ;
37662 PyObject
* obj0
= 0 ;
37663 PyObject
* obj1
= 0 ;
37664 PyObject
* obj2
= 0 ;
37665 PyObject
* obj3
= 0 ;
37666 char * kwnames
[] = {
37667 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37672 if (!SWIG_IsOK(res1
)) {
37673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37677 arg2
= wxString_in_helper(obj1
);
37678 if (arg2
== NULL
) SWIG_fail
;
37683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37685 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37686 if (!SWIG_IsOK(ecode4
)) {
37687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37689 arg4
= static_cast< double >(val4
);
37691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37692 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37693 wxPyEndAllowThreads(__tstate
);
37694 if (PyErr_Occurred()) SWIG_fail
;
37696 resultobj
= SWIG_Py_Void();
37711 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37712 PyObject
*resultobj
= 0;
37713 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37715 wxPoint
*arg3
= (wxPoint
*) 0 ;
37716 int arg4
= (int) 0 ;
37717 int arg5
= (int) 0 ;
37724 PyObject
* obj0
= 0 ;
37725 PyObject
* obj1
= 0 ;
37726 PyObject
* obj2
= 0 ;
37727 PyObject
* obj3
= 0 ;
37728 char * kwnames
[] = {
37729 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37734 if (!SWIG_IsOK(res1
)) {
37735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37737 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37739 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37740 if (arg3
== NULL
) SWIG_fail
;
37743 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37744 if (!SWIG_IsOK(ecode4
)) {
37745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37747 arg4
= static_cast< int >(val4
);
37750 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37751 if (!SWIG_IsOK(ecode5
)) {
37752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37754 arg5
= static_cast< int >(val5
);
37757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37758 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37759 wxPyEndAllowThreads(__tstate
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37762 resultobj
= SWIG_Py_Void();
37764 if (arg3
) delete [] arg3
;
37769 if (arg3
) delete [] arg3
;
37775 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37776 PyObject
*resultobj
= 0;
37777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37779 wxPoint
*arg3
= (wxPoint
*) 0 ;
37780 int arg4
= (int) 0 ;
37781 int arg5
= (int) 0 ;
37782 int arg6
= (int) wxODDEVEN_RULE
;
37791 PyObject
* obj0
= 0 ;
37792 PyObject
* obj1
= 0 ;
37793 PyObject
* obj2
= 0 ;
37794 PyObject
* obj3
= 0 ;
37795 PyObject
* obj4
= 0 ;
37796 char * kwnames
[] = {
37797 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37802 if (!SWIG_IsOK(res1
)) {
37803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37807 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37808 if (arg3
== NULL
) SWIG_fail
;
37811 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37812 if (!SWIG_IsOK(ecode4
)) {
37813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37815 arg4
= static_cast< int >(val4
);
37818 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37819 if (!SWIG_IsOK(ecode5
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37822 arg5
= static_cast< int >(val5
);
37825 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37826 if (!SWIG_IsOK(ecode6
)) {
37827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37829 arg6
= static_cast< int >(val6
);
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37834 wxPyEndAllowThreads(__tstate
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= SWIG_Py_Void();
37839 if (arg3
) delete [] arg3
;
37844 if (arg3
) delete [] arg3
;
37850 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37851 PyObject
*resultobj
= 0;
37852 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37853 wxString
*arg2
= 0 ;
37855 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37856 int arg5
= (int) -1 ;
37859 bool temp2
= false ;
37865 PyObject
* obj0
= 0 ;
37866 PyObject
* obj1
= 0 ;
37867 PyObject
* obj2
= 0 ;
37868 PyObject
* obj3
= 0 ;
37869 PyObject
* obj4
= 0 ;
37870 char * kwnames
[] = {
37871 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37876 if (!SWIG_IsOK(res1
)) {
37877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37881 arg2
= wxString_in_helper(obj1
);
37882 if (arg2
== NULL
) SWIG_fail
;
37887 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37890 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37891 if (!SWIG_IsOK(ecode4
)) {
37892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37894 arg4
= static_cast< int >(val4
);
37897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37898 if (!SWIG_IsOK(ecode5
)) {
37899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37901 arg5
= static_cast< int >(val5
);
37904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37905 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= SWIG_Py_Void();
37924 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37925 PyObject
*resultobj
= 0;
37926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37927 wxString
*arg2
= 0 ;
37928 wxBitmap
*arg3
= 0 ;
37930 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37931 int arg6
= (int) -1 ;
37934 bool temp2
= false ;
37942 PyObject
* obj0
= 0 ;
37943 PyObject
* obj1
= 0 ;
37944 PyObject
* obj2
= 0 ;
37945 PyObject
* obj3
= 0 ;
37946 PyObject
* obj4
= 0 ;
37947 PyObject
* obj5
= 0 ;
37948 char * kwnames
[] = {
37949 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37954 if (!SWIG_IsOK(res1
)) {
37955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37959 arg2
= wxString_in_helper(obj1
);
37960 if (arg2
== NULL
) SWIG_fail
;
37963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37964 if (!SWIG_IsOK(res3
)) {
37965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37970 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37973 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37976 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37977 if (!SWIG_IsOK(ecode5
)) {
37978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37980 arg5
= static_cast< int >(val5
);
37983 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37984 if (!SWIG_IsOK(ecode6
)) {
37985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37987 arg6
= static_cast< int >(val6
);
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37992 wxPyEndAllowThreads(__tstate
);
37993 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= SWIG_Py_Void();
38010 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38011 PyObject
*resultobj
= 0;
38012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38014 wxPoint
*arg3
= (wxPoint
*) 0 ;
38017 PyObject
* obj0
= 0 ;
38018 PyObject
* obj1
= 0 ;
38019 char * kwnames
[] = {
38020 (char *) "self",(char *) "points", NULL
38023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38025 if (!SWIG_IsOK(res1
)) {
38026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38030 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38031 if (arg3
== NULL
) SWIG_fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 (arg1
)->DrawSpline(arg2
,arg3
);
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38039 resultobj
= SWIG_Py_Void();
38041 if (arg3
) delete [] arg3
;
38046 if (arg3
) delete [] arg3
;
38052 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38053 PyObject
*resultobj
= 0;
38054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38057 PyObject
*swig_obj
[1] ;
38059 if (!args
) SWIG_fail
;
38060 swig_obj
[0] = args
;
38061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38062 if (!SWIG_IsOK(res1
)) {
38063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= SWIG_Py_Void();
38079 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38080 PyObject
*resultobj
= 0;
38081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38087 PyObject
* obj0
= 0 ;
38088 PyObject
* obj1
= 0 ;
38089 char * kwnames
[] = {
38090 (char *) "self",(char *) "font", NULL
38093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38095 if (!SWIG_IsOK(res1
)) {
38096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38100 if (!SWIG_IsOK(res2
)) {
38101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38106 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38109 (arg1
)->SetFont((wxFont
const &)*arg2
);
38110 wxPyEndAllowThreads(__tstate
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38113 resultobj
= SWIG_Py_Void();
38120 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38121 PyObject
*resultobj
= 0;
38122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38128 PyObject
* obj0
= 0 ;
38129 PyObject
* obj1
= 0 ;
38130 char * kwnames
[] = {
38131 (char *) "self",(char *) "pen", NULL
38134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38136 if (!SWIG_IsOK(res1
)) {
38137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38141 if (!SWIG_IsOK(res2
)) {
38142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38147 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 (arg1
)->SetPen((wxPen
const &)*arg2
);
38151 wxPyEndAllowThreads(__tstate
);
38152 if (PyErr_Occurred()) SWIG_fail
;
38154 resultobj
= SWIG_Py_Void();
38161 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38162 PyObject
*resultobj
= 0;
38163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38164 wxBrush
*arg2
= 0 ;
38169 PyObject
* obj0
= 0 ;
38170 PyObject
* obj1
= 0 ;
38171 char * kwnames
[] = {
38172 (char *) "self",(char *) "brush", NULL
38175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38177 if (!SWIG_IsOK(res1
)) {
38178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38182 if (!SWIG_IsOK(res2
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38188 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38192 wxPyEndAllowThreads(__tstate
);
38193 if (PyErr_Occurred()) SWIG_fail
;
38195 resultobj
= SWIG_Py_Void();
38202 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38203 PyObject
*resultobj
= 0;
38204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38205 wxBrush
*arg2
= 0 ;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 char * kwnames
[] = {
38213 (char *) "self",(char *) "brush", NULL
38216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38218 if (!SWIG_IsOK(res1
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38221 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38223 if (!SWIG_IsOK(res2
)) {
38224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38229 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_Py_Void();
38243 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
= 0;
38245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38251 PyObject
* obj0
= 0 ;
38252 PyObject
* obj1
= 0 ;
38253 char * kwnames
[] = {
38254 (char *) "self",(char *) "mode", NULL
38257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38259 if (!SWIG_IsOK(res1
)) {
38260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38264 if (!SWIG_IsOK(ecode2
)) {
38265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38267 arg2
= static_cast< int >(val2
);
38269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38270 (arg1
)->SetBackgroundMode(arg2
);
38271 wxPyEndAllowThreads(__tstate
);
38272 if (PyErr_Occurred()) SWIG_fail
;
38274 resultobj
= SWIG_Py_Void();
38281 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38282 PyObject
*resultobj
= 0;
38283 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38284 wxPalette
*arg2
= 0 ;
38289 PyObject
* obj0
= 0 ;
38290 PyObject
* obj1
= 0 ;
38291 char * kwnames
[] = {
38292 (char *) "self",(char *) "palette", NULL
38295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38297 if (!SWIG_IsOK(res1
)) {
38298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38302 if (!SWIG_IsOK(res2
)) {
38303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38308 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38311 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38315 resultobj
= SWIG_Py_Void();
38322 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38323 PyObject
*resultobj
= 0;
38324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38325 wxColour
*arg2
= 0 ;
38329 PyObject
* obj0
= 0 ;
38330 PyObject
* obj1
= 0 ;
38331 char * kwnames
[] = {
38332 (char *) "self",(char *) "colour", NULL
38335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38337 if (!SWIG_IsOK(res1
)) {
38338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38340 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38347 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38351 resultobj
= SWIG_Py_Void();
38358 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38359 PyObject
*resultobj
= 0;
38360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38361 wxColour
*arg2
= 0 ;
38365 PyObject
* obj0
= 0 ;
38366 PyObject
* obj1
= 0 ;
38367 char * kwnames
[] = {
38368 (char *) "self",(char *) "colour", NULL
38371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38373 if (!SWIG_IsOK(res1
)) {
38374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38376 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38383 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= SWIG_Py_Void();
38394 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38395 PyObject
*resultobj
= 0;
38396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38402 PyObject
* obj0
= 0 ;
38403 PyObject
* obj1
= 0 ;
38404 char * kwnames
[] = {
38405 (char *) "self",(char *) "function", NULL
38408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38410 if (!SWIG_IsOK(res1
)) {
38411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38413 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38415 if (!SWIG_IsOK(ecode2
)) {
38416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38418 arg2
= static_cast< int >(val2
);
38420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38421 (arg1
)->SetLogicalFunction(arg2
);
38422 wxPyEndAllowThreads(__tstate
);
38423 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= SWIG_Py_Void();
38432 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38435 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38436 return SWIG_Py_Void();
38439 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38440 return SWIG_Python_InitShadowInstance(args
);
38443 static PyMethodDef SwigMethods
[] = {
38444 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38445 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38446 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38447 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38448 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38449 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38453 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38454 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38455 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38456 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38457 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38458 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38463 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38464 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38467 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38468 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38469 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38471 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38474 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38475 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38476 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38477 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38479 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38480 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38481 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38482 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38483 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38484 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38485 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38492 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38494 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38497 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38498 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38501 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38505 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38506 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38507 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38508 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38509 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38510 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38511 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38513 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38519 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38520 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38521 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38522 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38523 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38524 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38525 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38531 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38541 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38542 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38546 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38547 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38548 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38549 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38550 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38551 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38552 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38553 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38554 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38555 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38556 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38557 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38558 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38559 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38560 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38562 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38563 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38569 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38570 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38571 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38572 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38573 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38574 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38575 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38576 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38577 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38578 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38579 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38580 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38582 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38583 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38589 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38590 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38591 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38593 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38594 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38595 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38597 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38598 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38603 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38604 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38605 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38606 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38611 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38612 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38614 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38615 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38617 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38619 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38620 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38621 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38622 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38625 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38629 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38630 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38632 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38635 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38636 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38637 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38642 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38643 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38649 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38653 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38664 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38667 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38668 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38670 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38671 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38672 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38673 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38674 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38675 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38676 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38677 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38678 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38679 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38680 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38681 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38682 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38683 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38684 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38685 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38686 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38688 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38689 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38690 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38691 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38692 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38693 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38694 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38703 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38704 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38706 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38707 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38708 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38709 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38710 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38711 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38712 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38713 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38714 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38716 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38717 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38718 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38721 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38722 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38723 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38726 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38732 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38737 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38738 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38740 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38746 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38749 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38750 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38751 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38752 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38753 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38754 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38755 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38756 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38757 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38758 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38759 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38760 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38761 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38773 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38774 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38775 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38777 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38778 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38780 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38781 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38782 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38783 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38787 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38788 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38790 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38791 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38792 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38793 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38794 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38795 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38796 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38797 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38798 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38800 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38803 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38804 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38805 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38806 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38807 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38808 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38809 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38810 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38820 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38821 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38822 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38824 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38830 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38831 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38832 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38833 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38839 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38840 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38841 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38891 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38893 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38894 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38895 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38902 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38903 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38904 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38905 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38906 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38911 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38912 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38913 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38914 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38923 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38924 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38925 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38926 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38927 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38928 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38929 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38930 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38931 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38932 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38933 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38934 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38937 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38939 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38941 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38943 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38944 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38947 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38948 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38952 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38954 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38957 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38958 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38959 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38960 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38961 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38962 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38963 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38971 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38973 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38974 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38975 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38977 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38978 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38979 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38981 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38982 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38983 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38984 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38985 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38986 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38987 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38988 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38991 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38992 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38993 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38995 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38996 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38998 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38999 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39001 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39002 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39007 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39008 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39009 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39010 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39011 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39013 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39015 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39017 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39018 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39020 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39021 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39027 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39030 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39031 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39032 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39034 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39035 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39037 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39038 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39040 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39041 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39043 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39044 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39045 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39046 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39047 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39048 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39049 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39050 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39051 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39052 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39053 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39054 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39055 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39056 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39057 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39058 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39059 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39060 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39061 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39064 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39065 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39067 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39073 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39074 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39075 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39076 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39077 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39078 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39079 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39080 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39082 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39083 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39084 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39091 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39094 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39095 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39096 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39097 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39098 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39099 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39100 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39103 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39110 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39111 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39114 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39115 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39116 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39123 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39124 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39125 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39126 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39144 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39145 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39146 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39147 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39148 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39149 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39152 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39159 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39160 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39161 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39162 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39164 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39165 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39166 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39167 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39168 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39169 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39170 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39171 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39172 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39173 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39174 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39175 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39177 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39185 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39187 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39189 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39190 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39191 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39192 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39193 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39194 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39200 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39201 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39202 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39203 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39204 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39205 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39209 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39213 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39217 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39218 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39219 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39224 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39225 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39226 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39227 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39228 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39229 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39230 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39231 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39232 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39233 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39234 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39235 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39244 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39245 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39247 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39248 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39249 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39250 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39252 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39253 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39254 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39255 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39256 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39257 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39258 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39259 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39260 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39261 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39262 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39263 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39264 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39265 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39266 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39267 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39268 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39269 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39270 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39272 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39274 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39275 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39276 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39277 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39290 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39291 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39292 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39294 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39295 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39296 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39297 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39298 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39299 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39300 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39301 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39354 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39364 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39365 { NULL
, NULL
, 0, NULL
}
39369 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39371 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39372 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39374 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39375 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39377 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39378 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39380 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39381 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39383 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39384 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39386 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39387 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39389 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39390 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39392 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39393 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39395 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39396 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39398 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39399 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39401 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39402 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39404 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39405 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39407 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39408 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39410 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39411 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39413 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39414 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39416 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39417 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39419 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39420 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39422 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39423 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39425 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39426 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39428 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39429 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39431 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39432 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39434 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39435 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39437 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39438 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39440 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39441 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39443 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39444 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39446 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39447 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39449 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39450 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39452 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39453 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39455 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39456 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39458 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39459 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39461 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39462 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39464 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39465 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39467 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39468 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39470 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39471 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39473 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39474 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39476 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39477 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39479 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39480 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39482 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39483 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39485 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39486 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39488 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39489 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39491 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39492 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39494 static void *_p_wxPenTo_p_wxObject(void *x
) {
39495 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39497 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39498 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39500 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39501 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39503 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39504 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39506 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39509 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39510 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39512 static void *_p_wxIconTo_p_wxObject(void *x
) {
39513 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39515 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39518 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39521 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) ((wxSizer
*) x
));
39524 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39527 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39530 static void *_p_wxEventTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) ((wxEvent
*) x
));
39533 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39536 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39539 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39542 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39545 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39548 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39551 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39554 static void *_p_wxDCTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) ((wxDC
*) x
));
39557 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39560 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39563 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39566 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39569 static void *_p_wxControlTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39572 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39575 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39578 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39581 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39584 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39587 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39590 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39593 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39596 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39599 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39602 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39605 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) ((wxEffects
*) x
));
39608 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39611 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39614 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39617 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39620 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39623 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39626 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39629 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39632 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39635 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39638 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39641 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39644 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39647 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39650 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39653 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39656 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39659 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39662 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39665 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39668 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39669 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39671 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39672 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39674 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39675 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39677 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39680 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39683 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39684 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39686 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39687 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39689 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39692 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39695 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39696 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39698 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39699 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39701 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39702 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39704 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39705 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39707 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39710 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39713 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39716 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39719 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39722 static void *_p_wxImageTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) ((wxImage
*) x
));
39725 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39728 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39731 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39734 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39737 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39740 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) ((wxImageList
*) x
));
39743 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39746 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39749 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39752 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39755 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39758 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39761 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39764 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39767 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39770 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39773 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39776 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39779 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39782 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39785 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) ((wxMask
*) x
));
39788 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39791 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39794 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39797 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39800 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39803 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39806 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39809 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39812 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39813 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39815 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39816 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39818 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39819 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39821 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39824 static void *_p_wxFontTo_p_wxObject(void *x
) {
39825 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39827 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39828 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39830 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39831 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39833 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39836 static void *_p_wxColourTo_p_wxObject(void *x
) {
39837 return (void *)((wxObject
*) ((wxColour
*) x
));
39839 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39842 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39843 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39845 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39846 return (void *)((wxWindow
*) ((wxControl
*) x
));
39848 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39849 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39851 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39852 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39854 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39855 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39857 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39858 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39860 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39863 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};
39864 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39877 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39878 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39879 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39880 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39881 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39882 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39883 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39916 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39917 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39925 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39926 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39927 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39928 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39929 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39930 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39931 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39932 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39933 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39934 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39935 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39936 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39937 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39938 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39939 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39940 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39941 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39942 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39943 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39944 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39945 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39946 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39947 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39948 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39949 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39993 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39994 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39995 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39996 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39997 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39998 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39999 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40000 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40001 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40002 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40003 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40004 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40005 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40006 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40007 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40008 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40009 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40010 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40011 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40012 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40013 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40014 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40015 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40016 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40017 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40018 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40019 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40020 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40021 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40022 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40023 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40024 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40025 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40026 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40027 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40028 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40030 static swig_type_info
*swig_type_initial
[] = {
40034 &_swigt__p_form_ops_t
,
40036 &_swigt__p_unsigned_char
,
40037 &_swigt__p_unsigned_int
,
40038 &_swigt__p_unsigned_long
,
40040 &_swigt__p_wxANIHandler
,
40041 &_swigt__p_wxAcceleratorTable
,
40042 &_swigt__p_wxActivateEvent
,
40043 &_swigt__p_wxAlphaPixelData
,
40044 &_swigt__p_wxAlphaPixelData_Accessor
,
40045 &_swigt__p_wxAutoBufferedPaintDC
,
40046 &_swigt__p_wxBMPHandler
,
40047 &_swigt__p_wxBitmap
,
40048 &_swigt__p_wxBoxSizer
,
40049 &_swigt__p_wxBrush
,
40050 &_swigt__p_wxBrushList
,
40051 &_swigt__p_wxBufferedDC
,
40052 &_swigt__p_wxBufferedPaintDC
,
40053 &_swigt__p_wxCURHandler
,
40055 &_swigt__p_wxChildFocusEvent
,
40056 &_swigt__p_wxClientDC
,
40057 &_swigt__p_wxClipboardTextEvent
,
40058 &_swigt__p_wxCloseEvent
,
40059 &_swigt__p_wxColour
,
40060 &_swigt__p_wxColourDatabase
,
40061 &_swigt__p_wxCommandEvent
,
40062 &_swigt__p_wxContextMenuEvent
,
40063 &_swigt__p_wxControl
,
40064 &_swigt__p_wxControlWithItems
,
40065 &_swigt__p_wxCursor
,
40067 &_swigt__p_wxDCBrushChanger
,
40068 &_swigt__p_wxDCClipper
,
40069 &_swigt__p_wxDCOverlay
,
40070 &_swigt__p_wxDCPenChanger
,
40071 &_swigt__p_wxDCTextColourChanger
,
40073 &_swigt__p_wxDateEvent
,
40074 &_swigt__p_wxDisplayChangedEvent
,
40075 &_swigt__p_wxDropFilesEvent
,
40076 &_swigt__p_wxDuplexMode
,
40077 &_swigt__p_wxEffects
,
40078 &_swigt__p_wxEncodingConverter
,
40079 &_swigt__p_wxEraseEvent
,
40080 &_swigt__p_wxEvent
,
40081 &_swigt__p_wxEvtHandler
,
40082 &_swigt__p_wxFSFile
,
40083 &_swigt__p_wxFileSystem
,
40084 &_swigt__p_wxFlexGridSizer
,
40085 &_swigt__p_wxFocusEvent
,
40087 &_swigt__p_wxFontList
,
40088 &_swigt__p_wxFontMapper
,
40089 &_swigt__p_wxGBSizerItem
,
40091 &_swigt__p_wxGDIObjListBase
,
40092 &_swigt__p_wxGDIObject
,
40093 &_swigt__p_wxGIFHandler
,
40094 &_swigt__p_wxGraphicsBrush
,
40095 &_swigt__p_wxGraphicsContext
,
40096 &_swigt__p_wxGraphicsFont
,
40097 &_swigt__p_wxGraphicsMatrix
,
40098 &_swigt__p_wxGraphicsObject
,
40099 &_swigt__p_wxGraphicsPath
,
40100 &_swigt__p_wxGraphicsPen
,
40101 &_swigt__p_wxGraphicsRenderer
,
40102 &_swigt__p_wxGridBagSizer
,
40103 &_swigt__p_wxGridSizer
,
40104 &_swigt__p_wxHeaderButtonParams
,
40105 &_swigt__p_wxICOHandler
,
40107 &_swigt__p_wxIconBundle
,
40108 &_swigt__p_wxIconLocation
,
40109 &_swigt__p_wxIconizeEvent
,
40110 &_swigt__p_wxIdleEvent
,
40111 &_swigt__p_wxImage
,
40112 &_swigt__p_wxImageHandler
,
40113 &_swigt__p_wxImageList
,
40114 &_swigt__p_wxIndividualLayoutConstraint
,
40115 &_swigt__p_wxInitDialogEvent
,
40116 &_swigt__p_wxJPEGHandler
,
40117 &_swigt__p_wxKeyEvent
,
40118 &_swigt__p_wxLanguageInfo
,
40119 &_swigt__p_wxLayoutConstraints
,
40120 &_swigt__p_wxLocale
,
40122 &_swigt__p_wxMaximizeEvent
,
40123 &_swigt__p_wxMemoryDC
,
40125 &_swigt__p_wxMenuBar
,
40126 &_swigt__p_wxMenuEvent
,
40127 &_swigt__p_wxMenuItem
,
40128 &_swigt__p_wxMetaFile
,
40129 &_swigt__p_wxMetaFileDC
,
40130 &_swigt__p_wxMirrorDC
,
40131 &_swigt__p_wxMouseCaptureChangedEvent
,
40132 &_swigt__p_wxMouseCaptureLostEvent
,
40133 &_swigt__p_wxMouseEvent
,
40134 &_swigt__p_wxMoveEvent
,
40135 &_swigt__p_wxNativeEncodingInfo
,
40136 &_swigt__p_wxNativeFontInfo
,
40137 &_swigt__p_wxNativePixelData
,
40138 &_swigt__p_wxNativePixelData_Accessor
,
40139 &_swigt__p_wxNavigationKeyEvent
,
40140 &_swigt__p_wxNcPaintEvent
,
40141 &_swigt__p_wxNotifyEvent
,
40142 &_swigt__p_wxObject
,
40143 &_swigt__p_wxOverlay
,
40144 &_swigt__p_wxPCXHandler
,
40145 &_swigt__p_wxPNGHandler
,
40146 &_swigt__p_wxPNMHandler
,
40147 &_swigt__p_wxPaintDC
,
40148 &_swigt__p_wxPaintEvent
,
40149 &_swigt__p_wxPalette
,
40150 &_swigt__p_wxPaletteChangedEvent
,
40151 &_swigt__p_wxPaperSize
,
40153 &_swigt__p_wxPenList
,
40154 &_swigt__p_wxPixelDataBase
,
40155 &_swigt__p_wxPoint
,
40156 &_swigt__p_wxPoint2D
,
40157 &_swigt__p_wxPostScriptDC
,
40158 &_swigt__p_wxPrintData
,
40159 &_swigt__p_wxPrinterDC
,
40160 &_swigt__p_wxPseudoDC
,
40161 &_swigt__p_wxPyApp
,
40162 &_swigt__p_wxPyCommandEvent
,
40163 &_swigt__p_wxPyEvent
,
40164 &_swigt__p_wxPyFontEnumerator
,
40165 &_swigt__p_wxPyImageHandler
,
40166 &_swigt__p_wxPyLocale
,
40167 &_swigt__p_wxPySizer
,
40168 &_swigt__p_wxPyValidator
,
40169 &_swigt__p_wxQueryNewPaletteEvent
,
40171 &_swigt__p_wxRect2D
,
40172 &_swigt__p_wxRegion
,
40173 &_swigt__p_wxRegionIterator
,
40174 &_swigt__p_wxRendererNative
,
40175 &_swigt__p_wxRendererVersion
,
40176 &_swigt__p_wxScreenDC
,
40177 &_swigt__p_wxScrollEvent
,
40178 &_swigt__p_wxScrollWinEvent
,
40179 &_swigt__p_wxSetCursorEvent
,
40180 &_swigt__p_wxShowEvent
,
40182 &_swigt__p_wxSizeEvent
,
40183 &_swigt__p_wxSizer
,
40184 &_swigt__p_wxSizerItem
,
40185 &_swigt__p_wxSplitterRenderParams
,
40186 &_swigt__p_wxStaticBoxSizer
,
40187 &_swigt__p_wxStdDialogButtonSizer
,
40188 &_swigt__p_wxStockGDI
,
40189 &_swigt__p_wxString
,
40190 &_swigt__p_wxSysColourChangedEvent
,
40191 &_swigt__p_wxTGAHandler
,
40192 &_swigt__p_wxTIFFHandler
,
40193 &_swigt__p_wxUpdateUIEvent
,
40194 &_swigt__p_wxValidator
,
40195 &_swigt__p_wxWindow
,
40196 &_swigt__p_wxWindowCreateEvent
,
40197 &_swigt__p_wxWindowDC
,
40198 &_swigt__p_wxWindowDestroyEvent
,
40199 &_swigt__p_wxXPMHandler
,
40202 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40217 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}};
40218 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40220 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}};
40221 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40224 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}};
40225 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40226 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40227 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40228 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40229 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40230 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40235 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40238 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}};
40239 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}};
40240 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40244 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}};
40245 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40255 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}};
40256 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40257 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}};
40258 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40342 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}};
40343 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40349 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}};
40350 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40359 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40365 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40366 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40367 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40368 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40369 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}};
40370 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}};
40372 static swig_cast_info
*swig_cast_initial
[] = {
40376 _swigc__p_form_ops_t
,
40378 _swigc__p_unsigned_char
,
40379 _swigc__p_unsigned_int
,
40380 _swigc__p_unsigned_long
,
40382 _swigc__p_wxANIHandler
,
40383 _swigc__p_wxAcceleratorTable
,
40384 _swigc__p_wxActivateEvent
,
40385 _swigc__p_wxAlphaPixelData
,
40386 _swigc__p_wxAlphaPixelData_Accessor
,
40387 _swigc__p_wxAutoBufferedPaintDC
,
40388 _swigc__p_wxBMPHandler
,
40389 _swigc__p_wxBitmap
,
40390 _swigc__p_wxBoxSizer
,
40392 _swigc__p_wxBrushList
,
40393 _swigc__p_wxBufferedDC
,
40394 _swigc__p_wxBufferedPaintDC
,
40395 _swigc__p_wxCURHandler
,
40397 _swigc__p_wxChildFocusEvent
,
40398 _swigc__p_wxClientDC
,
40399 _swigc__p_wxClipboardTextEvent
,
40400 _swigc__p_wxCloseEvent
,
40401 _swigc__p_wxColour
,
40402 _swigc__p_wxColourDatabase
,
40403 _swigc__p_wxCommandEvent
,
40404 _swigc__p_wxContextMenuEvent
,
40405 _swigc__p_wxControl
,
40406 _swigc__p_wxControlWithItems
,
40407 _swigc__p_wxCursor
,
40409 _swigc__p_wxDCBrushChanger
,
40410 _swigc__p_wxDCClipper
,
40411 _swigc__p_wxDCOverlay
,
40412 _swigc__p_wxDCPenChanger
,
40413 _swigc__p_wxDCTextColourChanger
,
40415 _swigc__p_wxDateEvent
,
40416 _swigc__p_wxDisplayChangedEvent
,
40417 _swigc__p_wxDropFilesEvent
,
40418 _swigc__p_wxDuplexMode
,
40419 _swigc__p_wxEffects
,
40420 _swigc__p_wxEncodingConverter
,
40421 _swigc__p_wxEraseEvent
,
40423 _swigc__p_wxEvtHandler
,
40424 _swigc__p_wxFSFile
,
40425 _swigc__p_wxFileSystem
,
40426 _swigc__p_wxFlexGridSizer
,
40427 _swigc__p_wxFocusEvent
,
40429 _swigc__p_wxFontList
,
40430 _swigc__p_wxFontMapper
,
40431 _swigc__p_wxGBSizerItem
,
40433 _swigc__p_wxGDIObjListBase
,
40434 _swigc__p_wxGDIObject
,
40435 _swigc__p_wxGIFHandler
,
40436 _swigc__p_wxGraphicsBrush
,
40437 _swigc__p_wxGraphicsContext
,
40438 _swigc__p_wxGraphicsFont
,
40439 _swigc__p_wxGraphicsMatrix
,
40440 _swigc__p_wxGraphicsObject
,
40441 _swigc__p_wxGraphicsPath
,
40442 _swigc__p_wxGraphicsPen
,
40443 _swigc__p_wxGraphicsRenderer
,
40444 _swigc__p_wxGridBagSizer
,
40445 _swigc__p_wxGridSizer
,
40446 _swigc__p_wxHeaderButtonParams
,
40447 _swigc__p_wxICOHandler
,
40449 _swigc__p_wxIconBundle
,
40450 _swigc__p_wxIconLocation
,
40451 _swigc__p_wxIconizeEvent
,
40452 _swigc__p_wxIdleEvent
,
40454 _swigc__p_wxImageHandler
,
40455 _swigc__p_wxImageList
,
40456 _swigc__p_wxIndividualLayoutConstraint
,
40457 _swigc__p_wxInitDialogEvent
,
40458 _swigc__p_wxJPEGHandler
,
40459 _swigc__p_wxKeyEvent
,
40460 _swigc__p_wxLanguageInfo
,
40461 _swigc__p_wxLayoutConstraints
,
40462 _swigc__p_wxLocale
,
40464 _swigc__p_wxMaximizeEvent
,
40465 _swigc__p_wxMemoryDC
,
40467 _swigc__p_wxMenuBar
,
40468 _swigc__p_wxMenuEvent
,
40469 _swigc__p_wxMenuItem
,
40470 _swigc__p_wxMetaFile
,
40471 _swigc__p_wxMetaFileDC
,
40472 _swigc__p_wxMirrorDC
,
40473 _swigc__p_wxMouseCaptureChangedEvent
,
40474 _swigc__p_wxMouseCaptureLostEvent
,
40475 _swigc__p_wxMouseEvent
,
40476 _swigc__p_wxMoveEvent
,
40477 _swigc__p_wxNativeEncodingInfo
,
40478 _swigc__p_wxNativeFontInfo
,
40479 _swigc__p_wxNativePixelData
,
40480 _swigc__p_wxNativePixelData_Accessor
,
40481 _swigc__p_wxNavigationKeyEvent
,
40482 _swigc__p_wxNcPaintEvent
,
40483 _swigc__p_wxNotifyEvent
,
40484 _swigc__p_wxObject
,
40485 _swigc__p_wxOverlay
,
40486 _swigc__p_wxPCXHandler
,
40487 _swigc__p_wxPNGHandler
,
40488 _swigc__p_wxPNMHandler
,
40489 _swigc__p_wxPaintDC
,
40490 _swigc__p_wxPaintEvent
,
40491 _swigc__p_wxPalette
,
40492 _swigc__p_wxPaletteChangedEvent
,
40493 _swigc__p_wxPaperSize
,
40495 _swigc__p_wxPenList
,
40496 _swigc__p_wxPixelDataBase
,
40498 _swigc__p_wxPoint2D
,
40499 _swigc__p_wxPostScriptDC
,
40500 _swigc__p_wxPrintData
,
40501 _swigc__p_wxPrinterDC
,
40502 _swigc__p_wxPseudoDC
,
40504 _swigc__p_wxPyCommandEvent
,
40505 _swigc__p_wxPyEvent
,
40506 _swigc__p_wxPyFontEnumerator
,
40507 _swigc__p_wxPyImageHandler
,
40508 _swigc__p_wxPyLocale
,
40509 _swigc__p_wxPySizer
,
40510 _swigc__p_wxPyValidator
,
40511 _swigc__p_wxQueryNewPaletteEvent
,
40513 _swigc__p_wxRect2D
,
40514 _swigc__p_wxRegion
,
40515 _swigc__p_wxRegionIterator
,
40516 _swigc__p_wxRendererNative
,
40517 _swigc__p_wxRendererVersion
,
40518 _swigc__p_wxScreenDC
,
40519 _swigc__p_wxScrollEvent
,
40520 _swigc__p_wxScrollWinEvent
,
40521 _swigc__p_wxSetCursorEvent
,
40522 _swigc__p_wxShowEvent
,
40524 _swigc__p_wxSizeEvent
,
40526 _swigc__p_wxSizerItem
,
40527 _swigc__p_wxSplitterRenderParams
,
40528 _swigc__p_wxStaticBoxSizer
,
40529 _swigc__p_wxStdDialogButtonSizer
,
40530 _swigc__p_wxStockGDI
,
40531 _swigc__p_wxString
,
40532 _swigc__p_wxSysColourChangedEvent
,
40533 _swigc__p_wxTGAHandler
,
40534 _swigc__p_wxTIFFHandler
,
40535 _swigc__p_wxUpdateUIEvent
,
40536 _swigc__p_wxValidator
,
40537 _swigc__p_wxWindow
,
40538 _swigc__p_wxWindowCreateEvent
,
40539 _swigc__p_wxWindowDC
,
40540 _swigc__p_wxWindowDestroyEvent
,
40541 _swigc__p_wxXPMHandler
,
40545 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40547 static swig_const_info swig_const_table
[] = {
40548 {0, 0, 0, 0.0, 0, 0}};
40553 /* -----------------------------------------------------------------------------
40554 * Type initialization:
40555 * This problem is tough by the requirement that no dynamic
40556 * memory is used. Also, since swig_type_info structures store pointers to
40557 * swig_cast_info structures and swig_cast_info structures store pointers back
40558 * to swig_type_info structures, we need some lookup code at initialization.
40559 * The idea is that swig generates all the structures that are needed.
40560 * The runtime then collects these partially filled structures.
40561 * The SWIG_InitializeModule function takes these initial arrays out of
40562 * swig_module, and does all the lookup, filling in the swig_module.types
40563 * array with the correct data and linking the correct swig_cast_info
40564 * structures together.
40566 * The generated swig_type_info structures are assigned staticly to an initial
40567 * array. We just loop though that array, and handle each type individually.
40568 * First we lookup if this type has been already loaded, and if so, use the
40569 * loaded structure instead of the generated one. Then we have to fill in the
40570 * cast linked list. The cast data is initially stored in something like a
40571 * two-dimensional array. Each row corresponds to a type (there are the same
40572 * number of rows as there are in the swig_type_initial array). Each entry in
40573 * a column is one of the swig_cast_info structures for that type.
40574 * The cast_initial array is actually an array of arrays, because each row has
40575 * a variable number of columns. So to actually build the cast linked list,
40576 * we find the array of casts associated with the type, and loop through it
40577 * adding the casts to the list. The one last trick we need to do is making
40578 * sure the type pointer in the swig_cast_info struct is correct.
40580 * First off, we lookup the cast->type name to see if it is already loaded.
40581 * There are three cases to handle:
40582 * 1) If the cast->type has already been loaded AND the type we are adding
40583 * casting info to has not been loaded (it is in this module), THEN we
40584 * replace the cast->type pointer with the type pointer that has already
40586 * 2) If BOTH types (the one we are adding casting info to, and the
40587 * cast->type) are loaded, THEN the cast info has already been loaded by
40588 * the previous module so we just ignore it.
40589 * 3) Finally, if cast->type has not already been loaded, then we add that
40590 * swig_cast_info to the linked list (because the cast->type) pointer will
40592 * ----------------------------------------------------------------------------- */
40602 #define SWIGRUNTIME_DEBUG
40606 SWIG_InitializeModule(void *clientdata
) {
40608 swig_module_info
*module_head
;
40609 static int init_run
= 0;
40611 clientdata
= clientdata
;
40613 if (init_run
) return;
40616 /* Initialize the swig_module */
40617 swig_module
.type_initial
= swig_type_initial
;
40618 swig_module
.cast_initial
= swig_cast_initial
;
40620 /* Try and load any already created modules */
40621 module_head
= SWIG_GetModule(clientdata
);
40623 swig_module
.next
= module_head
->next
;
40624 module_head
->next
= &swig_module
;
40626 /* This is the first module loaded */
40627 swig_module
.next
= &swig_module
;
40628 SWIG_SetModule(clientdata
, &swig_module
);
40631 /* Now work on filling in swig_module.types */
40632 #ifdef SWIGRUNTIME_DEBUG
40633 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40635 for (i
= 0; i
< swig_module
.size
; ++i
) {
40636 swig_type_info
*type
= 0;
40637 swig_type_info
*ret
;
40638 swig_cast_info
*cast
;
40640 #ifdef SWIGRUNTIME_DEBUG
40641 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40644 /* if there is another module already loaded */
40645 if (swig_module
.next
!= &swig_module
) {
40646 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40649 /* Overwrite clientdata field */
40650 #ifdef SWIGRUNTIME_DEBUG
40651 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40653 if (swig_module
.type_initial
[i
]->clientdata
) {
40654 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40655 #ifdef SWIGRUNTIME_DEBUG
40656 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40660 type
= swig_module
.type_initial
[i
];
40663 /* Insert casting types */
40664 cast
= swig_module
.cast_initial
[i
];
40665 while (cast
->type
) {
40666 /* Don't need to add information already in the list */
40668 #ifdef SWIGRUNTIME_DEBUG
40669 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40671 if (swig_module
.next
!= &swig_module
) {
40672 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40673 #ifdef SWIGRUNTIME_DEBUG
40674 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40678 if (type
== swig_module
.type_initial
[i
]) {
40679 #ifdef SWIGRUNTIME_DEBUG
40680 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40685 /* Check for casting already in the list */
40686 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40687 #ifdef SWIGRUNTIME_DEBUG
40688 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40690 if (!ocast
) ret
= 0;
40695 #ifdef SWIGRUNTIME_DEBUG
40696 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40699 type
->cast
->prev
= cast
;
40700 cast
->next
= type
->cast
;
40706 /* Set entry in modules->types array equal to the type */
40707 swig_module
.types
[i
] = type
;
40709 swig_module
.types
[i
] = 0;
40711 #ifdef SWIGRUNTIME_DEBUG
40712 printf("**** SWIG_InitializeModule: Cast List ******\n");
40713 for (i
= 0; i
< swig_module
.size
; ++i
) {
40715 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40716 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40717 while (cast
->type
) {
40718 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40722 printf("---- Total casts: %d\n",j
);
40724 printf("**** SWIG_InitializeModule: Cast List ******\n");
40728 /* This function will propagate the clientdata field of type to
40729 * any new swig_type_info structures that have been added into the list
40730 * of equivalent types. It is like calling
40731 * SWIG_TypeClientData(type, clientdata) a second time.
40734 SWIG_PropagateClientData(void) {
40736 swig_cast_info
*equiv
;
40737 static int init_run
= 0;
40739 if (init_run
) return;
40742 for (i
= 0; i
< swig_module
.size
; i
++) {
40743 if (swig_module
.types
[i
]->clientdata
) {
40744 equiv
= swig_module
.types
[i
]->cast
;
40746 if (!equiv
->converter
) {
40747 if (equiv
->type
&& !equiv
->type
->clientdata
)
40748 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40750 equiv
= equiv
->next
;
40770 /* Python-specific SWIG API */
40771 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40772 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40773 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40775 /* -----------------------------------------------------------------------------
40776 * global variable support code.
40777 * ----------------------------------------------------------------------------- */
40779 typedef struct swig_globalvar
{
40780 char *name
; /* Name of global variable */
40781 PyObject
*(*get_attr
)(void); /* Return the current value */
40782 int (*set_attr
)(PyObject
*); /* Set the value */
40783 struct swig_globalvar
*next
;
40786 typedef struct swig_varlinkobject
{
40788 swig_globalvar
*vars
;
40789 } swig_varlinkobject
;
40791 SWIGINTERN PyObject
*
40792 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40793 return PyString_FromString("<Swig global variables>");
40796 SWIGINTERN PyObject
*
40797 swig_varlink_str(swig_varlinkobject
*v
) {
40798 PyObject
*str
= PyString_FromString("(");
40799 swig_globalvar
*var
;
40800 for (var
= v
->vars
; var
; var
=var
->next
) {
40801 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40802 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40804 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40809 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40810 PyObject
*str
= swig_varlink_str(v
);
40811 fprintf(fp
,"Swig global variables ");
40812 fprintf(fp
,"%s\n", PyString_AsString(str
));
40818 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40819 swig_globalvar
*var
= v
->vars
;
40821 swig_globalvar
*n
= var
->next
;
40828 SWIGINTERN PyObject
*
40829 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40830 PyObject
*res
= NULL
;
40831 swig_globalvar
*var
= v
->vars
;
40833 if (strcmp(var
->name
,n
) == 0) {
40834 res
= (*var
->get_attr
)();
40839 if (res
== NULL
&& !PyErr_Occurred()) {
40840 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40846 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40848 swig_globalvar
*var
= v
->vars
;
40850 if (strcmp(var
->name
,n
) == 0) {
40851 res
= (*var
->set_attr
)(p
);
40856 if (res
== 1 && !PyErr_Occurred()) {
40857 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40862 SWIGINTERN PyTypeObject
*
40863 swig_varlink_type(void) {
40864 static char varlink__doc__
[] = "Swig var link object";
40865 static PyTypeObject varlink_type
;
40866 static int type_init
= 0;
40868 const PyTypeObject tmp
40870 PyObject_HEAD_INIT(NULL
)
40871 0, /* Number of items in variable part (ob_size) */
40872 (char *)"swigvarlink", /* Type name (tp_name) */
40873 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40874 0, /* Itemsize (tp_itemsize) */
40875 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40876 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40877 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40878 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40879 0, /* tp_compare */
40880 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40881 0, /* tp_as_number */
40882 0, /* tp_as_sequence */
40883 0, /* tp_as_mapping */
40886 (reprfunc
)swig_varlink_str
, /* tp_str */
40887 0, /* tp_getattro */
40888 0, /* tp_setattro */
40889 0, /* tp_as_buffer */
40891 varlink__doc__
, /* tp_doc */
40892 0, /* tp_traverse */
40894 0, /* tp_richcompare */
40895 0, /* tp_weaklistoffset */
40896 #if PY_VERSION_HEX >= 0x02020000
40897 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40899 #if PY_VERSION_HEX >= 0x02030000
40902 #ifdef COUNT_ALLOCS
40903 0,0,0,0 /* tp_alloc -> tp_next */
40906 varlink_type
= tmp
;
40907 varlink_type
.ob_type
= &PyType_Type
;
40910 return &varlink_type
;
40913 /* Create a variable linking object for use later */
40914 SWIGINTERN PyObject
*
40915 SWIG_Python_newvarlink(void) {
40916 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40920 return ((PyObject
*) result
);
40924 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40925 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40926 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40928 size_t size
= strlen(name
)+1;
40929 gv
->name
= (char *)malloc(size
);
40931 strncpy(gv
->name
,name
,size
);
40932 gv
->get_attr
= get_attr
;
40933 gv
->set_attr
= set_attr
;
40934 gv
->next
= v
->vars
;
40940 SWIGINTERN PyObject
*
40942 static PyObject
*_SWIG_globals
= 0;
40943 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40944 return _SWIG_globals
;
40947 /* -----------------------------------------------------------------------------
40948 * constants/methods manipulation
40949 * ----------------------------------------------------------------------------- */
40951 /* Install Constants */
40953 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40956 for (i
= 0; constants
[i
].type
; ++i
) {
40957 switch(constants
[i
].type
) {
40958 case SWIG_PY_POINTER
:
40959 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40961 case SWIG_PY_BINARY
:
40962 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40969 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40975 /* -----------------------------------------------------------------------------*/
40976 /* Fix SwigMethods to carry the callback ptrs when needed */
40977 /* -----------------------------------------------------------------------------*/
40980 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40981 swig_const_info
*const_table
,
40982 swig_type_info
**types
,
40983 swig_type_info
**types_initial
) {
40985 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40986 const char *c
= methods
[i
].ml_doc
;
40987 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40989 swig_const_info
*ci
= 0;
40990 const char *name
= c
+ 10;
40991 for (j
= 0; const_table
[j
].type
; ++j
) {
40992 if (strncmp(const_table
[j
].name
, name
,
40993 strlen(const_table
[j
].name
)) == 0) {
40994 ci
= &(const_table
[j
]);
40999 size_t shift
= (ci
->ptype
) - types
;
41000 swig_type_info
*ty
= types_initial
[shift
];
41001 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41002 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41003 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41006 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41008 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41010 strncpy(buff
, "swig_ptr: ", 10);
41012 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41013 methods
[i
].ml_doc
= ndoc
;
41025 /* -----------------------------------------------------------------------------*
41026 * Partial Init method
41027 * -----------------------------------------------------------------------------*/
41032 SWIGEXPORT
void SWIG_init(void) {
41035 /* Fix SwigMethods to carry the callback ptrs when needed */
41036 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41038 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41039 d
= PyModule_GetDict(m
);
41041 SWIG_InitializeModule(0);
41042 SWIG_InstallConstants(d
,swig_const_table
);
41045 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41046 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41047 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41048 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41049 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41050 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41051 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41052 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41053 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41054 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41055 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41056 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41057 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41058 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41059 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41060 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41061 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41062 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41063 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41064 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41065 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41066 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41067 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41068 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41069 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41070 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41071 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41072 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41073 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41074 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41075 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41076 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41077 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41078 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41079 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41080 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41081 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41082 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41083 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41084 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41085 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41086 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41087 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41088 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41089 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41090 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41100 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41101 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41102 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41103 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41104 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41105 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41106 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41107 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41108 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41109 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41110 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41111 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41175 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41176 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41178 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41411 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41412 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41413 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41414 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41415 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41416 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41417 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41418 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41419 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41420 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41421 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41422 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41423 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41424 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41425 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41426 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41427 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41428 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41429 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41430 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41431 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41432 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41433 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41434 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41435 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41436 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41437 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41438 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41439 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41440 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41441 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41442 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41443 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41444 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41445 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41446 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41447 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41448 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41449 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41450 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41451 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41452 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41453 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41454 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41455 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41456 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41457 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41458 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41459 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41460 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41461 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41462 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41463 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41464 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41465 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41466 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41467 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41468 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41469 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41470 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41471 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41472 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41473 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41474 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41475 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41476 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41477 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41478 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41479 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41480 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41481 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41482 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41483 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41484 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41485 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41486 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41487 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41488 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41489 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41490 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41491 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41492 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41493 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41494 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41495 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41496 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41497 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41498 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41499 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41500 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41501 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41502 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41503 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41505 // Work around a chicken/egg problem in drawlist.cpp
41506 wxPyDrawList_SetAPIPtr();