1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_short (short value
)
2930 return SWIG_From_long (value
);
2935 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2938 int res
= SWIG_AsVal_long (obj
, &v
);
2939 if (SWIG_IsOK(res
)) {
2940 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2941 return SWIG_OverflowError
;
2943 if (val
) *val
= static_cast< short >(v
);
2950 #include <wx/rawbmp.h>
2953 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2954 // appears to me that the other platforms are already doing it, so I'll just
2955 // automatically do it for wxMSW here.
2957 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2958 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2960 #define wxPy_premultiply(p, a) (p)
2961 #define wxPy_unpremultiply(p, a) (p)
2965 #include <wx/image.h>
2967 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2968 char** cArray
= NULL
;
2971 if (!PyList_Check(listOfStrings
)) {
2972 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2975 count
= PyList_Size(listOfStrings
);
2976 cArray
= new char*[count
];
2978 for(int x
=0; x
<count
; x
++) {
2979 // TODO: Need some validation and error checking here
2980 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2986 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2987 char** cArray
= NULL
;
2990 cArray
= ConvertListOfStrings(listOfStrings
);
2993 bmp
= new wxBitmap(cArray
);
2997 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
3000 PyString_AsStringAndSize(bits
, &buf
, &length
);
3001 return new wxBitmap(buf
, width
, height
, depth
);
3003 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3004 wxSize
size(self
->GetWidth(), self
->GetHeight());
3007 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3008 wxMask
*mask
= new wxMask(*self
, colour
);
3009 self
->SetMask(mask
);
3011 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3012 self
->SetWidth(size
.x
);
3013 self
->SetHeight(size
.y
);
3015 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3016 int height
=self
->GetHeight();
3017 int width
=self
->GetWidth();
3019 if (DATASIZE
!= width
* height
* 3) {
3020 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3022 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3043 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3044 int height
=self
->GetHeight();
3045 int width
=self
->GetWidth();
3047 if (DATASIZE
!= width
* height
* 4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3050 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3052 // raise an exception...
3053 wxPyErr_SetString(PyExc_RuntimeError
,
3054 "Failed to gain raw access to bitmap data.");
3059 wxAlphaPixelData::Iterator
p(pixData
);
3060 for (int y
=0; y
<height
; y
++) {
3061 wxAlphaPixelData::Iterator rowStart
= p
;
3062 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = wxPy_premultiply(*(data
++), a
);
3065 p
.Green() = wxPy_premultiply(*(data
++), a
);
3066 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3067 p
.Alpha() = a
; data
++;
3071 p
.OffsetY(pixData
, 1);
3074 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3075 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3077 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3078 buffer data
, int DATASIZE
,
3079 buffer alpha
, int ALPHASIZE
)
3081 if (DATASIZE
!= width
*height
*3) {
3082 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3086 if (ALPHASIZE
!= width
*height
) {
3087 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3091 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3092 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3094 // raise an exception...
3095 wxPyErr_SetString(PyExc_RuntimeError
,
3096 "Failed to gain raw access to bitmap data.");
3101 wxAlphaPixelData::Iterator
p(pixData
);
3102 for (int y
=0; y
<height
; y
++) {
3103 wxAlphaPixelData::Iterator rowStart
= p
;
3104 for (int x
=0; x
<width
; x
++) {
3105 byte a
= *(alpha
++);
3106 p
.Red() = wxPy_premultiply(*(data
++), a
);
3107 p
.Green() = wxPy_premultiply(*(data
++), a
);
3108 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3113 p
.OffsetY(pixData
, 1);
3118 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3120 if (DATASIZE
!= width
*height
*3) {
3121 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3125 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3126 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3128 // raise an exception...
3129 wxPyErr_SetString(PyExc_RuntimeError
,
3130 "Failed to gain raw access to bitmap data.");
3134 wxNativePixelData::Iterator
p(pixData
);
3135 for (int y
=0; y
<height
; y
++) {
3136 wxNativePixelData::Iterator rowStart
= p
;
3137 for (int x
=0; x
<width
; x
++) {
3138 p
.Red() = *(data
++);
3139 p
.Green() = *(data
++);
3140 p
.Blue() = *(data
++);
3144 p
.OffsetY(pixData
, 1);
3150 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3152 if (DATASIZE
!= width
*height
*4) {
3153 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3157 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3158 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3160 // raise an exception...
3161 wxPyErr_SetString(PyExc_RuntimeError
,
3162 "Failed to gain raw access to bitmap data.");
3167 wxAlphaPixelData::Iterator
p(pixData
);
3168 for (int y
=0; y
<height
; y
++) {
3169 wxAlphaPixelData::Iterator rowStart
= p
;
3170 for (int x
=0; x
<width
; x
++) {
3172 p
.Red() = wxPy_premultiply(*(data
++), a
);
3173 p
.Green() = wxPy_premultiply(*(data
++), a
);
3174 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3175 p
.Alpha() = a
; data
++;
3179 p
.OffsetY(pixData
, 1);
3185 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3187 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3189 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3191 self
->Green() = green
;
3192 self
->Blue() = blue
;
3194 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3195 PyObject
* rv
= PyTuple_New(3);
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3202 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3204 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3206 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3207 self
->Red() = wxPy_premultiply(red
, alpha
);
3208 self
->Green() = wxPy_premultiply(green
, alpha
);
3209 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3210 self
->Alpha() = alpha
;
3212 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3213 PyObject
* rv
= PyTuple_New(4);
3214 int red
= self
->Red();
3215 int green
= self
->Green();
3216 int blue
= self
->Blue();
3217 int alpha
= self
->Alpha();
3219 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3220 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3221 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3222 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3225 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3226 if ( !colour
.IsOk() )
3227 return new wxMask(bitmap
, *wxBLACK
);
3229 return new wxMask(bitmap
, colour
);
3232 #include <wx/iconbndl.h>
3234 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3235 wxIcon
* icon
= new wxIcon();
3236 icon
->CopyFromBitmap(bmp
);
3239 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3240 char** cArray
= NULL
;
3243 cArray
= ConvertListOfStrings(listOfStrings
);
3246 icon
= new wxIcon(cArray
);
3250 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3254 return new wxIconLocation(*filename
);
3257 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3264 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3271 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3273 wxImage
img(cursorName
, type
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3275 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3276 return new wxCursor(img
);
3278 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3283 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3286 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3287 return self
->operator bool();
3290 #include <wx/fontutil.h>
3291 #include <wx/fontmap.h>
3292 #include <wx/fontenum.h>
3294 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3295 return self
->ToString();
3298 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3299 static wxNativeEncodingInfo info
;
3300 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3307 SWIGINTERNINLINE PyObject
*
3308 SWIG_From_size_t (size_t value
)
3310 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3314 SWIGINTERNINLINE
int
3315 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3318 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3319 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3323 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3324 wxFontEncoding alt_enc
;
3325 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3326 return PyInt_FromLong(alt_enc
);
3332 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3333 wxNativeFontInfo nfi
;
3334 nfi
.FromString(info
);
3335 return new wxFont(nfi
);
3337 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3338 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3340 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3341 return wxFontBase::New(pixelSize
, family
,
3342 style
, weight
, underlined
,
3345 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3346 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3348 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3349 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3351 class wxPyFontEnumerator
: public wxFontEnumerator
{
3353 wxPyFontEnumerator() {}
3354 ~wxPyFontEnumerator() {}
3356 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3357 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3362 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3363 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3366 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3368 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3370 ret
= wxArrayString2PyList_helper(arr
);
3371 wxPyEndBlockThreads(blocked
);
3374 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3376 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3377 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3378 ret
= wxArrayString2PyList_helper(arr
);
3379 wxPyEndBlockThreads(blocked
);
3385 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3388 loc
= new wxLocale();
3390 loc
= new wxLocale(language
, flags
);
3391 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3392 // for the floating point conversions and such to work right.
3393 #if PY_VERSION_HEX < 0x02040000
3394 setlocale(LC_NUMERIC
, "C");
3398 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3399 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3400 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3401 // for the floating point conversions and such to work right.
3402 #if PY_VERSION_HEX < 0x02040000
3403 setlocale(LC_NUMERIC
, "C");
3407 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3408 bool rc
= self
->Init(language
, flags
);
3409 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3410 // for the floating point conversions and such to work right.
3411 #if PY_VERSION_HEX < 0x02040000
3412 setlocale(LC_NUMERIC
, "C");
3417 class wxPyLocale
: public wxLocale
3422 wxPyLocale(const wxChar
*szName
, // name (for messages)
3423 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3424 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3425 bool bLoadDefault
= true, // preload wxstd.mo?
3426 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3428 wxPyLocale(int language
, // wxLanguage id or custom language
3429 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3433 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3434 const wxChar
*szDomain
= NULL
) const;
3435 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
= NULL
) const;
3439 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3440 const wxChar
*szDomain
= NULL
) const;
3441 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3442 const wxChar
*szOrigString2
, size_t n
,
3443 const wxChar
*szDomain
= NULL
) const;
3447 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3450 wxPyLocale::wxPyLocale() : wxLocale()
3454 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3455 const wxChar
*szShort
, // dir prefix (for msg files)
3456 const wxChar
*szLocale
, // locale (for setlocale)
3457 bool bLoadDefault
, // preload wxstd.mo?
3458 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3459 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3463 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3464 int flags
) : wxLocale(language
, flags
)
3468 wxPyLocale::~wxPyLocale()
3472 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3473 const wxChar
*szDomain
) const
3475 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3476 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3479 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3480 const wxChar
*szOrigString2
, size_t n
,
3481 const wxChar
*szDomain
) const
3483 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3484 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3487 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? (wxChar
*)str
.c_str() : NULL
);
3509 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3510 const wxChar
*szOrigString2
, size_t n
,
3511 const wxChar
*szDomain
) const
3514 static wxString str
;
3515 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.
3516 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3517 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3518 PyObject
* param1
= wx2PyString(szOrigString
);
3519 PyObject
* param2
= wx2PyString(szOrigString2
);
3520 PyObject
* param4
= wx2PyString(szDomain
);
3521 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3526 str
= Py2wxString(ret
);
3530 wxPyEndBlockThreads(blocked
);
3531 return (found
? (wxChar
*)str
.c_str() : NULL
);
3534 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3537 loc
= new wxPyLocale();
3539 loc
= new wxPyLocale(language
, flags
);
3540 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3541 // for the floating point conversions and such to work right.
3542 #if PY_VERSION_HEX < 0x02040000
3543 setlocale(LC_NUMERIC
, "C");
3548 #include "wx/wxPython/pydrawxxx.h"
3550 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3552 self
->GetPixel(x
, y
, &col
);
3555 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3557 self
->GetPixel(pt
, &col
);
3562 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3564 if (PyNumber_Check(obj
)) {
3565 if (val
) *val
= PyFloat_AsDouble(obj
);
3568 return SWIG_TypeError
;
3571 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3573 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3576 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3578 self
->GetClippingBox(rect
);
3581 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3583 self
->GetPartialTextExtents(text
, widths
);
3587 #define SWIG_From_double PyFloat_FromDouble
3589 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3590 self
->SetLogicalOrigin(point
.x
, point
.y
);
3592 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3593 self
->SetDeviceOrigin(point
.x
, point
.y
);
3595 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3596 self
->CalcBoundingBox(point
.x
, point
.y
);
3598 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3599 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3601 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3602 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3604 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3605 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3607 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3608 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3610 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3611 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3613 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3614 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3617 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3625 #include <wx/dcbuffer.h>
3628 #include <wx/dcps.h>
3631 #include <wx/metafile.h>
3634 #include <wx/graphics.h>
3637 #if !wxUSE_GRAPHICS_CONTEXT
3638 // C++ stub classes for platforms or build configurations that don't have
3639 // wxGraphicsContext yet.
3641 class wxGraphicsRenderer
;
3642 class wxGraphicsMatrix
;
3645 class wxGraphicsObject
: public wxObject
3648 wxGraphicsObject() {}
3649 wxGraphicsObject( wxGraphicsRenderer
* ) {
3650 PyErr_SetString(PyExc_NotImplementedError
,
3651 "wx.GraphicsObject is not available on this platform.");
3653 wxGraphicsObject( const wxGraphicsObject
& ) {}
3654 virtual ~wxGraphicsObject() {}
3655 bool IsNull() const { return false; }
3656 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3661 class wxGraphicsPen
: public wxGraphicsObject
3665 virtual ~wxGraphicsPen() {}
3667 wxGraphicsPen wxNullGraphicsPen
;
3671 class wxGraphicsBrush
: public wxGraphicsObject
3674 wxGraphicsBrush() {}
3675 virtual ~wxGraphicsBrush() {}
3677 wxGraphicsBrush wxNullGraphicsBrush
;
3681 class wxGraphicsFont
: public wxGraphicsObject
3685 virtual ~wxGraphicsFont() {}
3687 wxGraphicsFont wxNullGraphicsFont
;
3691 class wxGraphicsPath
: public wxGraphicsObject
3694 wxGraphicsPath() { }
3695 wxGraphicsPath(wxGraphicsRenderer
* ) {
3696 PyErr_SetString(PyExc_NotImplementedError
,
3697 "wx.GraphicsPath is not available on this platform.");
3699 virtual ~wxGraphicsPath() {}
3701 void MoveToPoint( wxDouble
, wxDouble
) {}
3702 void MoveToPoint( const wxPoint2DDouble
& ) {}
3703 void AddLineToPoint( wxDouble
, wxDouble
) {}
3704 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3705 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3707 void AddPath( const wxGraphicsPath
& ) {}
3708 void CloseSubpath() {}
3709 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3710 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3711 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3712 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3714 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3719 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3721 void * GetNativePath() const { return NULL
; }
3722 void UnGetNativePath(void *) const {}
3723 void Transform( const wxGraphicsMatrix
& ) {}
3724 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3725 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3727 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3728 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3730 wxGraphicsPath wxNullGraphicsPath
;
3733 class wxGraphicsMatrix
: public wxGraphicsObject
3736 wxGraphicsMatrix() { }
3737 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3738 PyErr_SetString(PyExc_NotImplementedError
,
3739 "wx.GraphicsMatrix is not available on this platform.");
3741 virtual ~wxGraphicsMatrix() {}
3742 virtual void Concat( const wxGraphicsMatrix
& ) {}
3743 virtual void Copy( const wxGraphicsMatrix
& ) {}
3744 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3745 wxDouble
, wxDouble
) {}
3746 virtual void Invert() {}
3747 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3748 virtual bool IsIdentity() const { return false; }
3749 virtual void Translate( wxDouble
, wxDouble
) {}
3750 virtual void Scale( wxDouble
, wxDouble
) {}
3751 virtual void Rotate( wxDouble
) {}
3752 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3753 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3754 virtual void * GetNativeMatrix() const { return NULL
; }
3756 wxGraphicsMatrix wxNullGraphicsMatrix
;
3759 class wxGraphicsContext
: public wxGraphicsObject
3763 wxGraphicsContext(wxGraphicsRenderer
* ) {
3764 PyErr_SetString(PyExc_NotImplementedError
,
3765 "wx.GraphicsContext is not available on this platform.");
3768 virtual ~wxGraphicsContext() {}
3770 static wxGraphicsContext
* Create() {
3771 PyErr_SetString(PyExc_NotImplementedError
,
3772 "wx.GraphicsContext is not available on this platform.");
3775 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3776 PyErr_SetString(PyExc_NotImplementedError
,
3777 "wx.GraphicsContext is not available on this platform.");
3781 static wxGraphicsContext
* CreateFromNative( void * ) {
3782 PyErr_SetString(PyExc_NotImplementedError
,
3783 "wx.GraphicsContext is not available on this platform.");
3787 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3788 PyErr_SetString(PyExc_NotImplementedError
,
3789 "wx.GraphicsContext is not available on this platform.");
3793 static wxGraphicsContext
* Create( wxWindow
* ) {
3794 PyErr_SetString(PyExc_NotImplementedError
,
3795 "wx.GraphicsContext is not available on this platform.");
3799 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3801 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3803 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3805 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3806 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3809 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3810 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3812 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3814 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3815 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3817 virtual void PushState() {}
3818 virtual void PopState() {}
3819 virtual void Clip( const wxRegion
& ) {}
3820 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3821 virtual void ResetClip() {}
3822 virtual void * GetNativeContext() { return NULL
; }
3823 virtual void Translate( wxDouble
, wxDouble
) {}
3824 virtual void Scale( wxDouble
, wxDouble
) {}
3825 virtual void Rotate( wxDouble
) {}
3826 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3827 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3828 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3830 virtual void SetPen( const wxGraphicsPen
& ) {}
3831 void SetPen( const wxPen
& ) {}
3833 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3834 void SetBrush( const wxBrush
& ) {}
3836 virtual void SetFont( const wxGraphicsFont
& ) {}
3837 void SetFont( const wxFont
&, const wxColour
& ) {}
3839 virtual void StrokePath( const wxGraphicsPath
& ) {}
3840 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3841 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3843 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3847 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3848 wxDouble
*, wxDouble
* ) const {}
3849 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3851 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3852 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3856 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3857 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3858 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual bool ShouldOffset() const { return false; }
3866 class wxGraphicsRenderer
: public wxObject
3869 wxGraphicsRenderer() {
3870 PyErr_SetString(PyExc_NotImplementedError
,
3871 "wx.GraphicsRenderer is not available on this platform.");
3874 virtual ~wxGraphicsRenderer() {}
3876 static wxGraphicsRenderer
* GetDefaultRenderer() {
3877 PyErr_SetString(PyExc_NotImplementedError
,
3878 "wx.GraphicsRenderer is not available on this platform.");
3882 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3888 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3890 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3891 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3893 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3894 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3896 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3897 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3898 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3904 class wxGCDC
: public wxWindowDC
3907 wxGCDC(const wxWindowDC
&) {
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 PyErr_SetString(PyExc_NotImplementedError
,
3910 "wxGCDC is not available on this platform.");
3911 wxPyEndBlockThreads(blocked
);
3914 wxGCDC(const wxWindow
*) {
3915 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3916 PyErr_SetString(PyExc_NotImplementedError
,
3917 "wxGCDC is not available on this platform.");
3918 wxPyEndBlockThreads(blocked
);
3922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3923 PyErr_SetString(PyExc_NotImplementedError
,
3924 "wxGCDC is not available on this platform.");
3925 wxPyEndBlockThreads(blocked
);
3928 virtual ~wxGCDC() {}
3930 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3931 void SetGraphicsContext( wxGraphicsContext
* ) {}
3936 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3937 if ( !backgroundBrush
.IsNull() )
3938 self
->DrawText(str
, x
, y
, backgroundBrush
);
3940 self
->DrawText(str
, x
, y
);
3942 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3943 if ( !backgroundBrush
.IsNull() )
3944 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3946 self
->DrawText(str
, x
, y
, angle
);
3948 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3949 wxDouble width
= 0.0,
3951 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3952 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3953 PyObject
* rv
= PyTuple_New(2);
3954 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3955 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3958 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3959 wxArrayDouble widths
;
3960 self
->GetPartialTextExtents(text
, widths
);
3963 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3964 size_t c1
, c2
, count
;
3965 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3966 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3968 if ( beginP
!= NULL
&& endP
!= NULL
)
3970 count
= wxMin(c1
, c2
);
3971 self
->StrokeLines(count
, beginP
, endP
);
3977 #include "wx/dcgraph.h"
3980 #include <wx/overlay.h>
3984 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3985 self
->AddColour(name
, wxColour(red
, green
, blue
));
3988 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3989 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3990 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3991 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3994 #include <wx/effects.h>
3997 #include "wx/renderer.h"
4000 SWIGINTERNINLINE PyObject
*
4001 SWIG_From_bool (bool value
)
4003 return PyBool_FromLong(value
? 1 : 0);
4007 #include "wx/wxPython/pseudodc.h"
4009 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4011 self
->GetIdBounds(id
, rect
);
4017 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4018 PyObject
*resultobj
= 0;
4019 wxGDIObject
*result
= 0 ;
4021 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4023 if (!wxPyCheckForApp()) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxGDIObject
*)new wxGDIObject();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4036 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 PyObject
*resultobj
= 0;
4038 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4041 PyObject
*swig_obj
[1] ;
4043 if (!args
) SWIG_fail
;
4045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4046 if (!SWIG_IsOK(res1
)) {
4047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4049 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_Py_Void();
4064 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 PyObject
*resultobj
= 0;
4066 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4070 PyObject
*swig_obj
[1] ;
4072 if (!args
) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4078 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (bool)(arg1
)->IsNull();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4097 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4098 return SWIG_Py_Void();
4101 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 return SWIG_Python_InitShadowInstance(args
);
4105 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= 0;
4107 byte arg1
= (byte
) 0 ;
4108 byte arg2
= (byte
) 0 ;
4109 byte arg3
= (byte
) 0 ;
4110 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4111 wxColour
*result
= 0 ;
4112 unsigned char val1
;
4114 unsigned char val2
;
4116 unsigned char val3
;
4118 unsigned char val4
;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4122 PyObject
* obj2
= 0 ;
4123 PyObject
* obj3
= 0 ;
4124 char * kwnames
[] = {
4125 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4130 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4131 if (!SWIG_IsOK(ecode1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4134 arg1
= static_cast< byte
>(val1
);
4137 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4138 if (!SWIG_IsOK(ecode2
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4141 arg2
= static_cast< byte
>(val2
);
4144 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4145 if (!SWIG_IsOK(ecode3
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4148 arg3
= static_cast< byte
>(val3
);
4151 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4152 if (!SWIG_IsOK(ecode4
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4155 arg4
= static_cast< byte
>(val4
);
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4170 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxString
*arg1
= 0 ;
4173 wxColour
*result
= 0 ;
4174 bool temp1
= false ;
4175 PyObject
* obj0
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "colorName", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4182 arg1
= wxString_in_helper(obj0
);
4183 if (arg1
== NULL
) SWIG_fail
;
4187 if (!wxPyCheckForApp()) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4208 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
= 0;
4210 unsigned long arg1
;
4211 wxColour
*result
= 0 ;
4212 unsigned long val1
;
4214 PyObject
* obj0
= 0 ;
4215 char * kwnames
[] = {
4216 (char *) "colRGB", NULL
4219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4220 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4221 if (!SWIG_IsOK(ecode1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4224 arg1
= static_cast< unsigned long >(val1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (wxColour
*)new wxColour(arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4238 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxColour
*arg1
= (wxColour
*) 0 ;
4243 PyObject
*swig_obj
[1] ;
4245 if (!args
) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4251 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4267 PyObject
*resultobj
= 0;
4268 wxColour
*arg1
= (wxColour
*) 0 ;
4272 PyObject
*swig_obj
[1] ;
4274 if (!args
) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4280 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (byte
)(arg1
)->Red();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4294 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxColour
*arg1
= (wxColour
*) 0 ;
4300 PyObject
*swig_obj
[1] ;
4302 if (!args
) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4308 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (byte
)(arg1
)->Green();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4322 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxColour
*arg1
= (wxColour
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4336 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (byte
)(arg1
)->Blue();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4350 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxColour
*arg1
= (wxColour
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4364 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (byte
)(arg1
)->Alpha();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4378 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4384 PyObject
*swig_obj
[1] ;
4386 if (!args
) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4392 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)(arg1
)->IsOk();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxColour
*arg1
= (wxColour
*) 0 ;
4414 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4417 unsigned char val2
;
4419 unsigned char val3
;
4421 unsigned char val4
;
4423 unsigned char val5
;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4427 PyObject
* obj2
= 0 ;
4428 PyObject
* obj3
= 0 ;
4429 PyObject
* obj4
= 0 ;
4430 char * kwnames
[] = {
4431 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4436 if (!SWIG_IsOK(res1
)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4439 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4440 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4441 if (!SWIG_IsOK(ecode2
)) {
4442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4444 arg2
= static_cast< byte
>(val2
);
4445 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4446 if (!SWIG_IsOK(ecode3
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4449 arg3
= static_cast< byte
>(val3
);
4450 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4451 if (!SWIG_IsOK(ecode4
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4454 arg4
= static_cast< byte
>(val4
);
4456 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4457 if (!SWIG_IsOK(ecode5
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4460 arg5
= static_cast< byte
>(val5
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
= 0;
4477 wxColour
*arg1
= (wxColour
*) 0 ;
4478 unsigned long arg2
;
4481 unsigned long val2
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "colRGB", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4495 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4496 if (!SWIG_IsOK(ecode2
)) {
4497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4499 arg2
= static_cast< unsigned long >(val2
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_Py_Void();
4513 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
= 0;
4515 wxColour
*arg1
= (wxColour
*) 0 ;
4516 wxString
*arg2
= 0 ;
4519 bool temp2
= false ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "self",(char *) "colourName", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4531 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4533 arg2
= wxString_in_helper(obj1
);
4534 if (arg2
== NULL
) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 (arg1
)->Set((wxString
const &)*arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4558 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
= 0;
4560 wxColour
*arg1
= (wxColour
*) 0 ;
4561 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4569 char * kwnames
[] = {
4570 (char *) "self",(char *) "flags", NULL
4573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4578 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4584 arg2
= static_cast< long >(val2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4605 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= (wxColour
*) 0 ;
4611 PyObject
*swig_obj
[1] ;
4613 if (!args
) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4619 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_From_long(static_cast< long >(result
));
4633 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
= 0;
4635 wxColour
*arg1
= (wxColour
*) 0 ;
4636 PyObject
*arg2
= (PyObject
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "self",(char *) "other", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4651 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4654 result
= (bool)wxColour___eq__(arg1
,arg2
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxColour
*arg1
= (wxColour
*) 0 ;
4669 PyObject
*arg2
= (PyObject
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "other", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4684 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4687 result
= (bool)wxColour___ne__(arg1
,arg2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4699 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
= 0;
4701 wxColour
*arg1
= (wxColour
*) 0 ;
4702 bool arg2
= (bool) false ;
4703 PyObject
*result
= 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 char * kwnames
[] = {
4711 (char *) "self",(char *) "includeAlpha", NULL
4714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4719 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4722 if (!SWIG_IsOK(ecode2
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4725 arg2
= static_cast< bool >(val2
);
4728 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4738 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4739 PyObject
*resultobj
= 0;
4740 wxColour
*arg1
= (wxColour
*) 0 ;
4741 unsigned long result
;
4744 PyObject
*swig_obj
[1] ;
4746 if (!args
) SWIG_fail
;
4748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4749 if (!SWIG_IsOK(res1
)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4752 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4754 result
= (unsigned long)wxColour_GetRGB(arg1
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4764 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4767 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4768 return SWIG_Py_Void();
4771 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4772 return SWIG_Python_InitShadowInstance(args
);
4775 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
= 0;
4778 unsigned char *arg2
= (unsigned char *) 0 ;
4779 unsigned char *arg3
= (unsigned char *) 0 ;
4780 unsigned char *arg4
= (unsigned char *) 0 ;
4781 wxPalette
*result
= 0 ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4792 PyObject
* obj2
= 0 ;
4793 PyObject
* obj3
= 0 ;
4794 char * kwnames
[] = {
4795 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4800 if (!SWIG_IsOK(ecode1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4803 arg1
= static_cast< int >(val1
);
4804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4805 if (!SWIG_IsOK(res2
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4808 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4810 if (!SWIG_IsOK(res3
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4813 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4814 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4815 if (!SWIG_IsOK(res4
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4818 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4833 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4834 PyObject
*resultobj
= 0;
4835 wxPalette
*arg1
= (wxPalette
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4846 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_Py_Void();
4861 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxPalette
*arg1
= (wxPalette
*) 0 ;
4870 unsigned char val2
;
4872 unsigned char val3
;
4874 unsigned char val4
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 PyObject
* obj3
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4889 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4890 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4891 if (!SWIG_IsOK(ecode2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4894 arg2
= static_cast< byte
>(val2
);
4895 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4896 if (!SWIG_IsOK(ecode3
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4899 arg3
= static_cast< byte
>(val3
);
4900 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4901 if (!SWIG_IsOK(ecode4
)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4904 arg4
= static_cast< byte
>(val4
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_From_int(static_cast< int >(result
));
4918 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxPalette
*arg1
= (wxPalette
*) 0 ;
4922 byte
*arg3
= (byte
*) 0 ;
4923 byte
*arg4
= (byte
*) 0 ;
4924 byte
*arg5
= (byte
*) 0 ;
4931 int res3
= SWIG_TMPOBJ
;
4933 int res4
= SWIG_TMPOBJ
;
4935 int res5
= SWIG_TMPOBJ
;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "self",(char *) "pixel", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4950 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4955 arg2
= static_cast< int >(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4965 if (SWIG_IsTmpObj(res3
)) {
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 if (SWIG_IsTmpObj(res4
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4977 if (SWIG_IsTmpObj(res5
)) {
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4989 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPalette
*arg1
= (wxPalette
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5003 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_From_int(static_cast< int >(result
));
5017 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxPalette
*arg1
= (wxPalette
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5031 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (bool)(arg1
)->IsOk();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5051 return SWIG_Py_Void();
5054 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 return SWIG_Python_InitShadowInstance(args
);
5058 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxColour
*arg1
= 0 ;
5061 int arg2
= (int) 1 ;
5062 int arg3
= (int) wxSOLID
;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 PyObject
* obj2
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "colour",(char *) "width",(char *) "style", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5079 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5083 if (!SWIG_IsOK(ecode2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5086 arg2
= static_cast< int >(val2
);
5089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5090 if (!SWIG_IsOK(ecode3
)) {
5091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5093 arg3
= static_cast< int >(val3
);
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5109 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5122 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_Py_Void();
5137 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5138 PyObject
*resultobj
= 0;
5139 wxPen
*arg1
= (wxPen
*) 0 ;
5143 PyObject
*swig_obj
[1] ;
5145 if (!args
) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (int)(arg1
)->GetCap();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_From_int(static_cast< int >(result
));
5165 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5179 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (arg1
)->GetColour();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5193 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxPen
*arg1
= (wxPen
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)(arg1
)->GetJoin();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_From_int(static_cast< int >(result
));
5221 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxPen
*arg1
= (wxPen
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5235 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)(arg1
)->GetStyle();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int(static_cast< int >(result
));
5249 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (int)(arg1
)->GetWidth();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_From_int(static_cast< int >(result
));
5277 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxPen
*arg1
= (wxPen
*) 0 ;
5283 PyObject
*swig_obj
[1] ;
5285 if (!args
) SWIG_fail
;
5287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5288 if (!SWIG_IsOK(res1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5291 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)(arg1
)->IsOk();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= 0;
5309 wxPen
*arg1
= (wxPen
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5317 char * kwnames
[] = {
5318 (char *) "self",(char *) "cap_style", NULL
5321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5323 if (!SWIG_IsOK(res1
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5326 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5328 if (!SWIG_IsOK(ecode2
)) {
5329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5331 arg2
= static_cast< int >(val2
);
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->SetCap(arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_Py_Void();
5345 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
= 0;
5347 wxPen
*arg1
= (wxPen
*) 0 ;
5348 wxColour
*arg2
= 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "self",(char *) "colour", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5363 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 (arg1
)->SetColour(*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_Py_Void();
5381 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxPen
*arg1
= (wxPen
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "join_style", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5400 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5402 if (!SWIG_IsOK(ecode2
)) {
5403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5405 arg2
= static_cast< int >(val2
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->SetJoin(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_Py_Void();
5419 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
= 0;
5421 wxPen
*arg1
= (wxPen
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "self",(char *) "style", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5435 if (!SWIG_IsOK(res1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5438 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5440 if (!SWIG_IsOK(ecode2
)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5443 arg2
= static_cast< int >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->SetStyle(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
= 0;
5459 wxPen
*arg1
= (wxPen
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "width", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5478 if (!SWIG_IsOK(ecode2
)) {
5479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5481 arg2
= static_cast< int >(val2
);
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetWidth(arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_Py_Void();
5495 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
= 0;
5497 wxPen
*arg1
= (wxPen
*) 0 ;
5499 wxDash
*arg3
= (wxDash
*) 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5504 char * kwnames
[] = {
5505 (char *) "self",(char *) "dashes", NULL
5508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5510 if (!SWIG_IsOK(res1
)) {
5511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5513 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5515 arg2
= PyList_Size(obj1
);
5516 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5517 if (arg3
== NULL
) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->SetDashes(arg2
,arg3
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_Py_Void();
5527 if (arg3
) delete [] arg3
;
5532 if (arg3
) delete [] arg3
;
5538 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5539 PyObject
*resultobj
= 0;
5540 wxPen
*arg1
= (wxPen
*) 0 ;
5541 PyObject
*result
= 0 ;
5544 PyObject
*swig_obj
[1] ;
5546 if (!args
) SWIG_fail
;
5548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5549 if (!SWIG_IsOK(res1
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5552 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5566 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 wxPen
*arg1
= (wxPen
*) 0 ;
5569 PyObject
*arg2
= (PyObject
*) 0 ;
5570 PyObject
*arg3
= (PyObject
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5575 PyObject
* obj2
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5585 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxPen__SetDashes(arg1
,arg2
,arg3
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_Py_Void();
5601 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
= 0;
5603 wxPen
*arg1
= (wxPen
*) 0 ;
5604 wxPen
*arg2
= (wxPen
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5612 char * kwnames
[] = {
5613 (char *) "self",(char *) "other", NULL
5616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5618 if (!SWIG_IsOK(res1
)) {
5619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5621 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5623 if (!SWIG_IsOK(res2
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5626 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5642 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
= 0;
5644 wxPen
*arg1
= (wxPen
*) 0 ;
5645 wxPen
*arg2
= (wxPen
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5653 char * kwnames
[] = {
5654 (char *) "self",(char *) "other", NULL
5657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5659 if (!SWIG_IsOK(res1
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5662 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5664 if (!SWIG_IsOK(res2
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5667 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5683 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5686 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5687 return SWIG_Py_Void();
5690 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5691 return SWIG_Python_InitShadowInstance(args
);
5694 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
= 0;
5696 wxColour
*arg1
= 0 ;
5697 int arg2
= (int) wxSOLID
;
5698 wxBrush
*result
= 0 ;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj1
= 0 ;
5704 char * kwnames
[] = {
5705 (char *) "colour",(char *) "style", NULL
5708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5711 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5715 if (!SWIG_IsOK(ecode2
)) {
5716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5718 arg2
= static_cast< int >(val2
);
5721 if (!wxPyCheckForApp()) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5734 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
= 0;
5736 wxBitmap
*arg1
= 0 ;
5737 wxBrush
*result
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 char * kwnames
[] = {
5742 (char *) "stippleBitmap", NULL
5745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5746 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5747 if (!SWIG_IsOK(res1
)) {
5748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5753 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5755 if (!wxPyCheckForApp()) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5768 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5769 PyObject
*resultobj
= 0;
5770 wxBrush
*arg1
= (wxBrush
*) 0 ;
5773 PyObject
*swig_obj
[1] ;
5775 if (!args
) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5781 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_Py_Void();
5796 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
= 0;
5798 wxBrush
*arg1
= (wxBrush
*) 0 ;
5799 wxColour
*arg2
= 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5805 char * kwnames
[] = {
5806 (char *) "self",(char *) "col", NULL
5809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5814 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetColour((wxColour
const &)*arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_Py_Void();
5832 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
= 0;
5834 wxBrush
*arg1
= (wxBrush
*) 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5842 char * kwnames
[] = {
5843 (char *) "self",(char *) "style", NULL
5846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5851 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5853 if (!SWIG_IsOK(ecode2
)) {
5854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5856 arg2
= static_cast< int >(val2
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->SetStyle(arg2
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_Py_Void();
5870 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxBrush
*arg1
= (wxBrush
*) 0 ;
5873 wxBitmap
*arg2
= 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "stipple", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5889 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5891 if (!SWIG_IsOK(res2
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5897 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5912 PyObject
*resultobj
= 0;
5913 wxBrush
*arg1
= (wxBrush
*) 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5925 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= ((wxBrush
const *)arg1
)->GetColour();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5939 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 PyObject
*resultobj
= 0;
5941 wxBrush
*arg1
= (wxBrush
*) 0 ;
5945 PyObject
*swig_obj
[1] ;
5947 if (!args
) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5953 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_From_int(static_cast< int >(result
));
5967 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5968 PyObject
*resultobj
= 0;
5969 wxBrush
*arg1
= (wxBrush
*) 0 ;
5970 wxBitmap
*result
= 0 ;
5973 PyObject
*swig_obj
[1] ;
5975 if (!args
) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5981 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5995 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5996 PyObject
*resultobj
= 0;
5997 wxBrush
*arg1
= (wxBrush
*) 0 ;
6001 PyObject
*swig_obj
[1] ;
6003 if (!args
) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6009 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6026 PyObject
*resultobj
= 0;
6027 wxBrush
*arg1
= (wxBrush
*) 0 ;
6031 PyObject
*swig_obj
[1] ;
6033 if (!args
) SWIG_fail
;
6035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6036 if (!SWIG_IsOK(res1
)) {
6037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6039 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (bool)(arg1
)->IsOk();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6055 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6056 PyObject
*resultobj
= 0;
6057 wxBrush
*arg1
= (wxBrush
*) 0 ;
6061 PyObject
*swig_obj
[1] ;
6063 if (!args
) SWIG_fail
;
6065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6066 if (!SWIG_IsOK(res1
)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6069 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (short)(arg1
)->MacGetTheme();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_From_short(static_cast< short >(result
));
6083 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
= 0;
6085 wxBrush
*arg1
= (wxBrush
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 char * kwnames
[] = {
6094 (char *) "self",(char *) "macThemeBrush", NULL
6097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6099 if (!SWIG_IsOK(res1
)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6102 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6103 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6104 if (!SWIG_IsOK(ecode2
)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6107 arg2
= static_cast< short >(val2
);
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 (arg1
)->MacSetTheme(arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= SWIG_Py_Void();
6121 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6124 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6125 return SWIG_Py_Void();
6128 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6129 return SWIG_Python_InitShadowInstance(args
);
6132 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxString
*arg1
= 0 ;
6135 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6136 wxBitmap
*result
= 0 ;
6137 bool temp1
= false ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 char * kwnames
[] = {
6143 (char *) "name",(char *) "type", NULL
6146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6148 arg1
= wxString_in_helper(obj0
);
6149 if (arg1
== NULL
) SWIG_fail
;
6153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6154 if (!SWIG_IsOK(ecode2
)) {
6155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6157 arg2
= static_cast< wxBitmapType
>(val2
);
6160 if (!wxPyCheckForApp()) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6181 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6186 PyObject
*swig_obj
[1] ;
6188 if (!args
) SWIG_fail
;
6190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6191 if (!SWIG_IsOK(res1
)) {
6192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6194 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_Py_Void();
6207 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
= 0;
6211 int arg3
= (int) -1 ;
6212 wxBitmap
*result
= 0 ;
6219 PyObject
* obj0
= 0 ;
6220 PyObject
* obj1
= 0 ;
6221 PyObject
* obj2
= 0 ;
6222 char * kwnames
[] = {
6223 (char *) "width",(char *) "height",(char *) "depth", NULL
6226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6227 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6228 if (!SWIG_IsOK(ecode1
)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6231 arg1
= static_cast< int >(val1
);
6232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6233 if (!SWIG_IsOK(ecode2
)) {
6234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6236 arg2
= static_cast< int >(val2
);
6238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6239 if (!SWIG_IsOK(ecode3
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6242 arg3
= static_cast< int >(val3
);
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6258 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= 0;
6261 wxBitmap
*result
= 0 ;
6264 PyObject
* obj0
= 0 ;
6265 char * kwnames
[] = {
6266 (char *) "icon", NULL
6269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6277 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6279 if (!wxPyCheckForApp()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6292 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
= 0;
6295 int arg2
= (int) -1 ;
6296 wxBitmap
*result
= 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 char * kwnames
[] = {
6304 (char *) "image",(char *) "depth", NULL
6307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6308 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6309 if (!SWIG_IsOK(res1
)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6315 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6318 if (!SWIG_IsOK(ecode2
)) {
6319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6321 arg2
= static_cast< int >(val2
);
6324 if (!wxPyCheckForApp()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6337 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
= 0;
6339 PyObject
*arg1
= (PyObject
*) 0 ;
6340 wxBitmap
*result
= 0 ;
6341 PyObject
* obj0
= 0 ;
6342 char * kwnames
[] = {
6343 (char *) "listOfStrings", NULL
6346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6349 if (!wxPyCheckForApp()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6362 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 PyObject
*arg1
= (PyObject
*) 0 ;
6367 int arg4
= (int) 1 ;
6368 wxBitmap
*result
= 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6378 PyObject
* obj3
= 0 ;
6379 char * kwnames
[] = {
6380 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6386 if (!SWIG_IsOK(ecode2
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6389 arg2
= static_cast< int >(val2
);
6390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6391 if (!SWIG_IsOK(ecode3
)) {
6392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6394 arg3
= static_cast< int >(val3
);
6396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6397 if (!SWIG_IsOK(ecode4
)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6400 arg4
= static_cast< int >(val4
);
6403 if (!wxPyCheckForApp()) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6416 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6417 PyObject
*resultobj
= 0;
6418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 PyObject
*swig_obj
[1] ;
6424 if (!args
) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6430 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6432 result
= (bool)(arg1
)->IsOk();
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6445 PyObject
*resultobj
= 0;
6446 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6450 PyObject
*swig_obj
[1] ;
6452 if (!args
) SWIG_fail
;
6454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6455 if (!SWIG_IsOK(res1
)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6458 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6460 result
= (int)(arg1
)->GetWidth();
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_From_int(static_cast< int >(result
));
6470 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6476 PyObject
*swig_obj
[1] ;
6478 if (!args
) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6484 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6486 result
= (int)(arg1
)->GetHeight();
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_From_int(static_cast< int >(result
));
6496 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6510 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6512 result
= (int)(arg1
)->GetDepth();
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_From_int(static_cast< int >(result
));
6522 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6523 PyObject
*resultobj
= 0;
6524 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6528 PyObject
*swig_obj
[1] ;
6530 if (!args
) SWIG_fail
;
6532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6533 if (!SWIG_IsOK(res1
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6536 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6538 result
= wxBitmap_GetSize(arg1
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6548 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6549 PyObject
*resultobj
= 0;
6550 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6551 SwigValueWrapper
<wxImage
> result
;
6554 PyObject
*swig_obj
[1] ;
6556 if (!args
) SWIG_fail
;
6558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6559 if (!SWIG_IsOK(res1
)) {
6560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6562 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6564 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6574 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6575 PyObject
*resultobj
= 0;
6576 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 wxMask
*result
= 0 ;
6580 PyObject
*swig_obj
[1] ;
6582 if (!args
) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6588 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6590 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6600 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 wxMask
*arg2
= (wxMask
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 char * kwnames
[] = {
6610 (char *) "self",(char *) "mask", NULL
6613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6615 if (!SWIG_IsOK(res1
)) {
6616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6618 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6619 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6620 if (!SWIG_IsOK(res2
)) {
6621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6624 (arg1
)->SetMask(arg2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_Py_Void();
6634 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
= 0;
6636 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6637 wxColour
*arg2
= 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 char * kwnames
[] = {
6644 (char *) "self",(char *) "colour", NULL
6647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6652 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6658 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6668 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
= 0;
6670 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6672 SwigValueWrapper
<wxBitmap
> result
;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6678 char * kwnames
[] = {
6679 (char *) "self",(char *) "rect", NULL
6682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6684 if (!SWIG_IsOK(res1
)) {
6685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6687 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6690 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6693 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6703 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
= 0;
6705 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6706 wxString
*arg2
= 0 ;
6708 wxPalette
*arg4
= (wxPalette
*) NULL
;
6712 bool temp2
= false ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 PyObject
* obj2
= 0 ;
6720 PyObject
* obj3
= 0 ;
6721 char * kwnames
[] = {
6722 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6727 if (!SWIG_IsOK(res1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6732 arg2
= wxString_in_helper(obj1
);
6733 if (arg2
== NULL
) SWIG_fail
;
6736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6737 if (!SWIG_IsOK(ecode3
)) {
6738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6740 arg3
= static_cast< wxBitmapType
>(val3
);
6742 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6743 if (!SWIG_IsOK(res4
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6746 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6749 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6769 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
= 0;
6771 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6772 wxString
*arg2
= 0 ;
6777 bool temp2
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 char * kwnames
[] = {
6784 (char *) "self",(char *) "name",(char *) "type", NULL
6787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6789 if (!SWIG_IsOK(res1
)) {
6790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6792 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6794 arg2
= wxString_in_helper(obj1
);
6795 if (arg2
== NULL
) SWIG_fail
;
6798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6799 if (!SWIG_IsOK(ecode3
)) {
6800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6802 arg3
= static_cast< wxBitmapType
>(val3
);
6804 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6824 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6825 PyObject
*resultobj
= 0;
6826 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6827 wxPalette
*result
= 0 ;
6830 PyObject
*swig_obj
[1] ;
6832 if (!args
) SWIG_fail
;
6834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6835 if (!SWIG_IsOK(res1
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6838 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6840 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6850 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
= 0;
6852 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 char * kwnames
[] = {
6862 (char *) "self",(char *) "icon", NULL
6865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",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_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6870 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6872 if (!SWIG_IsOK(res2
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6878 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6880 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6892 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= 0;
6894 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6902 char * kwnames
[] = {
6903 (char *) "self",(char *) "height", NULL
6906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6908 if (!SWIG_IsOK(res1
)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6911 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6913 if (!SWIG_IsOK(ecode2
)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6916 arg2
= static_cast< int >(val2
);
6918 (arg1
)->SetHeight(arg2
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_Py_Void();
6928 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
= 0;
6930 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 char * kwnames
[] = {
6939 (char *) "self",(char *) "width", NULL
6942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6947 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6949 if (!SWIG_IsOK(ecode2
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6952 arg2
= static_cast< int >(val2
);
6954 (arg1
)->SetWidth(arg2
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_Py_Void();
6964 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "depth", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6985 if (!SWIG_IsOK(ecode2
)) {
6986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6988 arg2
= static_cast< int >(val2
);
6990 (arg1
)->SetDepth(arg2
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_Py_Void();
7000 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
= 0;
7002 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 char * kwnames
[] = {
7010 (char *) "self",(char *) "size", NULL
7013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7018 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7021 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7024 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_Py_Void();
7034 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
= 0;
7036 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7044 char * kwnames
[] = {
7045 (char *) "self",(char *) "data", NULL
7048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7050 if (!SWIG_IsOK(res1
)) {
7051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7053 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7055 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7059 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_Py_Void();
7069 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
= 0;
7071 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7079 char * kwnames
[] = {
7080 (char *) "self",(char *) "data", NULL
7083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7085 if (!SWIG_IsOK(res1
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7088 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7090 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7094 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_Py_Void();
7104 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7107 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 char * kwnames
[] = {
7116 (char *) "self",(char *) "other", NULL
7119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7121 if (!SWIG_IsOK(res1
)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7126 if (!SWIG_IsOK(res2
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7129 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7131 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7143 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
= 0;
7145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7146 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7154 char * kwnames
[] = {
7155 (char *) "self",(char *) "other", NULL
7158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7163 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7165 if (!SWIG_IsOK(res2
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7168 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7170 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7182 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7185 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7186 return SWIG_Py_Void();
7189 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7190 return SWIG_Python_InitShadowInstance(args
);
7193 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
= 0;
7201 wxBitmap
*result
= 0 ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 PyObject
* obj2
= 0 ;
7211 PyObject
* obj3
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7218 if (!SWIG_IsOK(ecode1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7221 arg1
= static_cast< int >(val1
);
7222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7223 if (!SWIG_IsOK(ecode2
)) {
7224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7226 arg2
= static_cast< int >(val2
);
7228 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7232 if (obj3
!= Py_None
) {
7233 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7238 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7248 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
= 0;
7254 wxBitmap
*result
= 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7262 PyObject
* obj2
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "width",(char *) "height",(char *) "data", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7269 if (!SWIG_IsOK(ecode1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7272 arg1
= static_cast< int >(val1
);
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7279 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7283 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7293 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
= 0;
7299 wxBitmap
*result
= 0 ;
7305 PyObject
* obj0
= 0 ;
7306 PyObject
* obj1
= 0 ;
7307 PyObject
* obj2
= 0 ;
7308 char * kwnames
[] = {
7309 (char *) "width",(char *) "height",(char *) "data", NULL
7312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7314 if (!SWIG_IsOK(ecode1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7317 arg1
= static_cast< int >(val1
);
7318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7319 if (!SWIG_IsOK(ecode2
)) {
7320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7322 arg2
= static_cast< int >(val2
);
7324 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7328 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7338 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7344 PyObject
*swig_obj
[1] ;
7346 if (!args
) SWIG_fail
;
7348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7349 if (!SWIG_IsOK(res1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7352 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7354 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7364 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7365 PyObject
*resultobj
= 0;
7366 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7370 PyObject
*swig_obj
[1] ;
7372 if (!args
) SWIG_fail
;
7374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7375 if (!SWIG_IsOK(res1
)) {
7376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7378 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7380 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_From_int(static_cast< int >(result
));
7390 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7391 PyObject
*resultobj
= 0;
7392 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7396 PyObject
*swig_obj
[1] ;
7398 if (!args
) SWIG_fail
;
7400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7401 if (!SWIG_IsOK(res1
)) {
7402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7404 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7406 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_From_int(static_cast< int >(result
));
7416 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7430 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7432 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7442 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7443 PyObject
*resultobj
= 0;
7444 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7448 PyObject
*swig_obj
[1] ;
7450 if (!args
) SWIG_fail
;
7452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7453 if (!SWIG_IsOK(res1
)) {
7454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7456 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7458 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_From_int(static_cast< int >(result
));
7468 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7472 return SWIG_Py_Void();
7475 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7476 PyObject
*resultobj
= 0;
7477 wxBitmap
*arg1
= 0 ;
7478 wxNativePixelData
*result
= 0 ;
7482 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7484 if (!SWIG_IsOK(res1
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7490 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7492 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7502 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7503 PyObject
*resultobj
= 0;
7504 wxBitmap
*arg1
= 0 ;
7506 wxNativePixelData
*result
= 0 ;
7511 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7513 if (!SWIG_IsOK(res1
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7519 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7522 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7525 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7535 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7536 PyObject
*resultobj
= 0;
7537 wxBitmap
*arg1
= 0 ;
7540 wxNativePixelData
*result
= 0 ;
7546 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7548 if (!SWIG_IsOK(res1
)) {
7549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7554 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7557 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7561 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7564 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7574 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7578 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7581 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7584 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7587 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7591 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7596 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7597 PyObject
*resultobj
= 0;
7598 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7601 PyObject
*swig_obj
[1] ;
7603 if (!args
) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7609 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_Py_Void();
7622 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7623 PyObject
*resultobj
= 0;
7624 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7625 wxNativePixelData_Accessor result
;
7628 PyObject
*swig_obj
[1] ;
7630 if (!args
) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7636 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7638 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7648 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 PyObject
*resultobj
= 0;
7650 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7653 PyObject
*swig_obj
[1] ;
7655 if (!args
) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7661 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_Py_Void();
7673 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 PyObject
*resultobj
= 0;
7675 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7679 PyObject
*swig_obj
[1] ;
7681 if (!args
) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7687 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7689 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7701 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7704 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7705 return SWIG_Py_Void();
7708 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7709 return SWIG_Python_InitShadowInstance(args
);
7712 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7713 PyObject
*resultobj
= 0;
7714 wxNativePixelData
*arg1
= 0 ;
7715 wxNativePixelData_Accessor
*result
= 0 ;
7719 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7727 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7729 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7739 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7740 PyObject
*resultobj
= 0;
7741 wxBitmap
*arg1
= 0 ;
7742 wxNativePixelData
*arg2
= 0 ;
7743 wxNativePixelData_Accessor
*result
= 0 ;
7749 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7757 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7758 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7759 if (!SWIG_IsOK(res2
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7765 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7767 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7777 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData_Accessor
*result
= 0 ;
7781 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7783 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7793 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7797 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7800 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7803 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7806 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7810 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7815 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7816 PyObject
*resultobj
= 0;
7817 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7820 PyObject
*swig_obj
[1] ;
7822 if (!args
) SWIG_fail
;
7824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7825 if (!SWIG_IsOK(res1
)) {
7826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7828 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_Py_Void();
7841 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= 0;
7843 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7844 wxNativePixelData
*arg2
= 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7851 char * kwnames
[] = {
7852 (char *) "self",(char *) "data", NULL
7855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7857 if (!SWIG_IsOK(res1
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7860 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7862 if (!SWIG_IsOK(res2
)) {
7863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7868 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7870 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_Py_Void();
7880 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7881 PyObject
*resultobj
= 0;
7882 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7886 PyObject
*swig_obj
[1] ;
7888 if (!args
) SWIG_fail
;
7890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7891 if (!SWIG_IsOK(res1
)) {
7892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7894 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7896 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7908 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7909 PyObject
*resultobj
= 0;
7910 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7913 PyObject
*swig_obj
[1] ;
7915 if (!args
) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7921 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7923 wxNativePixelData_Accessor_nextPixel(arg1
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_Py_Void();
7933 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
= 0;
7935 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7936 wxNativePixelData
*arg2
= 0 ;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7949 PyObject
* obj2
= 0 ;
7950 PyObject
* obj3
= 0 ;
7951 char * kwnames
[] = {
7952 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7960 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7962 if (!SWIG_IsOK(res2
)) {
7963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7968 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7970 if (!SWIG_IsOK(ecode3
)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7973 arg3
= static_cast< int >(val3
);
7974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7975 if (!SWIG_IsOK(ecode4
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7978 arg4
= static_cast< int >(val4
);
7980 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_Py_Void();
7990 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
= 0;
7992 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7993 wxNativePixelData
*arg2
= 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 PyObject
* obj2
= 0 ;
8004 char * kwnames
[] = {
8005 (char *) "self",(char *) "data",(char *) "x", NULL
8008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8010 if (!SWIG_IsOK(res1
)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8013 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8015 if (!SWIG_IsOK(res2
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8021 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8023 if (!SWIG_IsOK(ecode3
)) {
8024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8026 arg3
= static_cast< int >(val3
);
8028 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_Py_Void();
8038 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
= 0;
8040 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8041 wxNativePixelData
*arg2
= 0 ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8051 PyObject
* obj2
= 0 ;
8052 char * kwnames
[] = {
8053 (char *) "self",(char *) "data",(char *) "y", NULL
8056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8058 if (!SWIG_IsOK(res1
)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8061 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8063 if (!SWIG_IsOK(res2
)) {
8064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8069 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8071 if (!SWIG_IsOK(ecode3
)) {
8072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8074 arg3
= static_cast< int >(val3
);
8076 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_Py_Void();
8086 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
= 0;
8088 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8089 wxNativePixelData
*arg2
= 0 ;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8102 PyObject
* obj2
= 0 ;
8103 PyObject
* obj3
= 0 ;
8104 char * kwnames
[] = {
8105 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8110 if (!SWIG_IsOK(res1
)) {
8111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8113 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8115 if (!SWIG_IsOK(res2
)) {
8116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8121 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8123 if (!SWIG_IsOK(ecode3
)) {
8124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8126 arg3
= static_cast< int >(val3
);
8127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8128 if (!SWIG_IsOK(ecode4
)) {
8129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8131 arg4
= static_cast< int >(val4
);
8133 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_Py_Void();
8143 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
= 0;
8145 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8151 unsigned char val2
;
8153 unsigned char val3
;
8155 unsigned char val4
;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8160 PyObject
* obj3
= 0 ;
8161 char * kwnames
[] = {
8162 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8167 if (!SWIG_IsOK(res1
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8170 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8171 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8172 if (!SWIG_IsOK(ecode2
)) {
8173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8175 arg2
= static_cast< byte
>(val2
);
8176 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8177 if (!SWIG_IsOK(ecode3
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8180 arg3
= static_cast< byte
>(val3
);
8181 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8182 if (!SWIG_IsOK(ecode4
)) {
8183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8185 arg4
= static_cast< byte
>(val4
);
8187 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= SWIG_Py_Void();
8197 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8198 PyObject
*resultobj
= 0;
8199 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8200 PyObject
*result
= 0 ;
8203 PyObject
*swig_obj
[1] ;
8205 if (!args
) SWIG_fail
;
8207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8208 if (!SWIG_IsOK(res1
)) {
8209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8211 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8213 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8223 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8226 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8227 return SWIG_Py_Void();
8230 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8231 return SWIG_Python_InitShadowInstance(args
);
8234 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8235 PyObject
*resultobj
= 0;
8236 wxBitmap
*arg1
= 0 ;
8237 wxAlphaPixelData
*result
= 0 ;
8241 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8243 if (!SWIG_IsOK(res1
)) {
8244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8249 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8251 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8261 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8262 PyObject
*resultobj
= 0;
8263 wxBitmap
*arg1
= 0 ;
8265 wxAlphaPixelData
*result
= 0 ;
8270 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8272 if (!SWIG_IsOK(res1
)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8281 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8284 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8294 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8295 PyObject
*resultobj
= 0;
8296 wxBitmap
*arg1
= 0 ;
8299 wxAlphaPixelData
*result
= 0 ;
8305 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8307 if (!SWIG_IsOK(res1
)) {
8308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8313 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8316 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8320 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8323 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8333 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8337 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8340 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8343 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8346 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8350 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8355 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8356 PyObject
*resultobj
= 0;
8357 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8360 PyObject
*swig_obj
[1] ;
8362 if (!args
) SWIG_fail
;
8364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8365 if (!SWIG_IsOK(res1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8368 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_Py_Void();
8381 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 PyObject
*resultobj
= 0;
8383 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8384 wxAlphaPixelData_Accessor result
;
8387 PyObject
*swig_obj
[1] ;
8389 if (!args
) SWIG_fail
;
8391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8392 if (!SWIG_IsOK(res1
)) {
8393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8395 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8397 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8407 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8408 PyObject
*resultobj
= 0;
8409 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8412 PyObject
*swig_obj
[1] ;
8414 if (!args
) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8420 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= SWIG_Py_Void();
8432 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8433 PyObject
*resultobj
= 0;
8434 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8438 PyObject
*swig_obj
[1] ;
8440 if (!args
) SWIG_fail
;
8442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8443 if (!SWIG_IsOK(res1
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8446 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8448 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8460 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8463 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8464 return SWIG_Py_Void();
8467 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8468 return SWIG_Python_InitShadowInstance(args
);
8471 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8472 PyObject
*resultobj
= 0;
8473 wxAlphaPixelData
*arg1
= 0 ;
8474 wxAlphaPixelData_Accessor
*result
= 0 ;
8478 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8486 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8488 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8499 PyObject
*resultobj
= 0;
8500 wxBitmap
*arg1
= 0 ;
8501 wxAlphaPixelData
*arg2
= 0 ;
8502 wxAlphaPixelData_Accessor
*result
= 0 ;
8508 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8517 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8518 if (!SWIG_IsOK(res2
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8524 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8526 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8536 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData_Accessor
*result
= 0 ;
8540 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8542 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8552 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8556 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8559 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8562 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8565 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8569 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8574 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8575 PyObject
*resultobj
= 0;
8576 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8579 PyObject
*swig_obj
[1] ;
8581 if (!args
) SWIG_fail
;
8583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8584 if (!SWIG_IsOK(res1
)) {
8585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8587 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_Py_Void();
8600 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
= 0;
8602 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8603 wxAlphaPixelData
*arg2
= 0 ;
8608 PyObject
* obj0
= 0 ;
8609 PyObject
* obj1
= 0 ;
8610 char * kwnames
[] = {
8611 (char *) "self",(char *) "data", NULL
8614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8619 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8621 if (!SWIG_IsOK(res2
)) {
8622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8627 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8629 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_Py_Void();
8639 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8640 PyObject
*resultobj
= 0;
8641 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8645 PyObject
*swig_obj
[1] ;
8647 if (!args
) SWIG_fail
;
8649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8650 if (!SWIG_IsOK(res1
)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8653 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8655 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8656 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8667 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8668 PyObject
*resultobj
= 0;
8669 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8672 PyObject
*swig_obj
[1] ;
8674 if (!args
) SWIG_fail
;
8676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8677 if (!SWIG_IsOK(res1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8680 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8682 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_Py_Void();
8692 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
= 0;
8694 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8695 wxAlphaPixelData
*arg2
= 0 ;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8708 PyObject
* obj2
= 0 ;
8709 PyObject
* obj3
= 0 ;
8710 char * kwnames
[] = {
8711 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8716 if (!SWIG_IsOK(res1
)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8719 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8721 if (!SWIG_IsOK(res2
)) {
8722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8727 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8729 if (!SWIG_IsOK(ecode3
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8732 arg3
= static_cast< int >(val3
);
8733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8734 if (!SWIG_IsOK(ecode4
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8737 arg4
= static_cast< int >(val4
);
8739 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_Py_Void();
8749 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
= 0;
8751 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8752 wxAlphaPixelData
*arg2
= 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "data",(char *) "x", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8772 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8774 if (!SWIG_IsOK(res2
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8780 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8782 if (!SWIG_IsOK(ecode3
)) {
8783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8785 arg3
= static_cast< int >(val3
);
8787 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= SWIG_Py_Void();
8797 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= 0;
8799 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8800 wxAlphaPixelData
*arg2
= 0 ;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 PyObject
* obj2
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "self",(char *) "data",(char *) "y", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8820 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8822 if (!SWIG_IsOK(res2
)) {
8823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8828 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8830 if (!SWIG_IsOK(ecode3
)) {
8831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8833 arg3
= static_cast< int >(val3
);
8835 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_Py_Void();
8845 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
= 0;
8847 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8848 wxAlphaPixelData
*arg2
= 0 ;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8861 PyObject
* obj2
= 0 ;
8862 PyObject
* obj3
= 0 ;
8863 char * kwnames
[] = {
8864 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8869 if (!SWIG_IsOK(res1
)) {
8870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8872 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8874 if (!SWIG_IsOK(res2
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8880 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8882 if (!SWIG_IsOK(ecode3
)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8885 arg3
= static_cast< int >(val3
);
8886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8887 if (!SWIG_IsOK(ecode4
)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8890 arg4
= static_cast< int >(val4
);
8892 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_Py_Void();
8902 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
= 0;
8904 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8911 unsigned char val2
;
8913 unsigned char val3
;
8915 unsigned char val4
;
8917 unsigned char val5
;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 PyObject
* obj2
= 0 ;
8922 PyObject
* obj3
= 0 ;
8923 PyObject
* obj4
= 0 ;
8924 char * kwnames
[] = {
8925 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8930 if (!SWIG_IsOK(res1
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8933 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8934 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8935 if (!SWIG_IsOK(ecode2
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8938 arg2
= static_cast< byte
>(val2
);
8939 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8940 if (!SWIG_IsOK(ecode3
)) {
8941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8943 arg3
= static_cast< byte
>(val3
);
8944 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8945 if (!SWIG_IsOK(ecode4
)) {
8946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8948 arg4
= static_cast< byte
>(val4
);
8949 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8950 if (!SWIG_IsOK(ecode5
)) {
8951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8953 arg5
= static_cast< byte
>(val5
);
8955 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_Py_Void();
8965 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8966 PyObject
*resultobj
= 0;
8967 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8968 PyObject
*result
= 0 ;
8971 PyObject
*swig_obj
[1] ;
8973 if (!args
) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8979 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8981 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8991 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8994 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8995 return SWIG_Py_Void();
8998 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8999 return SWIG_Python_InitShadowInstance(args
);
9002 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
= 0;
9004 wxBitmap
*arg1
= 0 ;
9005 wxColour
const &arg2_defvalue
= wxNullColour
;
9006 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9007 wxMask
*result
= 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9013 char * kwnames
[] = {
9014 (char *) "bitmap",(char *) "colour", NULL
9017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9033 if (!wxPyCheckForApp()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9046 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9047 PyObject
*resultobj
= 0;
9048 wxMask
*arg1
= (wxMask
*) 0 ;
9051 PyObject
*swig_obj
[1] ;
9053 if (!args
) SWIG_fail
;
9055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9056 if (!SWIG_IsOK(res1
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9059 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_Py_Void();
9072 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9075 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9076 return SWIG_Py_Void();
9079 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9080 return SWIG_Python_InitShadowInstance(args
);
9083 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
= 0;
9085 wxString
*arg1
= 0 ;
9087 int arg3
= (int) -1 ;
9088 int arg4
= (int) -1 ;
9089 wxIcon
*result
= 0 ;
9090 bool temp1
= false ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 char * kwnames
[] = {
9102 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9107 arg1
= wxString_in_helper(obj0
);
9108 if (arg1
== NULL
) SWIG_fail
;
9111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9112 if (!SWIG_IsOK(ecode2
)) {
9113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9115 arg2
= static_cast< wxBitmapType
>(val2
);
9117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9118 if (!SWIG_IsOK(ecode3
)) {
9119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9121 arg3
= static_cast< int >(val3
);
9124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9125 if (!SWIG_IsOK(ecode4
)) {
9126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9128 arg4
= static_cast< int >(val4
);
9131 if (!wxPyCheckForApp()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9152 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9153 PyObject
*resultobj
= 0;
9154 wxIcon
*arg1
= (wxIcon
*) 0 ;
9157 PyObject
*swig_obj
[1] ;
9159 if (!args
) SWIG_fail
;
9161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9162 if (!SWIG_IsOK(res1
)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9165 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_Py_Void();
9180 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9181 PyObject
*resultobj
= 0;
9182 wxIcon
*result
= 0 ;
9184 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9186 if (!wxPyCheckForApp()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (wxIcon
*)new wxIcon();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9199 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 wxIconLocation
*arg1
= 0 ;
9202 wxIcon
*result
= 0 ;
9205 PyObject
* obj0
= 0 ;
9206 char * kwnames
[] = {
9207 (char *) "loc", NULL
9210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9211 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9212 if (!SWIG_IsOK(res1
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9218 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9220 if (!wxPyCheckForApp()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9233 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
= 0;
9235 wxBitmap
*arg1
= 0 ;
9236 wxIcon
*result
= 0 ;
9239 PyObject
* obj0
= 0 ;
9240 char * kwnames
[] = {
9241 (char *) "bmp", NULL
9244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9245 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9246 if (!SWIG_IsOK(res1
)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9252 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9254 if (!wxPyCheckForApp()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9267 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
= 0;
9269 PyObject
*arg1
= (PyObject
*) 0 ;
9270 wxIcon
*result
= 0 ;
9271 PyObject
* obj0
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "listOfStrings", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9279 if (!wxPyCheckForApp()) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (wxIcon
*)new_wxIcon(arg1
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9292 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9293 PyObject
*resultobj
= 0;
9294 wxIcon
*arg1
= (wxIcon
*) 0 ;
9298 PyObject
*swig_obj
[1] ;
9300 if (!args
) SWIG_fail
;
9302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9303 if (!SWIG_IsOK(res1
)) {
9304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9306 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)(arg1
)->IsOk();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9322 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9323 PyObject
*resultobj
= 0;
9324 wxIcon
*arg1
= (wxIcon
*) 0 ;
9328 PyObject
*swig_obj
[1] ;
9330 if (!args
) SWIG_fail
;
9332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9333 if (!SWIG_IsOK(res1
)) {
9334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9336 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (int)(arg1
)->GetWidth();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_From_int(static_cast< int >(result
));
9350 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9351 PyObject
*resultobj
= 0;
9352 wxIcon
*arg1
= (wxIcon
*) 0 ;
9356 PyObject
*swig_obj
[1] ;
9358 if (!args
) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9364 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (int)(arg1
)->GetHeight();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_From_int(static_cast< int >(result
));
9378 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9379 PyObject
*resultobj
= 0;
9380 wxIcon
*arg1
= (wxIcon
*) 0 ;
9384 PyObject
*swig_obj
[1] ;
9386 if (!args
) SWIG_fail
;
9388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9389 if (!SWIG_IsOK(res1
)) {
9390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9392 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (int)(arg1
)->GetDepth();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= SWIG_From_int(static_cast< int >(result
));
9406 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
= 0;
9408 wxIcon
*arg1
= (wxIcon
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 char * kwnames
[] = {
9417 (char *) "self",(char *) "w", NULL
9420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9425 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9427 if (!SWIG_IsOK(ecode2
)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9430 arg2
= static_cast< int >(val2
);
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 (arg1
)->SetWidth(arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= SWIG_Py_Void();
9444 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
= 0;
9446 wxIcon
*arg1
= (wxIcon
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 char * kwnames
[] = {
9455 (char *) "self",(char *) "h", NULL
9458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9460 if (!SWIG_IsOK(res1
)) {
9461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9463 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9465 if (!SWIG_IsOK(ecode2
)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9468 arg2
= static_cast< int >(val2
);
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 (arg1
)->SetHeight(arg2
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_Py_Void();
9482 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
= 0;
9484 wxIcon
*arg1
= (wxIcon
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 char * kwnames
[] = {
9493 (char *) "self",(char *) "d", NULL
9496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9498 if (!SWIG_IsOK(res1
)) {
9499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9501 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9503 if (!SWIG_IsOK(ecode2
)) {
9504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9506 arg2
= static_cast< int >(val2
);
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 (arg1
)->SetDepth(arg2
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_Py_Void();
9520 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
= 0;
9522 wxIcon
*arg1
= (wxIcon
*) 0 ;
9523 wxBitmap
*arg2
= 0 ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9530 char * kwnames
[] = {
9531 (char *) "self",(char *) "bmp", NULL
9534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9536 if (!SWIG_IsOK(res1
)) {
9537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9539 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9541 if (!SWIG_IsOK(res2
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9547 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= SWIG_Py_Void();
9561 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9564 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9565 return SWIG_Py_Void();
9568 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9569 return SWIG_Python_InitShadowInstance(args
);
9572 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
= 0;
9574 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9575 int arg2
= (int) 0 ;
9576 wxIconLocation
*result
= 0 ;
9577 bool temp1
= false ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 char * kwnames
[] = {
9583 (char *) "filename",(char *) "num", NULL
9586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9589 arg1
= wxString_in_helper(obj0
);
9590 if (arg1
== NULL
) SWIG_fail
;
9595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9596 if (!SWIG_IsOK(ecode2
)) {
9597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9599 arg2
= static_cast< int >(val2
);
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9622 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9623 PyObject
*resultobj
= 0;
9624 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9627 PyObject
*swig_obj
[1] ;
9629 if (!args
) SWIG_fail
;
9631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9632 if (!SWIG_IsOK(res1
)) {
9633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9635 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_Py_Void();
9650 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9651 PyObject
*resultobj
= 0;
9652 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9656 PyObject
*swig_obj
[1] ;
9658 if (!args
) SWIG_fail
;
9660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9661 if (!SWIG_IsOK(res1
)) {
9662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9664 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9680 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
= 0;
9682 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9683 wxString
*arg2
= 0 ;
9686 bool temp2
= false ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 char * kwnames
[] = {
9690 (char *) "self",(char *) "filename", NULL
9693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9695 if (!SWIG_IsOK(res1
)) {
9696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9698 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9700 arg2
= wxString_in_helper(obj1
);
9701 if (arg2
== NULL
) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 (arg1
)->SetFileName((wxString
const &)*arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_Py_Void();
9725 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9726 PyObject
*resultobj
= 0;
9727 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9728 wxString
*result
= 0 ;
9731 PyObject
*swig_obj
[1] ;
9733 if (!args
) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9739 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9744 result
= (wxString
*) &_result_ref
;
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9753 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9762 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
= 0;
9764 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9772 char * kwnames
[] = {
9773 (char *) "self",(char *) "num", NULL
9776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9778 if (!SWIG_IsOK(res1
)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9781 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9783 if (!SWIG_IsOK(ecode2
)) {
9784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9786 arg2
= static_cast< int >(val2
);
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 wxIconLocation_SetIndex(arg1
,arg2
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_Py_Void();
9800 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9801 PyObject
*resultobj
= 0;
9802 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9806 PyObject
*swig_obj
[1] ;
9808 if (!args
) SWIG_fail
;
9810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9811 if (!SWIG_IsOK(res1
)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9814 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (int)wxIconLocation_GetIndex(arg1
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_From_int(static_cast< int >(result
));
9828 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9831 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9832 return SWIG_Py_Void();
9835 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9836 return SWIG_Python_InitShadowInstance(args
);
9839 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 PyObject
*resultobj
= 0;
9841 wxIconBundle
*result
= 0 ;
9843 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (wxIconBundle
*)new wxIconBundle();
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9857 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
= 0;
9859 wxString
*arg1
= 0 ;
9861 wxIconBundle
*result
= 0 ;
9862 bool temp1
= false ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "file",(char *) "type", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9873 arg1
= wxString_in_helper(obj0
);
9874 if (arg1
== NULL
) SWIG_fail
;
9877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9878 if (!SWIG_IsOK(ecode2
)) {
9879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9881 arg2
= static_cast< long >(val2
);
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9903 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9906 wxIconBundle
*result
= 0 ;
9909 PyObject
* obj0
= 0 ;
9910 char * kwnames
[] = {
9911 (char *) "icon", NULL
9914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9922 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9936 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 PyObject
*resultobj
= 0;
9938 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9941 PyObject
*swig_obj
[1] ;
9943 if (!args
) SWIG_fail
;
9945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9946 if (!SWIG_IsOK(res1
)) {
9947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9949 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_Py_Void();
9964 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
= 0;
9966 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 char * kwnames
[] = {
9975 (char *) "self",(char *) "icon", NULL
9978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9980 if (!SWIG_IsOK(res1
)) {
9981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9983 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9985 if (!SWIG_IsOK(res2
)) {
9986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9991 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_Py_Void();
10005 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
= 0;
10007 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10008 wxString
*arg2
= 0 ;
10012 bool temp2
= false ;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 PyObject
* obj2
= 0 ;
10018 char * kwnames
[] = {
10019 (char *) "self",(char *) "file",(char *) "type", NULL
10022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10027 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10029 arg2
= wxString_in_helper(obj1
);
10030 if (arg2
== NULL
) SWIG_fail
;
10033 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10034 if (!SWIG_IsOK(ecode3
)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10037 arg3
= static_cast< long >(val3
);
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_Py_Void();
10059 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
= 0;
10061 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10063 wxIcon
*result
= 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char * kwnames
[] = {
10070 (char *) "self",(char *) "size", NULL
10073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10075 if (!SWIG_IsOK(res1
)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10078 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10087 result
= (wxIcon
*) &_result_ref
;
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10093 wxIcon
* resultptr
= new wxIcon(*result
);
10094 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10102 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10105 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10106 return SWIG_Py_Void();
10109 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10110 return SWIG_Python_InitShadowInstance(args
);
10113 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
= 0;
10115 wxString
*arg1
= 0 ;
10117 int arg3
= (int) 0 ;
10118 int arg4
= (int) 0 ;
10119 wxCursor
*result
= 0 ;
10120 bool temp1
= false ;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 PyObject
* obj2
= 0 ;
10130 PyObject
* obj3
= 0 ;
10131 char * kwnames
[] = {
10132 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10137 arg1
= wxString_in_helper(obj0
);
10138 if (arg1
== NULL
) SWIG_fail
;
10141 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10142 if (!SWIG_IsOK(ecode2
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10145 arg2
= static_cast< long >(val2
);
10147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10148 if (!SWIG_IsOK(ecode3
)) {
10149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10151 arg3
= static_cast< int >(val3
);
10154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10155 if (!SWIG_IsOK(ecode4
)) {
10156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10158 arg4
= static_cast< int >(val4
);
10161 if (!wxPyCheckForApp()) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10182 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10183 PyObject
*resultobj
= 0;
10184 wxCursor
*arg1
= (wxCursor
*) 0 ;
10187 PyObject
*swig_obj
[1] ;
10189 if (!args
) SWIG_fail
;
10190 swig_obj
[0] = args
;
10191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10192 if (!SWIG_IsOK(res1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10195 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_Py_Void();
10210 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10213 wxCursor
*result
= 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char * kwnames
[] = {
10218 (char *) "id", NULL
10221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10222 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10223 if (!SWIG_IsOK(ecode1
)) {
10224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10226 arg1
= static_cast< int >(val1
);
10228 if (!wxPyCheckForApp()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (wxCursor
*)new wxCursor(arg1
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10241 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= 0;
10243 wxImage
*arg1
= 0 ;
10244 wxCursor
*result
= 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char * kwnames
[] = {
10249 (char *) "image", NULL
10252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10253 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10260 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10262 if (!wxPyCheckForApp()) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10275 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10276 PyObject
*resultobj
= 0;
10277 wxCursor
*arg1
= (wxCursor
*) 0 ;
10281 PyObject
*swig_obj
[1] ;
10283 if (!args
) SWIG_fail
;
10284 swig_obj
[0] = args
;
10285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10286 if (!SWIG_IsOK(res1
)) {
10287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10289 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (bool)(arg1
)->IsOk();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10305 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10308 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10309 return SWIG_Py_Void();
10312 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10313 return SWIG_Python_InitShadowInstance(args
);
10316 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 int arg1
= (int) 0 ;
10319 int arg2
= (int) 0 ;
10320 int arg3
= (int) 0 ;
10321 int arg4
= (int) 0 ;
10322 wxRegion
*result
= 0 ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 PyObject
* obj2
= 0 ;
10334 PyObject
* obj3
= 0 ;
10335 char * kwnames
[] = {
10336 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10342 if (!SWIG_IsOK(ecode1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10345 arg1
= static_cast< int >(val1
);
10348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10349 if (!SWIG_IsOK(ecode2
)) {
10350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10352 arg2
= static_cast< int >(val2
);
10355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10356 if (!SWIG_IsOK(ecode3
)) {
10357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10359 arg3
= static_cast< int >(val3
);
10362 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10363 if (!SWIG_IsOK(ecode4
)) {
10364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10366 arg4
= static_cast< int >(val4
);
10369 if (!wxPyCheckForApp()) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10382 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
= 0;
10384 wxBitmap
*arg1
= 0 ;
10385 wxRegion
*result
= 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char * kwnames
[] = {
10390 (char *) "bmp", NULL
10393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10394 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10395 if (!SWIG_IsOK(res1
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10403 if (!wxPyCheckForApp()) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10416 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
= 0;
10418 wxBitmap
*arg1
= 0 ;
10419 wxColour
*arg2
= 0 ;
10420 int arg3
= (int) 0 ;
10421 wxRegion
*result
= 0 ;
10427 PyObject
* obj0
= 0 ;
10428 PyObject
* obj1
= 0 ;
10429 PyObject
* obj2
= 0 ;
10430 char * kwnames
[] = {
10431 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10435 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10436 if (!SWIG_IsOK(res1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10449 if (!SWIG_IsOK(ecode3
)) {
10450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10452 arg3
= static_cast< int >(val3
);
10455 if (!wxPyCheckForApp()) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10468 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
= 0;
10471 wxPoint
*arg2
= (wxPoint
*) 0 ;
10472 int arg3
= (int) wxWINDING_RULE
;
10473 wxRegion
*result
= 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char * kwnames
[] = {
10479 (char *) "points",(char *) "fillStyle", NULL
10482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10484 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10485 if (arg2
== NULL
) SWIG_fail
;
10488 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10489 if (!SWIG_IsOK(ecode3
)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10492 arg3
= static_cast< int >(val3
);
10495 if (!wxPyCheckForApp()) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10503 if (arg2
) delete [] arg2
;
10508 if (arg2
) delete [] arg2
;
10514 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxRegion
*arg1
= (wxRegion
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10527 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxRegion
*arg1
= (wxRegion
*) 0 ;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10555 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_Py_Void();
10569 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 wxRegion
*arg1
= (wxRegion
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 PyObject
* obj2
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "self",(char *) "x",(char *) "y", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10593 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10595 if (!SWIG_IsOK(ecode2
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10598 arg2
= static_cast< int >(val2
);
10599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10600 if (!SWIG_IsOK(ecode3
)) {
10601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10603 arg3
= static_cast< int >(val3
);
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10619 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
= 0;
10621 wxRegion
*arg1
= (wxRegion
*) 0 ;
10624 wxRegionContain result
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "self",(char *) "x",(char *) "y", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10640 if (!SWIG_IsOK(res1
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10643 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10645 if (!SWIG_IsOK(ecode2
)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10648 arg2
= static_cast< int >(val2
);
10649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10650 if (!SWIG_IsOK(ecode3
)) {
10651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10653 arg3
= static_cast< int >(val3
);
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_From_int(static_cast< int >(result
));
10667 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxRegion
*arg1
= (wxRegion
*) 0 ;
10670 wxPoint
*arg2
= 0 ;
10671 wxRegionContain result
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "pt", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10686 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10689 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_From_int(static_cast< int >(result
));
10704 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxRegion
*arg1
= (wxRegion
*) 0 ;
10708 wxRegionContain result
;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char * kwnames
[] = {
10715 (char *) "self",(char *) "rect", NULL
10718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10723 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_From_int(static_cast< int >(result
));
10741 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
= 0;
10743 wxRegion
*arg1
= (wxRegion
*) 0 ;
10748 wxRegionContain result
;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 PyObject
* obj2
= 0 ;
10762 PyObject
* obj3
= 0 ;
10763 PyObject
* obj4
= 0 ;
10764 char * kwnames
[] = {
10765 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10770 if (!SWIG_IsOK(res1
)) {
10771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10773 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10775 if (!SWIG_IsOK(ecode2
)) {
10776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10778 arg2
= static_cast< int >(val2
);
10779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10780 if (!SWIG_IsOK(ecode3
)) {
10781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10783 arg3
= static_cast< int >(val3
);
10784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10785 if (!SWIG_IsOK(ecode4
)) {
10786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10788 arg4
= static_cast< int >(val4
);
10789 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10790 if (!SWIG_IsOK(ecode5
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10793 arg5
= static_cast< int >(val5
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_From_int(static_cast< int >(result
));
10807 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10808 PyObject
*resultobj
= 0;
10809 wxRegion
*arg1
= (wxRegion
*) 0 ;
10813 PyObject
*swig_obj
[1] ;
10815 if (!args
) SWIG_fail
;
10816 swig_obj
[0] = args
;
10817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10818 if (!SWIG_IsOK(res1
)) {
10819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10821 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (arg1
)->GetBox();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10835 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= 0;
10837 wxRegion
*arg1
= (wxRegion
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 PyObject
* obj3
= 0 ;
10857 PyObject
* obj4
= 0 ;
10858 char * kwnames
[] = {
10859 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10867 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10869 if (!SWIG_IsOK(ecode2
)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10872 arg2
= static_cast< int >(val2
);
10873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10874 if (!SWIG_IsOK(ecode3
)) {
10875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10877 arg3
= static_cast< int >(val3
);
10878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10879 if (!SWIG_IsOK(ecode4
)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10882 arg4
= static_cast< int >(val4
);
10883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10884 if (!SWIG_IsOK(ecode5
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10887 arg5
= static_cast< int >(val5
);
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10903 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
= 0;
10905 wxRegion
*arg1
= (wxRegion
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 char * kwnames
[] = {
10914 (char *) "self",(char *) "rect", NULL
10917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10919 if (!SWIG_IsOK(res1
)) {
10920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10922 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10925 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10942 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
= 0;
10944 wxRegion
*arg1
= (wxRegion
*) 0 ;
10945 wxRegion
*arg2
= 0 ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 char * kwnames
[] = {
10954 (char *) "self",(char *) "region", NULL
10957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10959 if (!SWIG_IsOK(res1
)) {
10960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10962 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10964 if (!SWIG_IsOK(res2
)) {
10965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10970 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10986 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10987 PyObject
*resultobj
= 0;
10988 wxRegion
*arg1
= (wxRegion
*) 0 ;
10992 PyObject
*swig_obj
[1] ;
10994 if (!args
) SWIG_fail
;
10995 swig_obj
[0] = args
;
10996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10997 if (!SWIG_IsOK(res1
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11000 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)(arg1
)->IsEmpty();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= 0;
11018 wxRegion
*arg1
= (wxRegion
*) 0 ;
11019 wxRegion
*arg2
= 0 ;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 char * kwnames
[] = {
11028 (char *) "self",(char *) "region", NULL
11031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11036 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11038 if (!SWIG_IsOK(res2
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11044 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11060 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
= 0;
11062 wxRegion
*arg1
= (wxRegion
*) 0 ;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 PyObject
* obj2
= 0 ;
11081 PyObject
* obj3
= 0 ;
11082 PyObject
* obj4
= 0 ;
11083 char * kwnames
[] = {
11084 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11089 if (!SWIG_IsOK(res1
)) {
11090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11092 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11094 if (!SWIG_IsOK(ecode2
)) {
11095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11097 arg2
= static_cast< int >(val2
);
11098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11099 if (!SWIG_IsOK(ecode3
)) {
11100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11102 arg3
= static_cast< int >(val3
);
11103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11104 if (!SWIG_IsOK(ecode4
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11107 arg4
= static_cast< int >(val4
);
11108 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11109 if (!SWIG_IsOK(ecode5
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11112 arg5
= static_cast< int >(val5
);
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11128 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
= 0;
11130 wxRegion
*arg1
= (wxRegion
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 char * kwnames
[] = {
11139 (char *) "self",(char *) "rect", NULL
11142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11144 if (!SWIG_IsOK(res1
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11147 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11167 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
= 0;
11169 wxRegion
*arg1
= (wxRegion
*) 0 ;
11170 wxRegion
*arg2
= 0 ;
11176 PyObject
* obj0
= 0 ;
11177 PyObject
* obj1
= 0 ;
11178 char * kwnames
[] = {
11179 (char *) "self",(char *) "region", NULL
11182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11187 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11189 if (!SWIG_IsOK(res2
)) {
11190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11195 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11211 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxRegion
*arg1
= (wxRegion
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 PyObject
* obj3
= 0 ;
11233 PyObject
* obj4
= 0 ;
11234 char * kwnames
[] = {
11235 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11240 if (!SWIG_IsOK(res1
)) {
11241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11243 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11245 if (!SWIG_IsOK(ecode2
)) {
11246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11248 arg2
= static_cast< int >(val2
);
11249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11250 if (!SWIG_IsOK(ecode3
)) {
11251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11253 arg3
= static_cast< int >(val3
);
11254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11255 if (!SWIG_IsOK(ecode4
)) {
11256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11258 arg4
= static_cast< int >(val4
);
11259 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11260 if (!SWIG_IsOK(ecode5
)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11263 arg5
= static_cast< int >(val5
);
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11279 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= 0;
11281 wxRegion
*arg1
= (wxRegion
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "self",(char *) "rect", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11298 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11318 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
= 0;
11320 wxRegion
*arg1
= (wxRegion
*) 0 ;
11321 wxRegion
*arg2
= 0 ;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 char * kwnames
[] = {
11330 (char *) "self",(char *) "region", NULL
11333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11335 if (!SWIG_IsOK(res1
)) {
11336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11338 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11340 if (!SWIG_IsOK(res2
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11346 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11362 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
= 0;
11364 wxRegion
*arg1
= (wxRegion
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 PyObject
* obj3
= 0 ;
11384 PyObject
* obj4
= 0 ;
11385 char * kwnames
[] = {
11386 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11391 if (!SWIG_IsOK(res1
)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11394 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11396 if (!SWIG_IsOK(ecode2
)) {
11397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11399 arg2
= static_cast< int >(val2
);
11400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11401 if (!SWIG_IsOK(ecode3
)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11404 arg3
= static_cast< int >(val3
);
11405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11406 if (!SWIG_IsOK(ecode4
)) {
11407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11409 arg4
= static_cast< int >(val4
);
11410 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11411 if (!SWIG_IsOK(ecode5
)) {
11412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11414 arg5
= static_cast< int >(val5
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11430 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
= 0;
11432 wxRegion
*arg1
= (wxRegion
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char * kwnames
[] = {
11441 (char *) "self",(char *) "rect", NULL
11444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11449 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11452 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11469 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
= 0;
11471 wxRegion
*arg1
= (wxRegion
*) 0 ;
11472 wxRegion
*arg2
= 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char * kwnames
[] = {
11481 (char *) "self",(char *) "region", NULL
11484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11486 if (!SWIG_IsOK(res1
)) {
11487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11489 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11491 if (!SWIG_IsOK(res2
)) {
11492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11497 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11513 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11514 PyObject
*resultobj
= 0;
11515 wxRegion
*arg1
= (wxRegion
*) 0 ;
11516 SwigValueWrapper
<wxBitmap
> result
;
11519 PyObject
*swig_obj
[1] ;
11521 if (!args
) SWIG_fail
;
11522 swig_obj
[0] = args
;
11523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11527 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (arg1
)->ConvertToBitmap();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11541 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
= 0;
11543 wxRegion
*arg1
= (wxRegion
*) 0 ;
11544 wxBitmap
*arg2
= 0 ;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 char * kwnames
[] = {
11553 (char *) "self",(char *) "bmp", NULL
11556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11558 if (!SWIG_IsOK(res1
)) {
11559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11561 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11563 if (!SWIG_IsOK(res2
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11569 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11585 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
= 0;
11587 wxRegion
*arg1
= (wxRegion
*) 0 ;
11588 wxBitmap
*arg2
= 0 ;
11589 wxColour
*arg3
= 0 ;
11590 int arg4
= (int) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 PyObject
* obj2
= 0 ;
11602 PyObject
* obj3
= 0 ;
11603 char * kwnames
[] = {
11604 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11609 if (!SWIG_IsOK(res1
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11612 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11614 if (!SWIG_IsOK(res2
)) {
11615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11620 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11623 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11627 if (!SWIG_IsOK(ecode4
)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11630 arg4
= static_cast< int >(val4
);
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11647 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11650 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11651 return SWIG_Py_Void();
11654 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 return SWIG_Python_InitShadowInstance(args
);
11658 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
= 0;
11660 wxRegion
*arg1
= 0 ;
11661 wxRegionIterator
*result
= 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char * kwnames
[] = {
11666 (char *) "region", NULL
11669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11670 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11671 if (!SWIG_IsOK(res1
)) {
11672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11677 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11679 if (!wxPyCheckForApp()) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11692 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 PyObject
*resultobj
= 0;
11694 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11697 PyObject
*swig_obj
[1] ;
11699 if (!args
) SWIG_fail
;
11700 swig_obj
[0] = args
;
11701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11702 if (!SWIG_IsOK(res1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11705 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_Py_Void();
11720 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11734 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (int)(arg1
)->GetX();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11754 PyObject
*swig_obj
[1] ;
11756 if (!args
) SWIG_fail
;
11757 swig_obj
[0] = args
;
11758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11762 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (int)(arg1
)->GetY();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_From_int(static_cast< int >(result
));
11776 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 PyObject
*resultobj
= 0;
11778 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11782 PyObject
*swig_obj
[1] ;
11784 if (!args
) SWIG_fail
;
11785 swig_obj
[0] = args
;
11786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11787 if (!SWIG_IsOK(res1
)) {
11788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11790 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)(arg1
)->GetW();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= SWIG_From_int(static_cast< int >(result
));
11804 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11805 PyObject
*resultobj
= 0;
11806 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11810 PyObject
*swig_obj
[1] ;
11812 if (!args
) SWIG_fail
;
11813 swig_obj
[0] = args
;
11814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11818 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (int)(arg1
)->GetWidth();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_From_int(static_cast< int >(result
));
11832 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11833 PyObject
*resultobj
= 0;
11834 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11838 PyObject
*swig_obj
[1] ;
11840 if (!args
) SWIG_fail
;
11841 swig_obj
[0] = args
;
11842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11846 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (int)(arg1
)->GetH();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_From_int(static_cast< int >(result
));
11860 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 PyObject
*resultobj
= 0;
11862 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11866 PyObject
*swig_obj
[1] ;
11868 if (!args
) SWIG_fail
;
11869 swig_obj
[0] = args
;
11870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11871 if (!SWIG_IsOK(res1
)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11874 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (int)(arg1
)->GetHeight();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_From_int(static_cast< int >(result
));
11888 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11894 PyObject
*swig_obj
[1] ;
11896 if (!args
) SWIG_fail
;
11897 swig_obj
[0] = args
;
11898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11902 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (arg1
)->GetRect();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11916 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11917 PyObject
*resultobj
= 0;
11918 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11922 PyObject
*swig_obj
[1] ;
11924 if (!args
) SWIG_fail
;
11925 swig_obj
[0] = args
;
11926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11927 if (!SWIG_IsOK(res1
)) {
11928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11930 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (bool)(arg1
)->HaveRects();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11946 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11947 PyObject
*resultobj
= 0;
11948 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11951 PyObject
*swig_obj
[1] ;
11953 if (!args
) SWIG_fail
;
11954 swig_obj
[0] = args
;
11955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11959 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_Py_Void();
11973 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 PyObject
*resultobj
= 0;
11975 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11986 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 wxRegionIterator_Next(arg1
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_Py_Void();
12000 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12001 PyObject
*resultobj
= 0;
12002 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12006 PyObject
*swig_obj
[1] ;
12008 if (!args
) SWIG_fail
;
12009 swig_obj
[0] = args
;
12010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12014 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12030 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12033 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12034 return SWIG_Py_Void();
12037 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 return SWIG_Python_InitShadowInstance(args
);
12041 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12042 PyObject
*resultobj
= 0;
12043 wxNativeFontInfo
*result
= 0 ;
12045 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12059 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12060 PyObject
*resultobj
= 0;
12061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12072 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_Py_Void();
12087 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12100 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_Py_Void();
12114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "font", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12133 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12135 if (!SWIG_IsOK(res2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12141 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_Py_Void();
12155 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 PyObject
*resultobj
= 0;
12157 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12161 PyObject
*swig_obj
[1] ;
12163 if (!args
) SWIG_fail
;
12164 swig_obj
[0] = args
;
12165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12169 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_From_int(static_cast< int >(result
));
12183 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12186 wxFontStyle result
;
12189 PyObject
*swig_obj
[1] ;
12191 if (!args
) SWIG_fail
;
12192 swig_obj
[0] = args
;
12193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12197 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_From_int(static_cast< int >(result
));
12211 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12212 PyObject
*resultobj
= 0;
12213 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12214 wxFontWeight result
;
12217 PyObject
*swig_obj
[1] ;
12219 if (!args
) SWIG_fail
;
12220 swig_obj
[0] = args
;
12221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12222 if (!SWIG_IsOK(res1
)) {
12223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12225 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_From_int(static_cast< int >(result
));
12239 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12253 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12283 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12303 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12306 wxFontFamily result
;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12317 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_From_int(static_cast< int >(result
));
12331 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12334 wxFontEncoding result
;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12345 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_From_int(static_cast< int >(result
));
12359 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
= 0;
12361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char * kwnames
[] = {
12370 (char *) "self",(char *) "pointsize", NULL
12373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12375 if (!SWIG_IsOK(res1
)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12378 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12380 if (!SWIG_IsOK(ecode2
)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12383 arg2
= static_cast< int >(val2
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->SetPointSize(arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "style", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12416 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12421 arg2
= static_cast< wxFontStyle
>(val2
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetStyle(arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_Py_Void();
12435 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12438 wxFontWeight arg2
;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "weight", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12454 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12456 if (!SWIG_IsOK(ecode2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12459 arg2
= static_cast< wxFontWeight
>(val2
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetWeight(arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
= 0;
12475 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "self",(char *) "underlined", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12492 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12493 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12494 if (!SWIG_IsOK(ecode2
)) {
12495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12497 arg2
= static_cast< bool >(val2
);
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->SetUnderlined(arg2
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_Py_Void();
12511 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
= 0;
12513 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 char * kwnames
[] = {
12521 (char *) "self",(char *) "facename", NULL
12524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12529 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12531 wxString
* sptr
= wxString_in_helper(obj1
);
12532 if (sptr
== NULL
) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (bool)(arg1
)->SetFaceName(arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12551 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
= 0;
12553 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12554 wxFontFamily arg2
;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "self",(char *) "family", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12570 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12572 if (!SWIG_IsOK(ecode2
)) {
12573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12575 arg2
= static_cast< wxFontFamily
>(val2
);
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->SetFamily(arg2
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= SWIG_Py_Void();
12589 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
= 0;
12591 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12592 wxFontEncoding arg2
;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 char * kwnames
[] = {
12600 (char *) "self",(char *) "encoding", NULL
12603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12605 if (!SWIG_IsOK(res1
)) {
12606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12608 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12610 if (!SWIG_IsOK(ecode2
)) {
12611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12613 arg2
= static_cast< wxFontEncoding
>(val2
);
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 (arg1
)->SetEncoding(arg2
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= SWIG_Py_Void();
12627 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
= 0;
12629 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12630 wxString
*arg2
= 0 ;
12634 bool temp2
= false ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 char * kwnames
[] = {
12638 (char *) "self",(char *) "s", NULL
12641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12646 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12648 arg2
= wxString_in_helper(obj1
);
12649 if (arg2
== NULL
) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12675 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12676 PyObject
*resultobj
= 0;
12677 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12681 PyObject
*swig_obj
[1] ;
12683 if (!args
) SWIG_fail
;
12684 swig_obj
[0] = args
;
12685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12686 if (!SWIG_IsOK(res1
)) {
12687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12689 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12709 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12710 PyObject
*resultobj
= 0;
12711 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12715 PyObject
*swig_obj
[1] ;
12717 if (!args
) SWIG_fail
;
12718 swig_obj
[0] = args
;
12719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12723 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= wxNativeFontInfo___str__(arg1
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12743 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12746 wxString
*arg2
= 0 ;
12750 bool temp2
= false ;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 char * kwnames
[] = {
12754 (char *) "self",(char *) "s", NULL
12757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12759 if (!SWIG_IsOK(res1
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12762 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12764 arg2
= wxString_in_helper(obj1
);
12765 if (arg2
== NULL
) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12791 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12792 PyObject
*resultobj
= 0;
12793 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12797 PyObject
*swig_obj
[1] ;
12799 if (!args
) SWIG_fail
;
12800 swig_obj
[0] = args
;
12801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12805 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12825 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12828 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12829 return SWIG_Py_Void();
12832 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12833 return SWIG_Python_InitShadowInstance(args
);
12836 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12837 PyObject
*resultobj
= 0;
12838 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12839 wxString
*arg2
= (wxString
*) 0 ;
12842 bool temp2
= false ;
12843 PyObject
*swig_obj
[2] ;
12845 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12850 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12852 arg2
= wxString_in_helper(swig_obj
[1]);
12853 if (arg2
== NULL
) SWIG_fail
;
12856 if (arg1
) (arg1
)->facename
= *arg2
;
12858 resultobj
= SWIG_Py_Void();
12873 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12874 PyObject
*resultobj
= 0;
12875 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12876 wxString
*result
= 0 ;
12879 PyObject
*swig_obj
[1] ;
12881 if (!args
) SWIG_fail
;
12882 swig_obj
[0] = args
;
12883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12884 if (!SWIG_IsOK(res1
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12887 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12888 result
= (wxString
*)& ((arg1
)->facename
);
12891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12902 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12905 wxFontEncoding arg2
;
12910 PyObject
*swig_obj
[2] ;
12912 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12914 if (!SWIG_IsOK(res1
)) {
12915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12917 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12918 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12919 if (!SWIG_IsOK(ecode2
)) {
12920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12922 arg2
= static_cast< wxFontEncoding
>(val2
);
12923 if (arg1
) (arg1
)->encoding
= arg2
;
12925 resultobj
= SWIG_Py_Void();
12932 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12933 PyObject
*resultobj
= 0;
12934 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12935 wxFontEncoding result
;
12938 PyObject
*swig_obj
[1] ;
12940 if (!args
) SWIG_fail
;
12941 swig_obj
[0] = args
;
12942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12946 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12947 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12948 resultobj
= SWIG_From_int(static_cast< int >(result
));
12955 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12956 PyObject
*resultobj
= 0;
12957 wxNativeEncodingInfo
*result
= 0 ;
12959 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12973 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12978 PyObject
*swig_obj
[1] ;
12980 if (!args
) SWIG_fail
;
12981 swig_obj
[0] = args
;
12982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12983 if (!SWIG_IsOK(res1
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12986 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_Py_Void();
13001 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= 0;
13003 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13004 wxString
*arg2
= 0 ;
13008 bool temp2
= false ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "s", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13020 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13022 arg2
= wxString_in_helper(obj1
);
13023 if (arg2
== NULL
) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13049 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13050 PyObject
*resultobj
= 0;
13051 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13055 PyObject
*swig_obj
[1] ;
13057 if (!args
) SWIG_fail
;
13058 swig_obj
[0] = args
;
13059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13063 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13083 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13086 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13087 return SWIG_Py_Void();
13090 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13091 return SWIG_Python_InitShadowInstance(args
);
13094 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
= 0;
13096 wxFontEncoding arg1
;
13097 wxNativeEncodingInfo
*result
= 0 ;
13100 PyObject
* obj0
= 0 ;
13101 char * kwnames
[] = {
13102 (char *) "encoding", NULL
13105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13107 if (!SWIG_IsOK(ecode1
)) {
13108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13110 arg1
= static_cast< wxFontEncoding
>(val1
);
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13124 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
= 0;
13126 wxNativeEncodingInfo
*arg1
= 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "info", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13143 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13159 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13160 PyObject
*resultobj
= 0;
13161 wxFontMapper
*result
= 0 ;
13163 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (wxFontMapper
*)new wxFontMapper();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13177 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 PyObject
*resultobj
= 0;
13179 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13182 PyObject
*swig_obj
[1] ;
13184 if (!args
) SWIG_fail
;
13185 swig_obj
[0] = args
;
13186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13190 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= SWIG_Py_Void();
13205 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13206 PyObject
*resultobj
= 0;
13207 wxFontMapper
*result
= 0 ;
13209 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxFontMapper
*)wxFontMapper::Get();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13223 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
= 0;
13225 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13226 wxFontMapper
*result
= 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char * kwnames
[] = {
13231 (char *) "mapper", NULL
13234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13239 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13253 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13256 wxString
*arg2
= 0 ;
13257 bool arg3
= (bool) true ;
13258 wxFontEncoding result
;
13261 bool temp2
= false ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 PyObject
* obj2
= 0 ;
13267 char * kwnames
[] = {
13268 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13273 if (!SWIG_IsOK(res1
)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13276 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13278 arg2
= wxString_in_helper(obj1
);
13279 if (arg2
== NULL
) SWIG_fail
;
13283 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13284 if (!SWIG_IsOK(ecode3
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13287 arg3
= static_cast< bool >(val3
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_From_int(static_cast< int >(result
));
13310 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13314 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13328 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
= 0;
13331 wxFontEncoding result
;
13334 PyObject
* obj0
= 0 ;
13335 char * kwnames
[] = {
13339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13340 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13341 if (!SWIG_IsOK(ecode1
)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13344 arg1
= static_cast< size_t >(val1
);
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_From_int(static_cast< int >(result
));
13358 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
= 0;
13360 wxFontEncoding arg1
;
13364 PyObject
* obj0
= 0 ;
13365 char * kwnames
[] = {
13366 (char *) "encoding", NULL
13369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13371 if (!SWIG_IsOK(ecode1
)) {
13372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13374 arg1
= static_cast< wxFontEncoding
>(val1
);
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= wxFontMapper::GetEncodingName(arg1
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13394 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= 0;
13396 wxFontEncoding arg1
;
13400 PyObject
* obj0
= 0 ;
13401 char * kwnames
[] = {
13402 (char *) "encoding", NULL
13405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13407 if (!SWIG_IsOK(ecode1
)) {
13408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13410 arg1
= static_cast< wxFontEncoding
>(val1
);
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= wxFontMapper::GetEncodingDescription(arg1
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13430 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
= 0;
13432 wxString
*arg1
= 0 ;
13433 wxFontEncoding result
;
13434 bool temp1
= false ;
13435 PyObject
* obj0
= 0 ;
13436 char * kwnames
[] = {
13437 (char *) "name", NULL
13440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13442 arg1
= wxString_in_helper(obj0
);
13443 if (arg1
== NULL
) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_From_int(static_cast< int >(result
));
13467 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
= 0;
13469 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13470 wxString
*arg2
= 0 ;
13473 bool temp2
= false ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "self",(char *) "prefix", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13485 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13487 arg2
= wxString_in_helper(obj1
);
13488 if (arg2
== NULL
) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_Py_Void();
13512 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13516 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= wxFontMapper::GetDefaultConfigPath();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13536 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= 0;
13538 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13539 wxFontEncoding arg2
;
13540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13542 bool arg4
= (bool) true ;
13543 PyObject
*result
= 0 ;
13548 bool temp3
= false ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 PyObject
* obj2
= 0 ;
13554 PyObject
* obj3
= 0 ;
13555 char * kwnames
[] = {
13556 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13564 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13566 if (!SWIG_IsOK(ecode2
)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13569 arg2
= static_cast< wxFontEncoding
>(val2
);
13572 arg3
= wxString_in_helper(obj2
);
13573 if (arg3
== NULL
) SWIG_fail
;
13578 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13579 if (!SWIG_IsOK(ecode4
)) {
13580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13582 arg4
= static_cast< bool >(val4
);
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= result
;
13605 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
= 0;
13607 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13608 wxFontEncoding arg2
;
13609 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13616 bool temp3
= false ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 PyObject
* obj2
= 0 ;
13620 char * kwnames
[] = {
13621 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13626 if (!SWIG_IsOK(res1
)) {
13627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13629 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13631 if (!SWIG_IsOK(ecode2
)) {
13632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13634 arg2
= static_cast< wxFontEncoding
>(val2
);
13637 arg3
= wxString_in_helper(obj2
);
13638 if (arg3
== NULL
) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13665 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
= 0;
13667 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13668 wxWindow
*arg2
= (wxWindow
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char * kwnames
[] = {
13676 (char *) "self",(char *) "parent", NULL
13679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13681 if (!SWIG_IsOK(res1
)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13684 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13686 if (!SWIG_IsOK(res2
)) {
13687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13689 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->SetDialogParent(arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= SWIG_Py_Void();
13703 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
= 0;
13705 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13706 wxString
*arg2
= 0 ;
13709 bool temp2
= false ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char * kwnames
[] = {
13713 (char *) "self",(char *) "title", NULL
13716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13718 if (!SWIG_IsOK(res1
)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13721 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13723 arg2
= wxString_in_helper(obj1
);
13724 if (arg2
== NULL
) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13751 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13752 return SWIG_Py_Void();
13755 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13756 return SWIG_Python_InitShadowInstance(args
);
13759 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13765 bool arg5
= (bool) false ;
13766 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13768 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13769 wxFont
*result
= 0 ;
13780 bool temp6
= false ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 PyObject
* obj3
= 0 ;
13787 PyObject
* obj4
= 0 ;
13788 PyObject
* obj5
= 0 ;
13789 PyObject
* obj6
= 0 ;
13790 char * kwnames
[] = {
13791 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13795 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13796 if (!SWIG_IsOK(ecode1
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13799 arg1
= static_cast< int >(val1
);
13800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13801 if (!SWIG_IsOK(ecode2
)) {
13802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13804 arg2
= static_cast< int >(val2
);
13805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13806 if (!SWIG_IsOK(ecode3
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13809 arg3
= static_cast< int >(val3
);
13810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13811 if (!SWIG_IsOK(ecode4
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13814 arg4
= static_cast< int >(val4
);
13816 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13817 if (!SWIG_IsOK(ecode5
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13820 arg5
= static_cast< bool >(val5
);
13824 arg6
= wxString_in_helper(obj5
);
13825 if (arg6
== NULL
) SWIG_fail
;
13830 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13831 if (!SWIG_IsOK(ecode7
)) {
13832 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13834 arg7
= static_cast< wxFontEncoding
>(val7
);
13837 if (!wxPyCheckForApp()) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13858 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13859 PyObject
*resultobj
= 0;
13860 wxFont
*arg1
= (wxFont
*) 0 ;
13863 PyObject
*swig_obj
[1] ;
13865 if (!args
) SWIG_fail
;
13866 swig_obj
[0] = args
;
13867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13871 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_Py_Void();
13886 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxNativeFontInfo
*arg1
= 0 ;
13889 wxFont
*result
= 0 ;
13892 PyObject
* obj0
= 0 ;
13893 char * kwnames
[] = {
13894 (char *) "info", NULL
13897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13898 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13905 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13907 if (!wxPyCheckForApp()) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13920 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
= 0;
13922 wxString
*arg1
= 0 ;
13923 wxFont
*result
= 0 ;
13924 bool temp1
= false ;
13925 PyObject
* obj0
= 0 ;
13926 char * kwnames
[] = {
13927 (char *) "info", NULL
13930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13932 arg1
= wxString_in_helper(obj0
);
13933 if (arg1
== NULL
) SWIG_fail
;
13937 if (!wxPyCheckForApp()) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13958 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
= 0;
13961 wxFontFamily arg2
;
13962 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13963 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13964 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13965 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13966 wxFont
*result
= 0 ;
13973 bool temp4
= false ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 PyObject
* obj2
= 0 ;
13979 PyObject
* obj3
= 0 ;
13980 PyObject
* obj4
= 0 ;
13981 char * kwnames
[] = {
13982 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13987 if (!SWIG_IsOK(ecode1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13990 arg1
= static_cast< int >(val1
);
13991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13992 if (!SWIG_IsOK(ecode2
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13995 arg2
= static_cast< wxFontFamily
>(val2
);
13997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13998 if (!SWIG_IsOK(ecode3
)) {
13999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14001 arg3
= static_cast< int >(val3
);
14005 arg4
= wxString_in_helper(obj3
);
14006 if (arg4
== NULL
) SWIG_fail
;
14011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14012 if (!SWIG_IsOK(ecode5
)) {
14013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14015 arg5
= static_cast< wxFontEncoding
>(val5
);
14018 if (!wxPyCheckForApp()) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14039 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
= 0;
14045 bool arg5
= (bool) false ;
14046 wxString
const &arg6_defvalue
= wxEmptyString
;
14047 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14048 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14049 wxFont
*result
= 0 ;
14059 bool temp6
= false ;
14062 PyObject
* obj0
= 0 ;
14063 PyObject
* obj1
= 0 ;
14064 PyObject
* obj2
= 0 ;
14065 PyObject
* obj3
= 0 ;
14066 PyObject
* obj4
= 0 ;
14067 PyObject
* obj5
= 0 ;
14068 PyObject
* obj6
= 0 ;
14069 char * kwnames
[] = {
14070 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14076 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14079 if (!SWIG_IsOK(ecode2
)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14082 arg2
= static_cast< int >(val2
);
14083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14084 if (!SWIG_IsOK(ecode3
)) {
14085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14087 arg3
= static_cast< int >(val3
);
14088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14089 if (!SWIG_IsOK(ecode4
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14092 arg4
= static_cast< int >(val4
);
14094 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14095 if (!SWIG_IsOK(ecode5
)) {
14096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14098 arg5
= static_cast< bool >(val5
);
14102 arg6
= wxString_in_helper(obj5
);
14103 if (arg6
== NULL
) SWIG_fail
;
14108 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14109 if (!SWIG_IsOK(ecode7
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14112 arg7
= static_cast< wxFontEncoding
>(val7
);
14115 if (!wxPyCheckForApp()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14136 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
= 0;
14139 wxFontFamily arg2
;
14140 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14141 wxString
const &arg4_defvalue
= wxEmptyString
;
14142 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14143 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14144 wxFont
*result
= 0 ;
14150 bool temp4
= false ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 PyObject
* obj2
= 0 ;
14156 PyObject
* obj3
= 0 ;
14157 PyObject
* obj4
= 0 ;
14158 char * kwnames
[] = {
14159 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14165 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14168 if (!SWIG_IsOK(ecode2
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14171 arg2
= static_cast< wxFontFamily
>(val2
);
14173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14174 if (!SWIG_IsOK(ecode3
)) {
14175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14177 arg3
= static_cast< int >(val3
);
14181 arg4
= wxString_in_helper(obj3
);
14182 if (arg4
== NULL
) SWIG_fail
;
14187 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14188 if (!SWIG_IsOK(ecode5
)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14191 arg5
= static_cast< wxFontEncoding
>(val5
);
14194 if (!wxPyCheckForApp()) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14215 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14216 PyObject
*resultobj
= 0;
14217 wxFont
*arg1
= (wxFont
*) 0 ;
14221 PyObject
*swig_obj
[1] ;
14223 if (!args
) SWIG_fail
;
14224 swig_obj
[0] = args
;
14225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14229 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14245 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
= 0;
14247 wxFont
*arg1
= (wxFont
*) 0 ;
14248 wxFont
*arg2
= (wxFont
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char * kwnames
[] = {
14257 (char *) "self",(char *) "other", NULL
14260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14265 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14267 if (!SWIG_IsOK(res2
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14270 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14286 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
= 0;
14288 wxFont
*arg1
= (wxFont
*) 0 ;
14289 wxFont
*arg2
= (wxFont
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 char * kwnames
[] = {
14298 (char *) "self",(char *) "other", NULL
14301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14303 if (!SWIG_IsOK(res1
)) {
14304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14306 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14308 if (!SWIG_IsOK(res2
)) {
14309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14311 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14327 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14328 PyObject
*resultobj
= 0;
14329 wxFont
*arg1
= (wxFont
*) 0 ;
14333 PyObject
*swig_obj
[1] ;
14335 if (!args
) SWIG_fail
;
14336 swig_obj
[0] = args
;
14337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14338 if (!SWIG_IsOK(res1
)) {
14339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14341 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_From_int(static_cast< int >(result
));
14355 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14356 PyObject
*resultobj
= 0;
14357 wxFont
*arg1
= (wxFont
*) 0 ;
14361 PyObject
*swig_obj
[1] ;
14363 if (!args
) SWIG_fail
;
14364 swig_obj
[0] = args
;
14365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14366 if (!SWIG_IsOK(res1
)) {
14367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14369 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14383 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14384 PyObject
*resultobj
= 0;
14385 wxFont
*arg1
= (wxFont
*) 0 ;
14389 PyObject
*swig_obj
[1] ;
14391 if (!args
) SWIG_fail
;
14392 swig_obj
[0] = args
;
14393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14394 if (!SWIG_IsOK(res1
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14397 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14413 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14414 PyObject
*resultobj
= 0;
14415 wxFont
*arg1
= (wxFont
*) 0 ;
14419 PyObject
*swig_obj
[1] ;
14421 if (!args
) SWIG_fail
;
14422 swig_obj
[0] = args
;
14423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14424 if (!SWIG_IsOK(res1
)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14427 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= SWIG_From_int(static_cast< int >(result
));
14441 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14442 PyObject
*resultobj
= 0;
14443 wxFont
*arg1
= (wxFont
*) 0 ;
14447 PyObject
*swig_obj
[1] ;
14449 if (!args
) SWIG_fail
;
14450 swig_obj
[0] = args
;
14451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14452 if (!SWIG_IsOK(res1
)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14455 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_From_int(static_cast< int >(result
));
14469 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14470 PyObject
*resultobj
= 0;
14471 wxFont
*arg1
= (wxFont
*) 0 ;
14475 PyObject
*swig_obj
[1] ;
14477 if (!args
) SWIG_fail
;
14478 swig_obj
[0] = args
;
14479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14480 if (!SWIG_IsOK(res1
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14483 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_From_int(static_cast< int >(result
));
14497 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14498 PyObject
*resultobj
= 0;
14499 wxFont
*arg1
= (wxFont
*) 0 ;
14503 PyObject
*swig_obj
[1] ;
14505 if (!args
) SWIG_fail
;
14506 swig_obj
[0] = args
;
14507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14508 if (!SWIG_IsOK(res1
)) {
14509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14511 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14528 PyObject
*resultobj
= 0;
14529 wxFont
*arg1
= (wxFont
*) 0 ;
14533 PyObject
*swig_obj
[1] ;
14535 if (!args
) SWIG_fail
;
14536 swig_obj
[0] = args
;
14537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14538 if (!SWIG_IsOK(res1
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14541 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= ((wxFont
const *)arg1
)->GetFaceName();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14561 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14562 PyObject
*resultobj
= 0;
14563 wxFont
*arg1
= (wxFont
*) 0 ;
14564 wxFontEncoding result
;
14567 PyObject
*swig_obj
[1] ;
14569 if (!args
) SWIG_fail
;
14570 swig_obj
[0] = args
;
14571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14575 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_From_int(static_cast< int >(result
));
14589 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxFont
*arg1
= (wxFont
*) 0 ;
14592 wxNativeFontInfo
*result
= 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14603 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14617 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 PyObject
*resultobj
= 0;
14619 wxFont
*arg1
= (wxFont
*) 0 ;
14623 PyObject
*swig_obj
[1] ;
14625 if (!args
) SWIG_fail
;
14626 swig_obj
[0] = args
;
14627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14647 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14648 PyObject
*resultobj
= 0;
14649 wxFont
*arg1
= (wxFont
*) 0 ;
14653 PyObject
*swig_obj
[1] ;
14655 if (!args
) SWIG_fail
;
14656 swig_obj
[0] = args
;
14657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14658 if (!SWIG_IsOK(res1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14661 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14681 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 PyObject
*resultobj
= 0;
14683 wxFont
*arg1
= (wxFont
*) 0 ;
14687 PyObject
*swig_obj
[1] ;
14689 if (!args
) SWIG_fail
;
14690 swig_obj
[0] = args
;
14691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14695 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14715 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
= 0;
14717 wxFont
*arg1
= (wxFont
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char * kwnames
[] = {
14726 (char *) "self",(char *) "pointSize", NULL
14729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14731 if (!SWIG_IsOK(res1
)) {
14732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14734 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14736 if (!SWIG_IsOK(ecode2
)) {
14737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14739 arg2
= static_cast< int >(val2
);
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->SetPointSize(arg2
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_Py_Void();
14753 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
= 0;
14755 wxFont
*arg1
= (wxFont
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char * kwnames
[] = {
14763 (char *) "self",(char *) "pixelSize", NULL
14766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14771 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_Py_Void();
14789 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxFont
*arg1
= (wxFont
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char * kwnames
[] = {
14800 (char *) "self",(char *) "family", NULL
14803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14808 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14810 if (!SWIG_IsOK(ecode2
)) {
14811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14813 arg2
= static_cast< int >(val2
);
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 (arg1
)->SetFamily(arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_Py_Void();
14827 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
= 0;
14829 wxFont
*arg1
= (wxFont
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 PyObject
* obj1
= 0 ;
14837 char * kwnames
[] = {
14838 (char *) "self",(char *) "style", NULL
14841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14846 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14848 if (!SWIG_IsOK(ecode2
)) {
14849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14851 arg2
= static_cast< int >(val2
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->SetStyle(arg2
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_Py_Void();
14865 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxFont
*arg1
= (wxFont
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "self",(char *) "weight", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14884 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14886 if (!SWIG_IsOK(ecode2
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14889 arg2
= static_cast< int >(val2
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->SetWeight(arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxFont
*arg1
= (wxFont
*) 0 ;
14906 wxString
*arg2
= 0 ;
14910 bool temp2
= false ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "faceName", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14922 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14924 arg2
= wxString_in_helper(obj1
);
14925 if (arg2
== NULL
) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= 0;
14953 wxFont
*arg1
= (wxFont
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char * kwnames
[] = {
14962 (char *) "self",(char *) "underlined", NULL
14965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14970 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14971 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14972 if (!SWIG_IsOK(ecode2
)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14975 arg2
= static_cast< bool >(val2
);
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 (arg1
)->SetUnderlined(arg2
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_Py_Void();
14989 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
= 0;
14991 wxFont
*arg1
= (wxFont
*) 0 ;
14992 wxFontEncoding arg2
;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char * kwnames
[] = {
15000 (char *) "self",(char *) "encoding", NULL
15003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15005 if (!SWIG_IsOK(res1
)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15008 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15010 if (!SWIG_IsOK(ecode2
)) {
15011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15013 arg2
= static_cast< wxFontEncoding
>(val2
);
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 (arg1
)->SetEncoding(arg2
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_Py_Void();
15027 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
= 0;
15029 wxFont
*arg1
= (wxFont
*) 0 ;
15030 wxNativeFontInfo
*arg2
= 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char * kwnames
[] = {
15038 (char *) "self",(char *) "info", NULL
15041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15043 if (!SWIG_IsOK(res1
)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15046 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15048 if (!SWIG_IsOK(res2
)) {
15049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15054 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_Py_Void();
15068 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
= 0;
15070 wxFont
*arg1
= (wxFont
*) 0 ;
15071 wxString
*arg2
= 0 ;
15075 bool temp2
= false ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char * kwnames
[] = {
15079 (char *) "self",(char *) "info", NULL
15082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15087 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15089 arg2
= wxString_in_helper(obj1
);
15090 if (arg2
== NULL
) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15116 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= 0;
15118 wxFont
*arg1
= (wxFont
*) 0 ;
15119 wxString
*arg2
= 0 ;
15123 bool temp2
= false ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 char * kwnames
[] = {
15127 (char *) "self",(char *) "info", NULL
15130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15132 if (!SWIG_IsOK(res1
)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15135 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15137 arg2
= wxString_in_helper(obj1
);
15138 if (arg2
== NULL
) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15164 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15165 PyObject
*resultobj
= 0;
15166 wxFont
*arg1
= (wxFont
*) 0 ;
15170 PyObject
*swig_obj
[1] ;
15172 if (!args
) SWIG_fail
;
15173 swig_obj
[0] = args
;
15174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15178 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15198 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15199 PyObject
*resultobj
= 0;
15200 wxFont
*arg1
= (wxFont
*) 0 ;
15204 PyObject
*swig_obj
[1] ;
15206 if (!args
) SWIG_fail
;
15207 swig_obj
[0] = args
;
15208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15209 if (!SWIG_IsOK(res1
)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15212 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= ((wxFont
const *)arg1
)->GetStyleString();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15232 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15233 PyObject
*resultobj
= 0;
15234 wxFont
*arg1
= (wxFont
*) 0 ;
15238 PyObject
*swig_obj
[1] ;
15240 if (!args
) SWIG_fail
;
15241 swig_obj
[0] = args
;
15242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15243 if (!SWIG_IsOK(res1
)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15246 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= ((wxFont
const *)arg1
)->GetWeightString();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15266 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
= 0;
15268 wxFont
*arg1
= (wxFont
*) 0 ;
15269 bool arg2
= (bool) true ;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 char * kwnames
[] = {
15277 (char *) "self",(char *) "no", NULL
15280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15285 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15288 if (!SWIG_IsOK(ecode2
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15291 arg2
= static_cast< bool >(val2
);
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->SetNoAntiAliasing(arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= SWIG_Py_Void();
15306 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15307 PyObject
*resultobj
= 0;
15308 wxFont
*arg1
= (wxFont
*) 0 ;
15312 PyObject
*swig_obj
[1] ;
15314 if (!args
) SWIG_fail
;
15315 swig_obj
[0] = args
;
15316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15317 if (!SWIG_IsOK(res1
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15320 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15337 PyObject
*resultobj
= 0;
15338 wxFontEncoding result
;
15340 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15342 if (!wxPyCheckForApp()) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_From_int(static_cast< int >(result
));
15355 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
= 0;
15357 wxFontEncoding arg1
;
15360 PyObject
* obj0
= 0 ;
15361 char * kwnames
[] = {
15362 (char *) "encoding", NULL
15365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15367 if (!SWIG_IsOK(ecode1
)) {
15368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15370 arg1
= static_cast< wxFontEncoding
>(val1
);
15372 if (!wxPyCheckForApp()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 wxFont::SetDefaultEncoding(arg1
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_Py_Void();
15385 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15388 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15389 return SWIG_Py_Void();
15392 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 return SWIG_Python_InitShadowInstance(args
);
15396 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15397 PyObject
*resultobj
= 0;
15398 wxPyFontEnumerator
*result
= 0 ;
15400 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15402 if (!wxPyCheckForApp()) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15415 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15416 PyObject
*resultobj
= 0;
15417 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15420 PyObject
*swig_obj
[1] ;
15422 if (!args
) SWIG_fail
;
15423 swig_obj
[0] = args
;
15424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15425 if (!SWIG_IsOK(res1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15428 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= SWIG_Py_Void();
15443 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
= 0;
15445 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15446 PyObject
*arg2
= (PyObject
*) 0 ;
15447 PyObject
*arg3
= (PyObject
*) 0 ;
15448 int arg4
= (int) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 PyObject
* obj2
= 0 ;
15456 PyObject
* obj3
= 0 ;
15457 char * kwnames
[] = {
15458 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15463 if (!SWIG_IsOK(res1
)) {
15464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15466 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15471 if (!SWIG_IsOK(ecode4
)) {
15472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15474 arg4
= static_cast< int >(val4
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_Py_Void();
15489 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
= 0;
15491 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15492 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15493 bool arg3
= (bool) false ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 PyObject
* obj2
= 0 ;
15504 char * kwnames
[] = {
15505 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15510 if (!SWIG_IsOK(res1
)) {
15511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15513 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15516 if (!SWIG_IsOK(ecode2
)) {
15517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15519 arg2
= static_cast< wxFontEncoding
>(val2
);
15522 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15523 if (!SWIG_IsOK(ecode3
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15526 arg3
= static_cast< bool >(val3
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
= 0;
15545 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15551 bool temp2
= false ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "facename", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15563 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15566 arg2
= wxString_in_helper(obj1
);
15567 if (arg2
== NULL
) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15594 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15596 PyObject
*result
= 0 ;
15598 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
;
15612 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 PyObject
*resultobj
= 0;
15614 PyObject
*result
= 0 ;
15616 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
;
15630 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
= 0;
15632 wxString
*arg1
= 0 ;
15634 bool temp1
= false ;
15635 PyObject
* obj0
= 0 ;
15636 char * kwnames
[] = {
15637 (char *) "str", NULL
15640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15642 arg1
= wxString_in_helper(obj0
);
15643 if (arg1
== NULL
) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15669 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15672 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15673 return SWIG_Py_Void();
15676 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 return SWIG_Python_InitShadowInstance(args
);
15680 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 PyObject
*resultobj
= 0;
15682 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15688 PyObject
*swig_obj
[2] ;
15690 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15695 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15696 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15697 if (!SWIG_IsOK(ecode2
)) {
15698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15700 arg2
= static_cast< int >(val2
);
15701 if (arg1
) (arg1
)->Language
= arg2
;
15703 resultobj
= SWIG_Py_Void();
15710 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15711 PyObject
*resultobj
= 0;
15712 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15716 PyObject
*swig_obj
[1] ;
15718 if (!args
) SWIG_fail
;
15719 swig_obj
[0] = args
;
15720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15724 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15725 result
= (int) ((arg1
)->Language
);
15726 resultobj
= SWIG_From_int(static_cast< int >(result
));
15733 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15734 PyObject
*resultobj
= 0;
15735 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15736 wxString
*arg2
= (wxString
*) 0 ;
15739 bool temp2
= false ;
15740 PyObject
*swig_obj
[2] ;
15742 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15747 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15749 arg2
= wxString_in_helper(swig_obj
[1]);
15750 if (arg2
== NULL
) SWIG_fail
;
15753 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15755 resultobj
= SWIG_Py_Void();
15770 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15771 PyObject
*resultobj
= 0;
15772 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15773 wxString
*result
= 0 ;
15776 PyObject
*swig_obj
[1] ;
15778 if (!args
) SWIG_fail
;
15779 swig_obj
[0] = args
;
15780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15781 if (!SWIG_IsOK(res1
)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15784 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15785 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15788 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15790 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15799 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15800 PyObject
*resultobj
= 0;
15801 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15802 wxString
*arg2
= (wxString
*) 0 ;
15805 bool temp2
= false ;
15806 PyObject
*swig_obj
[2] ;
15808 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15813 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15815 arg2
= wxString_in_helper(swig_obj
[1]);
15816 if (arg2
== NULL
) SWIG_fail
;
15819 if (arg1
) (arg1
)->Description
= *arg2
;
15821 resultobj
= SWIG_Py_Void();
15836 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15839 wxString
*result
= 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15850 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15851 result
= (wxString
*)& ((arg1
)->Description
);
15854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15865 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15868 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15869 return SWIG_Py_Void();
15872 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= 0;
15874 int arg1
= (int) -1 ;
15875 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15876 wxLocale
*result
= 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 char * kwnames
[] = {
15884 (char *) "language",(char *) "flags", NULL
15887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15889 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15890 if (!SWIG_IsOK(ecode1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15893 arg1
= static_cast< int >(val1
);
15896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15900 arg2
= static_cast< int >(val2
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15915 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15916 PyObject
*resultobj
= 0;
15917 wxLocale
*arg1
= (wxLocale
*) 0 ;
15920 PyObject
*swig_obj
[1] ;
15922 if (!args
) SWIG_fail
;
15923 swig_obj
[0] = args
;
15924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15925 if (!SWIG_IsOK(res1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15928 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_Py_Void();
15943 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
= 0;
15945 wxLocale
*arg1
= (wxLocale
*) 0 ;
15946 wxString
*arg2
= 0 ;
15947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15949 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15950 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15951 bool arg5
= (bool) true ;
15952 bool arg6
= (bool) false ;
15956 bool temp2
= false ;
15957 bool temp3
= false ;
15958 bool temp4
= false ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 PyObject
* obj2
= 0 ;
15966 PyObject
* obj3
= 0 ;
15967 PyObject
* obj4
= 0 ;
15968 PyObject
* obj5
= 0 ;
15969 char * kwnames
[] = {
15970 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15975 if (!SWIG_IsOK(res1
)) {
15976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15978 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15980 arg2
= wxString_in_helper(obj1
);
15981 if (arg2
== NULL
) SWIG_fail
;
15986 arg3
= wxString_in_helper(obj2
);
15987 if (arg3
== NULL
) SWIG_fail
;
15993 arg4
= wxString_in_helper(obj3
);
15994 if (arg4
== NULL
) SWIG_fail
;
15999 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16000 if (!SWIG_IsOK(ecode5
)) {
16001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16003 arg5
= static_cast< bool >(val5
);
16006 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16007 if (!SWIG_IsOK(ecode6
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16010 arg6
= static_cast< bool >(val6
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16051 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
= 0;
16053 wxLocale
*arg1
= (wxLocale
*) 0 ;
16054 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16055 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char * kwnames
[] = {
16067 (char *) "self",(char *) "language",(char *) "flags", NULL
16070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16075 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16078 if (!SWIG_IsOK(ecode2
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16081 arg2
= static_cast< int >(val2
);
16084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16085 if (!SWIG_IsOK(ecode3
)) {
16086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16088 arg3
= static_cast< int >(val3
);
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 PyObject
*resultobj
= 0;
16109 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (int)wxLocale::GetSystemLanguage();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_From_int(static_cast< int >(result
));
16123 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16125 wxFontEncoding result
;
16127 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_From_int(static_cast< int >(result
));
16141 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 PyObject
*resultobj
= 0;
16145 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= wxLocale::GetSystemEncodingName();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16165 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 PyObject
*resultobj
= 0;
16167 wxLocale
*arg1
= (wxLocale
*) 0 ;
16171 PyObject
*swig_obj
[1] ;
16173 if (!args
) SWIG_fail
;
16174 swig_obj
[0] = args
;
16175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16179 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16196 PyObject
*resultobj
= 0;
16197 wxLocale
*arg1
= (wxLocale
*) 0 ;
16201 PyObject
*swig_obj
[1] ;
16203 if (!args
) SWIG_fail
;
16204 swig_obj
[0] = args
;
16205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16206 if (!SWIG_IsOK(res1
)) {
16207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16209 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= ((wxLocale
const *)arg1
)->GetLocale();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16229 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16230 PyObject
*resultobj
= 0;
16231 wxLocale
*arg1
= (wxLocale
*) 0 ;
16235 PyObject
*swig_obj
[1] ;
16237 if (!args
) SWIG_fail
;
16238 swig_obj
[0] = args
;
16239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16243 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_From_int(static_cast< int >(result
));
16257 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16258 PyObject
*resultobj
= 0;
16259 wxLocale
*arg1
= (wxLocale
*) 0 ;
16263 PyObject
*swig_obj
[1] ;
16265 if (!args
) SWIG_fail
;
16266 swig_obj
[0] = args
;
16267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16271 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= ((wxLocale
const *)arg1
)->GetSysName();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16291 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 wxLocale
*arg1
= (wxLocale
*) 0 ;
16297 PyObject
*swig_obj
[1] ;
16299 if (!args
) SWIG_fail
;
16300 swig_obj
[0] = args
;
16301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16302 if (!SWIG_IsOK(res1
)) {
16303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16305 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16325 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
= 0;
16327 wxString
*arg1
= 0 ;
16328 bool temp1
= false ;
16329 PyObject
* obj0
= 0 ;
16330 char * kwnames
[] = {
16331 (char *) "prefix", NULL
16334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16336 arg1
= wxString_in_helper(obj0
);
16337 if (arg1
== NULL
) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_Py_Void();
16361 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
= 0;
16363 wxLocale
*arg1
= (wxLocale
*) 0 ;
16364 wxString
*arg2
= 0 ;
16368 bool temp2
= false ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char * kwnames
[] = {
16372 (char *) "self",(char *) "szDomain", NULL
16375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16380 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16382 arg2
= wxString_in_helper(obj1
);
16383 if (arg2
== NULL
) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16409 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
= 0;
16415 PyObject
* obj0
= 0 ;
16416 char * kwnames
[] = {
16417 (char *) "lang", NULL
16420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16422 if (!SWIG_IsOK(ecode1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16425 arg1
= static_cast< int >(val1
);
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (bool)wxLocale::IsAvailable(arg1
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16441 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
= 0;
16443 wxLocale
*arg1
= (wxLocale
*) 0 ;
16444 wxString
*arg2
= 0 ;
16448 bool temp2
= false ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char * kwnames
[] = {
16452 (char *) "self",(char *) "szDomain", NULL
16455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16460 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16462 arg2
= wxString_in_helper(obj1
);
16463 if (arg2
== NULL
) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16489 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= 0;
16492 wxLanguageInfo
*result
= 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char * kwnames
[] = {
16497 (char *) "lang", NULL
16500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16502 if (!SWIG_IsOK(ecode1
)) {
16503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16505 arg1
= static_cast< int >(val1
);
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16519 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16525 PyObject
* obj0
= 0 ;
16526 char * kwnames
[] = {
16527 (char *) "lang", NULL
16530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16532 if (!SWIG_IsOK(ecode1
)) {
16533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16535 arg1
= static_cast< int >(val1
);
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= wxLocale::GetLanguageName(arg1
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16555 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
= 0;
16557 wxString
*arg1
= 0 ;
16558 wxLanguageInfo
*result
= 0 ;
16559 bool temp1
= false ;
16560 PyObject
* obj0
= 0 ;
16561 char * kwnames
[] = {
16562 (char *) "locale", NULL
16565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16567 arg1
= wxString_in_helper(obj0
);
16568 if (arg1
== NULL
) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16592 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
= 0;
16594 wxLanguageInfo
*arg1
= 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char * kwnames
[] = {
16599 (char *) "info", NULL
16602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16610 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_Py_Void();
16624 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
= 0;
16626 wxLocale
*arg1
= (wxLocale
*) 0 ;
16627 wxString
*arg2
= 0 ;
16628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16633 bool temp2
= false ;
16634 bool temp3
= false ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 PyObject
* obj2
= 0 ;
16638 char * kwnames
[] = {
16639 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16644 if (!SWIG_IsOK(res1
)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16647 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16649 arg2
= wxString_in_helper(obj1
);
16650 if (arg2
== NULL
) SWIG_fail
;
16655 arg3
= wxString_in_helper(obj2
);
16656 if (arg3
== NULL
) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16695 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16696 PyObject
*resultobj
= 0;
16697 wxLocale
*arg1
= (wxLocale
*) 0 ;
16698 wxString
*result
= 0 ;
16701 PyObject
*swig_obj
[1] ;
16703 if (!args
) SWIG_fail
;
16704 swig_obj
[0] = args
;
16705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16706 if (!SWIG_IsOK(res1
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16709 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16714 result
= (wxString
*) &_result_ref
;
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16723 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16732 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16735 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16736 return SWIG_Py_Void();
16739 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16740 return SWIG_Python_InitShadowInstance(args
);
16743 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
= 0;
16745 int arg1
= (int) -1 ;
16746 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16747 wxPyLocale
*result
= 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char * kwnames
[] = {
16755 (char *) "language",(char *) "flags", NULL
16758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16761 if (!SWIG_IsOK(ecode1
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16764 arg1
= static_cast< int >(val1
);
16767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16768 if (!SWIG_IsOK(ecode2
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16771 arg2
= static_cast< int >(val2
);
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16786 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16787 PyObject
*resultobj
= 0;
16788 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16791 PyObject
*swig_obj
[1] ;
16793 if (!args
) SWIG_fail
;
16794 swig_obj
[0] = args
;
16795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16799 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= SWIG_Py_Void();
16814 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= 0;
16816 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16817 PyObject
*arg2
= (PyObject
*) 0 ;
16818 PyObject
*arg3
= (PyObject
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 PyObject
* obj2
= 0 ;
16824 char * kwnames
[] = {
16825 (char *) "self",(char *) "self",(char *) "_class", NULL
16828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16833 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= SWIG_Py_Void();
16849 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
= 0;
16851 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16852 wxChar
*arg2
= (wxChar
*) 0 ;
16853 wxChar
*arg3
= (wxChar
*) NULL
;
16854 wxChar
*result
= 0 ;
16861 PyObject
* obj0
= 0 ;
16862 PyObject
* obj1
= 0 ;
16863 PyObject
* obj2
= 0 ;
16864 char * kwnames
[] = {
16865 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16870 if (!SWIG_IsOK(res1
)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16873 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16875 if (!SWIG_IsOK(res2
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16878 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16880 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16881 if (!SWIG_IsOK(res3
)) {
16882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16884 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16899 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
= 0;
16901 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16902 wxChar
*arg2
= (wxChar
*) 0 ;
16903 wxChar
*arg3
= (wxChar
*) 0 ;
16905 wxChar
*arg5
= (wxChar
*) NULL
;
16906 wxChar
*result
= 0 ;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 PyObject
* obj2
= 0 ;
16920 PyObject
* obj3
= 0 ;
16921 PyObject
* obj4
= 0 ;
16922 char * kwnames
[] = {
16923 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16928 if (!SWIG_IsOK(res1
)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16931 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16933 if (!SWIG_IsOK(res2
)) {
16934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16936 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16937 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16938 if (!SWIG_IsOK(res3
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16941 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16942 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16943 if (!SWIG_IsOK(ecode4
)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16946 arg4
= static_cast< size_t >(val4
);
16948 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16949 if (!SWIG_IsOK(res5
)) {
16950 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16952 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16967 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16971 return SWIG_Py_Void();
16974 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16975 return SWIG_Python_InitShadowInstance(args
);
16978 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16979 PyObject
*resultobj
= 0;
16980 wxLocale
*result
= 0 ;
16982 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (wxLocale
*)wxGetLocale();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16996 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16997 PyObject
*resultobj
= 0;
16998 wxString
*arg1
= 0 ;
17000 bool temp1
= false ;
17002 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17004 arg1
= wxString_in_helper(swig_obj
[0]);
17005 if (arg1
== NULL
) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= wxGetTranslation((wxString
const &)*arg1
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17035 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17036 PyObject
*resultobj
= 0;
17037 wxString
*arg1
= 0 ;
17038 wxString
*arg2
= 0 ;
17040 bool temp1
= false ;
17041 bool temp2
= false ;
17043 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17045 arg1
= wxString_in_helper(swig_obj
[0]);
17046 if (arg1
== NULL
) SWIG_fail
;
17050 arg2
= wxString_in_helper(swig_obj
[1]);
17051 if (arg2
== NULL
) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17089 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17090 PyObject
*resultobj
= 0;
17091 wxString
*arg1
= 0 ;
17092 wxString
*arg2
= 0 ;
17095 bool temp1
= false ;
17096 bool temp2
= false ;
17100 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17102 arg1
= wxString_in_helper(swig_obj
[0]);
17103 if (arg1
== NULL
) SWIG_fail
;
17107 arg2
= wxString_in_helper(swig_obj
[1]);
17108 if (arg2
== NULL
) SWIG_fail
;
17111 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17112 if (!SWIG_IsOK(ecode3
)) {
17113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17115 arg3
= static_cast< size_t >(val3
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17151 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17152 PyObject
*resultobj
= 0;
17153 wxString
*arg1
= 0 ;
17154 wxString
*arg2
= 0 ;
17156 wxString
*arg4
= 0 ;
17158 bool temp1
= false ;
17159 bool temp2
= false ;
17162 bool temp4
= false ;
17164 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17166 arg1
= wxString_in_helper(swig_obj
[0]);
17167 if (arg1
== NULL
) SWIG_fail
;
17171 arg2
= wxString_in_helper(swig_obj
[1]);
17172 if (arg2
== NULL
) SWIG_fail
;
17175 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17176 if (!SWIG_IsOK(ecode3
)) {
17177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17179 arg3
= static_cast< size_t >(val3
);
17181 arg4
= wxString_in_helper(swig_obj
[3]);
17182 if (arg4
== NULL
) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17228 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17232 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17235 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17238 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17241 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17244 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17248 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17253 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17254 PyObject
*resultobj
= 0;
17255 wxEncodingConverter
*result
= 0 ;
17257 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17271 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 PyObject
*resultobj
= 0;
17273 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17276 PyObject
*swig_obj
[1] ;
17278 if (!args
) SWIG_fail
;
17279 swig_obj
[0] = args
;
17280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17281 if (!SWIG_IsOK(res1
)) {
17282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17284 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= SWIG_Py_Void();
17299 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17302 wxFontEncoding arg2
;
17303 wxFontEncoding arg3
;
17304 int arg4
= (int) wxCONVERT_STRICT
;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 PyObject
* obj2
= 0 ;
17317 PyObject
* obj3
= 0 ;
17318 char * kwnames
[] = {
17319 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17324 if (!SWIG_IsOK(res1
)) {
17325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17327 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17329 if (!SWIG_IsOK(ecode2
)) {
17330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17332 arg2
= static_cast< wxFontEncoding
>(val2
);
17333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17334 if (!SWIG_IsOK(ecode3
)) {
17335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17337 arg3
= static_cast< wxFontEncoding
>(val3
);
17339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17340 if (!SWIG_IsOK(ecode4
)) {
17341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17343 arg4
= static_cast< int >(val4
);
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17360 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
= 0;
17362 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17363 wxString
*arg2
= 0 ;
17367 bool temp2
= false ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char * kwnames
[] = {
17371 (char *) "self",(char *) "input", NULL
17374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17376 if (!SWIG_IsOK(res1
)) {
17377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17379 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17381 arg2
= wxString_in_helper(obj1
);
17382 if (arg2
== NULL
) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17412 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
= 0;
17414 wxFontEncoding arg1
;
17415 int arg2
= (int) wxPLATFORM_CURRENT
;
17416 wxFontEncodingArray result
;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char * kwnames
[] = {
17424 (char *) "enc",(char *) "platform", NULL
17427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17429 if (!SWIG_IsOK(ecode1
)) {
17430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17432 arg1
= static_cast< wxFontEncoding
>(val1
);
17434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17435 if (!SWIG_IsOK(ecode2
)) {
17436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17438 arg2
= static_cast< int >(val2
);
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= PyList_New(0);
17448 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17449 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17450 PyList_Append(resultobj
, number
);
17460 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
= 0;
17462 wxFontEncoding arg1
;
17463 wxFontEncodingArray result
;
17466 PyObject
* obj0
= 0 ;
17467 char * kwnames
[] = {
17468 (char *) "enc", NULL
17471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17473 if (!SWIG_IsOK(ecode1
)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17476 arg1
= static_cast< wxFontEncoding
>(val1
);
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= PyList_New(0);
17485 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17486 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17487 PyList_Append(resultobj
, number
);
17497 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
= 0;
17499 wxFontEncoding arg1
;
17500 wxFontEncoding arg2
;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char * kwnames
[] = {
17509 (char *) "encIn",(char *) "encOut", NULL
17512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17514 if (!SWIG_IsOK(ecode1
)) {
17515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17517 arg1
= static_cast< wxFontEncoding
>(val1
);
17518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17519 if (!SWIG_IsOK(ecode2
)) {
17520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17522 arg2
= static_cast< wxFontEncoding
>(val2
);
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17538 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17541 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17542 return SWIG_Py_Void();
17545 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17546 return SWIG_Python_InitShadowInstance(args
);
17549 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17550 PyObject
*resultobj
= 0;
17551 wxDC
*arg1
= (wxDC
*) 0 ;
17554 PyObject
*swig_obj
[1] ;
17556 if (!args
) SWIG_fail
;
17557 swig_obj
[0] = args
;
17558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_Py_Void();
17577 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
= 0;
17579 wxDC
*arg1
= (wxDC
*) 0 ;
17582 wxColour
*arg4
= 0 ;
17583 int arg5
= (int) wxFLOOD_SURFACE
;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 PyObject
* obj4
= 0 ;
17599 char * kwnames
[] = {
17600 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17610 if (!SWIG_IsOK(ecode2
)) {
17611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17613 arg2
= static_cast< int >(val2
);
17614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17615 if (!SWIG_IsOK(ecode3
)) {
17616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17618 arg3
= static_cast< int >(val3
);
17621 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17625 if (!SWIG_IsOK(ecode5
)) {
17626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17628 arg5
= static_cast< int >(val5
);
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17645 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
= 0;
17647 wxDC
*arg1
= (wxDC
*) 0 ;
17648 wxPoint
*arg2
= 0 ;
17649 wxColour
*arg3
= 0 ;
17650 int arg4
= (int) wxFLOOD_SURFACE
;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 PyObject
* obj3
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17678 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17682 if (!SWIG_IsOK(ecode4
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17685 arg4
= static_cast< int >(val4
);
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17702 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
= 0;
17704 wxDC
*arg1
= (wxDC
*) 0 ;
17706 wxColour
*arg3
= 0 ;
17707 wxColour
*arg4
= 0 ;
17708 wxPoint
*arg5
= 0 ;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 PyObject
* obj2
= 0 ;
17718 PyObject
* obj3
= 0 ;
17719 PyObject
* obj4
= 0 ;
17720 char * kwnames
[] = {
17721 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17726 if (!SWIG_IsOK(res1
)) {
17727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17732 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17736 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17740 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_Py_Void();
17759 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
= 0;
17761 wxDC
*arg1
= (wxDC
*) 0 ;
17763 wxColour
*arg3
= 0 ;
17764 wxColour
*arg4
= 0 ;
17765 wxDirection arg5
= (wxDirection
) wxEAST
;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 PyObject
* obj3
= 0 ;
17777 PyObject
* obj4
= 0 ;
17778 char * kwnames
[] = {
17779 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17790 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17794 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17798 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17801 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17802 if (!SWIG_IsOK(ecode5
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17805 arg5
= static_cast< wxDirection
>(val5
);
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_Py_Void();
17820 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
= 0;
17822 wxDC
*arg1
= (wxDC
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 PyObject
* obj2
= 0 ;
17835 char * kwnames
[] = {
17836 (char *) "self",(char *) "x",(char *) "y", NULL
17839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17841 if (!SWIG_IsOK(res1
)) {
17842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17846 if (!SWIG_IsOK(ecode2
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17849 arg2
= static_cast< int >(val2
);
17850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17851 if (!SWIG_IsOK(ecode3
)) {
17852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17854 arg3
= static_cast< int >(val3
);
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17868 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= 0;
17870 wxDC
*arg1
= (wxDC
*) 0 ;
17871 wxPoint
*arg2
= 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char * kwnames
[] = {
17879 (char *) "self",(char *) "pt", NULL
17882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17905 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
= 0;
17907 wxDC
*arg1
= (wxDC
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 PyObject
* obj1
= 0 ;
17924 PyObject
* obj2
= 0 ;
17925 PyObject
* obj3
= 0 ;
17926 PyObject
* obj4
= 0 ;
17927 char * kwnames
[] = {
17928 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17933 if (!SWIG_IsOK(res1
)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17938 if (!SWIG_IsOK(ecode2
)) {
17939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17941 arg2
= static_cast< int >(val2
);
17942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17943 if (!SWIG_IsOK(ecode3
)) {
17944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17946 arg3
= static_cast< int >(val3
);
17947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17948 if (!SWIG_IsOK(ecode4
)) {
17949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17951 arg4
= static_cast< int >(val4
);
17952 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17953 if (!SWIG_IsOK(ecode5
)) {
17954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17956 arg5
= static_cast< int >(val5
);
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_Py_Void();
17970 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
= 0;
17972 wxDC
*arg1
= (wxDC
*) 0 ;
17973 wxPoint
*arg2
= 0 ;
17974 wxPoint
*arg3
= 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 PyObject
* obj2
= 0 ;
17982 char * kwnames
[] = {
17983 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_Py_Void();
18013 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
= 0;
18015 wxDC
*arg1
= (wxDC
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 PyObject
* obj2
= 0 ;
18027 char * kwnames
[] = {
18028 (char *) "self",(char *) "x",(char *) "y", NULL
18031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18038 if (!SWIG_IsOK(ecode2
)) {
18039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18041 arg2
= static_cast< int >(val2
);
18042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18043 if (!SWIG_IsOK(ecode3
)) {
18044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18046 arg3
= static_cast< int >(val3
);
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 (arg1
)->CrossHair(arg2
,arg3
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_Py_Void();
18060 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
= 0;
18062 wxDC
*arg1
= (wxDC
*) 0 ;
18063 wxPoint
*arg2
= 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char * kwnames
[] = {
18070 (char *) "self",(char *) "pt", NULL
18073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18075 if (!SWIG_IsOK(res1
)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 resultobj
= SWIG_Py_Void();
18096 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
= 0;
18098 wxDC
*arg1
= (wxDC
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 PyObject
* obj2
= 0 ;
18122 PyObject
* obj3
= 0 ;
18123 PyObject
* obj4
= 0 ;
18124 PyObject
* obj5
= 0 ;
18125 PyObject
* obj6
= 0 ;
18126 char * kwnames
[] = {
18127 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18132 if (!SWIG_IsOK(res1
)) {
18133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18137 if (!SWIG_IsOK(ecode2
)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18140 arg2
= static_cast< int >(val2
);
18141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18142 if (!SWIG_IsOK(ecode3
)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18145 arg3
= static_cast< int >(val3
);
18146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18147 if (!SWIG_IsOK(ecode4
)) {
18148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18150 arg4
= static_cast< int >(val4
);
18151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18152 if (!SWIG_IsOK(ecode5
)) {
18153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18155 arg5
= static_cast< int >(val5
);
18156 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18157 if (!SWIG_IsOK(ecode6
)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18160 arg6
= static_cast< int >(val6
);
18161 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18162 if (!SWIG_IsOK(ecode7
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18165 arg7
= static_cast< int >(val7
);
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= SWIG_Py_Void();
18179 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
= 0;
18181 wxDC
*arg1
= (wxDC
*) 0 ;
18182 wxPoint
*arg2
= 0 ;
18183 wxPoint
*arg3
= 0 ;
18184 wxPoint
*arg4
= 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 PyObject
* obj2
= 0 ;
18193 PyObject
* obj3
= 0 ;
18194 char * kwnames
[] = {
18195 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
= 0;
18231 wxDC
*arg1
= (wxDC
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 PyObject
* obj2
= 0 ;
18249 PyObject
* obj3
= 0 ;
18250 PyObject
* obj4
= 0 ;
18251 char * kwnames
[] = {
18252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18262 if (!SWIG_IsOK(ecode2
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18265 arg2
= static_cast< int >(val2
);
18266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18267 if (!SWIG_IsOK(ecode3
)) {
18268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18270 arg3
= static_cast< int >(val3
);
18271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18272 if (!SWIG_IsOK(ecode4
)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18275 arg4
= static_cast< int >(val4
);
18276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18277 if (!SWIG_IsOK(ecode5
)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18280 arg5
= static_cast< int >(val5
);
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_Py_Void();
18294 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
= 0;
18296 wxDC
*arg1
= (wxDC
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char * kwnames
[] = {
18304 (char *) "self",(char *) "rect", NULL
18307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18315 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= SWIG_Py_Void();
18330 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
= 0;
18332 wxDC
*arg1
= (wxDC
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 PyObject
* obj2
= 0 ;
18356 PyObject
* obj3
= 0 ;
18357 PyObject
* obj4
= 0 ;
18358 PyObject
* obj5
= 0 ;
18359 PyObject
* obj6
= 0 ;
18360 char * kwnames
[] = {
18361 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18371 if (!SWIG_IsOK(ecode2
)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18374 arg2
= static_cast< int >(val2
);
18375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18376 if (!SWIG_IsOK(ecode3
)) {
18377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18379 arg3
= static_cast< int >(val3
);
18380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18381 if (!SWIG_IsOK(ecode4
)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18384 arg4
= static_cast< int >(val4
);
18385 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18386 if (!SWIG_IsOK(ecode5
)) {
18387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18389 arg5
= static_cast< int >(val5
);
18390 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18391 if (!SWIG_IsOK(ecode6
)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18394 arg6
= static_cast< double >(val6
);
18395 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18396 if (!SWIG_IsOK(ecode7
)) {
18397 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18399 arg7
= static_cast< double >(val7
);
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_Py_Void();
18413 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
= 0;
18415 wxDC
*arg1
= (wxDC
*) 0 ;
18416 wxPoint
*arg2
= 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 PyObject
* obj3
= 0 ;
18432 PyObject
* obj4
= 0 ;
18433 char * kwnames
[] = {
18434 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18449 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18451 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18452 if (!SWIG_IsOK(ecode4
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18455 arg4
= static_cast< double >(val4
);
18456 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18457 if (!SWIG_IsOK(ecode5
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18460 arg5
= static_cast< double >(val5
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_Py_Void();
18474 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxDC
*arg1
= (wxDC
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 char * kwnames
[] = {
18489 (char *) "self",(char *) "x",(char *) "y", NULL
18492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18499 if (!SWIG_IsOK(ecode2
)) {
18500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18502 arg2
= static_cast< int >(val2
);
18503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18504 if (!SWIG_IsOK(ecode3
)) {
18505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18507 arg3
= static_cast< int >(val3
);
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->DrawPoint(arg2
,arg3
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_Py_Void();
18521 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
= 0;
18523 wxDC
*arg1
= (wxDC
*) 0 ;
18524 wxPoint
*arg2
= 0 ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "pt", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_Py_Void();
18557 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
= 0;
18559 wxDC
*arg1
= (wxDC
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 PyObject
* obj3
= 0 ;
18578 PyObject
* obj4
= 0 ;
18579 char * kwnames
[] = {
18580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18585 if (!SWIG_IsOK(res1
)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18590 if (!SWIG_IsOK(ecode2
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18593 arg2
= static_cast< int >(val2
);
18594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18595 if (!SWIG_IsOK(ecode3
)) {
18596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18598 arg3
= static_cast< int >(val3
);
18599 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18600 if (!SWIG_IsOK(ecode4
)) {
18601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18603 arg4
= static_cast< int >(val4
);
18604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18605 if (!SWIG_IsOK(ecode5
)) {
18606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18608 arg5
= static_cast< int >(val5
);
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_Py_Void();
18622 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
= 0;
18624 wxDC
*arg1
= (wxDC
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 char * kwnames
[] = {
18632 (char *) "self",(char *) "rect", NULL
18635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18637 if (!SWIG_IsOK(res1
)) {
18638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
= 0;
18660 wxDC
*arg1
= (wxDC
*) 0 ;
18661 wxPoint
*arg2
= 0 ;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18669 PyObject
* obj2
= 0 ;
18670 char * kwnames
[] = {
18671 (char *) "self",(char *) "pt",(char *) "sz", NULL
18674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18676 if (!SWIG_IsOK(res1
)) {
18677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18686 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_Py_Void();
18701 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
= 0;
18703 wxDC
*arg1
= (wxDC
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 PyObject
* obj2
= 0 ;
18724 PyObject
* obj3
= 0 ;
18725 PyObject
* obj4
= 0 ;
18726 PyObject
* obj5
= 0 ;
18727 char * kwnames
[] = {
18728 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18738 if (!SWIG_IsOK(ecode2
)) {
18739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18741 arg2
= static_cast< int >(val2
);
18742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18743 if (!SWIG_IsOK(ecode3
)) {
18744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18746 arg3
= static_cast< int >(val3
);
18747 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18748 if (!SWIG_IsOK(ecode4
)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18751 arg4
= static_cast< int >(val4
);
18752 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18753 if (!SWIG_IsOK(ecode5
)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18756 arg5
= static_cast< int >(val5
);
18757 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18758 if (!SWIG_IsOK(ecode6
)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18761 arg6
= static_cast< double >(val6
);
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxDC
*arg1
= (wxDC
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 char * kwnames
[] = {
18789 (char *) "self",(char *) "r",(char *) "radius", NULL
18792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18794 if (!SWIG_IsOK(res1
)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18800 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18802 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18803 if (!SWIG_IsOK(ecode3
)) {
18804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18806 arg3
= static_cast< double >(val3
);
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= SWIG_Py_Void();
18820 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
= 0;
18822 wxDC
*arg1
= (wxDC
*) 0 ;
18823 wxPoint
*arg2
= 0 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 PyObject
* obj2
= 0 ;
18835 PyObject
* obj3
= 0 ;
18836 char * kwnames
[] = {
18837 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18842 if (!SWIG_IsOK(res1
)) {
18843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18852 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18854 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18855 if (!SWIG_IsOK(ecode4
)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18858 arg4
= static_cast< double >(val4
);
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_Py_Void();
18872 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
= 0;
18874 wxDC
*arg1
= (wxDC
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 PyObject
* obj1
= 0 ;
18888 PyObject
* obj2
= 0 ;
18889 PyObject
* obj3
= 0 ;
18890 char * kwnames
[] = {
18891 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18896 if (!SWIG_IsOK(res1
)) {
18897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18901 if (!SWIG_IsOK(ecode2
)) {
18902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18904 arg2
= static_cast< int >(val2
);
18905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18906 if (!SWIG_IsOK(ecode3
)) {
18907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18909 arg3
= static_cast< int >(val3
);
18910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18911 if (!SWIG_IsOK(ecode4
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18914 arg4
= static_cast< int >(val4
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxDC
*arg1
= (wxDC
*) 0 ;
18931 wxPoint
*arg2
= 0 ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 PyObject
* obj2
= 0 ;
18941 char * kwnames
[] = {
18942 (char *) "self",(char *) "pt",(char *) "radius", NULL
18945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18956 if (!SWIG_IsOK(ecode3
)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18959 arg3
= static_cast< int >(val3
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18973 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxDC
*arg1
= (wxDC
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 PyObject
* obj2
= 0 ;
18993 PyObject
* obj3
= 0 ;
18994 PyObject
* obj4
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19006 if (!SWIG_IsOK(ecode2
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19009 arg2
= static_cast< int >(val2
);
19010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19011 if (!SWIG_IsOK(ecode3
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19014 arg3
= static_cast< int >(val3
);
19015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19016 if (!SWIG_IsOK(ecode4
)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19019 arg4
= static_cast< int >(val4
);
19020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19021 if (!SWIG_IsOK(ecode5
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19024 arg5
= static_cast< int >(val5
);
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_Py_Void();
19038 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
= 0;
19040 wxDC
*arg1
= (wxDC
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char * kwnames
[] = {
19048 (char *) "self",(char *) "rect", NULL
19051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19053 if (!SWIG_IsOK(res1
)) {
19054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19059 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= SWIG_Py_Void();
19074 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
= 0;
19076 wxDC
*arg1
= (wxDC
*) 0 ;
19077 wxPoint
*arg2
= 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 PyObject
* obj2
= 0 ;
19086 char * kwnames
[] = {
19087 (char *) "self",(char *) "pt",(char *) "sz", NULL
19090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19092 if (!SWIG_IsOK(res1
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19102 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_Py_Void();
19117 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
= 0;
19119 wxDC
*arg1
= (wxDC
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 PyObject
* obj2
= 0 ;
19134 PyObject
* obj3
= 0 ;
19135 char * kwnames
[] = {
19136 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19146 if (!SWIG_IsOK(res2
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19152 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19154 if (!SWIG_IsOK(ecode3
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19157 arg3
= static_cast< int >(val3
);
19158 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19159 if (!SWIG_IsOK(ecode4
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19162 arg4
= static_cast< int >(val4
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_Py_Void();
19176 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
= 0;
19178 wxDC
*arg1
= (wxDC
*) 0 ;
19180 wxPoint
*arg3
= 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 PyObject
* obj2
= 0 ;
19189 char * kwnames
[] = {
19190 (char *) "self",(char *) "icon",(char *) "pt", NULL
19193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19200 if (!SWIG_IsOK(res2
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19206 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_Py_Void();
19224 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
= 0;
19226 wxDC
*arg1
= (wxDC
*) 0 ;
19227 wxBitmap
*arg2
= 0 ;
19230 bool arg5
= (bool) false ;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 PyObject
* obj2
= 0 ;
19244 PyObject
* obj3
= 0 ;
19245 PyObject
* obj4
= 0 ;
19246 char * kwnames
[] = {
19247 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19252 if (!SWIG_IsOK(res1
)) {
19253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19257 if (!SWIG_IsOK(res2
)) {
19258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19265 if (!SWIG_IsOK(ecode3
)) {
19266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19268 arg3
= static_cast< int >(val3
);
19269 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19270 if (!SWIG_IsOK(ecode4
)) {
19271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19273 arg4
= static_cast< int >(val4
);
19275 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19276 if (!SWIG_IsOK(ecode5
)) {
19277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19279 arg5
= static_cast< bool >(val5
);
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_Py_Void();
19294 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
= 0;
19296 wxDC
*arg1
= (wxDC
*) 0 ;
19297 wxBitmap
*arg2
= 0 ;
19298 wxPoint
*arg3
= 0 ;
19299 bool arg4
= (bool) false ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 PyObject
* obj2
= 0 ;
19310 PyObject
* obj3
= 0 ;
19311 char * kwnames
[] = {
19312 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19317 if (!SWIG_IsOK(res1
)) {
19318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19322 if (!SWIG_IsOK(res2
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19334 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19335 if (!SWIG_IsOK(ecode4
)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19338 arg4
= static_cast< bool >(val4
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19356 wxString
*arg2
= 0 ;
19361 bool temp2
= false ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 PyObject
* obj2
= 0 ;
19369 PyObject
* obj3
= 0 ;
19370 char * kwnames
[] = {
19371 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19376 if (!SWIG_IsOK(res1
)) {
19377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19381 arg2
= wxString_in_helper(obj1
);
19382 if (arg2
== NULL
) SWIG_fail
;
19385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19386 if (!SWIG_IsOK(ecode3
)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19389 arg3
= static_cast< int >(val3
);
19390 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19391 if (!SWIG_IsOK(ecode4
)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19394 arg4
= static_cast< int >(val4
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_Py_Void();
19416 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
= 0;
19418 wxDC
*arg1
= (wxDC
*) 0 ;
19419 wxString
*arg2
= 0 ;
19420 wxPoint
*arg3
= 0 ;
19423 bool temp2
= false ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 PyObject
* obj2
= 0 ;
19428 char * kwnames
[] = {
19429 (char *) "self",(char *) "text",(char *) "pt", NULL
19432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19439 arg2
= wxString_in_helper(obj1
);
19440 if (arg2
== NULL
) SWIG_fail
;
19445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_Py_Void();
19468 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
= 0;
19470 wxDC
*arg1
= (wxDC
*) 0 ;
19471 wxString
*arg2
= 0 ;
19477 bool temp2
= false ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 PyObject
* obj2
= 0 ;
19487 PyObject
* obj3
= 0 ;
19488 PyObject
* obj4
= 0 ;
19489 char * kwnames
[] = {
19490 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19495 if (!SWIG_IsOK(res1
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19500 arg2
= wxString_in_helper(obj1
);
19501 if (arg2
== NULL
) SWIG_fail
;
19504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19505 if (!SWIG_IsOK(ecode3
)) {
19506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19508 arg3
= static_cast< int >(val3
);
19509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19510 if (!SWIG_IsOK(ecode4
)) {
19511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19513 arg4
= static_cast< int >(val4
);
19514 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19515 if (!SWIG_IsOK(ecode5
)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19518 arg5
= static_cast< double >(val5
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_Py_Void();
19540 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
= 0;
19542 wxDC
*arg1
= (wxDC
*) 0 ;
19543 wxString
*arg2
= 0 ;
19544 wxPoint
*arg3
= 0 ;
19548 bool temp2
= false ;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 PyObject
* obj2
= 0 ;
19555 PyObject
* obj3
= 0 ;
19556 char * kwnames
[] = {
19557 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19562 if (!SWIG_IsOK(res1
)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19567 arg2
= wxString_in_helper(obj1
);
19568 if (arg2
== NULL
) SWIG_fail
;
19573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19575 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19576 if (!SWIG_IsOK(ecode4
)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19579 arg4
= static_cast< double >(val4
);
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_Py_Void();
19601 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
= 0;
19603 wxDC
*arg1
= (wxDC
*) 0 ;
19608 wxDC
*arg6
= (wxDC
*) 0 ;
19611 int arg9
= (int) wxCOPY
;
19612 bool arg10
= (bool) false ;
19613 int arg11
= (int) -1 ;
19614 int arg12
= (int) -1 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 PyObject
* obj2
= 0 ;
19643 PyObject
* obj3
= 0 ;
19644 PyObject
* obj4
= 0 ;
19645 PyObject
* obj5
= 0 ;
19646 PyObject
* obj6
= 0 ;
19647 PyObject
* obj7
= 0 ;
19648 PyObject
* obj8
= 0 ;
19649 PyObject
* obj9
= 0 ;
19650 PyObject
* obj10
= 0 ;
19651 PyObject
* obj11
= 0 ;
19652 char * kwnames
[] = {
19653 (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
19656 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
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19663 if (!SWIG_IsOK(ecode2
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19666 arg2
= static_cast< int >(val2
);
19667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19668 if (!SWIG_IsOK(ecode3
)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19671 arg3
= static_cast< int >(val3
);
19672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19673 if (!SWIG_IsOK(ecode4
)) {
19674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19676 arg4
= static_cast< int >(val4
);
19677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19678 if (!SWIG_IsOK(ecode5
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19681 arg5
= static_cast< int >(val5
);
19682 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19683 if (!SWIG_IsOK(res6
)) {
19684 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19686 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19687 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19688 if (!SWIG_IsOK(ecode7
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19691 arg7
= static_cast< int >(val7
);
19692 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19693 if (!SWIG_IsOK(ecode8
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19696 arg8
= static_cast< int >(val8
);
19698 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19699 if (!SWIG_IsOK(ecode9
)) {
19700 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19702 arg9
= static_cast< int >(val9
);
19705 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19706 if (!SWIG_IsOK(ecode10
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19709 arg10
= static_cast< bool >(val10
);
19712 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19713 if (!SWIG_IsOK(ecode11
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19716 arg11
= static_cast< int >(val11
);
19719 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19720 if (!SWIG_IsOK(ecode12
)) {
19721 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19723 arg12
= static_cast< int >(val12
);
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19740 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 wxDC
*arg1
= (wxDC
*) 0 ;
19743 wxPoint
*arg2
= 0 ;
19745 wxDC
*arg4
= (wxDC
*) 0 ;
19746 wxPoint
*arg5
= 0 ;
19747 int arg6
= (int) wxCOPY
;
19748 bool arg7
= (bool) false ;
19749 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19750 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 PyObject
* obj2
= 0 ;
19767 PyObject
* obj3
= 0 ;
19768 PyObject
* obj4
= 0 ;
19769 PyObject
* obj5
= 0 ;
19770 PyObject
* obj6
= 0 ;
19771 PyObject
* obj7
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19788 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19790 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19791 if (!SWIG_IsOK(res4
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19794 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19800 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19801 if (!SWIG_IsOK(ecode6
)) {
19802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19804 arg6
= static_cast< int >(val6
);
19807 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19808 if (!SWIG_IsOK(ecode7
)) {
19809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19811 arg7
= static_cast< bool >(val7
);
19816 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19834 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
= 0;
19836 wxDC
*arg1
= (wxDC
*) 0 ;
19837 wxRect
*arg2
= (wxRect
*) NULL
;
19838 SwigValueWrapper
<wxBitmap
> result
;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char * kwnames
[] = {
19846 (char *) "self",(char *) "subrect", NULL
19849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19851 if (!SWIG_IsOK(res1
)) {
19852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19857 if (!SWIG_IsOK(res2
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19860 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19875 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
= 0;
19877 wxDC
*arg1
= (wxDC
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 PyObject
* obj2
= 0 ;
19895 PyObject
* obj3
= 0 ;
19896 PyObject
* obj4
= 0 ;
19897 char * kwnames
[] = {
19898 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19903 if (!SWIG_IsOK(res1
)) {
19904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19908 if (!SWIG_IsOK(ecode2
)) {
19909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19911 arg2
= static_cast< int >(val2
);
19912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19913 if (!SWIG_IsOK(ecode3
)) {
19914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19916 arg3
= static_cast< int >(val3
);
19917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19918 if (!SWIG_IsOK(ecode4
)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19921 arg4
= static_cast< int >(val4
);
19922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19923 if (!SWIG_IsOK(ecode5
)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19926 arg5
= static_cast< int >(val5
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_Py_Void();
19940 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= 0;
19942 wxDC
*arg1
= (wxDC
*) 0 ;
19943 wxPoint
*arg2
= 0 ;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 PyObject
* obj2
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "pt",(char *) "sz", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19968 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= SWIG_Py_Void();
19983 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
= 0;
19985 wxDC
*arg1
= (wxDC
*) 0 ;
19986 wxRegion
*arg2
= 0 ;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 char * kwnames
[] = {
19994 (char *) "self",(char *) "region", NULL
19997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19999 if (!SWIG_IsOK(res1
)) {
20000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20004 if (!SWIG_IsOK(res2
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20010 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_Py_Void();
20024 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
= 0;
20026 wxDC
*arg1
= (wxDC
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 char * kwnames
[] = {
20034 (char *) "self",(char *) "rect", NULL
20037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20039 if (!SWIG_IsOK(res1
)) {
20040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20045 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_Py_Void();
20060 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
= 0;
20062 wxDC
*arg1
= (wxDC
*) 0 ;
20064 wxPoint
*arg3
= (wxPoint
*) 0 ;
20065 int arg4
= (int) 0 ;
20066 int arg5
= (int) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 PyObject
* obj2
= 0 ;
20076 PyObject
* obj3
= 0 ;
20077 char * kwnames
[] = {
20078 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20083 if (!SWIG_IsOK(res1
)) {
20084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20088 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20089 if (arg3
== NULL
) SWIG_fail
;
20092 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20093 if (!SWIG_IsOK(ecode4
)) {
20094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20096 arg4
= static_cast< int >(val4
);
20099 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20100 if (!SWIG_IsOK(ecode5
)) {
20101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20103 arg5
= static_cast< int >(val5
);
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= SWIG_Py_Void();
20113 if (arg3
) delete [] arg3
;
20118 if (arg3
) delete [] arg3
;
20124 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
= 0;
20126 wxDC
*arg1
= (wxDC
*) 0 ;
20128 wxPoint
*arg3
= (wxPoint
*) 0 ;
20129 int arg4
= (int) 0 ;
20130 int arg5
= (int) 0 ;
20131 int arg6
= (int) wxODDEVEN_RULE
;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 PyObject
* obj2
= 0 ;
20143 PyObject
* obj3
= 0 ;
20144 PyObject
* obj4
= 0 ;
20145 char * kwnames
[] = {
20146 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20156 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20157 if (arg3
== NULL
) SWIG_fail
;
20160 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20161 if (!SWIG_IsOK(ecode4
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20164 arg4
= static_cast< int >(val4
);
20167 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20168 if (!SWIG_IsOK(ecode5
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20171 arg5
= static_cast< int >(val5
);
20174 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20175 if (!SWIG_IsOK(ecode6
)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20178 arg6
= static_cast< int >(val6
);
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= SWIG_Py_Void();
20188 if (arg3
) delete [] arg3
;
20193 if (arg3
) delete [] arg3
;
20199 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
= 0;
20201 wxDC
*arg1
= (wxDC
*) 0 ;
20202 wxString
*arg2
= 0 ;
20204 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20205 int arg5
= (int) -1 ;
20208 bool temp2
= false ;
20214 PyObject
* obj0
= 0 ;
20215 PyObject
* obj1
= 0 ;
20216 PyObject
* obj2
= 0 ;
20217 PyObject
* obj3
= 0 ;
20218 PyObject
* obj4
= 0 ;
20219 char * kwnames
[] = {
20220 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20225 if (!SWIG_IsOK(res1
)) {
20226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20230 arg2
= wxString_in_helper(obj1
);
20231 if (arg2
== NULL
) SWIG_fail
;
20236 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20240 if (!SWIG_IsOK(ecode4
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20243 arg4
= static_cast< int >(val4
);
20246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20247 if (!SWIG_IsOK(ecode5
)) {
20248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20250 arg5
= static_cast< int >(val5
);
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_Py_Void();
20273 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxDC
*arg1
= (wxDC
*) 0 ;
20276 wxString
*arg2
= 0 ;
20277 wxBitmap
*arg3
= 0 ;
20279 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20280 int arg6
= (int) -1 ;
20284 bool temp2
= false ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 PyObject
* obj2
= 0 ;
20295 PyObject
* obj3
= 0 ;
20296 PyObject
* obj4
= 0 ;
20297 PyObject
* obj5
= 0 ;
20298 char * kwnames
[] = {
20299 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20309 arg2
= wxString_in_helper(obj1
);
20310 if (arg2
== NULL
) SWIG_fail
;
20313 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20314 if (!SWIG_IsOK(res3
)) {
20315 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20320 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20323 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20327 if (!SWIG_IsOK(ecode5
)) {
20328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20330 arg5
= static_cast< int >(val5
);
20333 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20334 if (!SWIG_IsOK(ecode6
)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20337 arg6
= static_cast< int >(val6
);
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20360 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
= 0;
20362 wxDC
*arg1
= (wxDC
*) 0 ;
20364 wxPoint
*arg3
= (wxPoint
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char * kwnames
[] = {
20370 (char *) "self",(char *) "points", NULL
20373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20375 if (!SWIG_IsOK(res1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20380 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20381 if (arg3
== NULL
) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->DrawSpline(arg2
,arg3
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_Py_Void();
20391 if (arg3
) delete [] arg3
;
20396 if (arg3
) delete [] arg3
;
20402 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20403 PyObject
*resultobj
= 0;
20404 wxDC
*arg1
= (wxDC
*) 0 ;
20407 PyObject
*swig_obj
[1] ;
20409 if (!args
) SWIG_fail
;
20410 swig_obj
[0] = args
;
20411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20412 if (!SWIG_IsOK(res1
)) {
20413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= SWIG_Py_Void();
20429 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
= 0;
20431 wxDC
*arg1
= (wxDC
*) 0 ;
20432 wxString
*arg2
= 0 ;
20436 bool temp2
= false ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char * kwnames
[] = {
20440 (char *) "self",(char *) "message", NULL
20443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20450 arg2
= wxString_in_helper(obj1
);
20451 if (arg2
== NULL
) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20477 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20478 PyObject
*resultobj
= 0;
20479 wxDC
*arg1
= (wxDC
*) 0 ;
20482 PyObject
*swig_obj
[1] ;
20484 if (!args
) SWIG_fail
;
20485 swig_obj
[0] = args
;
20486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_Py_Void();
20504 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20505 PyObject
*resultobj
= 0;
20506 wxDC
*arg1
= (wxDC
*) 0 ;
20509 PyObject
*swig_obj
[1] ;
20511 if (!args
) SWIG_fail
;
20512 swig_obj
[0] = args
;
20513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 (arg1
)->StartPage();
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_Py_Void();
20531 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20532 PyObject
*resultobj
= 0;
20533 wxDC
*arg1
= (wxDC
*) 0 ;
20536 PyObject
*swig_obj
[1] ;
20538 if (!args
) SWIG_fail
;
20539 swig_obj
[0] = args
;
20540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20541 if (!SWIG_IsOK(res1
)) {
20542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_Py_Void();
20558 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
= 0;
20560 wxDC
*arg1
= (wxDC
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char * kwnames
[] = {
20569 (char *) "self",(char *) "font", NULL
20572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20574 if (!SWIG_IsOK(res1
)) {
20575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20579 if (!SWIG_IsOK(res2
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20585 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->SetFont((wxFont
const &)*arg2
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_Py_Void();
20599 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
= 0;
20601 wxDC
*arg1
= (wxDC
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char * kwnames
[] = {
20610 (char *) "self",(char *) "pen", NULL
20613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20615 if (!SWIG_IsOK(res1
)) {
20616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20620 if (!SWIG_IsOK(res2
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20626 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 (arg1
)->SetPen((wxPen
const &)*arg2
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_Py_Void();
20640 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
= 0;
20642 wxDC
*arg1
= (wxDC
*) 0 ;
20643 wxBrush
*arg2
= 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 char * kwnames
[] = {
20651 (char *) "self",(char *) "brush", NULL
20654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20656 if (!SWIG_IsOK(res1
)) {
20657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20661 if (!SWIG_IsOK(res2
)) {
20662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20667 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_Py_Void();
20681 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
= 0;
20683 wxDC
*arg1
= (wxDC
*) 0 ;
20684 wxBrush
*arg2
= 0 ;
20689 PyObject
* obj0
= 0 ;
20690 PyObject
* obj1
= 0 ;
20691 char * kwnames
[] = {
20692 (char *) "self",(char *) "brush", NULL
20695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20702 if (!SWIG_IsOK(res2
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20708 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_Py_Void();
20722 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
= 0;
20724 wxDC
*arg1
= (wxDC
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char * kwnames
[] = {
20733 (char *) "self",(char *) "mode", NULL
20736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20743 if (!SWIG_IsOK(ecode2
)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20746 arg2
= static_cast< int >(val2
);
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 (arg1
)->SetBackgroundMode(arg2
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= SWIG_Py_Void();
20760 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
= 0;
20762 wxDC
*arg1
= (wxDC
*) 0 ;
20763 wxPalette
*arg2
= 0 ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 char * kwnames
[] = {
20771 (char *) "self",(char *) "palette", NULL
20774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20776 if (!SWIG_IsOK(res1
)) {
20777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20781 if (!SWIG_IsOK(res2
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20787 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_Py_Void();
20801 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20802 PyObject
*resultobj
= 0;
20803 wxDC
*arg1
= (wxDC
*) 0 ;
20806 PyObject
*swig_obj
[1] ;
20808 if (!args
) SWIG_fail
;
20809 swig_obj
[0] = args
;
20810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20811 if (!SWIG_IsOK(res1
)) {
20812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 (arg1
)->DestroyClippingRegion();
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_Py_Void();
20828 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20829 PyObject
*resultobj
= 0;
20830 wxDC
*arg1
= (wxDC
*) 0 ;
20831 int *arg2
= (int *) 0 ;
20832 int *arg3
= (int *) 0 ;
20833 int *arg4
= (int *) 0 ;
20834 int *arg5
= (int *) 0 ;
20838 int res2
= SWIG_TMPOBJ
;
20840 int res3
= SWIG_TMPOBJ
;
20842 int res4
= SWIG_TMPOBJ
;
20844 int res5
= SWIG_TMPOBJ
;
20845 PyObject
*swig_obj
[1] ;
20851 if (!args
) SWIG_fail
;
20852 swig_obj
[0] = args
;
20853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20854 if (!SWIG_IsOK(res1
)) {
20855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_Py_Void();
20865 if (SWIG_IsTmpObj(res2
)) {
20866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20871 if (SWIG_IsTmpObj(res3
)) {
20872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20877 if (SWIG_IsTmpObj(res4
)) {
20878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20880 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20883 if (SWIG_IsTmpObj(res5
)) {
20884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20886 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20895 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20896 PyObject
*resultobj
= 0;
20897 wxDC
*arg1
= (wxDC
*) 0 ;
20901 PyObject
*swig_obj
[1] ;
20903 if (!args
) SWIG_fail
;
20904 swig_obj
[0] = args
;
20905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20906 if (!SWIG_IsOK(res1
)) {
20907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= wxDC_GetClippingRect(arg1
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20923 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20924 PyObject
*resultobj
= 0;
20925 wxDC
*arg1
= (wxDC
*) 0 ;
20929 PyObject
*swig_obj
[1] ;
20931 if (!args
) SWIG_fail
;
20932 swig_obj
[0] = args
;
20933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_From_int(static_cast< int >(result
));
20951 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20952 PyObject
*resultobj
= 0;
20953 wxDC
*arg1
= (wxDC
*) 0 ;
20957 PyObject
*swig_obj
[1] ;
20959 if (!args
) SWIG_fail
;
20960 swig_obj
[0] = args
;
20961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_From_int(static_cast< int >(result
));
20979 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
= 0;
20981 wxDC
*arg1
= (wxDC
*) 0 ;
20982 wxString
*arg2
= 0 ;
20983 int *arg3
= (int *) 0 ;
20984 int *arg4
= (int *) 0 ;
20987 bool temp2
= false ;
20989 int res3
= SWIG_TMPOBJ
;
20991 int res4
= SWIG_TMPOBJ
;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 char * kwnames
[] = {
20995 (char *) "self",(char *) "string", NULL
21000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21002 if (!SWIG_IsOK(res1
)) {
21003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21007 arg2
= wxString_in_helper(obj1
);
21008 if (arg2
== NULL
) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_Py_Void();
21018 if (SWIG_IsTmpObj(res3
)) {
21019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21021 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21024 if (SWIG_IsTmpObj(res4
)) {
21025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21027 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21044 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
= 0;
21046 wxDC
*arg1
= (wxDC
*) 0 ;
21047 wxString
*arg2
= 0 ;
21048 int *arg3
= (int *) 0 ;
21049 int *arg4
= (int *) 0 ;
21050 int *arg5
= (int *) 0 ;
21051 int *arg6
= (int *) 0 ;
21052 wxFont
*arg7
= (wxFont
*) NULL
;
21055 bool temp2
= false ;
21057 int res3
= SWIG_TMPOBJ
;
21059 int res4
= SWIG_TMPOBJ
;
21061 int res5
= SWIG_TMPOBJ
;
21063 int res6
= SWIG_TMPOBJ
;
21066 PyObject
* obj0
= 0 ;
21067 PyObject
* obj1
= 0 ;
21068 PyObject
* obj2
= 0 ;
21069 char * kwnames
[] = {
21070 (char *) "self",(char *) "string",(char *) "font", NULL
21077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21084 arg2
= wxString_in_helper(obj1
);
21085 if (arg2
== NULL
) SWIG_fail
;
21089 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21090 if (!SWIG_IsOK(res7
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21093 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_Py_Void();
21102 if (SWIG_IsTmpObj(res3
)) {
21103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21105 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21108 if (SWIG_IsTmpObj(res4
)) {
21109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21111 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21114 if (SWIG_IsTmpObj(res5
)) {
21115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21117 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21120 if (SWIG_IsTmpObj(res6
)) {
21121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21123 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21140 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
= 0;
21142 wxDC
*arg1
= (wxDC
*) 0 ;
21143 wxString
*arg2
= 0 ;
21144 int *arg3
= (int *) 0 ;
21145 int *arg4
= (int *) 0 ;
21146 int *arg5
= (int *) 0 ;
21147 wxFont
*arg6
= (wxFont
*) NULL
;
21150 bool temp2
= false ;
21152 int res3
= SWIG_TMPOBJ
;
21154 int res4
= SWIG_TMPOBJ
;
21156 int res5
= SWIG_TMPOBJ
;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 PyObject
* obj2
= 0 ;
21162 char * kwnames
[] = {
21163 (char *) "self",(char *) "text",(char *) "font", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21176 arg2
= wxString_in_helper(obj1
);
21177 if (arg2
== NULL
) SWIG_fail
;
21181 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21182 if (!SWIG_IsOK(res6
)) {
21183 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21185 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= SWIG_Py_Void();
21194 if (SWIG_IsTmpObj(res3
)) {
21195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21200 if (SWIG_IsTmpObj(res4
)) {
21201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21203 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21206 if (SWIG_IsTmpObj(res5
)) {
21207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21209 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21226 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
= 0;
21228 wxDC
*arg1
= (wxDC
*) 0 ;
21229 wxString
*arg2
= 0 ;
21233 bool temp2
= false ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 char * kwnames
[] = {
21237 (char *) "self",(char *) "text", NULL
21240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21242 if (!SWIG_IsOK(res1
)) {
21243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21247 arg2
= wxString_in_helper(obj1
);
21248 if (arg2
== NULL
) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= wxArrayInt2PyList_helper(result
);
21274 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21275 PyObject
*resultobj
= 0;
21276 wxDC
*arg1
= (wxDC
*) 0 ;
21280 PyObject
*swig_obj
[1] ;
21282 if (!args
) SWIG_fail
;
21283 swig_obj
[0] = args
;
21284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (arg1
)->GetSize();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21302 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 PyObject
*resultobj
= 0;
21304 wxDC
*arg1
= (wxDC
*) 0 ;
21305 int *arg2
= (int *) 0 ;
21306 int *arg3
= (int *) 0 ;
21310 int res2
= SWIG_TMPOBJ
;
21312 int res3
= SWIG_TMPOBJ
;
21313 PyObject
*swig_obj
[1] ;
21317 if (!args
) SWIG_fail
;
21318 swig_obj
[0] = args
;
21319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 (arg1
)->GetSize(arg2
,arg3
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_Py_Void();
21331 if (SWIG_IsTmpObj(res2
)) {
21332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21334 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21337 if (SWIG_IsTmpObj(res3
)) {
21338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21340 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21349 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 PyObject
*resultobj
= 0;
21351 wxDC
*arg1
= (wxDC
*) 0 ;
21355 PyObject
*swig_obj
[1] ;
21357 if (!args
) SWIG_fail
;
21358 swig_obj
[0] = args
;
21359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21360 if (!SWIG_IsOK(res1
)) {
21361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21377 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21378 PyObject
*resultobj
= 0;
21379 wxDC
*arg1
= (wxDC
*) 0 ;
21380 int *arg2
= (int *) 0 ;
21381 int *arg3
= (int *) 0 ;
21385 int res2
= SWIG_TMPOBJ
;
21387 int res3
= SWIG_TMPOBJ
;
21388 PyObject
*swig_obj
[1] ;
21392 if (!args
) SWIG_fail
;
21393 swig_obj
[0] = args
;
21394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= SWIG_Py_Void();
21406 if (SWIG_IsTmpObj(res2
)) {
21407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21409 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21412 if (SWIG_IsTmpObj(res3
)) {
21413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21415 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21424 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
= 0;
21426 wxDC
*arg1
= (wxDC
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "self",(char *) "x", NULL
21439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21441 if (!SWIG_IsOK(res1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21446 if (!SWIG_IsOK(ecode2
)) {
21447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21449 arg2
= static_cast< int >(val2
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_From_int(static_cast< int >(result
));
21463 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
= 0;
21465 wxDC
*arg1
= (wxDC
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char * kwnames
[] = {
21475 (char *) "self",(char *) "y", NULL
21478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21485 if (!SWIG_IsOK(ecode2
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21488 arg2
= static_cast< int >(val2
);
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_From_int(static_cast< int >(result
));
21502 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
= 0;
21504 wxDC
*arg1
= (wxDC
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "self",(char *) "x", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21524 if (!SWIG_IsOK(ecode2
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21527 arg2
= static_cast< int >(val2
);
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_From_int(static_cast< int >(result
));
21541 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= 0;
21543 wxDC
*arg1
= (wxDC
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char * kwnames
[] = {
21553 (char *) "self",(char *) "y", NULL
21556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21558 if (!SWIG_IsOK(res1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21563 if (!SWIG_IsOK(ecode2
)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21566 arg2
= static_cast< int >(val2
);
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_From_int(static_cast< int >(result
));
21580 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= 0;
21582 wxDC
*arg1
= (wxDC
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 char * kwnames
[] = {
21592 (char *) "self",(char *) "x", NULL
21595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21602 if (!SWIG_IsOK(ecode2
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21605 arg2
= static_cast< int >(val2
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_From_int(static_cast< int >(result
));
21619 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxDC
*arg1
= (wxDC
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "self",(char *) "y", NULL
21634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21641 if (!SWIG_IsOK(ecode2
)) {
21642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21644 arg2
= static_cast< int >(val2
);
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_From_int(static_cast< int >(result
));
21658 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxDC
*arg1
= (wxDC
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char * kwnames
[] = {
21670 (char *) "self",(char *) "x", NULL
21673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21680 if (!SWIG_IsOK(ecode2
)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21683 arg2
= static_cast< int >(val2
);
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_From_int(static_cast< int >(result
));
21697 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
= 0;
21699 wxDC
*arg1
= (wxDC
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "y", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21719 if (!SWIG_IsOK(ecode2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21722 arg2
= static_cast< int >(val2
);
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_From_int(static_cast< int >(result
));
21736 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21737 PyObject
*resultobj
= 0;
21738 wxDC
*arg1
= (wxDC
*) 0 ;
21742 PyObject
*swig_obj
[1] ;
21744 if (!args
) SWIG_fail
;
21745 swig_obj
[0] = args
;
21746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21747 if (!SWIG_IsOK(res1
)) {
21748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21767 PyObject
*resultobj
= 0;
21768 wxDC
*arg1
= (wxDC
*) 0 ;
21772 PyObject
*swig_obj
[1] ;
21774 if (!args
) SWIG_fail
;
21775 swig_obj
[0] = args
;
21776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21796 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21797 PyObject
*resultobj
= 0;
21798 wxDC
*arg1
= (wxDC
*) 0 ;
21802 PyObject
*swig_obj
[1] ;
21804 if (!args
) SWIG_fail
;
21805 swig_obj
[0] = args
;
21806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21807 if (!SWIG_IsOK(res1
)) {
21808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= SWIG_From_int(static_cast< int >(result
));
21824 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21825 PyObject
*resultobj
= 0;
21826 wxDC
*arg1
= (wxDC
*) 0 ;
21830 PyObject
*swig_obj
[1] ;
21832 if (!args
) SWIG_fail
;
21833 swig_obj
[0] = args
;
21834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21835 if (!SWIG_IsOK(res1
)) {
21836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= ((wxDC
const *)arg1
)->GetPPI();
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21852 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21853 PyObject
*resultobj
= 0;
21854 wxDC
*arg1
= (wxDC
*) 0 ;
21858 PyObject
*swig_obj
[1] ;
21860 if (!args
) SWIG_fail
;
21861 swig_obj
[0] = args
;
21862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21882 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 PyObject
*resultobj
= 0;
21884 wxDC
*arg1
= (wxDC
*) 0 ;
21888 PyObject
*swig_obj
[1] ;
21890 if (!args
) SWIG_fail
;
21891 swig_obj
[0] = args
;
21892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21893 if (!SWIG_IsOK(res1
)) {
21894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= SWIG_From_int(static_cast< int >(result
));
21910 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21911 PyObject
*resultobj
= 0;
21912 wxDC
*arg1
= (wxDC
*) 0 ;
21913 wxBrush
*result
= 0 ;
21916 PyObject
*swig_obj
[1] ;
21918 if (!args
) SWIG_fail
;
21919 swig_obj
[0] = args
;
21920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21929 result
= (wxBrush
*) &_result_ref
;
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 wxBrush
* resultptr
= new wxBrush(*result
);
21936 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21944 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21945 PyObject
*resultobj
= 0;
21946 wxDC
*arg1
= (wxDC
*) 0 ;
21947 wxBrush
*result
= 0 ;
21950 PyObject
*swig_obj
[1] ;
21952 if (!args
) SWIG_fail
;
21953 swig_obj
[0] = args
;
21954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21955 if (!SWIG_IsOK(res1
)) {
21956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21963 result
= (wxBrush
*) &_result_ref
;
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 wxBrush
* resultptr
= new wxBrush(*result
);
21970 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21978 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 PyObject
*resultobj
= 0;
21980 wxDC
*arg1
= (wxDC
*) 0 ;
21981 wxFont
*result
= 0 ;
21984 PyObject
*swig_obj
[1] ;
21986 if (!args
) SWIG_fail
;
21987 swig_obj
[0] = args
;
21988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21989 if (!SWIG_IsOK(res1
)) {
21990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21997 result
= (wxFont
*) &_result_ref
;
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 wxFont
* resultptr
= new wxFont(*result
);
22004 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22012 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22013 PyObject
*resultobj
= 0;
22014 wxDC
*arg1
= (wxDC
*) 0 ;
22015 wxPen
*result
= 0 ;
22018 PyObject
*swig_obj
[1] ;
22020 if (!args
) SWIG_fail
;
22021 swig_obj
[0] = args
;
22022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22023 if (!SWIG_IsOK(res1
)) {
22024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22031 result
= (wxPen
*) &_result_ref
;
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 wxPen
* resultptr
= new wxPen(*result
);
22038 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22046 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22047 PyObject
*resultobj
= 0;
22048 wxDC
*arg1
= (wxDC
*) 0 ;
22049 wxColour
*result
= 0 ;
22052 PyObject
*swig_obj
[1] ;
22054 if (!args
) SWIG_fail
;
22055 swig_obj
[0] = args
;
22056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22065 result
= (wxColour
*) &_result_ref
;
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22077 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 PyObject
*resultobj
= 0;
22079 wxDC
*arg1
= (wxDC
*) 0 ;
22080 wxColour
*result
= 0 ;
22083 PyObject
*swig_obj
[1] ;
22085 if (!args
) SWIG_fail
;
22086 swig_obj
[0] = args
;
22087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22088 if (!SWIG_IsOK(res1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22096 result
= (wxColour
*) &_result_ref
;
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22108 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= 0;
22110 wxDC
*arg1
= (wxDC
*) 0 ;
22111 wxColour
*arg2
= 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char * kwnames
[] = {
22118 (char *) "self",(char *) "colour", NULL
22121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22123 if (!SWIG_IsOK(res1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22129 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_Py_Void();
22144 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 wxDC
*arg1
= (wxDC
*) 0 ;
22147 wxColour
*arg2
= 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char * kwnames
[] = {
22154 (char *) "self",(char *) "colour", NULL
22157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22159 if (!SWIG_IsOK(res1
)) {
22160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_Py_Void();
22180 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22181 PyObject
*resultobj
= 0;
22182 wxDC
*arg1
= (wxDC
*) 0 ;
22186 PyObject
*swig_obj
[1] ;
22188 if (!args
) SWIG_fail
;
22189 swig_obj
[0] = args
;
22190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22191 if (!SWIG_IsOK(res1
)) {
22192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= SWIG_From_int(static_cast< int >(result
));
22208 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
= 0;
22210 wxDC
*arg1
= (wxDC
*) 0 ;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 char * kwnames
[] = {
22219 (char *) "self",(char *) "mode", NULL
22222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22224 if (!SWIG_IsOK(res1
)) {
22225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22229 if (!SWIG_IsOK(ecode2
)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22232 arg2
= static_cast< int >(val2
);
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 (arg1
)->SetMapMode(arg2
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_Py_Void();
22246 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22247 PyObject
*resultobj
= 0;
22248 wxDC
*arg1
= (wxDC
*) 0 ;
22249 double *arg2
= (double *) 0 ;
22250 double *arg3
= (double *) 0 ;
22254 int res2
= SWIG_TMPOBJ
;
22256 int res3
= SWIG_TMPOBJ
;
22257 PyObject
*swig_obj
[1] ;
22261 if (!args
) SWIG_fail
;
22262 swig_obj
[0] = args
;
22263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22264 if (!SWIG_IsOK(res1
)) {
22265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_Py_Void();
22275 if (SWIG_IsTmpObj(res2
)) {
22276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22278 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22281 if (SWIG_IsTmpObj(res3
)) {
22282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22284 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22293 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
= 0;
22295 wxDC
*arg1
= (wxDC
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 PyObject
* obj2
= 0 ;
22307 char * kwnames
[] = {
22308 (char *) "self",(char *) "x",(char *) "y", NULL
22311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22313 if (!SWIG_IsOK(res1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22317 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22318 if (!SWIG_IsOK(ecode2
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22321 arg2
= static_cast< double >(val2
);
22322 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22323 if (!SWIG_IsOK(ecode3
)) {
22324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22326 arg3
= static_cast< double >(val3
);
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->SetUserScale(arg2
,arg3
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= SWIG_Py_Void();
22340 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 PyObject
*resultobj
= 0;
22342 wxDC
*arg1
= (wxDC
*) 0 ;
22343 double *arg2
= (double *) 0 ;
22344 double *arg3
= (double *) 0 ;
22348 int res2
= SWIG_TMPOBJ
;
22350 int res3
= SWIG_TMPOBJ
;
22351 PyObject
*swig_obj
[1] ;
22355 if (!args
) SWIG_fail
;
22356 swig_obj
[0] = args
;
22357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22358 if (!SWIG_IsOK(res1
)) {
22359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 (arg1
)->GetLogicalScale(arg2
,arg3
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_Py_Void();
22369 if (SWIG_IsTmpObj(res2
)) {
22370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22372 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22375 if (SWIG_IsTmpObj(res3
)) {
22376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22387 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= 0;
22389 wxDC
*arg1
= (wxDC
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char * kwnames
[] = {
22402 (char *) "self",(char *) "x",(char *) "y", NULL
22405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22407 if (!SWIG_IsOK(res1
)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22412 if (!SWIG_IsOK(ecode2
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22415 arg2
= static_cast< double >(val2
);
22416 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22417 if (!SWIG_IsOK(ecode3
)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22420 arg3
= static_cast< double >(val3
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->SetLogicalScale(arg2
,arg3
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22434 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxDC
*arg1
= (wxDC
*) 0 ;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22462 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxDC
*arg1
= (wxDC
*) 0 ;
22465 int *arg2
= (int *) 0 ;
22466 int *arg3
= (int *) 0 ;
22470 int res2
= SWIG_TMPOBJ
;
22472 int res3
= SWIG_TMPOBJ
;
22473 PyObject
*swig_obj
[1] ;
22477 if (!args
) SWIG_fail
;
22478 swig_obj
[0] = args
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_Py_Void();
22491 if (SWIG_IsTmpObj(res2
)) {
22492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22494 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22497 if (SWIG_IsTmpObj(res3
)) {
22498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22509 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
= 0;
22511 wxDC
*arg1
= (wxDC
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 PyObject
* obj2
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "x",(char *) "y", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22534 if (!SWIG_IsOK(ecode2
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22537 arg2
= static_cast< int >(val2
);
22538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22539 if (!SWIG_IsOK(ecode3
)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22542 arg3
= static_cast< int >(val3
);
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_Py_Void();
22556 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
= 0;
22558 wxDC
*arg1
= (wxDC
*) 0 ;
22559 wxPoint
*arg2
= 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char * kwnames
[] = {
22566 (char *) "self",(char *) "point", NULL
22569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_Py_Void();
22592 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22593 PyObject
*resultobj
= 0;
22594 wxDC
*arg1
= (wxDC
*) 0 ;
22598 PyObject
*swig_obj
[1] ;
22600 if (!args
) SWIG_fail
;
22601 swig_obj
[0] = args
;
22602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22620 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22621 PyObject
*resultobj
= 0;
22622 wxDC
*arg1
= (wxDC
*) 0 ;
22623 int *arg2
= (int *) 0 ;
22624 int *arg3
= (int *) 0 ;
22628 int res2
= SWIG_TMPOBJ
;
22630 int res3
= SWIG_TMPOBJ
;
22631 PyObject
*swig_obj
[1] ;
22635 if (!args
) SWIG_fail
;
22636 swig_obj
[0] = args
;
22637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22638 if (!SWIG_IsOK(res1
)) {
22639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= SWIG_Py_Void();
22649 if (SWIG_IsTmpObj(res2
)) {
22650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22655 if (SWIG_IsTmpObj(res3
)) {
22656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22667 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
= 0;
22669 wxDC
*arg1
= (wxDC
*) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 PyObject
* obj1
= 0 ;
22680 PyObject
* obj2
= 0 ;
22681 char * kwnames
[] = {
22682 (char *) "self",(char *) "x",(char *) "y", NULL
22685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22692 if (!SWIG_IsOK(ecode2
)) {
22693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22695 arg2
= static_cast< int >(val2
);
22696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22697 if (!SWIG_IsOK(ecode3
)) {
22698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22700 arg3
= static_cast< int >(val3
);
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_Py_Void();
22714 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
= 0;
22716 wxDC
*arg1
= (wxDC
*) 0 ;
22717 wxPoint
*arg2
= 0 ;
22721 PyObject
* obj0
= 0 ;
22722 PyObject
* obj1
= 0 ;
22723 char * kwnames
[] = {
22724 (char *) "self",(char *) "point", NULL
22727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_Py_Void();
22750 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
= 0;
22752 wxDC
*arg1
= (wxDC
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 PyObject
* obj2
= 0 ;
22764 char * kwnames
[] = {
22765 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22770 if (!SWIG_IsOK(res1
)) {
22771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22774 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22775 if (!SWIG_IsOK(ecode2
)) {
22776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22778 arg2
= static_cast< bool >(val2
);
22779 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22780 if (!SWIG_IsOK(ecode3
)) {
22781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22783 arg3
= static_cast< bool >(val3
);
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= SWIG_Py_Void();
22797 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 PyObject
*resultobj
= 0;
22799 wxDC
*arg1
= (wxDC
*) 0 ;
22803 PyObject
*swig_obj
[1] ;
22805 if (!args
) SWIG_fail
;
22806 swig_obj
[0] = args
;
22807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_From_int(static_cast< int >(result
));
22825 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
= 0;
22827 wxDC
*arg1
= (wxDC
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 char * kwnames
[] = {
22836 (char *) "self",(char *) "function", NULL
22839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22841 if (!SWIG_IsOK(res1
)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22846 if (!SWIG_IsOK(ecode2
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22849 arg2
= static_cast< int >(val2
);
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetLogicalFunction(arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_Py_Void();
22863 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22864 PyObject
*resultobj
= 0;
22865 wxDC
*arg1
= (wxDC
*) 0 ;
22868 PyObject
*swig_obj
[1] ;
22870 if (!args
) SWIG_fail
;
22871 swig_obj
[0] = args
;
22872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 (arg1
)->ComputeScaleAndOrigin();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_Py_Void();
22890 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
= 0;
22892 wxDC
*arg1
= (wxDC
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 PyObject
* obj2
= 0 ;
22904 char * kwnames
[] = {
22905 (char *) "self",(char *) "x",(char *) "y", NULL
22908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22915 if (!SWIG_IsOK(ecode2
)) {
22916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22918 arg2
= static_cast< int >(val2
);
22919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22920 if (!SWIG_IsOK(ecode3
)) {
22921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22923 arg3
= static_cast< int >(val3
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= SWIG_Py_Void();
22937 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
= 0;
22939 wxDC
*arg1
= (wxDC
*) 0 ;
22940 wxPoint
*arg2
= 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char * kwnames
[] = {
22947 (char *) "self",(char *) "point", NULL
22950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_Py_Void();
22973 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxDC
*arg1
= (wxDC
*) 0 ;
22978 PyObject
*swig_obj
[1] ;
22980 if (!args
) SWIG_fail
;
22981 swig_obj
[0] = args
;
22982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22983 if (!SWIG_IsOK(res1
)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 (arg1
)->ResetBoundingBox();
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= SWIG_Py_Void();
23000 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23001 PyObject
*resultobj
= 0;
23002 wxDC
*arg1
= (wxDC
*) 0 ;
23006 PyObject
*swig_obj
[1] ;
23008 if (!args
) SWIG_fail
;
23009 swig_obj
[0] = args
;
23010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 result
= (int)((wxDC
const *)arg1
)->MinX();
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_From_int(static_cast< int >(result
));
23028 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23029 PyObject
*resultobj
= 0;
23030 wxDC
*arg1
= (wxDC
*) 0 ;
23034 PyObject
*swig_obj
[1] ;
23036 if (!args
) SWIG_fail
;
23037 swig_obj
[0] = args
;
23038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23039 if (!SWIG_IsOK(res1
)) {
23040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (int)((wxDC
const *)arg1
)->MaxX();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_From_int(static_cast< int >(result
));
23056 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23057 PyObject
*resultobj
= 0;
23058 wxDC
*arg1
= (wxDC
*) 0 ;
23062 PyObject
*swig_obj
[1] ;
23064 if (!args
) SWIG_fail
;
23065 swig_obj
[0] = args
;
23066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (int)((wxDC
const *)arg1
)->MinY();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_From_int(static_cast< int >(result
));
23084 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23085 PyObject
*resultobj
= 0;
23086 wxDC
*arg1
= (wxDC
*) 0 ;
23090 PyObject
*swig_obj
[1] ;
23092 if (!args
) SWIG_fail
;
23093 swig_obj
[0] = args
;
23094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (int)((wxDC
const *)arg1
)->MaxY();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_From_int(static_cast< int >(result
));
23112 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23113 PyObject
*resultobj
= 0;
23114 wxDC
*arg1
= (wxDC
*) 0 ;
23115 int *arg2
= (int *) 0 ;
23116 int *arg3
= (int *) 0 ;
23117 int *arg4
= (int *) 0 ;
23118 int *arg5
= (int *) 0 ;
23122 int res2
= SWIG_TMPOBJ
;
23124 int res3
= SWIG_TMPOBJ
;
23126 int res4
= SWIG_TMPOBJ
;
23128 int res5
= SWIG_TMPOBJ
;
23129 PyObject
*swig_obj
[1] ;
23135 if (!args
) SWIG_fail
;
23136 swig_obj
[0] = args
;
23137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23138 if (!SWIG_IsOK(res1
)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_Py_Void();
23149 if (SWIG_IsTmpObj(res2
)) {
23150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23152 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23155 if (SWIG_IsTmpObj(res3
)) {
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23158 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23161 if (SWIG_IsTmpObj(res4
)) {
23162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23164 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23167 if (SWIG_IsTmpObj(res5
)) {
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23170 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23179 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23180 PyObject
*resultobj
= 0;
23181 wxDC
*arg1
= (wxDC
*) 0 ;
23182 wxLayoutDirection result
;
23185 PyObject
*swig_obj
[1] ;
23187 if (!args
) SWIG_fail
;
23188 swig_obj
[0] = args
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_From_int(static_cast< int >(result
));
23207 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
= 0;
23209 wxDC
*arg1
= (wxDC
*) 0 ;
23210 wxLayoutDirection arg2
;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 char * kwnames
[] = {
23218 (char *) "self",(char *) "dir", NULL
23221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23223 if (!SWIG_IsOK(res1
)) {
23224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23228 if (!SWIG_IsOK(ecode2
)) {
23229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23231 arg2
= static_cast< wxLayoutDirection
>(val2
);
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 (arg1
)->SetLayoutDirection(arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_Py_Void();
23245 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
= 0;
23247 wxDC
*arg1
= (wxDC
*) 0 ;
23248 PyObject
*arg2
= (PyObject
*) 0 ;
23249 PyObject
*arg3
= (PyObject
*) 0 ;
23250 PyObject
*arg4
= (PyObject
*) 0 ;
23251 PyObject
*result
= 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 PyObject
* obj2
= 0 ;
23257 PyObject
* obj3
= 0 ;
23258 char * kwnames
[] = {
23259 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23264 if (!SWIG_IsOK(res1
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= result
;
23284 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= 0;
23286 wxDC
*arg1
= (wxDC
*) 0 ;
23287 PyObject
*arg2
= (PyObject
*) 0 ;
23288 PyObject
*arg3
= (PyObject
*) 0 ;
23289 PyObject
*arg4
= (PyObject
*) 0 ;
23290 PyObject
*result
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 PyObject
* obj2
= 0 ;
23296 PyObject
* obj3
= 0 ;
23297 char * kwnames
[] = {
23298 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= result
;
23323 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
= 0;
23325 wxDC
*arg1
= (wxDC
*) 0 ;
23326 PyObject
*arg2
= (PyObject
*) 0 ;
23327 PyObject
*arg3
= (PyObject
*) 0 ;
23328 PyObject
*arg4
= (PyObject
*) 0 ;
23329 PyObject
*result
= 0 ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 PyObject
* obj2
= 0 ;
23335 PyObject
* obj3
= 0 ;
23336 char * kwnames
[] = {
23337 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
;
23362 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
= 0;
23364 wxDC
*arg1
= (wxDC
*) 0 ;
23365 PyObject
*arg2
= (PyObject
*) 0 ;
23366 PyObject
*arg3
= (PyObject
*) 0 ;
23367 PyObject
*arg4
= (PyObject
*) 0 ;
23368 PyObject
*result
= 0 ;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 PyObject
* obj2
= 0 ;
23374 PyObject
* obj3
= 0 ;
23375 char * kwnames
[] = {
23376 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= result
;
23401 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxDC
*arg1
= (wxDC
*) 0 ;
23404 PyObject
*arg2
= (PyObject
*) 0 ;
23405 PyObject
*arg3
= (PyObject
*) 0 ;
23406 PyObject
*arg4
= (PyObject
*) 0 ;
23407 PyObject
*result
= 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 PyObject
* obj2
= 0 ;
23413 PyObject
* obj3
= 0 ;
23414 char * kwnames
[] = {
23415 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23420 if (!SWIG_IsOK(res1
)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= result
;
23440 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= 0;
23442 wxDC
*arg1
= (wxDC
*) 0 ;
23443 PyObject
*arg2
= (PyObject
*) 0 ;
23444 PyObject
*arg3
= (PyObject
*) 0 ;
23445 PyObject
*arg4
= (PyObject
*) 0 ;
23446 PyObject
*arg5
= (PyObject
*) 0 ;
23447 PyObject
*result
= 0 ;
23450 PyObject
* obj0
= 0 ;
23451 PyObject
* obj1
= 0 ;
23452 PyObject
* obj2
= 0 ;
23453 PyObject
* obj3
= 0 ;
23454 PyObject
* obj4
= 0 ;
23455 char * kwnames
[] = {
23456 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23461 if (!SWIG_IsOK(res1
)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= result
;
23482 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23485 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23486 return SWIG_Py_Void();
23489 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
= 0;
23492 wxColour
*arg2
= 0 ;
23493 wxDCTextColourChanger
*result
= 0 ;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 char * kwnames
[] = {
23500 (char *) "dc",(char *) "col", NULL
23503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23504 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23505 if (!SWIG_IsOK(res1
)) {
23506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23529 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23530 PyObject
*resultobj
= 0;
23531 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23534 PyObject
*swig_obj
[1] ;
23536 if (!args
) SWIG_fail
;
23537 swig_obj
[0] = args
;
23538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23539 if (!SWIG_IsOK(res1
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23542 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_Py_Void();
23557 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23560 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23561 return SWIG_Py_Void();
23564 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23565 return SWIG_Python_InitShadowInstance(args
);
23568 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= 0;
23572 wxDCPenChanger
*result
= 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "dc",(char *) "pen", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23593 if (!SWIG_IsOK(res2
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23599 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23613 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23614 PyObject
*resultobj
= 0;
23615 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23618 PyObject
*swig_obj
[1] ;
23620 if (!args
) SWIG_fail
;
23621 swig_obj
[0] = args
;
23622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23623 if (!SWIG_IsOK(res1
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23626 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_Py_Void();
23641 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23644 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23645 return SWIG_Py_Void();
23648 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 return SWIG_Python_InitShadowInstance(args
);
23652 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
= 0;
23655 wxBrush
*arg2
= 0 ;
23656 wxDCBrushChanger
*result
= 0 ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char * kwnames
[] = {
23664 (char *) "dc",(char *) "brush", NULL
23667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23668 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23669 if (!SWIG_IsOK(res1
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23677 if (!SWIG_IsOK(res2
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23683 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23697 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23698 PyObject
*resultobj
= 0;
23699 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23702 PyObject
*swig_obj
[1] ;
23704 if (!args
) SWIG_fail
;
23705 swig_obj
[0] = args
;
23706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23707 if (!SWIG_IsOK(res1
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23710 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_Py_Void();
23725 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23728 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23729 return SWIG_Py_Void();
23732 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23733 return SWIG_Python_InitShadowInstance(args
);
23736 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23737 PyObject
*resultobj
= 0;
23739 wxRegion
*arg2
= 0 ;
23740 wxDCClipper
*result
= 0 ;
23746 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23748 if (!SWIG_IsOK(res1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23755 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23756 if (!SWIG_IsOK(res2
)) {
23757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23762 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23776 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23777 PyObject
*resultobj
= 0;
23780 wxDCClipper
*result
= 0 ;
23785 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23796 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23811 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23812 PyObject
*resultobj
= 0;
23818 wxDCClipper
*result
= 0 ;
23830 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23832 if (!SWIG_IsOK(res1
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23839 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23840 if (!SWIG_IsOK(ecode2
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23843 arg2
= static_cast< int >(val2
);
23844 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23845 if (!SWIG_IsOK(ecode3
)) {
23846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23848 arg3
= static_cast< int >(val3
);
23849 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23850 if (!SWIG_IsOK(ecode4
)) {
23851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23853 arg4
= static_cast< int >(val4
);
23854 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23855 if (!SWIG_IsOK(ecode5
)) {
23856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23858 arg5
= static_cast< int >(val5
);
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23872 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23876 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23881 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23882 _v
= SWIG_CheckState(res
);
23884 if (!_v
) goto check_1
;
23885 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23890 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23893 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23897 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23902 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23903 PyObject
*resultobj
= 0;
23904 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23907 PyObject
*swig_obj
[1] ;
23909 if (!args
) SWIG_fail
;
23910 swig_obj
[0] = args
;
23911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23912 if (!SWIG_IsOK(res1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23915 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= SWIG_Py_Void();
23930 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23933 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23934 return SWIG_Py_Void();
23937 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23938 return SWIG_Python_InitShadowInstance(args
);
23941 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23942 PyObject
*resultobj
= 0;
23943 wxScreenDC
*result
= 0 ;
23945 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23947 if (!wxPyCheckForApp()) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= (wxScreenDC
*)new wxScreenDC();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23960 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
= 0;
23962 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23963 wxWindow
*arg2
= (wxWindow
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char * kwnames
[] = {
23972 (char *) "self",(char *) "window", NULL
23975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23980 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23982 if (!SWIG_IsOK(res2
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23985 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24001 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
= 0;
24003 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24004 wxRect
*arg2
= (wxRect
*) NULL
;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char * kwnames
[] = {
24013 (char *) "self",(char *) "rect", NULL
24016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24018 if (!SWIG_IsOK(res1
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24021 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24024 if (!SWIG_IsOK(res2
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24027 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24044 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24045 PyObject
*resultobj
= 0;
24046 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24050 PyObject
*swig_obj
[1] ;
24052 if (!args
) SWIG_fail
;
24053 swig_obj
[0] = args
;
24054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24055 if (!SWIG_IsOK(res1
)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24058 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (bool)(arg1
)->EndDrawingOnTop();
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24074 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24077 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24078 return SWIG_Py_Void();
24081 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24082 return SWIG_Python_InitShadowInstance(args
);
24085 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
= 0;
24087 wxWindow
*arg1
= (wxWindow
*) 0 ;
24088 wxWindowDC
*result
= 0 ;
24091 PyObject
* obj0
= 0 ;
24092 char * kwnames
[] = {
24093 (char *) "win", NULL
24096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24098 if (!SWIG_IsOK(res1
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24103 if (!wxPyCheckForApp()) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24116 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24119 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24120 return SWIG_Py_Void();
24123 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24124 return SWIG_Python_InitShadowInstance(args
);
24127 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
= 0;
24129 wxWindow
*arg1
= (wxWindow
*) 0 ;
24130 wxClientDC
*result
= 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "win", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24145 if (!wxPyCheckForApp()) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (wxClientDC
*)new wxClientDC(arg1
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24158 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24161 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24162 return SWIG_Py_Void();
24165 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24166 return SWIG_Python_InitShadowInstance(args
);
24169 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
= 0;
24171 wxWindow
*arg1
= (wxWindow
*) 0 ;
24172 wxPaintDC
*result
= 0 ;
24175 PyObject
* obj0
= 0 ;
24176 char * kwnames
[] = {
24177 (char *) "win", NULL
24180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24182 if (!SWIG_IsOK(res1
)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24187 if (!wxPyCheckForApp()) SWIG_fail
;
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24200 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24204 return SWIG_Py_Void();
24207 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24208 return SWIG_Python_InitShadowInstance(args
);
24211 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= 0;
24213 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24214 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24215 wxMemoryDC
*result
= 0 ;
24218 PyObject
* obj0
= 0 ;
24219 char * kwnames
[] = {
24220 (char *) "bitmap", NULL
24223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24225 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24232 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24235 if (!wxPyCheckForApp()) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24248 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= 0;
24250 wxDC
*arg1
= (wxDC
*) 0 ;
24251 wxMemoryDC
*result
= 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char * kwnames
[] = {
24256 (char *) "oldDC", NULL
24259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24266 if (!wxPyCheckForApp()) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24279 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
= 0;
24281 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24282 wxBitmap
*arg2
= 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char * kwnames
[] = {
24290 (char *) "self",(char *) "bitmap", NULL
24293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24298 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24300 if (!SWIG_IsOK(res2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24306 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->SelectObject(*arg2
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_Py_Void();
24320 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
= 0;
24322 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24323 wxBitmap
*arg2
= 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 char * kwnames
[] = {
24331 (char *) "self",(char *) "bmp", NULL
24334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24336 if (!SWIG_IsOK(res1
)) {
24337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24339 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24341 if (!SWIG_IsOK(res2
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24347 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_Py_Void();
24361 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24364 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24365 return SWIG_Py_Void();
24368 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24369 return SWIG_Python_InitShadowInstance(args
);
24372 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24373 PyObject
*resultobj
= 0;
24374 wxDC
*arg1
= (wxDC
*) 0 ;
24375 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24376 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24377 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24378 wxBufferedDC
*result
= 0 ;
24386 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24388 if (!SWIG_IsOK(res1
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24393 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24394 if (!SWIG_IsOK(res2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24400 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24403 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24404 if (!SWIG_IsOK(ecode3
)) {
24405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24407 arg3
= static_cast< int >(val3
);
24410 if (!wxPyCheckForApp()) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24423 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24424 PyObject
*resultobj
= 0;
24425 wxDC
*arg1
= (wxDC
*) 0 ;
24427 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24428 wxBufferedDC
*result
= 0 ;
24435 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24437 if (!SWIG_IsOK(res1
)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24443 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24446 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24447 if (!SWIG_IsOK(ecode3
)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24450 arg3
= static_cast< int >(val3
);
24453 if (!wxPyCheckForApp()) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24466 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24470 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24472 if ((argc
>= 1) && (argc
<= 3)) {
24477 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24478 _v
= SWIG_CheckState(res
);
24480 if (!_v
) goto check_1
;
24482 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24486 if ((argc
>= 2) && (argc
<= 3)) {
24487 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24491 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24496 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24497 PyObject
*resultobj
= 0;
24498 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24501 PyObject
*swig_obj
[1] ;
24503 if (!args
) SWIG_fail
;
24504 swig_obj
[0] = args
;
24505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24509 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24525 PyObject
*resultobj
= 0;
24526 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24529 PyObject
*swig_obj
[1] ;
24531 if (!args
) SWIG_fail
;
24532 swig_obj
[0] = args
;
24533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24537 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= SWIG_Py_Void();
24551 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
= 0;
24553 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char * kwnames
[] = {
24562 (char *) "self",(char *) "style", NULL
24565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24567 if (!SWIG_IsOK(res1
)) {
24568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24570 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24572 if (!SWIG_IsOK(ecode2
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24575 arg2
= static_cast< int >(val2
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->SetStyle(arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= SWIG_Py_Void();
24589 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24590 PyObject
*resultobj
= 0;
24591 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24595 PyObject
*swig_obj
[1] ;
24597 if (!args
) SWIG_fail
;
24598 swig_obj
[0] = args
;
24599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24603 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= SWIG_From_int(static_cast< int >(result
));
24617 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24620 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24621 return SWIG_Py_Void();
24624 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24625 return SWIG_Python_InitShadowInstance(args
);
24628 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
= 0;
24630 wxWindow
*arg1
= (wxWindow
*) 0 ;
24631 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24632 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24633 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24634 wxBufferedPaintDC
*result
= 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "window",(char *) "buffer",(char *) "style", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24656 if (!SWIG_IsOK(res2
)) {
24657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24662 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24666 if (!SWIG_IsOK(ecode3
)) {
24667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24669 arg3
= static_cast< int >(val3
);
24672 if (!wxPyCheckForApp()) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24685 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24688 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24689 return SWIG_Py_Void();
24692 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24693 return SWIG_Python_InitShadowInstance(args
);
24696 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
= 0;
24698 wxWindow
*arg1
= (wxWindow
*) 0 ;
24699 wxAutoBufferedPaintDC
*result
= 0 ;
24702 PyObject
* obj0
= 0 ;
24703 char * kwnames
[] = {
24704 (char *) "win", NULL
24707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24709 if (!SWIG_IsOK(res1
)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24726 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24729 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24730 return SWIG_Py_Void();
24733 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24734 return SWIG_Python_InitShadowInstance(args
);
24737 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxWindow
*arg1
= (wxWindow
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 char * kwnames
[] = {
24745 (char *) "window", NULL
24748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24769 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
= 0;
24773 wxMirrorDC
*result
= 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 char * kwnames
[] = {
24781 (char *) "dc",(char *) "mirror", NULL
24784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24785 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24786 if (!SWIG_IsOK(res1
)) {
24787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24793 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24794 if (!SWIG_IsOK(ecode2
)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24797 arg2
= static_cast< bool >(val2
);
24799 if (!wxPyCheckForApp()) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24812 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24815 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24816 return SWIG_Py_Void();
24819 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24820 return SWIG_Python_InitShadowInstance(args
);
24823 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxPrintData
*arg1
= 0 ;
24826 wxPostScriptDC
*result
= 0 ;
24829 PyObject
* obj0
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "printData", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24835 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24842 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24844 if (!wxPyCheckForApp()) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24857 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24858 PyObject
*resultobj
= 0;
24859 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24860 wxPrintData
*result
= 0 ;
24863 PyObject
*swig_obj
[1] ;
24865 if (!args
) SWIG_fail
;
24866 swig_obj
[0] = args
;
24867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24871 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24876 result
= (wxPrintData
*) &_result_ref
;
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24888 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
= 0;
24890 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24891 wxPrintData
*arg2
= 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 char * kwnames
[] = {
24899 (char *) "self",(char *) "data", NULL
24902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24904 if (!SWIG_IsOK(res1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24907 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24909 if (!SWIG_IsOK(res2
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24915 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_Py_Void();
24929 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
= 0;
24934 PyObject
* obj0
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "ppi", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24940 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24941 if (!SWIG_IsOK(ecode1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24944 arg1
= static_cast< int >(val1
);
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 wxPostScriptDC::SetResolution(arg1
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= SWIG_Py_Void();
24958 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24959 PyObject
*resultobj
= 0;
24962 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (int)wxPostScriptDC::GetResolution();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_From_int(static_cast< int >(result
));
24976 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24979 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24980 return SWIG_Py_Void();
24983 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24984 return SWIG_Python_InitShadowInstance(args
);
24987 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
= 0;
24989 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24990 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24991 wxMetaFile
*result
= 0 ;
24992 bool temp1
= false ;
24993 PyObject
* obj0
= 0 ;
24994 char * kwnames
[] = {
24995 (char *) "filename", NULL
24998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25001 arg1
= wxString_in_helper(obj0
);
25002 if (arg1
== NULL
) SWIG_fail
;
25007 if (!wxPyCheckForApp()) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25028 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25029 PyObject
*resultobj
= 0;
25030 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25033 PyObject
*swig_obj
[1] ;
25035 if (!args
) SWIG_fail
;
25036 swig_obj
[0] = args
;
25037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25041 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_Py_Void();
25056 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25057 PyObject
*resultobj
= 0;
25058 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25062 PyObject
*swig_obj
[1] ;
25064 if (!args
) SWIG_fail
;
25065 swig_obj
[0] = args
;
25066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25070 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (bool)(arg1
)->IsOk();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25086 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= 0;
25088 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25089 int arg2
= (int) 0 ;
25090 int arg3
= (int) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 PyObject
* obj2
= 0 ;
25101 char * kwnames
[] = {
25102 (char *) "self",(char *) "width",(char *) "height", NULL
25105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25107 if (!SWIG_IsOK(res1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25110 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25113 if (!SWIG_IsOK(ecode2
)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25116 arg2
= static_cast< int >(val2
);
25119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25120 if (!SWIG_IsOK(ecode3
)) {
25121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25123 arg3
= static_cast< int >(val3
);
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25140 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25141 PyObject
*resultobj
= 0;
25142 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25146 PyObject
*swig_obj
[1] ;
25148 if (!args
) SWIG_fail
;
25149 swig_obj
[0] = args
;
25150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25151 if (!SWIG_IsOK(res1
)) {
25152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25154 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (arg1
)->GetSize();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25168 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25169 PyObject
*resultobj
= 0;
25170 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25174 PyObject
*swig_obj
[1] ;
25176 if (!args
) SWIG_fail
;
25177 swig_obj
[0] = args
;
25178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25179 if (!SWIG_IsOK(res1
)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25182 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (int)(arg1
)->GetWidth();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_From_int(static_cast< int >(result
));
25196 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25197 PyObject
*resultobj
= 0;
25198 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25202 PyObject
*swig_obj
[1] ;
25204 if (!args
) SWIG_fail
;
25205 swig_obj
[0] = args
;
25206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25210 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (int)(arg1
)->GetHeight();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_From_int(static_cast< int >(result
));
25224 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25227 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25228 return SWIG_Py_Void();
25231 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25232 return SWIG_Python_InitShadowInstance(args
);
25235 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25237 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25238 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25239 int arg2
= (int) 0 ;
25240 int arg3
= (int) 0 ;
25241 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25242 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25243 wxMetaFileDC
*result
= 0 ;
25244 bool temp1
= false ;
25249 bool temp4
= false ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 PyObject
* obj3
= 0 ;
25254 char * kwnames
[] = {
25255 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25261 arg1
= wxString_in_helper(obj0
);
25262 if (arg1
== NULL
) SWIG_fail
;
25267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25268 if (!SWIG_IsOK(ecode2
)) {
25269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25271 arg2
= static_cast< int >(val2
);
25274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25275 if (!SWIG_IsOK(ecode3
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25278 arg3
= static_cast< int >(val3
);
25282 arg4
= wxString_in_helper(obj3
);
25283 if (arg4
== NULL
) SWIG_fail
;
25288 if (!wxPyCheckForApp()) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25317 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25318 PyObject
*resultobj
= 0;
25319 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25320 wxMetaFile
*result
= 0 ;
25323 PyObject
*swig_obj
[1] ;
25325 if (!args
) SWIG_fail
;
25326 swig_obj
[0] = args
;
25327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25331 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= (wxMetaFile
*)(arg1
)->Close();
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25345 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25348 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25349 return SWIG_Py_Void();
25352 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 return SWIG_Python_InitShadowInstance(args
);
25356 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
= 0;
25358 wxPrintData
*arg1
= 0 ;
25359 wxPrinterDC
*result
= 0 ;
25362 PyObject
* obj0
= 0 ;
25363 char * kwnames
[] = {
25364 (char *) "printData", NULL
25367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25368 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25375 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25377 if (!wxPyCheckForApp()) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25390 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25393 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25394 return SWIG_Py_Void();
25397 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 return SWIG_Python_InitShadowInstance(args
);
25401 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25404 wxGraphicsObject
*result
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 char * kwnames
[] = {
25409 (char *) "renderer", NULL
25412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25418 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25421 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25431 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25432 PyObject
*resultobj
= 0;
25433 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25436 PyObject
*swig_obj
[1] ;
25438 if (!args
) SWIG_fail
;
25439 swig_obj
[0] = args
;
25440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25444 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= SWIG_Py_Void();
25457 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25458 PyObject
*resultobj
= 0;
25459 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25463 PyObject
*swig_obj
[1] ;
25465 if (!args
) SWIG_fail
;
25466 swig_obj
[0] = args
;
25467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25471 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25473 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25474 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25485 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25486 PyObject
*resultobj
= 0;
25487 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25488 wxGraphicsRenderer
*result
= 0 ;
25491 PyObject
*swig_obj
[1] ;
25493 if (!args
) SWIG_fail
;
25494 swig_obj
[0] = args
;
25495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25499 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25501 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25511 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25514 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25515 return SWIG_Py_Void();
25518 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25519 return SWIG_Python_InitShadowInstance(args
);
25522 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 PyObject
*resultobj
= 0;
25524 wxGraphicsPen
*result
= 0 ;
25526 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25528 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25538 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25539 PyObject
*resultobj
= 0;
25540 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25551 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_Py_Void();
25564 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25567 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25568 return SWIG_Py_Void();
25571 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25572 return SWIG_Python_InitShadowInstance(args
);
25575 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25576 PyObject
*resultobj
= 0;
25577 wxGraphicsBrush
*result
= 0 ;
25579 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25581 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25591 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25596 PyObject
*swig_obj
[1] ;
25598 if (!args
) SWIG_fail
;
25599 swig_obj
[0] = args
;
25600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25604 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_Py_Void();
25617 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25620 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25621 return SWIG_Py_Void();
25624 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25625 return SWIG_Python_InitShadowInstance(args
);
25628 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25629 PyObject
*resultobj
= 0;
25630 wxGraphicsFont
*result
= 0 ;
25632 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25634 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25644 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 PyObject
*resultobj
= 0;
25646 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25649 PyObject
*swig_obj
[1] ;
25651 if (!args
) SWIG_fail
;
25652 swig_obj
[0] = args
;
25653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25654 if (!SWIG_IsOK(res1
)) {
25655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25657 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= SWIG_Py_Void();
25670 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25673 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25674 return SWIG_Py_Void();
25677 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 return SWIG_Python_InitShadowInstance(args
);
25681 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 PyObject
*resultobj
= 0;
25683 wxGraphicsMatrix
*result
= 0 ;
25685 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25687 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25697 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25698 PyObject
*resultobj
= 0;
25699 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25702 PyObject
*swig_obj
[1] ;
25704 if (!args
) SWIG_fail
;
25705 swig_obj
[0] = args
;
25706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25707 if (!SWIG_IsOK(res1
)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25710 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_Py_Void();
25723 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
= 0;
25725 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25726 wxGraphicsMatrix
*arg2
= 0 ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 char * kwnames
[] = {
25734 (char *) "self",(char *) "t", NULL
25737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25742 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25744 if (!SWIG_IsOK(res2
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25750 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25752 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
= 0;
25764 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25765 wxDouble arg2
= (wxDouble
) 1.0 ;
25766 wxDouble arg3
= (wxDouble
) 0.0 ;
25767 wxDouble arg4
= (wxDouble
) 0.0 ;
25768 wxDouble arg5
= (wxDouble
) 1.0 ;
25769 wxDouble arg6
= (wxDouble
) 0.0 ;
25770 wxDouble arg7
= (wxDouble
) 0.0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 PyObject
* obj2
= 0 ;
25788 PyObject
* obj3
= 0 ;
25789 PyObject
* obj4
= 0 ;
25790 PyObject
* obj5
= 0 ;
25791 PyObject
* obj6
= 0 ;
25792 char * kwnames
[] = {
25793 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25801 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25803 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25804 if (!SWIG_IsOK(ecode2
)) {
25805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25807 arg2
= static_cast< wxDouble
>(val2
);
25810 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25811 if (!SWIG_IsOK(ecode3
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25814 arg3
= static_cast< wxDouble
>(val3
);
25817 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25818 if (!SWIG_IsOK(ecode4
)) {
25819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25821 arg4
= static_cast< wxDouble
>(val4
);
25824 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25825 if (!SWIG_IsOK(ecode5
)) {
25826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25828 arg5
= static_cast< wxDouble
>(val5
);
25831 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25832 if (!SWIG_IsOK(ecode6
)) {
25833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25835 arg6
= static_cast< wxDouble
>(val6
);
25838 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25839 if (!SWIG_IsOK(ecode7
)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25842 arg7
= static_cast< wxDouble
>(val7
);
25845 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_Py_Void();
25855 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25868 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_Py_Void();
25880 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= 0;
25882 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25883 wxGraphicsMatrix
*arg2
= 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char * kwnames
[] = {
25892 (char *) "self",(char *) "t", NULL
25895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25897 if (!SWIG_IsOK(res1
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25900 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25902 if (!SWIG_IsOK(res2
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25908 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25910 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25922 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25923 PyObject
*resultobj
= 0;
25924 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25928 PyObject
*swig_obj
[1] ;
25930 if (!args
) SWIG_fail
;
25931 swig_obj
[0] = args
;
25932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25936 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25938 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25950 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
= 0;
25952 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 PyObject
* obj2
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "self",(char *) "dx",(char *) "dy", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25973 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25974 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25975 if (!SWIG_IsOK(ecode2
)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25978 arg2
= static_cast< wxDouble
>(val2
);
25979 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25980 if (!SWIG_IsOK(ecode3
)) {
25981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25983 arg3
= static_cast< wxDouble
>(val3
);
25985 (arg1
)->Translate(arg2
,arg3
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_Py_Void();
25995 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
= 0;
25997 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 PyObject
* obj2
= 0 ;
26009 char * kwnames
[] = {
26010 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26015 if (!SWIG_IsOK(res1
)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26018 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26019 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26020 if (!SWIG_IsOK(ecode2
)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26023 arg2
= static_cast< wxDouble
>(val2
);
26024 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26025 if (!SWIG_IsOK(ecode3
)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26028 arg3
= static_cast< wxDouble
>(val3
);
26030 (arg1
)->Scale(arg2
,arg3
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_Py_Void();
26040 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char * kwnames
[] = {
26051 (char *) "self",(char *) "angle", NULL
26054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26059 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26060 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26061 if (!SWIG_IsOK(ecode2
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26064 arg2
= static_cast< wxDouble
>(val2
);
26066 (arg1
)->Rotate(arg2
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26079 wxDouble
*arg2
= (wxDouble
*) 0 ;
26080 wxDouble
*arg3
= (wxDouble
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 PyObject
* obj2
= 0 ;
26090 char * kwnames
[] = {
26091 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26096 if (!SWIG_IsOK(res1
)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26099 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26100 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26102 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26103 if (!SWIG_IsOK(ecode
)) {
26104 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26106 temp2
= static_cast< wxDouble
>(val
);
26108 res2
= SWIG_AddTmpMask(ecode
);
26110 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26112 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26113 if (!SWIG_IsOK(ecode
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26116 temp3
= static_cast< wxDouble
>(val
);
26118 res3
= SWIG_AddTmpMask(ecode
);
26121 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_Py_Void();
26125 if (SWIG_IsTmpObj(res2
)) {
26126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26131 if (SWIG_IsTmpObj(res3
)) {
26132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26143 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
= 0;
26145 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26146 wxDouble
*arg2
= (wxDouble
*) 0 ;
26147 wxDouble
*arg3
= (wxDouble
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 PyObject
* obj2
= 0 ;
26157 char * kwnames
[] = {
26158 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26163 if (!SWIG_IsOK(res1
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26166 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26167 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26169 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26170 if (!SWIG_IsOK(ecode
)) {
26171 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26173 temp2
= static_cast< wxDouble
>(val
);
26175 res2
= SWIG_AddTmpMask(ecode
);
26177 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26179 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26180 if (!SWIG_IsOK(ecode
)) {
26181 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26183 temp3
= static_cast< wxDouble
>(val
);
26185 res3
= SWIG_AddTmpMask(ecode
);
26188 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26192 if (SWIG_IsTmpObj(res2
)) {
26193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26195 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26198 if (SWIG_IsTmpObj(res3
)) {
26199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26201 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26210 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 PyObject
*resultobj
= 0;
26212 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26216 PyObject
*swig_obj
[1] ;
26218 if (!args
) SWIG_fail
;
26219 swig_obj
[0] = args
;
26220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26224 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26226 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26236 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26239 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26240 return SWIG_Py_Void();
26243 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 return SWIG_Python_InitShadowInstance(args
);
26247 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26248 PyObject
*resultobj
= 0;
26249 wxGraphicsPath
*result
= 0 ;
26251 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26253 if (!wxPyCheckForApp()) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26266 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26267 PyObject
*resultobj
= 0;
26268 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26271 PyObject
*swig_obj
[1] ;
26273 if (!args
) SWIG_fail
;
26274 swig_obj
[0] = args
;
26275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26279 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_Py_Void();
26292 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26293 PyObject
*resultobj
= 0;
26294 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26304 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26309 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26310 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26311 if (!SWIG_IsOK(ecode2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26314 arg2
= static_cast< wxDouble
>(val2
);
26315 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26316 if (!SWIG_IsOK(ecode3
)) {
26317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26319 arg3
= static_cast< wxDouble
>(val3
);
26321 (arg1
)->MoveToPoint(arg2
,arg3
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26332 PyObject
*resultobj
= 0;
26333 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26334 wxPoint2D
*arg2
= 0 ;
26339 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26344 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26347 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26350 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26364 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26367 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26370 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26374 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26379 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26380 PyObject
*resultobj
= 0;
26381 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26396 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26397 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26398 if (!SWIG_IsOK(ecode2
)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26401 arg2
= static_cast< wxDouble
>(val2
);
26402 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26403 if (!SWIG_IsOK(ecode3
)) {
26404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26406 arg3
= static_cast< wxDouble
>(val3
);
26408 (arg1
)->AddLineToPoint(arg2
,arg3
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_Py_Void();
26418 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26419 PyObject
*resultobj
= 0;
26420 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26421 wxPoint2D
*arg2
= 0 ;
26426 if ((nobjs
< 2) || (nobjs
> 2)) 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_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26431 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26434 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26437 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_Py_Void();
26447 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26451 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26454 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26457 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26461 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26466 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26467 PyObject
*resultobj
= 0;
26468 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26490 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26495 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26496 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26497 if (!SWIG_IsOK(ecode2
)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26500 arg2
= static_cast< wxDouble
>(val2
);
26501 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26502 if (!SWIG_IsOK(ecode3
)) {
26503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26505 arg3
= static_cast< wxDouble
>(val3
);
26506 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26507 if (!SWIG_IsOK(ecode4
)) {
26508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26510 arg4
= static_cast< wxDouble
>(val4
);
26511 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26512 if (!SWIG_IsOK(ecode5
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26515 arg5
= static_cast< wxDouble
>(val5
);
26516 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26517 if (!SWIG_IsOK(ecode6
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26520 arg6
= static_cast< wxDouble
>(val6
);
26521 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26522 if (!SWIG_IsOK(ecode7
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26525 arg7
= static_cast< wxDouble
>(val7
);
26527 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_Py_Void();
26537 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26538 PyObject
*resultobj
= 0;
26539 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26540 wxPoint2D
*arg2
= 0 ;
26541 wxPoint2D
*arg3
= 0 ;
26542 wxPoint2D
*arg4
= 0 ;
26549 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26554 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26557 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26561 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26565 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26568 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_Py_Void();
26578 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26585 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26588 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26597 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26600 wxGraphicsPath
*arg2
= 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char * kwnames
[] = {
26608 (char *) "self",(char *) "path", NULL
26611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26616 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26618 if (!SWIG_IsOK(res2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26624 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26626 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26637 PyObject
*resultobj
= 0;
26638 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26641 PyObject
*swig_obj
[1] ;
26643 if (!args
) SWIG_fail
;
26644 swig_obj
[0] = args
;
26645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26649 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26651 (arg1
)->CloseSubpath();
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_Py_Void();
26661 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26662 PyObject
*resultobj
= 0;
26663 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26667 PyObject
*swig_obj
[1] ;
26669 if (!args
) SWIG_fail
;
26670 swig_obj
[0] = args
;
26671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26675 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26677 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26687 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26688 PyObject
*resultobj
= 0;
26689 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26711 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26716 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26717 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26718 if (!SWIG_IsOK(ecode2
)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26721 arg2
= static_cast< wxDouble
>(val2
);
26722 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26723 if (!SWIG_IsOK(ecode3
)) {
26724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26726 arg3
= static_cast< wxDouble
>(val3
);
26727 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26728 if (!SWIG_IsOK(ecode4
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26731 arg4
= static_cast< wxDouble
>(val4
);
26732 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26733 if (!SWIG_IsOK(ecode5
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26736 arg5
= static_cast< wxDouble
>(val5
);
26737 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26738 if (!SWIG_IsOK(ecode6
)) {
26739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26741 arg6
= static_cast< wxDouble
>(val6
);
26742 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26743 if (!SWIG_IsOK(ecode7
)) {
26744 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26746 arg7
= static_cast< bool >(val7
);
26748 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26759 PyObject
*resultobj
= 0;
26760 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26761 wxPoint2D
*arg2
= 0 ;
26778 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26783 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26786 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26788 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26789 if (!SWIG_IsOK(ecode3
)) {
26790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26792 arg3
= static_cast< wxDouble
>(val3
);
26793 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26794 if (!SWIG_IsOK(ecode4
)) {
26795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26797 arg4
= static_cast< wxDouble
>(val4
);
26798 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26799 if (!SWIG_IsOK(ecode5
)) {
26800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26802 arg5
= static_cast< wxDouble
>(val5
);
26803 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26804 if (!SWIG_IsOK(ecode6
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26807 arg6
= static_cast< bool >(val6
);
26809 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_Py_Void();
26819 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26823 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26826 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26829 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26833 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26838 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
= 0;
26840 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 PyObject
* obj3
= 0 ;
26859 PyObject
* obj4
= 0 ;
26860 char * kwnames
[] = {
26861 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26869 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26870 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26871 if (!SWIG_IsOK(ecode2
)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26874 arg2
= static_cast< wxDouble
>(val2
);
26875 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26876 if (!SWIG_IsOK(ecode3
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26879 arg3
= static_cast< wxDouble
>(val3
);
26880 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26881 if (!SWIG_IsOK(ecode4
)) {
26882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26884 arg4
= static_cast< wxDouble
>(val4
);
26885 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26886 if (!SWIG_IsOK(ecode5
)) {
26887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26889 arg5
= static_cast< wxDouble
>(val5
);
26891 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_Py_Void();
26901 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
= 0;
26903 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 PyObject
* obj3
= 0 ;
26922 PyObject
* obj4
= 0 ;
26923 char * kwnames
[] = {
26924 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26929 if (!SWIG_IsOK(res1
)) {
26930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26932 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26933 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26934 if (!SWIG_IsOK(ecode2
)) {
26935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26937 arg2
= static_cast< wxDouble
>(val2
);
26938 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26939 if (!SWIG_IsOK(ecode3
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26942 arg3
= static_cast< wxDouble
>(val3
);
26943 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26944 if (!SWIG_IsOK(ecode4
)) {
26945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26947 arg4
= static_cast< wxDouble
>(val4
);
26948 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26949 if (!SWIG_IsOK(ecode5
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26952 arg5
= static_cast< wxDouble
>(val5
);
26954 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= SWIG_Py_Void();
26964 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
= 0;
26966 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 PyObject
* obj2
= 0 ;
26981 PyObject
* obj3
= 0 ;
26982 char * kwnames
[] = {
26983 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26991 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26992 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26993 if (!SWIG_IsOK(ecode2
)) {
26994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26996 arg2
= static_cast< wxDouble
>(val2
);
26997 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26998 if (!SWIG_IsOK(ecode3
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27001 arg3
= static_cast< wxDouble
>(val3
);
27002 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27003 if (!SWIG_IsOK(ecode4
)) {
27004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27006 arg4
= static_cast< wxDouble
>(val4
);
27008 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_Py_Void();
27018 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
= 0;
27020 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 PyObject
* obj1
= 0 ;
27040 PyObject
* obj2
= 0 ;
27041 PyObject
* obj3
= 0 ;
27042 PyObject
* obj4
= 0 ;
27043 PyObject
* obj5
= 0 ;
27044 char * kwnames
[] = {
27045 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27053 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27054 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27055 if (!SWIG_IsOK(ecode2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27058 arg2
= static_cast< wxDouble
>(val2
);
27059 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27060 if (!SWIG_IsOK(ecode3
)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27063 arg3
= static_cast< wxDouble
>(val3
);
27064 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27065 if (!SWIG_IsOK(ecode4
)) {
27066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27068 arg4
= static_cast< wxDouble
>(val4
);
27069 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27070 if (!SWIG_IsOK(ecode5
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27073 arg5
= static_cast< wxDouble
>(val5
);
27074 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27075 if (!SWIG_IsOK(ecode6
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27078 arg6
= static_cast< wxDouble
>(val6
);
27080 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_Py_Void();
27090 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
= 0;
27092 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 PyObject
* obj3
= 0 ;
27111 PyObject
* obj4
= 0 ;
27112 char * kwnames
[] = {
27113 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27118 if (!SWIG_IsOK(res1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27121 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27122 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27123 if (!SWIG_IsOK(ecode2
)) {
27124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27126 arg2
= static_cast< wxDouble
>(val2
);
27127 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27128 if (!SWIG_IsOK(ecode3
)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27131 arg3
= static_cast< wxDouble
>(val3
);
27132 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27133 if (!SWIG_IsOK(ecode4
)) {
27134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27136 arg4
= static_cast< wxDouble
>(val4
);
27137 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27138 if (!SWIG_IsOK(ecode5
)) {
27139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27141 arg5
= static_cast< wxDouble
>(val5
);
27143 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 resultobj
= SWIG_Py_Void();
27153 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
= 0;
27155 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 PyObject
* obj3
= 0 ;
27177 PyObject
* obj4
= 0 ;
27178 PyObject
* obj5
= 0 ;
27179 char * kwnames
[] = {
27180 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27185 if (!SWIG_IsOK(res1
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27188 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27189 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27190 if (!SWIG_IsOK(ecode2
)) {
27191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27193 arg2
= static_cast< wxDouble
>(val2
);
27194 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27195 if (!SWIG_IsOK(ecode3
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27198 arg3
= static_cast< wxDouble
>(val3
);
27199 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27200 if (!SWIG_IsOK(ecode4
)) {
27201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27203 arg4
= static_cast< wxDouble
>(val4
);
27204 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27205 if (!SWIG_IsOK(ecode5
)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27208 arg5
= static_cast< wxDouble
>(val5
);
27209 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27210 if (!SWIG_IsOK(ecode6
)) {
27211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27213 arg6
= static_cast< wxDouble
>(val6
);
27215 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_Py_Void();
27225 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27226 PyObject
*resultobj
= 0;
27227 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27239 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27241 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27251 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= 0;
27253 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27254 void *arg2
= (void *) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "self",(char *) "p", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27269 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27270 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27271 if (!SWIG_IsOK(res2
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27275 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
= 0;
27287 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27288 wxGraphicsMatrix
*arg2
= 0 ;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 char * kwnames
[] = {
27296 (char *) "self",(char *) "matrix", NULL
27299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27304 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27306 if (!SWIG_IsOK(res2
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27312 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27314 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_Py_Void();
27324 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27327 wxRect2DDouble result
;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27338 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27340 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27350 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27351 PyObject
*resultobj
= 0;
27352 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27355 int arg4
= (int) wxODDEVEN_RULE
;
27366 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27368 if (!SWIG_IsOK(res1
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27371 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27372 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27373 if (!SWIG_IsOK(ecode2
)) {
27374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27376 arg2
= static_cast< wxDouble
>(val2
);
27377 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27378 if (!SWIG_IsOK(ecode3
)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27381 arg3
= static_cast< wxDouble
>(val3
);
27383 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27384 if (!SWIG_IsOK(ecode4
)) {
27385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27387 arg4
= static_cast< int >(val4
);
27390 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27402 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27403 PyObject
*resultobj
= 0;
27404 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27405 wxPoint2DDouble
*arg2
= 0 ;
27406 int arg3
= (int) wxODDEVEN_RULE
;
27415 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27420 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27421 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27422 if (!SWIG_IsOK(res2
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27428 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27430 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27431 if (!SWIG_IsOK(ecode3
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27434 arg3
= static_cast< int >(val3
);
27437 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27449 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27453 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27455 if ((argc
>= 2) && (argc
<= 3)) {
27458 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27459 _v
= SWIG_CheckState(res
);
27461 if (!_v
) goto check_1
;
27465 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27466 _v
= SWIG_CheckState(res
);
27469 if (!_v
) goto check_1
;
27471 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27475 if ((argc
>= 3) && (argc
<= 4)) {
27476 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27480 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27485 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27488 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27489 return SWIG_Py_Void();
27492 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27493 return SWIG_Python_InitShadowInstance(args
);
27496 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27497 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27502 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27503 PyObject
*pyobj
= 0;
27505 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27510 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27511 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27516 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27517 PyObject
*pyobj
= 0;
27519 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27524 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27525 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27530 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27531 PyObject
*pyobj
= 0;
27533 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27538 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27539 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27544 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27545 PyObject
*pyobj
= 0;
27547 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27552 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27553 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27558 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27559 PyObject
*pyobj
= 0;
27561 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27566 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27579 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_Py_Void();
27592 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27593 PyObject
*resultobj
= 0;
27594 wxWindowDC
*arg1
= 0 ;
27595 wxGraphicsContext
*result
= 0 ;
27599 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27607 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27609 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27619 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27620 PyObject
*resultobj
= 0;
27621 wxWindow
*arg1
= (wxWindow
*) 0 ;
27622 wxGraphicsContext
*result
= 0 ;
27626 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27633 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27643 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27647 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27652 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27653 _v
= SWIG_CheckState(res
);
27655 if (!_v
) goto check_1
;
27656 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27661 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27665 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27670 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27671 PyObject
*resultobj
= 0;
27672 wxGraphicsContext
*result
= 0 ;
27674 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27676 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27686 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
= 0;
27688 void *arg1
= (void *) 0 ;
27689 wxGraphicsContext
*result
= 0 ;
27691 PyObject
* obj0
= 0 ;
27692 char * kwnames
[] = {
27693 (char *) "context", NULL
27696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27697 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27702 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27712 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
= 0;
27714 void *arg1
= (void *) 0 ;
27715 wxGraphicsContext
*result
= 0 ;
27717 PyObject
* obj0
= 0 ;
27718 char * kwnames
[] = {
27719 (char *) "window", NULL
27722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27723 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27724 if (!SWIG_IsOK(res1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27728 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27738 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27739 PyObject
*resultobj
= 0;
27740 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27741 wxGraphicsPath result
;
27744 PyObject
*swig_obj
[1] ;
27746 if (!args
) SWIG_fail
;
27747 swig_obj
[0] = args
;
27748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27749 if (!SWIG_IsOK(res1
)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27752 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27754 result
= (arg1
)->CreatePath();
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27764 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27765 PyObject
*resultobj
= 0;
27766 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27768 wxGraphicsPen result
;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char * kwnames
[] = {
27776 (char *) "self",(char *) "pen", NULL
27779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27781 if (!SWIG_IsOK(res1
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27784 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27786 if (!SWIG_IsOK(res2
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27792 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27794 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27804 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
= 0;
27806 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27807 wxBrush
*arg2
= 0 ;
27808 wxGraphicsBrush result
;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 char * kwnames
[] = {
27816 (char *) "self",(char *) "brush", NULL
27819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27821 if (!SWIG_IsOK(res1
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27824 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27826 if (!SWIG_IsOK(res2
)) {
27827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27832 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27834 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27844 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
= 0;
27846 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27851 wxColour
*arg6
= 0 ;
27852 wxColour
*arg7
= 0 ;
27853 wxGraphicsBrush result
;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 PyObject
* obj2
= 0 ;
27869 PyObject
* obj3
= 0 ;
27870 PyObject
* obj4
= 0 ;
27871 PyObject
* obj5
= 0 ;
27872 PyObject
* obj6
= 0 ;
27873 char * kwnames
[] = {
27874 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27882 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27883 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27884 if (!SWIG_IsOK(ecode2
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27887 arg2
= static_cast< wxDouble
>(val2
);
27888 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27889 if (!SWIG_IsOK(ecode3
)) {
27890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27892 arg3
= static_cast< wxDouble
>(val3
);
27893 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27894 if (!SWIG_IsOK(ecode4
)) {
27895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27897 arg4
= static_cast< wxDouble
>(val4
);
27898 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27899 if (!SWIG_IsOK(ecode5
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27902 arg5
= static_cast< wxDouble
>(val5
);
27905 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27909 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27912 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27922 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
= 0;
27924 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27930 wxColour
*arg7
= 0 ;
27931 wxColour
*arg8
= 0 ;
27932 wxGraphicsBrush result
;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 PyObject
* obj2
= 0 ;
27950 PyObject
* obj3
= 0 ;
27951 PyObject
* obj4
= 0 ;
27952 PyObject
* obj5
= 0 ;
27953 PyObject
* obj6
= 0 ;
27954 PyObject
* obj7
= 0 ;
27955 char * kwnames
[] = {
27956 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27961 if (!SWIG_IsOK(res1
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27964 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27965 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27966 if (!SWIG_IsOK(ecode2
)) {
27967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27969 arg2
= static_cast< wxDouble
>(val2
);
27970 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27971 if (!SWIG_IsOK(ecode3
)) {
27972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27974 arg3
= static_cast< wxDouble
>(val3
);
27975 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27976 if (!SWIG_IsOK(ecode4
)) {
27977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27979 arg4
= static_cast< wxDouble
>(val4
);
27980 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27981 if (!SWIG_IsOK(ecode5
)) {
27982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27984 arg5
= static_cast< wxDouble
>(val5
);
27985 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27986 if (!SWIG_IsOK(ecode6
)) {
27987 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27989 arg6
= static_cast< wxDouble
>(val6
);
27992 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27996 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27999 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28009 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
= 0;
28011 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28013 wxColour
const &arg3_defvalue
= *wxBLACK
;
28014 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28015 wxGraphicsFont result
;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 char * kwnames
[] = {
28025 (char *) "self",(char *) "font",(char *) "col", NULL
28028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28033 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28035 if (!SWIG_IsOK(res2
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28041 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28045 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28049 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28059 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
= 0;
28061 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28062 wxDouble arg2
= (wxDouble
) 1.0 ;
28063 wxDouble arg3
= (wxDouble
) 0.0 ;
28064 wxDouble arg4
= (wxDouble
) 0.0 ;
28065 wxDouble arg5
= (wxDouble
) 1.0 ;
28066 wxDouble arg6
= (wxDouble
) 0.0 ;
28067 wxDouble arg7
= (wxDouble
) 0.0 ;
28068 wxGraphicsMatrix result
;
28083 PyObject
* obj0
= 0 ;
28084 PyObject
* obj1
= 0 ;
28085 PyObject
* obj2
= 0 ;
28086 PyObject
* obj3
= 0 ;
28087 PyObject
* obj4
= 0 ;
28088 PyObject
* obj5
= 0 ;
28089 PyObject
* obj6
= 0 ;
28090 char * kwnames
[] = {
28091 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28099 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28101 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28102 if (!SWIG_IsOK(ecode2
)) {
28103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28105 arg2
= static_cast< wxDouble
>(val2
);
28108 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28109 if (!SWIG_IsOK(ecode3
)) {
28110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28112 arg3
= static_cast< wxDouble
>(val3
);
28115 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28116 if (!SWIG_IsOK(ecode4
)) {
28117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28119 arg4
= static_cast< wxDouble
>(val4
);
28122 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28123 if (!SWIG_IsOK(ecode5
)) {
28124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28126 arg5
= static_cast< wxDouble
>(val5
);
28129 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28130 if (!SWIG_IsOK(ecode6
)) {
28131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28133 arg6
= static_cast< wxDouble
>(val6
);
28136 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28137 if (!SWIG_IsOK(ecode7
)) {
28138 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28140 arg7
= static_cast< wxDouble
>(val7
);
28143 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28153 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28154 PyObject
*resultobj
= 0;
28155 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28158 PyObject
*swig_obj
[1] ;
28160 if (!args
) SWIG_fail
;
28161 swig_obj
[0] = args
;
28162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28163 if (!SWIG_IsOK(res1
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28166 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28168 (arg1
)->PushState();
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= SWIG_Py_Void();
28178 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28183 PyObject
*swig_obj
[1] ;
28185 if (!args
) SWIG_fail
;
28186 swig_obj
[0] = args
;
28187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28188 if (!SWIG_IsOK(res1
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28191 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28193 (arg1
)->PopState();
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= SWIG_Py_Void();
28203 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
= 0;
28205 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28206 wxRegion
*arg2
= 0 ;
28211 PyObject
* obj0
= 0 ;
28212 PyObject
* obj1
= 0 ;
28213 char * kwnames
[] = {
28214 (char *) "self",(char *) "region", NULL
28217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28219 if (!SWIG_IsOK(res1
)) {
28220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28222 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28224 if (!SWIG_IsOK(res2
)) {
28225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28230 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28232 (arg1
)->Clip((wxRegion
const &)*arg2
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= SWIG_Py_Void();
28242 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
= 0;
28244 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28259 PyObject
* obj0
= 0 ;
28260 PyObject
* obj1
= 0 ;
28261 PyObject
* obj2
= 0 ;
28262 PyObject
* obj3
= 0 ;
28263 PyObject
* obj4
= 0 ;
28264 char * kwnames
[] = {
28265 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28270 if (!SWIG_IsOK(res1
)) {
28271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28273 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28274 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28275 if (!SWIG_IsOK(ecode2
)) {
28276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28278 arg2
= static_cast< wxDouble
>(val2
);
28279 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28280 if (!SWIG_IsOK(ecode3
)) {
28281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28283 arg3
= static_cast< wxDouble
>(val3
);
28284 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28285 if (!SWIG_IsOK(ecode4
)) {
28286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28288 arg4
= static_cast< wxDouble
>(val4
);
28289 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28290 if (!SWIG_IsOK(ecode5
)) {
28291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28293 arg5
= static_cast< wxDouble
>(val5
);
28295 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= SWIG_Py_Void();
28305 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28306 PyObject
*resultobj
= 0;
28307 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28310 PyObject
*swig_obj
[1] ;
28312 if (!args
) SWIG_fail
;
28313 swig_obj
[0] = args
;
28314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28315 if (!SWIG_IsOK(res1
)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28318 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28320 (arg1
)->ResetClip();
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_Py_Void();
28330 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 PyObject
*resultobj
= 0;
28332 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28336 PyObject
*swig_obj
[1] ;
28338 if (!args
) SWIG_fail
;
28339 swig_obj
[0] = args
;
28340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28344 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28346 result
= (void *)(arg1
)->GetNativeContext();
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28356 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
= 0;
28358 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 PyObject
* obj2
= 0 ;
28370 char * kwnames
[] = {
28371 (char *) "self",(char *) "dx",(char *) "dy", NULL
28374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28379 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28380 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28381 if (!SWIG_IsOK(ecode2
)) {
28382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28384 arg2
= static_cast< wxDouble
>(val2
);
28385 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28386 if (!SWIG_IsOK(ecode3
)) {
28387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28389 arg3
= static_cast< wxDouble
>(val3
);
28391 (arg1
)->Translate(arg2
,arg3
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_Py_Void();
28401 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
= 0;
28403 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 PyObject
* obj2
= 0 ;
28415 char * kwnames
[] = {
28416 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28424 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28425 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28426 if (!SWIG_IsOK(ecode2
)) {
28427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28429 arg2
= static_cast< wxDouble
>(val2
);
28430 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28431 if (!SWIG_IsOK(ecode3
)) {
28432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28434 arg3
= static_cast< wxDouble
>(val3
);
28436 (arg1
)->Scale(arg2
,arg3
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_Py_Void();
28446 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= 0;
28448 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 char * kwnames
[] = {
28457 (char *) "self",(char *) "angle", NULL
28460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28462 if (!SWIG_IsOK(res1
)) {
28463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28465 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28466 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28467 if (!SWIG_IsOK(ecode2
)) {
28468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28470 arg2
= static_cast< wxDouble
>(val2
);
28472 (arg1
)->Rotate(arg2
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_Py_Void();
28482 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
= 0;
28484 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28485 wxGraphicsMatrix
*arg2
= 0 ;
28490 PyObject
* obj0
= 0 ;
28491 PyObject
* obj1
= 0 ;
28492 char * kwnames
[] = {
28493 (char *) "self",(char *) "matrix", NULL
28496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28498 if (!SWIG_IsOK(res1
)) {
28499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28501 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28503 if (!SWIG_IsOK(res2
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28509 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28511 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_Py_Void();
28521 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
= 0;
28523 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28524 wxGraphicsMatrix
*arg2
= 0 ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char * kwnames
[] = {
28532 (char *) "self",(char *) "matrix", NULL
28535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28540 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28542 if (!SWIG_IsOK(res2
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28548 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28550 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= SWIG_Py_Void();
28560 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28561 PyObject
*resultobj
= 0;
28562 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28563 wxGraphicsMatrix result
;
28566 PyObject
*swig_obj
[1] ;
28568 if (!args
) SWIG_fail
;
28569 swig_obj
[0] = args
;
28570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28571 if (!SWIG_IsOK(res1
)) {
28572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28574 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28576 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28586 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28587 PyObject
*resultobj
= 0;
28588 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28589 wxGraphicsPen
*arg2
= 0 ;
28595 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28600 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28601 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28602 if (!SWIG_IsOK(res2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28608 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28610 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_Py_Void();
28620 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28621 PyObject
*resultobj
= 0;
28622 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28629 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28631 if (!SWIG_IsOK(res1
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28634 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28635 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28636 if (!SWIG_IsOK(res2
)) {
28637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28642 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28644 (arg1
)->SetPen((wxPen
const &)*arg2
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_Py_Void();
28654 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28658 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28663 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28664 _v
= SWIG_CheckState(res
);
28666 if (!_v
) goto check_1
;
28667 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28672 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28676 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28681 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28682 PyObject
*resultobj
= 0;
28683 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28684 wxGraphicsBrush
*arg2
= 0 ;
28690 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28692 if (!SWIG_IsOK(res1
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28695 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28696 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28697 if (!SWIG_IsOK(res2
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28703 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28705 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_Py_Void();
28715 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28716 PyObject
*resultobj
= 0;
28717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28718 wxBrush
*arg2
= 0 ;
28724 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28726 if (!SWIG_IsOK(res1
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28729 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28730 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28731 if (!SWIG_IsOK(res2
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28737 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28739 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_Py_Void();
28749 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28753 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28758 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28759 _v
= SWIG_CheckState(res
);
28761 if (!_v
) goto check_1
;
28762 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28767 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28771 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28776 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28777 PyObject
*resultobj
= 0;
28778 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28779 wxGraphicsFont
*arg2
= 0 ;
28785 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28790 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28791 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28792 if (!SWIG_IsOK(res2
)) {
28793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28798 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28800 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_Py_Void();
28810 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28811 PyObject
*resultobj
= 0;
28812 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28814 wxColour
const &arg3_defvalue
= *wxBLACK
;
28815 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28822 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28824 if (!SWIG_IsOK(res1
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28827 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28828 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28829 if (!SWIG_IsOK(res2
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28835 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28839 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28843 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= SWIG_Py_Void();
28853 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28857 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28862 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28863 _v
= SWIG_CheckState(res
);
28865 if (!_v
) goto check_1
;
28866 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28870 if ((argc
>= 2) && (argc
<= 3)) {
28871 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28875 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28880 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
= 0;
28882 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28883 wxGraphicsPath
*arg2
= 0 ;
28888 PyObject
* obj0
= 0 ;
28889 PyObject
* obj1
= 0 ;
28890 char * kwnames
[] = {
28891 (char *) "self",(char *) "path", NULL
28894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28896 if (!SWIG_IsOK(res1
)) {
28897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28899 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28901 if (!SWIG_IsOK(res2
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28907 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28909 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28912 resultobj
= SWIG_Py_Void();
28919 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
= 0;
28921 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28922 wxGraphicsPath
*arg2
= 0 ;
28923 int arg3
= (int) wxODDEVEN_RULE
;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 PyObject
* obj2
= 0 ;
28933 char * kwnames
[] = {
28934 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28942 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28944 if (!SWIG_IsOK(res2
)) {
28945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28950 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28953 if (!SWIG_IsOK(ecode3
)) {
28954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28956 arg3
= static_cast< int >(val3
);
28959 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_Py_Void();
28969 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28972 wxGraphicsPath
*arg2
= 0 ;
28973 int arg3
= (int) wxODDEVEN_RULE
;
28980 PyObject
* obj0
= 0 ;
28981 PyObject
* obj1
= 0 ;
28982 PyObject
* obj2
= 0 ;
28983 char * kwnames
[] = {
28984 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28992 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28994 if (!SWIG_IsOK(res2
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29000 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29003 if (!SWIG_IsOK(ecode3
)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29006 arg3
= static_cast< int >(val3
);
29009 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= SWIG_Py_Void();
29019 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
= 0;
29021 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29022 wxString
*arg2
= 0 ;
29025 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29026 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29029 bool temp2
= false ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 PyObject
* obj2
= 0 ;
29039 PyObject
* obj3
= 0 ;
29040 PyObject
* obj4
= 0 ;
29041 char * kwnames
[] = {
29042 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29050 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29052 arg2
= wxString_in_helper(obj1
);
29053 if (arg2
== NULL
) SWIG_fail
;
29056 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29057 if (!SWIG_IsOK(ecode3
)) {
29058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29060 arg3
= static_cast< wxDouble
>(val3
);
29061 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29062 if (!SWIG_IsOK(ecode4
)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29065 arg4
= static_cast< wxDouble
>(val4
);
29067 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29068 if (!SWIG_IsOK(res5
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29074 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29077 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= SWIG_Py_Void();
29095 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29096 PyObject
*resultobj
= 0;
29097 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29098 wxString
*arg2
= 0 ;
29102 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29103 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29106 bool temp2
= false ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 PyObject
* obj2
= 0 ;
29118 PyObject
* obj3
= 0 ;
29119 PyObject
* obj4
= 0 ;
29120 PyObject
* obj5
= 0 ;
29121 char * kwnames
[] = {
29122 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29127 if (!SWIG_IsOK(res1
)) {
29128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29130 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29132 arg2
= wxString_in_helper(obj1
);
29133 if (arg2
== NULL
) SWIG_fail
;
29136 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29137 if (!SWIG_IsOK(ecode3
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29140 arg3
= static_cast< wxDouble
>(val3
);
29141 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29142 if (!SWIG_IsOK(ecode4
)) {
29143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29145 arg4
= static_cast< wxDouble
>(val4
);
29146 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29147 if (!SWIG_IsOK(ecode5
)) {
29148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29150 arg5
= static_cast< wxDouble
>(val5
);
29152 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29153 if (!SWIG_IsOK(res6
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29159 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29162 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_Py_Void();
29180 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
= 0;
29182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29183 wxString
*arg2
= 0 ;
29184 wxDouble
*arg3
= (wxDouble
*) 0 ;
29185 wxDouble
*arg4
= (wxDouble
*) 0 ;
29186 wxDouble
*arg5
= (wxDouble
*) 0 ;
29187 wxDouble
*arg6
= (wxDouble
*) 0 ;
29190 bool temp2
= false ;
29192 int res3
= SWIG_TMPOBJ
;
29194 int res4
= SWIG_TMPOBJ
;
29196 int res5
= SWIG_TMPOBJ
;
29198 int res6
= SWIG_TMPOBJ
;
29199 PyObject
* obj0
= 0 ;
29200 PyObject
* obj1
= 0 ;
29201 char * kwnames
[] = {
29202 (char *) "self",(char *) "text", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29214 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29216 arg2
= wxString_in_helper(obj1
);
29217 if (arg2
== NULL
) SWIG_fail
;
29221 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_Py_Void();
29225 if (SWIG_IsTmpObj(res3
)) {
29226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29228 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29231 if (SWIG_IsTmpObj(res4
)) {
29232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29234 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29237 if (SWIG_IsTmpObj(res5
)) {
29238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29240 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29243 if (SWIG_IsTmpObj(res6
)) {
29244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29246 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29263 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
= 0;
29265 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29266 wxString
*arg2
= 0 ;
29267 PyObject
*result
= 0 ;
29270 bool temp2
= false ;
29271 PyObject
* obj0
= 0 ;
29272 PyObject
* obj1
= 0 ;
29273 char * kwnames
[] = {
29274 (char *) "self",(char *) "text", NULL
29277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29282 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29284 arg2
= wxString_in_helper(obj1
);
29285 if (arg2
== NULL
) SWIG_fail
;
29289 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= result
;
29307 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29310 wxString
*arg2
= 0 ;
29311 wxArrayDouble result
;
29314 bool temp2
= false ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char * kwnames
[] = {
29318 (char *) "self",(char *) "text", NULL
29321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29326 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29328 arg2
= wxString_in_helper(obj1
);
29329 if (arg2
== NULL
) SWIG_fail
;
29333 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= wxArrayDouble2PyList_helper(result
);
29353 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
= 0;
29355 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29356 wxBitmap
*arg2
= 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 PyObject
* obj2
= 0 ;
29376 PyObject
* obj3
= 0 ;
29377 PyObject
* obj4
= 0 ;
29378 PyObject
* obj5
= 0 ;
29379 char * kwnames
[] = {
29380 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29385 if (!SWIG_IsOK(res1
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29388 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29390 if (!SWIG_IsOK(res2
)) {
29391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29396 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29397 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29398 if (!SWIG_IsOK(ecode3
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29401 arg3
= static_cast< wxDouble
>(val3
);
29402 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29403 if (!SWIG_IsOK(ecode4
)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29406 arg4
= static_cast< wxDouble
>(val4
);
29407 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29408 if (!SWIG_IsOK(ecode5
)) {
29409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29411 arg5
= static_cast< wxDouble
>(val5
);
29412 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29413 if (!SWIG_IsOK(ecode6
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29416 arg6
= static_cast< wxDouble
>(val6
);
29418 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_Py_Void();
29428 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29448 PyObject
* obj0
= 0 ;
29449 PyObject
* obj1
= 0 ;
29450 PyObject
* obj2
= 0 ;
29451 PyObject
* obj3
= 0 ;
29452 PyObject
* obj4
= 0 ;
29453 PyObject
* obj5
= 0 ;
29454 char * kwnames
[] = {
29455 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29463 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29465 if (!SWIG_IsOK(res2
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29471 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29472 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29473 if (!SWIG_IsOK(ecode3
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29476 arg3
= static_cast< wxDouble
>(val3
);
29477 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29478 if (!SWIG_IsOK(ecode4
)) {
29479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29481 arg4
= static_cast< wxDouble
>(val4
);
29482 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29483 if (!SWIG_IsOK(ecode5
)) {
29484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29486 arg5
= static_cast< wxDouble
>(val5
);
29487 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29488 if (!SWIG_IsOK(ecode6
)) {
29489 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29491 arg6
= static_cast< wxDouble
>(val6
);
29493 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= SWIG_Py_Void();
29503 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 PyObject
* obj2
= 0 ;
29523 PyObject
* obj3
= 0 ;
29524 PyObject
* obj4
= 0 ;
29525 char * kwnames
[] = {
29526 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29531 if (!SWIG_IsOK(res1
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29535 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29536 if (!SWIG_IsOK(ecode2
)) {
29537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29539 arg2
= static_cast< wxDouble
>(val2
);
29540 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29541 if (!SWIG_IsOK(ecode3
)) {
29542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29544 arg3
= static_cast< wxDouble
>(val3
);
29545 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29546 if (!SWIG_IsOK(ecode4
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29549 arg4
= static_cast< wxDouble
>(val4
);
29550 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29551 if (!SWIG_IsOK(ecode5
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29554 arg5
= static_cast< wxDouble
>(val5
);
29556 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_Py_Void();
29566 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
= 0;
29568 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29570 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char * kwnames
[] = {
29576 (char *) "self",(char *) "points", NULL
29579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29584 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29586 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29587 if (arg3
== NULL
) SWIG_fail
;
29590 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= SWIG_Py_Void();
29595 if (arg3
) delete [] arg3
;
29600 if (arg3
) delete [] arg3
;
29606 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= 0;
29608 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29609 PyObject
*arg2
= (PyObject
*) 0 ;
29610 PyObject
*arg3
= (PyObject
*) 0 ;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 PyObject
* obj2
= 0 ;
29616 char * kwnames
[] = {
29617 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29625 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29629 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_Py_Void();
29639 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
= 0;
29641 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29643 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29644 int arg4
= (int) wxODDEVEN_RULE
;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 PyObject
* obj2
= 0 ;
29652 char * kwnames
[] = {
29653 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29658 if (!SWIG_IsOK(res1
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29661 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29663 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29664 if (arg3
== NULL
) SWIG_fail
;
29667 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29668 if (!SWIG_IsOK(ecode4
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29671 arg4
= static_cast< int >(val4
);
29674 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 resultobj
= SWIG_Py_Void();
29679 if (arg3
) delete [] arg3
;
29684 if (arg3
) delete [] arg3
;
29690 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
= 0;
29692 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29707 PyObject
* obj0
= 0 ;
29708 PyObject
* obj1
= 0 ;
29709 PyObject
* obj2
= 0 ;
29710 PyObject
* obj3
= 0 ;
29711 PyObject
* obj4
= 0 ;
29712 char * kwnames
[] = {
29713 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29718 if (!SWIG_IsOK(res1
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29721 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29722 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29723 if (!SWIG_IsOK(ecode2
)) {
29724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29726 arg2
= static_cast< wxDouble
>(val2
);
29727 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29728 if (!SWIG_IsOK(ecode3
)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29731 arg3
= static_cast< wxDouble
>(val3
);
29732 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29733 if (!SWIG_IsOK(ecode4
)) {
29734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29736 arg4
= static_cast< wxDouble
>(val4
);
29737 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29738 if (!SWIG_IsOK(ecode5
)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29741 arg5
= static_cast< wxDouble
>(val5
);
29743 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= SWIG_Py_Void();
29753 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
= 0;
29755 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 PyObject
* obj2
= 0 ;
29773 PyObject
* obj3
= 0 ;
29774 PyObject
* obj4
= 0 ;
29775 char * kwnames
[] = {
29776 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29784 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29785 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29786 if (!SWIG_IsOK(ecode2
)) {
29787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29789 arg2
= static_cast< wxDouble
>(val2
);
29790 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29791 if (!SWIG_IsOK(ecode3
)) {
29792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29794 arg3
= static_cast< wxDouble
>(val3
);
29795 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29796 if (!SWIG_IsOK(ecode4
)) {
29797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29799 arg4
= static_cast< wxDouble
>(val4
);
29800 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29801 if (!SWIG_IsOK(ecode5
)) {
29802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29804 arg5
= static_cast< wxDouble
>(val5
);
29806 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= SWIG_Py_Void();
29816 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
= 0;
29818 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 PyObject
* obj2
= 0 ;
29839 PyObject
* obj3
= 0 ;
29840 PyObject
* obj4
= 0 ;
29841 PyObject
* obj5
= 0 ;
29842 char * kwnames
[] = {
29843 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29848 if (!SWIG_IsOK(res1
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29851 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29852 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29853 if (!SWIG_IsOK(ecode2
)) {
29854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29856 arg2
= static_cast< wxDouble
>(val2
);
29857 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29858 if (!SWIG_IsOK(ecode3
)) {
29859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29861 arg3
= static_cast< wxDouble
>(val3
);
29862 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29863 if (!SWIG_IsOK(ecode4
)) {
29864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29866 arg4
= static_cast< wxDouble
>(val4
);
29867 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29868 if (!SWIG_IsOK(ecode5
)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29871 arg5
= static_cast< wxDouble
>(val5
);
29872 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29873 if (!SWIG_IsOK(ecode6
)) {
29874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29876 arg6
= static_cast< wxDouble
>(val6
);
29878 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= SWIG_Py_Void();
29888 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29889 PyObject
*resultobj
= 0;
29890 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29894 PyObject
*swig_obj
[1] ;
29896 if (!args
) SWIG_fail
;
29897 swig_obj
[0] = args
;
29898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29902 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29904 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29905 if (PyErr_Occurred()) SWIG_fail
;
29908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29916 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29919 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29920 return SWIG_Py_Void();
29923 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29924 PyObject
*resultobj
= 0;
29925 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29928 PyObject
*swig_obj
[1] ;
29930 if (!args
) SWIG_fail
;
29931 swig_obj
[0] = args
;
29932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29933 if (!SWIG_IsOK(res1
)) {
29934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29936 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_Py_Void();
29949 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29950 PyObject
*resultobj
= 0;
29951 wxGraphicsRenderer
*result
= 0 ;
29953 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29955 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29965 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29966 PyObject
*resultobj
= 0;
29967 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29968 wxWindowDC
*arg2
= 0 ;
29969 wxGraphicsContext
*result
= 0 ;
29975 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29980 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29981 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29982 if (!SWIG_IsOK(res2
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29988 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29990 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30000 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30001 PyObject
*resultobj
= 0;
30002 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30003 wxWindow
*arg2
= (wxWindow
*) 0 ;
30004 wxGraphicsContext
*result
= 0 ;
30010 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30015 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30016 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30017 if (!SWIG_IsOK(res2
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30022 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30032 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30036 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30041 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30042 _v
= SWIG_CheckState(res
);
30044 if (!_v
) goto check_1
;
30045 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30050 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30054 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30059 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30060 PyObject
*resultobj
= 0;
30061 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30062 wxGraphicsContext
*result
= 0 ;
30065 PyObject
*swig_obj
[1] ;
30067 if (!args
) SWIG_fail
;
30068 swig_obj
[0] = args
;
30069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30073 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30075 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30085 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
= 0;
30087 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30088 void *arg2
= (void *) 0 ;
30089 wxGraphicsContext
*result
= 0 ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 char * kwnames
[] = {
30096 (char *) "self",(char *) "context", NULL
30099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30101 if (!SWIG_IsOK(res1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30104 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30105 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30106 if (!SWIG_IsOK(res2
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30110 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30120 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
= 0;
30122 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30123 void *arg2
= (void *) 0 ;
30124 wxGraphicsContext
*result
= 0 ;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 char * kwnames
[] = {
30131 (char *) "self",(char *) "window", NULL
30134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30139 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30140 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30141 if (!SWIG_IsOK(res2
)) {
30142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30145 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30155 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30156 PyObject
*resultobj
= 0;
30157 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30158 wxGraphicsPath result
;
30161 PyObject
*swig_obj
[1] ;
30163 if (!args
) SWIG_fail
;
30164 swig_obj
[0] = args
;
30165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30169 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30171 result
= (arg1
)->CreatePath();
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30181 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30182 PyObject
*resultobj
= 0;
30183 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30184 wxDouble arg2
= (wxDouble
) 1.0 ;
30185 wxDouble arg3
= (wxDouble
) 0.0 ;
30186 wxDouble arg4
= (wxDouble
) 0.0 ;
30187 wxDouble arg5
= (wxDouble
) 1.0 ;
30188 wxDouble arg6
= (wxDouble
) 0.0 ;
30189 wxDouble arg7
= (wxDouble
) 0.0 ;
30190 wxGraphicsMatrix result
;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 PyObject
* obj3
= 0 ;
30209 PyObject
* obj4
= 0 ;
30210 PyObject
* obj5
= 0 ;
30211 PyObject
* obj6
= 0 ;
30212 char * kwnames
[] = {
30213 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30221 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30223 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30224 if (!SWIG_IsOK(ecode2
)) {
30225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30227 arg2
= static_cast< wxDouble
>(val2
);
30230 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30231 if (!SWIG_IsOK(ecode3
)) {
30232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30234 arg3
= static_cast< wxDouble
>(val3
);
30237 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30238 if (!SWIG_IsOK(ecode4
)) {
30239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30241 arg4
= static_cast< wxDouble
>(val4
);
30244 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30245 if (!SWIG_IsOK(ecode5
)) {
30246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30248 arg5
= static_cast< wxDouble
>(val5
);
30251 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30252 if (!SWIG_IsOK(ecode6
)) {
30253 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30255 arg6
= static_cast< wxDouble
>(val6
);
30258 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30259 if (!SWIG_IsOK(ecode7
)) {
30260 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30262 arg7
= static_cast< wxDouble
>(val7
);
30265 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30275 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
= 0;
30277 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30279 wxGraphicsPen result
;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 char * kwnames
[] = {
30287 (char *) "self",(char *) "pen", NULL
30290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",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_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30295 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30297 if (!SWIG_IsOK(res2
)) {
30298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30303 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30305 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30315 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
= 0;
30317 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30318 wxBrush
*arg2
= 0 ;
30319 wxGraphicsBrush result
;
30324 PyObject
* obj0
= 0 ;
30325 PyObject
* obj1
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "brush", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30335 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30337 if (!SWIG_IsOK(res2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30343 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30345 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30355 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
= 0;
30357 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30362 wxColour
*arg6
= 0 ;
30363 wxColour
*arg7
= 0 ;
30364 wxGraphicsBrush result
;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 PyObject
* obj3
= 0 ;
30381 PyObject
* obj4
= 0 ;
30382 PyObject
* obj5
= 0 ;
30383 PyObject
* obj6
= 0 ;
30384 char * kwnames
[] = {
30385 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30393 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30394 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30395 if (!SWIG_IsOK(ecode2
)) {
30396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30398 arg2
= static_cast< wxDouble
>(val2
);
30399 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30400 if (!SWIG_IsOK(ecode3
)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30403 arg3
= static_cast< wxDouble
>(val3
);
30404 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30405 if (!SWIG_IsOK(ecode4
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30408 arg4
= static_cast< wxDouble
>(val4
);
30409 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30410 if (!SWIG_IsOK(ecode5
)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30413 arg5
= static_cast< wxDouble
>(val5
);
30416 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30420 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30423 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30433 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
= 0;
30435 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30441 wxColour
*arg7
= 0 ;
30442 wxColour
*arg8
= 0 ;
30443 wxGraphicsBrush result
;
30458 PyObject
* obj0
= 0 ;
30459 PyObject
* obj1
= 0 ;
30460 PyObject
* obj2
= 0 ;
30461 PyObject
* obj3
= 0 ;
30462 PyObject
* obj4
= 0 ;
30463 PyObject
* obj5
= 0 ;
30464 PyObject
* obj6
= 0 ;
30465 PyObject
* obj7
= 0 ;
30466 char * kwnames
[] = {
30467 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30472 if (!SWIG_IsOK(res1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30475 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30476 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30477 if (!SWIG_IsOK(ecode2
)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30480 arg2
= static_cast< wxDouble
>(val2
);
30481 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30482 if (!SWIG_IsOK(ecode3
)) {
30483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30485 arg3
= static_cast< wxDouble
>(val3
);
30486 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30487 if (!SWIG_IsOK(ecode4
)) {
30488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30490 arg4
= static_cast< wxDouble
>(val4
);
30491 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30492 if (!SWIG_IsOK(ecode5
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30495 arg5
= static_cast< wxDouble
>(val5
);
30496 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30497 if (!SWIG_IsOK(ecode6
)) {
30498 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30500 arg6
= static_cast< wxDouble
>(val6
);
30503 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30507 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30510 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30520 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
= 0;
30522 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30524 wxColour
const &arg3_defvalue
= *wxBLACK
;
30525 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30526 wxGraphicsFont result
;
30532 PyObject
* obj0
= 0 ;
30533 PyObject
* obj1
= 0 ;
30534 PyObject
* obj2
= 0 ;
30535 char * kwnames
[] = {
30536 (char *) "self",(char *) "font",(char *) "col", NULL
30539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30541 if (!SWIG_IsOK(res1
)) {
30542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30544 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30546 if (!SWIG_IsOK(res2
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30552 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30556 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30560 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30570 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30573 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30574 return SWIG_Py_Void();
30577 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30578 PyObject
*resultobj
= 0;
30579 wxWindowDC
*arg1
= 0 ;
30580 wxGCDC
*result
= 0 ;
30584 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30586 if (!SWIG_IsOK(res1
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30592 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30594 if (!wxPyCheckForApp()) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30607 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30608 PyObject
*resultobj
= 0;
30609 wxWindow
*arg1
= (wxWindow
*) 0 ;
30610 wxGCDC
*result
= 0 ;
30614 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30621 if (!wxPyCheckForApp()) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= (wxGCDC
*)new wxGCDC(arg1
);
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30634 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30638 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30643 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30644 _v
= SWIG_CheckState(res
);
30646 if (!_v
) goto check_1
;
30647 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30652 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30656 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30661 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30662 PyObject
*resultobj
= 0;
30663 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30666 PyObject
*swig_obj
[1] ;
30668 if (!args
) SWIG_fail
;
30669 swig_obj
[0] = args
;
30670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30674 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_Py_Void();
30687 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30688 PyObject
*resultobj
= 0;
30689 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30690 wxGraphicsContext
*result
= 0 ;
30693 PyObject
*swig_obj
[1] ;
30695 if (!args
) SWIG_fail
;
30696 swig_obj
[0] = args
;
30697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30698 if (!SWIG_IsOK(res1
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30701 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30703 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30713 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
= 0;
30715 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30716 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char * kwnames
[] = {
30724 (char *) "self",(char *) "ctx", NULL
30727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30729 if (!SWIG_IsOK(res1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30732 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30734 if (!SWIG_IsOK(res2
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30737 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30739 (arg1
)->SetGraphicsContext(arg2
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_Py_Void();
30749 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30752 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30753 return SWIG_Py_Void();
30756 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30757 return SWIG_Python_InitShadowInstance(args
);
30760 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30761 PyObject
*resultobj
= 0;
30762 wxOverlay
*result
= 0 ;
30764 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 result
= (wxOverlay
*)new wxOverlay();
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30778 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30779 PyObject
*resultobj
= 0;
30780 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30783 PyObject
*swig_obj
[1] ;
30785 if (!args
) SWIG_fail
;
30786 swig_obj
[0] = args
;
30787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30788 if (!SWIG_IsOK(res1
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30791 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 resultobj
= SWIG_Py_Void();
30806 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30807 PyObject
*resultobj
= 0;
30808 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30811 PyObject
*swig_obj
[1] ;
30813 if (!args
) SWIG_fail
;
30814 swig_obj
[0] = args
;
30815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30816 if (!SWIG_IsOK(res1
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30819 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= SWIG_Py_Void();
30833 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30836 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30837 return SWIG_Py_Void();
30840 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30841 return SWIG_Python_InitShadowInstance(args
);
30844 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30845 PyObject
*resultobj
= 0;
30846 wxOverlay
*arg1
= 0 ;
30847 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30852 wxDCOverlay
*result
= 0 ;
30866 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30868 if (!SWIG_IsOK(res1
)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30874 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30879 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30880 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30881 if (!SWIG_IsOK(ecode3
)) {
30882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30884 arg3
= static_cast< int >(val3
);
30885 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30886 if (!SWIG_IsOK(ecode4
)) {
30887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30889 arg4
= static_cast< int >(val4
);
30890 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30891 if (!SWIG_IsOK(ecode5
)) {
30892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30894 arg5
= static_cast< int >(val5
);
30895 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30896 if (!SWIG_IsOK(ecode6
)) {
30897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30899 arg6
= static_cast< int >(val6
);
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30913 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30914 PyObject
*resultobj
= 0;
30915 wxOverlay
*arg1
= 0 ;
30916 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30917 wxDCOverlay
*result
= 0 ;
30923 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30925 if (!SWIG_IsOK(res1
)) {
30926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30931 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30932 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30933 if (!SWIG_IsOK(res2
)) {
30934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30936 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30950 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30954 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30957 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30960 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30964 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30969 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30970 PyObject
*resultobj
= 0;
30971 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30974 PyObject
*swig_obj
[1] ;
30976 if (!args
) SWIG_fail
;
30977 swig_obj
[0] = args
;
30978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30982 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_Py_Void();
30997 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30998 PyObject
*resultobj
= 0;
30999 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31002 PyObject
*swig_obj
[1] ;
31004 if (!args
) SWIG_fail
;
31005 swig_obj
[0] = args
;
31006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31010 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= SWIG_Py_Void();
31024 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31027 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31028 return SWIG_Py_Void();
31031 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31032 return SWIG_Python_InitShadowInstance(args
);
31035 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31036 PyObject
*resultobj
= 0;
31039 int arg3
= (int) true ;
31040 int arg4
= (int) 1 ;
31041 wxImageList
*result
= 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 PyObject
* obj2
= 0 ;
31053 PyObject
* obj3
= 0 ;
31054 char * kwnames
[] = {
31055 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31060 if (!SWIG_IsOK(ecode1
)) {
31061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31063 arg1
= static_cast< int >(val1
);
31064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31065 if (!SWIG_IsOK(ecode2
)) {
31066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31068 arg2
= static_cast< int >(val2
);
31070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31071 if (!SWIG_IsOK(ecode3
)) {
31072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31074 arg3
= static_cast< int >(val3
);
31077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31078 if (!SWIG_IsOK(ecode4
)) {
31079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31081 arg4
= static_cast< int >(val4
);
31084 if (!wxPyCheckForApp()) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31097 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31098 PyObject
*resultobj
= 0;
31099 wxImageList
*arg1
= (wxImageList
*) 0 ;
31102 PyObject
*swig_obj
[1] ;
31104 if (!args
) SWIG_fail
;
31105 swig_obj
[0] = args
;
31106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31107 if (!SWIG_IsOK(res1
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31110 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= SWIG_Py_Void();
31125 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
= 0;
31127 wxImageList
*arg1
= (wxImageList
*) 0 ;
31128 wxBitmap
*arg2
= 0 ;
31129 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31130 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 PyObject
* obj2
= 0 ;
31141 char * kwnames
[] = {
31142 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31147 if (!SWIG_IsOK(res1
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31150 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31152 if (!SWIG_IsOK(res2
)) {
31153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31158 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31160 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31161 if (!SWIG_IsOK(res3
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31167 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_From_int(static_cast< int >(result
));
31182 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
= 0;
31184 wxImageList
*arg1
= (wxImageList
*) 0 ;
31185 wxBitmap
*arg2
= 0 ;
31186 wxColour
*arg3
= 0 ;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 PyObject
* obj2
= 0 ;
31196 char * kwnames
[] = {
31197 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31202 if (!SWIG_IsOK(res1
)) {
31203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31205 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31207 if (!SWIG_IsOK(res2
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31213 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31216 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_From_int(static_cast< int >(result
));
31231 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
= 0;
31233 wxImageList
*arg1
= (wxImageList
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char * kwnames
[] = {
31243 (char *) "self",(char *) "icon", NULL
31246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31251 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31253 if (!SWIG_IsOK(res2
)) {
31254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31259 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31266 resultobj
= SWIG_From_int(static_cast< int >(result
));
31273 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31274 PyObject
*resultobj
= 0;
31275 wxImageList
*arg1
= (wxImageList
*) 0 ;
31277 SwigValueWrapper
<wxBitmap
> result
;
31282 PyObject
* obj0
= 0 ;
31283 PyObject
* obj1
= 0 ;
31284 char * kwnames
[] = {
31285 (char *) "self",(char *) "index", NULL
31288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31290 if (!SWIG_IsOK(res1
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31293 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31295 if (!SWIG_IsOK(ecode2
)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31298 arg2
= static_cast< int >(val2
);
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31312 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
= 0;
31314 wxImageList
*arg1
= (wxImageList
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 char * kwnames
[] = {
31324 (char *) "self",(char *) "index", NULL
31327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31329 if (!SWIG_IsOK(res1
)) {
31330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31332 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31334 if (!SWIG_IsOK(ecode2
)) {
31335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31337 arg2
= static_cast< int >(val2
);
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31351 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
= 0;
31353 wxImageList
*arg1
= (wxImageList
*) 0 ;
31355 wxBitmap
*arg3
= 0 ;
31356 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31357 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 PyObject
* obj2
= 0 ;
31370 PyObject
* obj3
= 0 ;
31371 char * kwnames
[] = {
31372 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31377 if (!SWIG_IsOK(res1
)) {
31378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31380 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31382 if (!SWIG_IsOK(ecode2
)) {
31383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31385 arg2
= static_cast< int >(val2
);
31386 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31387 if (!SWIG_IsOK(res3
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31393 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31395 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31396 if (!SWIG_IsOK(res4
)) {
31397 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31402 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31419 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= 0;
31421 wxImageList
*arg1
= (wxImageList
*) 0 ;
31426 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31427 bool arg7
= (bool) (bool)false ;
31443 PyObject
* obj0
= 0 ;
31444 PyObject
* obj1
= 0 ;
31445 PyObject
* obj2
= 0 ;
31446 PyObject
* obj3
= 0 ;
31447 PyObject
* obj4
= 0 ;
31448 PyObject
* obj5
= 0 ;
31449 PyObject
* obj6
= 0 ;
31450 char * kwnames
[] = {
31451 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31459 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31461 if (!SWIG_IsOK(ecode2
)) {
31462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31464 arg2
= static_cast< int >(val2
);
31465 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31466 if (!SWIG_IsOK(res3
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31472 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31474 if (!SWIG_IsOK(ecode4
)) {
31475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31477 arg4
= static_cast< int >(val4
);
31478 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31479 if (!SWIG_IsOK(ecode5
)) {
31480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31482 arg5
= static_cast< int >(val5
);
31484 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31485 if (!SWIG_IsOK(ecode6
)) {
31486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31488 arg6
= static_cast< int >(val6
);
31491 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31492 if (!SWIG_IsOK(ecode7
)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31495 arg7
= static_cast< bool >(val7
);
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31512 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31513 PyObject
*resultobj
= 0;
31514 wxImageList
*arg1
= (wxImageList
*) 0 ;
31518 PyObject
*swig_obj
[1] ;
31520 if (!args
) SWIG_fail
;
31521 swig_obj
[0] = args
;
31522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31523 if (!SWIG_IsOK(res1
)) {
31524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31526 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 result
= (int)(arg1
)->GetImageCount();
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= SWIG_From_int(static_cast< int >(result
));
31540 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31541 PyObject
*resultobj
= 0;
31542 wxImageList
*arg1
= (wxImageList
*) 0 ;
31549 PyObject
* obj0
= 0 ;
31550 PyObject
* obj1
= 0 ;
31551 char * kwnames
[] = {
31552 (char *) "self",(char *) "index", NULL
31555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31557 if (!SWIG_IsOK(res1
)) {
31558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31560 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31562 if (!SWIG_IsOK(ecode2
)) {
31563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31565 arg2
= static_cast< int >(val2
);
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (bool)(arg1
)->Remove(arg2
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31581 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31582 PyObject
*resultobj
= 0;
31583 wxImageList
*arg1
= (wxImageList
*) 0 ;
31587 PyObject
*swig_obj
[1] ;
31589 if (!args
) SWIG_fail
;
31590 swig_obj
[0] = args
;
31591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31592 if (!SWIG_IsOK(res1
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31595 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31598 result
= (bool)(arg1
)->RemoveAll();
31599 wxPyEndAllowThreads(__tstate
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31611 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31612 PyObject
*resultobj
= 0;
31613 wxImageList
*arg1
= (wxImageList
*) 0 ;
31622 int res3
= SWIG_TMPOBJ
;
31624 int res4
= SWIG_TMPOBJ
;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 char * kwnames
[] = {
31628 (char *) "self",(char *) "index", NULL
31633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31635 if (!SWIG_IsOK(res1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31638 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31640 if (!SWIG_IsOK(ecode2
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31643 arg2
= static_cast< int >(val2
);
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= SWIG_Py_Void();
31651 if (SWIG_IsTmpObj(res3
)) {
31652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31654 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31657 if (SWIG_IsTmpObj(res4
)) {
31658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31660 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31669 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31672 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31673 return SWIG_Py_Void();
31676 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31677 return SWIG_Python_InitShadowInstance(args
);
31680 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31681 PyObject
*resultobj
= 0;
31682 wxStockGDI
*result
= 0 ;
31684 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (wxStockGDI
*)new wxStockGDI();
31688 wxPyEndAllowThreads(__tstate
);
31689 if (PyErr_Occurred()) SWIG_fail
;
31691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31698 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31699 PyObject
*resultobj
= 0;
31700 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31703 PyObject
*swig_obj
[1] ;
31705 if (!args
) SWIG_fail
;
31706 swig_obj
[0] = args
;
31707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31708 if (!SWIG_IsOK(res1
)) {
31709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31711 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31727 PyObject
*resultobj
= 0;
31729 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 wxStockGDI::DeleteAll();
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31736 resultobj
= SWIG_Py_Void();
31743 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31744 PyObject
*resultobj
= 0;
31745 wxStockGDI
*result
= 0 ;
31747 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31752 result
= (wxStockGDI
*) &_result_ref
;
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31764 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
= 0;
31766 wxStockGDI::Item arg1
;
31767 wxBrush
*result
= 0 ;
31770 PyObject
* obj0
= 0 ;
31771 char * kwnames
[] = {
31772 (char *) "item", NULL
31775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31777 if (!SWIG_IsOK(ecode1
)) {
31778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31780 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31794 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxStockGDI::Item arg1
;
31797 wxColour
*result
= 0 ;
31800 PyObject
* obj0
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "item", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31807 if (!SWIG_IsOK(ecode1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31810 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31824 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
= 0;
31826 wxStockGDI::Item arg1
;
31827 wxCursor
*result
= 0 ;
31830 PyObject
* obj0
= 0 ;
31831 char * kwnames
[] = {
31832 (char *) "item", NULL
31835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31837 if (!SWIG_IsOK(ecode1
)) {
31838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31840 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31844 wxPyEndAllowThreads(__tstate
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31854 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
= 0;
31856 wxStockGDI::Item arg1
;
31857 wxPen
*result
= 0 ;
31860 PyObject
* obj0
= 0 ;
31861 char * kwnames
[] = {
31862 (char *) "item", NULL
31865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31867 if (!SWIG_IsOK(ecode1
)) {
31868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31870 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31874 wxPyEndAllowThreads(__tstate
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31884 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31885 PyObject
*resultobj
= 0;
31886 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31887 wxStockGDI::Item arg2
;
31888 wxFont
*result
= 0 ;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 char * kwnames
[] = {
31896 (char *) "self",(char *) "item", NULL
31899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31901 if (!SWIG_IsOK(res1
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31904 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31906 if (!SWIG_IsOK(ecode2
)) {
31907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31909 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31912 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31923 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31926 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31927 return SWIG_Py_Void();
31930 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31931 return SWIG_Python_InitShadowInstance(args
);
31934 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31935 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31940 SWIGINTERN PyObject
*NullBitmap_get(void) {
31941 PyObject
*pyobj
= 0;
31943 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31948 SWIGINTERN
int NullIcon_set(PyObject
*) {
31949 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31954 SWIGINTERN PyObject
*NullIcon_get(void) {
31955 PyObject
*pyobj
= 0;
31957 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31962 SWIGINTERN
int NullCursor_set(PyObject
*) {
31963 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31968 SWIGINTERN PyObject
*NullCursor_get(void) {
31969 PyObject
*pyobj
= 0;
31971 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31976 SWIGINTERN
int NullPen_set(PyObject
*) {
31977 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31982 SWIGINTERN PyObject
*NullPen_get(void) {
31983 PyObject
*pyobj
= 0;
31985 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31990 SWIGINTERN
int NullBrush_set(PyObject
*) {
31991 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31996 SWIGINTERN PyObject
*NullBrush_get(void) {
31997 PyObject
*pyobj
= 0;
31999 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32004 SWIGINTERN
int NullPalette_set(PyObject
*) {
32005 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32010 SWIGINTERN PyObject
*NullPalette_get(void) {
32011 PyObject
*pyobj
= 0;
32013 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32018 SWIGINTERN
int NullFont_set(PyObject
*) {
32019 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32024 SWIGINTERN PyObject
*NullFont_get(void) {
32025 PyObject
*pyobj
= 0;
32027 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32032 SWIGINTERN
int NullColour_set(PyObject
*) {
32033 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32038 SWIGINTERN PyObject
*NullColour_get(void) {
32039 PyObject
*pyobj
= 0;
32041 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32046 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32047 PyObject
*resultobj
= 0;
32048 wxGDIObjListBase
*result
= 0 ;
32050 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32064 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32065 PyObject
*resultobj
= 0;
32066 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32069 PyObject
*swig_obj
[1] ;
32071 if (!args
) SWIG_fail
;
32072 swig_obj
[0] = args
;
32073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32077 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 resultobj
= SWIG_Py_Void();
32092 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32095 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32096 return SWIG_Py_Void();
32099 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32100 return SWIG_Python_InitShadowInstance(args
);
32103 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
= 0;
32105 wxPenList
*arg1
= (wxPenList
*) 0 ;
32106 wxColour
*arg2
= 0 ;
32109 wxPen
*result
= 0 ;
32117 PyObject
* obj0
= 0 ;
32118 PyObject
* obj1
= 0 ;
32119 PyObject
* obj2
= 0 ;
32120 PyObject
* obj3
= 0 ;
32121 char * kwnames
[] = {
32122 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32127 if (!SWIG_IsOK(res1
)) {
32128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32130 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32136 if (!SWIG_IsOK(ecode3
)) {
32137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32139 arg3
= static_cast< int >(val3
);
32140 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32141 if (!SWIG_IsOK(ecode4
)) {
32142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32144 arg4
= static_cast< int >(val4
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32158 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
= 0;
32160 wxPenList
*arg1
= (wxPenList
*) 0 ;
32161 wxPen
*arg2
= (wxPen
*) 0 ;
32166 PyObject
* obj0
= 0 ;
32167 PyObject
* obj1
= 0 ;
32168 char * kwnames
[] = {
32169 (char *) "self",(char *) "pen", NULL
32172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32174 if (!SWIG_IsOK(res1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32177 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32179 if (!SWIG_IsOK(res2
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32182 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 (arg1
)->AddPen(arg2
);
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32189 resultobj
= SWIG_Py_Void();
32196 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32197 PyObject
*resultobj
= 0;
32198 wxPenList
*arg1
= (wxPenList
*) 0 ;
32199 wxPen
*arg2
= (wxPen
*) 0 ;
32204 PyObject
* obj0
= 0 ;
32205 PyObject
* obj1
= 0 ;
32206 char * kwnames
[] = {
32207 (char *) "self",(char *) "pen", NULL
32210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32212 if (!SWIG_IsOK(res1
)) {
32213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32215 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32217 if (!SWIG_IsOK(res2
)) {
32218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32220 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 (arg1
)->RemovePen(arg2
);
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= SWIG_Py_Void();
32234 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32237 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32238 return SWIG_Py_Void();
32241 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
= 0;
32243 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32244 wxColour
*arg2
= 0 ;
32245 int arg3
= (int) wxSOLID
;
32246 wxBrush
*result
= 0 ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 PyObject
* obj2
= 0 ;
32255 char * kwnames
[] = {
32256 (char *) "self",(char *) "colour",(char *) "style", NULL
32259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32261 if (!SWIG_IsOK(res1
)) {
32262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32264 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32271 if (!SWIG_IsOK(ecode3
)) {
32272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32274 arg3
= static_cast< int >(val3
);
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32279 wxPyEndAllowThreads(__tstate
);
32280 if (PyErr_Occurred()) SWIG_fail
;
32282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32289 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
= 0;
32291 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32292 wxBrush
*arg2
= (wxBrush
*) 0 ;
32297 PyObject
* obj0
= 0 ;
32298 PyObject
* obj1
= 0 ;
32299 char * kwnames
[] = {
32300 (char *) "self",(char *) "brush", NULL
32303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32305 if (!SWIG_IsOK(res1
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32308 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32310 if (!SWIG_IsOK(res2
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32313 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 (arg1
)->AddBrush(arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_Py_Void();
32327 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= 0;
32329 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32330 wxBrush
*arg2
= (wxBrush
*) 0 ;
32335 PyObject
* obj0
= 0 ;
32336 PyObject
* obj1
= 0 ;
32337 char * kwnames
[] = {
32338 (char *) "self",(char *) "brush", NULL
32341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32343 if (!SWIG_IsOK(res1
)) {
32344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32346 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32348 if (!SWIG_IsOK(res2
)) {
32349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32351 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 (arg1
)->RemoveBrush(arg2
);
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= SWIG_Py_Void();
32365 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32368 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32369 return SWIG_Py_Void();
32372 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32373 PyObject
*resultobj
= 0;
32374 wxFontList
*arg1
= (wxFontList
*) 0 ;
32379 bool arg6
= (bool) false ;
32380 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32382 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32383 wxFont
*result
= 0 ;
32396 bool temp7
= false ;
32399 PyObject
* obj0
= 0 ;
32400 PyObject
* obj1
= 0 ;
32401 PyObject
* obj2
= 0 ;
32402 PyObject
* obj3
= 0 ;
32403 PyObject
* obj4
= 0 ;
32404 PyObject
* obj5
= 0 ;
32405 PyObject
* obj6
= 0 ;
32406 PyObject
* obj7
= 0 ;
32407 char * kwnames
[] = {
32408 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32413 if (!SWIG_IsOK(res1
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32416 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32418 if (!SWIG_IsOK(ecode2
)) {
32419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32421 arg2
= static_cast< int >(val2
);
32422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32423 if (!SWIG_IsOK(ecode3
)) {
32424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32426 arg3
= static_cast< int >(val3
);
32427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32428 if (!SWIG_IsOK(ecode4
)) {
32429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32431 arg4
= static_cast< int >(val4
);
32432 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32433 if (!SWIG_IsOK(ecode5
)) {
32434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32436 arg5
= static_cast< int >(val5
);
32438 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32439 if (!SWIG_IsOK(ecode6
)) {
32440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32442 arg6
= static_cast< bool >(val6
);
32446 arg7
= wxString_in_helper(obj6
);
32447 if (arg7
== NULL
) SWIG_fail
;
32452 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32453 if (!SWIG_IsOK(ecode8
)) {
32454 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32456 arg8
= static_cast< wxFontEncoding
>(val8
);
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32479 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32480 PyObject
*resultobj
= 0;
32481 wxFontList
*arg1
= (wxFontList
*) 0 ;
32482 wxFont
*arg2
= (wxFont
*) 0 ;
32487 PyObject
* obj0
= 0 ;
32488 PyObject
* obj1
= 0 ;
32489 char * kwnames
[] = {
32490 (char *) "self",(char *) "font", NULL
32493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32495 if (!SWIG_IsOK(res1
)) {
32496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32498 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32500 if (!SWIG_IsOK(res2
)) {
32501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32503 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32506 (arg1
)->AddFont(arg2
);
32507 wxPyEndAllowThreads(__tstate
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32510 resultobj
= SWIG_Py_Void();
32517 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32518 PyObject
*resultobj
= 0;
32519 wxFontList
*arg1
= (wxFontList
*) 0 ;
32520 wxFont
*arg2
= (wxFont
*) 0 ;
32525 PyObject
* obj0
= 0 ;
32526 PyObject
* obj1
= 0 ;
32527 char * kwnames
[] = {
32528 (char *) "self",(char *) "font", NULL
32531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32533 if (!SWIG_IsOK(res1
)) {
32534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32536 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32538 if (!SWIG_IsOK(res2
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32541 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 (arg1
)->RemoveFont(arg2
);
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= SWIG_Py_Void();
32555 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32558 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32559 return SWIG_Py_Void();
32562 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32563 PyObject
*resultobj
= 0;
32564 wxColourDatabase
*result
= 0 ;
32566 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32568 if (!wxPyCheckForApp()) SWIG_fail
;
32569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 result
= (wxColourDatabase
*)new wxColourDatabase();
32571 wxPyEndAllowThreads(__tstate
);
32572 if (PyErr_Occurred()) SWIG_fail
;
32574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32581 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 PyObject
*resultobj
= 0;
32583 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32586 PyObject
*swig_obj
[1] ;
32588 if (!args
) SWIG_fail
;
32589 swig_obj
[0] = args
;
32590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32591 if (!SWIG_IsOK(res1
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32594 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= SWIG_Py_Void();
32609 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32610 PyObject
*resultobj
= 0;
32611 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32612 wxString
*arg2
= 0 ;
32616 bool temp2
= false ;
32617 PyObject
* obj0
= 0 ;
32618 PyObject
* obj1
= 0 ;
32619 char * kwnames
[] = {
32620 (char *) "self",(char *) "name", NULL
32623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32625 if (!SWIG_IsOK(res1
)) {
32626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32628 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32630 arg2
= wxString_in_helper(obj1
);
32631 if (arg2
== NULL
) SWIG_fail
;
32635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32636 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32637 wxPyEndAllowThreads(__tstate
);
32638 if (PyErr_Occurred()) SWIG_fail
;
32640 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32655 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
= 0;
32657 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32658 wxColour
*arg2
= 0 ;
32663 PyObject
* obj0
= 0 ;
32664 PyObject
* obj1
= 0 ;
32665 char * kwnames
[] = {
32666 (char *) "self",(char *) "colour", NULL
32669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32671 if (!SWIG_IsOK(res1
)) {
32672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32674 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32677 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32698 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
= 0;
32700 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32701 wxString
*arg2
= 0 ;
32702 wxColour
*arg3
= 0 ;
32705 bool temp2
= false ;
32707 PyObject
* obj0
= 0 ;
32708 PyObject
* obj1
= 0 ;
32709 PyObject
* obj2
= 0 ;
32710 char * kwnames
[] = {
32711 (char *) "self",(char *) "name",(char *) "colour", NULL
32714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32716 if (!SWIG_IsOK(res1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32719 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32721 arg2
= wxString_in_helper(obj1
);
32722 if (arg2
== NULL
) SWIG_fail
;
32727 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= SWIG_Py_Void();
32750 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
= 0;
32752 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32753 wxString
*arg2
= 0 ;
32759 bool temp2
= false ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 PyObject
* obj2
= 0 ;
32769 PyObject
* obj3
= 0 ;
32770 PyObject
* obj4
= 0 ;
32771 char * kwnames
[] = {
32772 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32777 if (!SWIG_IsOK(res1
)) {
32778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32780 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32782 arg2
= wxString_in_helper(obj1
);
32783 if (arg2
== NULL
) SWIG_fail
;
32786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32787 if (!SWIG_IsOK(ecode3
)) {
32788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32790 arg3
= static_cast< int >(val3
);
32791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32792 if (!SWIG_IsOK(ecode4
)) {
32793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32795 arg4
= static_cast< int >(val4
);
32796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32797 if (!SWIG_IsOK(ecode5
)) {
32798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32800 arg5
= static_cast< int >(val5
);
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 resultobj
= SWIG_Py_Void();
32822 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32825 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32826 return SWIG_Py_Void();
32829 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32830 return SWIG_Python_InitShadowInstance(args
);
32833 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32834 PyObject
*resultobj
= 0;
32835 wxFontList
*result
= 0 ;
32837 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 result
= (wxFontList
*)_wxPyInitTheFontList();
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32851 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32852 PyObject
*resultobj
= 0;
32853 wxPenList
*result
= 0 ;
32855 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 result
= (wxPenList
*)_wxPyInitThePenList();
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32869 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32870 PyObject
*resultobj
= 0;
32871 wxBrushList
*result
= 0 ;
32873 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32887 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32888 PyObject
*resultobj
= 0;
32889 wxColourDatabase
*result
= 0 ;
32891 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32905 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32906 PyObject
*resultobj
= 0;
32907 wxEffects
*result
= 0 ;
32909 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 result
= (wxEffects
*)new wxEffects();
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32923 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32924 PyObject
*resultobj
= 0;
32925 wxEffects
*arg1
= (wxEffects
*) 0 ;
32929 PyObject
*swig_obj
[1] ;
32931 if (!args
) SWIG_fail
;
32932 swig_obj
[0] = args
;
32933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32934 if (!SWIG_IsOK(res1
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32937 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32951 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32952 PyObject
*resultobj
= 0;
32953 wxEffects
*arg1
= (wxEffects
*) 0 ;
32957 PyObject
*swig_obj
[1] ;
32959 if (!args
) SWIG_fail
;
32960 swig_obj
[0] = args
;
32961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32965 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32968 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32969 wxPyEndAllowThreads(__tstate
);
32970 if (PyErr_Occurred()) SWIG_fail
;
32972 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32979 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32980 PyObject
*resultobj
= 0;
32981 wxEffects
*arg1
= (wxEffects
*) 0 ;
32985 PyObject
*swig_obj
[1] ;
32987 if (!args
) SWIG_fail
;
32988 swig_obj
[0] = args
;
32989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32990 if (!SWIG_IsOK(res1
)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32993 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33007 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33008 PyObject
*resultobj
= 0;
33009 wxEffects
*arg1
= (wxEffects
*) 0 ;
33013 PyObject
*swig_obj
[1] ;
33015 if (!args
) SWIG_fail
;
33016 swig_obj
[0] = args
;
33017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33021 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33035 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33036 PyObject
*resultobj
= 0;
33037 wxEffects
*arg1
= (wxEffects
*) 0 ;
33041 PyObject
*swig_obj
[1] ;
33043 if (!args
) SWIG_fail
;
33044 swig_obj
[0] = args
;
33045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33046 if (!SWIG_IsOK(res1
)) {
33047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33049 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33056 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33063 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33064 PyObject
*resultobj
= 0;
33065 wxEffects
*arg1
= (wxEffects
*) 0 ;
33066 wxColour
*arg2
= 0 ;
33070 PyObject
* obj0
= 0 ;
33071 PyObject
* obj1
= 0 ;
33072 char * kwnames
[] = {
33073 (char *) "self",(char *) "c", NULL
33076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33078 if (!SWIG_IsOK(res1
)) {
33079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33081 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33084 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= SWIG_Py_Void();
33099 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
= 0;
33101 wxEffects
*arg1
= (wxEffects
*) 0 ;
33102 wxColour
*arg2
= 0 ;
33106 PyObject
* obj0
= 0 ;
33107 PyObject
* obj1
= 0 ;
33108 char * kwnames
[] = {
33109 (char *) "self",(char *) "c", NULL
33112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33114 if (!SWIG_IsOK(res1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33117 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33120 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_Py_Void();
33135 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
= 0;
33137 wxEffects
*arg1
= (wxEffects
*) 0 ;
33138 wxColour
*arg2
= 0 ;
33142 PyObject
* obj0
= 0 ;
33143 PyObject
* obj1
= 0 ;
33144 char * kwnames
[] = {
33145 (char *) "self",(char *) "c", NULL
33148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33150 if (!SWIG_IsOK(res1
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33153 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= SWIG_Py_Void();
33171 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
= 0;
33173 wxEffects
*arg1
= (wxEffects
*) 0 ;
33174 wxColour
*arg2
= 0 ;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 char * kwnames
[] = {
33181 (char *) "self",(char *) "c", NULL
33184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33186 if (!SWIG_IsOK(res1
)) {
33187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33189 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33192 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33196 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33200 resultobj
= SWIG_Py_Void();
33207 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33208 PyObject
*resultobj
= 0;
33209 wxEffects
*arg1
= (wxEffects
*) 0 ;
33210 wxColour
*arg2
= 0 ;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 char * kwnames
[] = {
33217 (char *) "self",(char *) "c", NULL
33220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33222 if (!SWIG_IsOK(res1
)) {
33223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33225 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33228 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= SWIG_Py_Void();
33243 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33244 PyObject
*resultobj
= 0;
33245 wxEffects
*arg1
= (wxEffects
*) 0 ;
33246 wxColour
*arg2
= 0 ;
33247 wxColour
*arg3
= 0 ;
33248 wxColour
*arg4
= 0 ;
33249 wxColour
*arg5
= 0 ;
33250 wxColour
*arg6
= 0 ;
33258 PyObject
* obj0
= 0 ;
33259 PyObject
* obj1
= 0 ;
33260 PyObject
* obj2
= 0 ;
33261 PyObject
* obj3
= 0 ;
33262 PyObject
* obj4
= 0 ;
33263 PyObject
* obj5
= 0 ;
33264 char * kwnames
[] = {
33265 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33270 if (!SWIG_IsOK(res1
)) {
33271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33273 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33276 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33280 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33284 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33288 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33292 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= SWIG_Py_Void();
33307 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33308 PyObject
*resultobj
= 0;
33309 wxEffects
*arg1
= (wxEffects
*) 0 ;
33312 int arg4
= (int) 1 ;
33320 PyObject
* obj0
= 0 ;
33321 PyObject
* obj1
= 0 ;
33322 PyObject
* obj2
= 0 ;
33323 PyObject
* obj3
= 0 ;
33324 char * kwnames
[] = {
33325 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33330 if (!SWIG_IsOK(res1
)) {
33331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33333 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33335 if (!SWIG_IsOK(res2
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33341 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33344 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33348 if (!SWIG_IsOK(ecode4
)) {
33349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33351 arg4
= static_cast< int >(val4
);
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33356 wxPyEndAllowThreads(__tstate
);
33357 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= SWIG_Py_Void();
33366 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33367 PyObject
*resultobj
= 0;
33368 wxEffects
*arg1
= (wxEffects
*) 0 ;
33371 wxBitmap
*arg4
= 0 ;
33380 PyObject
* obj0
= 0 ;
33381 PyObject
* obj1
= 0 ;
33382 PyObject
* obj2
= 0 ;
33383 PyObject
* obj3
= 0 ;
33384 char * kwnames
[] = {
33385 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33390 if (!SWIG_IsOK(res1
)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33393 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33398 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33399 if (!SWIG_IsOK(res3
)) {
33400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33405 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33406 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33407 if (!SWIG_IsOK(res4
)) {
33408 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33413 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33429 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33432 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33433 return SWIG_Py_Void();
33436 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33437 return SWIG_Python_InitShadowInstance(args
);
33440 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33441 PyObject
*resultobj
= 0;
33445 wxSplitterRenderParams
*result
= 0 ;
33452 PyObject
* obj0
= 0 ;
33453 PyObject
* obj1
= 0 ;
33454 PyObject
* obj2
= 0 ;
33455 char * kwnames
[] = {
33456 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33461 if (!SWIG_IsOK(ecode1
)) {
33462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33464 arg1
= static_cast< int >(val1
);
33465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33466 if (!SWIG_IsOK(ecode2
)) {
33467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33469 arg2
= static_cast< int >(val2
);
33470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33471 if (!SWIG_IsOK(ecode3
)) {
33472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33474 arg3
= static_cast< bool >(val3
);
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33488 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33489 PyObject
*resultobj
= 0;
33490 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33493 PyObject
*swig_obj
[1] ;
33495 if (!args
) SWIG_fail
;
33496 swig_obj
[0] = args
;
33497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33498 if (!SWIG_IsOK(res1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33501 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= SWIG_Py_Void();
33516 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33517 PyObject
*resultobj
= 0;
33518 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33522 PyObject
*swig_obj
[1] ;
33524 if (!args
) SWIG_fail
;
33525 swig_obj
[0] = args
;
33526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33527 if (!SWIG_IsOK(res1
)) {
33528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33530 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33531 result
= (int)(int) ((arg1
)->widthSash
);
33532 resultobj
= SWIG_From_int(static_cast< int >(result
));
33539 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33540 PyObject
*resultobj
= 0;
33541 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33545 PyObject
*swig_obj
[1] ;
33547 if (!args
) SWIG_fail
;
33548 swig_obj
[0] = args
;
33549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33550 if (!SWIG_IsOK(res1
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33553 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33554 result
= (int)(int) ((arg1
)->border
);
33555 resultobj
= SWIG_From_int(static_cast< int >(result
));
33562 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33563 PyObject
*resultobj
= 0;
33564 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33568 PyObject
*swig_obj
[1] ;
33570 if (!args
) SWIG_fail
;
33571 swig_obj
[0] = args
;
33572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33576 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33577 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33578 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33585 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33588 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33589 return SWIG_Py_Void();
33592 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33593 return SWIG_Python_InitShadowInstance(args
);
33596 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33597 PyObject
*resultobj
= 0;
33598 wxHeaderButtonParams
*result
= 0 ;
33600 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33614 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33615 PyObject
*resultobj
= 0;
33616 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33619 PyObject
*swig_obj
[1] ;
33621 if (!args
) SWIG_fail
;
33622 swig_obj
[0] = args
;
33623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33624 if (!SWIG_IsOK(res1
)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33627 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_Py_Void();
33642 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33643 PyObject
*resultobj
= 0;
33644 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33645 wxColour
*arg2
= (wxColour
*) 0 ;
33649 PyObject
*swig_obj
[2] ;
33651 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33653 if (!SWIG_IsOK(res1
)) {
33654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33656 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33659 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33661 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33663 resultobj
= SWIG_Py_Void();
33670 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33671 PyObject
*resultobj
= 0;
33672 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33673 wxColour
*result
= 0 ;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33684 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33685 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33693 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33694 PyObject
*resultobj
= 0;
33695 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33696 wxColour
*arg2
= (wxColour
*) 0 ;
33700 PyObject
*swig_obj
[2] ;
33702 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33704 if (!SWIG_IsOK(res1
)) {
33705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33707 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33710 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33712 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33714 resultobj
= SWIG_Py_Void();
33721 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33722 PyObject
*resultobj
= 0;
33723 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33724 wxColour
*result
= 0 ;
33727 PyObject
*swig_obj
[1] ;
33729 if (!args
) SWIG_fail
;
33730 swig_obj
[0] = args
;
33731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33735 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33736 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33744 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33745 PyObject
*resultobj
= 0;
33746 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33747 wxString
*arg2
= (wxString
*) 0 ;
33750 bool temp2
= false ;
33751 PyObject
*swig_obj
[2] ;
33753 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33755 if (!SWIG_IsOK(res1
)) {
33756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33758 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33760 arg2
= wxString_in_helper(swig_obj
[1]);
33761 if (arg2
== NULL
) SWIG_fail
;
33764 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33766 resultobj
= SWIG_Py_Void();
33781 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33782 PyObject
*resultobj
= 0;
33783 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33784 wxString
*result
= 0 ;
33787 PyObject
*swig_obj
[1] ;
33789 if (!args
) SWIG_fail
;
33790 swig_obj
[0] = args
;
33791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33792 if (!SWIG_IsOK(res1
)) {
33793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33795 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33796 result
= (wxString
*)& ((arg1
)->m_labelText
);
33799 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33801 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33810 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33811 PyObject
*resultobj
= 0;
33812 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33813 wxFont
*arg2
= (wxFont
*) 0 ;
33818 PyObject
*swig_obj
[2] ;
33820 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33825 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33826 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33827 if (!SWIG_IsOK(res2
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33830 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33831 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33833 resultobj
= SWIG_Py_Void();
33840 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33841 PyObject
*resultobj
= 0;
33842 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33843 wxFont
*result
= 0 ;
33846 PyObject
*swig_obj
[1] ;
33848 if (!args
) SWIG_fail
;
33849 swig_obj
[0] = args
;
33850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33854 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33855 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33863 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33864 PyObject
*resultobj
= 0;
33865 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33866 wxColour
*arg2
= (wxColour
*) 0 ;
33870 PyObject
*swig_obj
[2] ;
33872 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33874 if (!SWIG_IsOK(res1
)) {
33875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33877 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33880 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33882 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33884 resultobj
= SWIG_Py_Void();
33891 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33892 PyObject
*resultobj
= 0;
33893 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33894 wxColour
*result
= 0 ;
33897 PyObject
*swig_obj
[1] ;
33899 if (!args
) SWIG_fail
;
33900 swig_obj
[0] = args
;
33901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33902 if (!SWIG_IsOK(res1
)) {
33903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33905 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33906 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33914 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33915 PyObject
*resultobj
= 0;
33916 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33917 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33922 PyObject
*swig_obj
[2] ;
33924 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33929 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33930 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33931 if (!SWIG_IsOK(res2
)) {
33932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33934 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33935 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33937 resultobj
= SWIG_Py_Void();
33944 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33945 PyObject
*resultobj
= 0;
33946 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33947 wxBitmap
*result
= 0 ;
33950 PyObject
*swig_obj
[1] ;
33952 if (!args
) SWIG_fail
;
33953 swig_obj
[0] = args
;
33954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33958 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33959 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33967 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 PyObject
*resultobj
= 0;
33969 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33975 PyObject
*swig_obj
[2] ;
33977 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33979 if (!SWIG_IsOK(res1
)) {
33980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33982 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33983 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33984 if (!SWIG_IsOK(ecode2
)) {
33985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33987 arg2
= static_cast< int >(val2
);
33988 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33990 resultobj
= SWIG_Py_Void();
33997 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33998 PyObject
*resultobj
= 0;
33999 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34003 PyObject
*swig_obj
[1] ;
34005 if (!args
) SWIG_fail
;
34006 swig_obj
[0] = args
;
34007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34008 if (!SWIG_IsOK(res1
)) {
34009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34011 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34012 result
= (int) ((arg1
)->m_labelAlignment
);
34013 resultobj
= SWIG_From_int(static_cast< int >(result
));
34020 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34023 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34024 return SWIG_Py_Void();
34027 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34028 return SWIG_Python_InitShadowInstance(args
);
34031 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34032 PyObject
*resultobj
= 0;
34035 wxRendererVersion
*result
= 0 ;
34040 PyObject
* obj0
= 0 ;
34041 PyObject
* obj1
= 0 ;
34042 char * kwnames
[] = {
34043 (char *) "version_",(char *) "age_", NULL
34046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34048 if (!SWIG_IsOK(ecode1
)) {
34049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34051 arg1
= static_cast< int >(val1
);
34052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34053 if (!SWIG_IsOK(ecode2
)) {
34054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34056 arg2
= static_cast< int >(val2
);
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34070 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34071 PyObject
*resultobj
= 0;
34072 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34075 PyObject
*swig_obj
[1] ;
34077 if (!args
) SWIG_fail
;
34078 swig_obj
[0] = args
;
34079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34080 if (!SWIG_IsOK(res1
)) {
34081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34083 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= SWIG_Py_Void();
34098 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
= 0;
34100 wxRendererVersion
*arg1
= 0 ;
34104 PyObject
* obj0
= 0 ;
34105 char * kwnames
[] = {
34106 (char *) "ver", NULL
34109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34110 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34111 if (!SWIG_IsOK(res1
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34117 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34133 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34134 PyObject
*resultobj
= 0;
34135 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34139 PyObject
*swig_obj
[1] ;
34141 if (!args
) SWIG_fail
;
34142 swig_obj
[0] = args
;
34143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34144 if (!SWIG_IsOK(res1
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34147 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34148 result
= (int)(int) ((arg1
)->version
);
34149 resultobj
= SWIG_From_int(static_cast< int >(result
));
34156 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34157 PyObject
*resultobj
= 0;
34158 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34162 PyObject
*swig_obj
[1] ;
34164 if (!args
) SWIG_fail
;
34165 swig_obj
[0] = args
;
34166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34167 if (!SWIG_IsOK(res1
)) {
34168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34170 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34171 result
= (int)(int) ((arg1
)->age
);
34172 resultobj
= SWIG_From_int(static_cast< int >(result
));
34179 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34182 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34183 return SWIG_Py_Void();
34186 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34187 return SWIG_Python_InitShadowInstance(args
);
34190 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
= 0;
34192 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34193 wxWindow
*arg2
= (wxWindow
*) 0 ;
34196 int arg5
= (int) 0 ;
34197 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34198 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34212 PyObject
* obj0
= 0 ;
34213 PyObject
* obj1
= 0 ;
34214 PyObject
* obj2
= 0 ;
34215 PyObject
* obj3
= 0 ;
34216 PyObject
* obj4
= 0 ;
34217 PyObject
* obj5
= 0 ;
34218 PyObject
* obj6
= 0 ;
34219 char * kwnames
[] = {
34220 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34225 if (!SWIG_IsOK(res1
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34228 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34230 if (!SWIG_IsOK(res2
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34234 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34235 if (!SWIG_IsOK(res3
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34241 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34244 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34248 if (!SWIG_IsOK(ecode5
)) {
34249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34251 arg5
= static_cast< int >(val5
);
34254 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34255 if (!SWIG_IsOK(ecode6
)) {
34256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34258 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34261 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34262 if (!SWIG_IsOK(res7
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34265 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34273 resultobj
= SWIG_Py_Void();
34280 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34281 PyObject
*resultobj
= 0;
34282 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34283 wxWindow
*arg2
= (wxWindow
*) 0 ;
34286 int arg5
= (int) 0 ;
34287 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34288 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34302 PyObject
* obj0
= 0 ;
34303 PyObject
* obj1
= 0 ;
34304 PyObject
* obj2
= 0 ;
34305 PyObject
* obj3
= 0 ;
34306 PyObject
* obj4
= 0 ;
34307 PyObject
* obj5
= 0 ;
34308 PyObject
* obj6
= 0 ;
34309 char * kwnames
[] = {
34310 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34318 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34320 if (!SWIG_IsOK(res2
)) {
34321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34325 if (!SWIG_IsOK(res3
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34331 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34334 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34337 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34338 if (!SWIG_IsOK(ecode5
)) {
34339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34341 arg5
= static_cast< int >(val5
);
34344 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34345 if (!SWIG_IsOK(ecode6
)) {
34346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34348 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34351 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34352 if (!SWIG_IsOK(res7
)) {
34353 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34355 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34360 wxPyEndAllowThreads(__tstate
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= SWIG_Py_Void();
34370 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34371 PyObject
*resultobj
= 0;
34372 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34373 wxWindow
*arg2
= (wxWindow
*) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 PyObject
* obj1
= 0 ;
34381 char * kwnames
[] = {
34382 (char *) "self",(char *) "win", NULL
34385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34390 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34392 if (!SWIG_IsOK(res2
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34395 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34398 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34402 resultobj
= SWIG_From_int(static_cast< int >(result
));
34409 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
= 0;
34411 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34412 wxWindow
*arg2
= (wxWindow
*) 0 ;
34415 int arg5
= (int) 0 ;
34425 PyObject
* obj0
= 0 ;
34426 PyObject
* obj1
= 0 ;
34427 PyObject
* obj2
= 0 ;
34428 PyObject
* obj3
= 0 ;
34429 PyObject
* obj4
= 0 ;
34430 char * kwnames
[] = {
34431 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34439 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34441 if (!SWIG_IsOK(res2
)) {
34442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34445 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34446 if (!SWIG_IsOK(res3
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34452 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34455 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34458 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34459 if (!SWIG_IsOK(ecode5
)) {
34460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34462 arg5
= static_cast< int >(val5
);
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34467 wxPyEndAllowThreads(__tstate
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34470 resultobj
= SWIG_Py_Void();
34477 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34478 PyObject
*resultobj
= 0;
34479 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34480 wxWindow
*arg2
= (wxWindow
*) 0 ;
34483 int arg5
= (int) 0 ;
34493 PyObject
* obj0
= 0 ;
34494 PyObject
* obj1
= 0 ;
34495 PyObject
* obj2
= 0 ;
34496 PyObject
* obj3
= 0 ;
34497 PyObject
* obj4
= 0 ;
34498 char * kwnames
[] = {
34499 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34504 if (!SWIG_IsOK(res1
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34507 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34509 if (!SWIG_IsOK(res2
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34513 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34514 if (!SWIG_IsOK(res3
)) {
34515 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34520 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34523 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34526 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34527 if (!SWIG_IsOK(ecode5
)) {
34528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34530 arg5
= static_cast< int >(val5
);
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34534 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34535 wxPyEndAllowThreads(__tstate
);
34536 if (PyErr_Occurred()) SWIG_fail
;
34538 resultobj
= SWIG_Py_Void();
34545 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34546 PyObject
*resultobj
= 0;
34547 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34548 wxWindow
*arg2
= (wxWindow
*) 0 ;
34552 wxOrientation arg6
;
34553 int arg7
= (int) 0 ;
34567 PyObject
* obj0
= 0 ;
34568 PyObject
* obj1
= 0 ;
34569 PyObject
* obj2
= 0 ;
34570 PyObject
* obj3
= 0 ;
34571 PyObject
* obj4
= 0 ;
34572 PyObject
* obj5
= 0 ;
34573 PyObject
* obj6
= 0 ;
34574 char * kwnames
[] = {
34575 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34580 if (!SWIG_IsOK(res1
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34583 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34585 if (!SWIG_IsOK(res2
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34589 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34590 if (!SWIG_IsOK(res3
)) {
34591 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34596 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34602 if (!SWIG_IsOK(ecode5
)) {
34603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34605 arg5
= static_cast< int >(val5
);
34606 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34607 if (!SWIG_IsOK(ecode6
)) {
34608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34610 arg6
= static_cast< wxOrientation
>(val6
);
34612 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34613 if (!SWIG_IsOK(ecode7
)) {
34614 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34616 arg7
= static_cast< int >(val7
);
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 resultobj
= SWIG_Py_Void();
34631 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34632 PyObject
*resultobj
= 0;
34633 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34634 wxWindow
*arg2
= (wxWindow
*) 0 ;
34637 int arg5
= (int) 0 ;
34647 PyObject
* obj0
= 0 ;
34648 PyObject
* obj1
= 0 ;
34649 PyObject
* obj2
= 0 ;
34650 PyObject
* obj3
= 0 ;
34651 PyObject
* obj4
= 0 ;
34652 char * kwnames
[] = {
34653 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34658 if (!SWIG_IsOK(res1
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34661 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34663 if (!SWIG_IsOK(res2
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34667 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34668 if (!SWIG_IsOK(res3
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34674 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34677 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34681 if (!SWIG_IsOK(ecode5
)) {
34682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34684 arg5
= static_cast< int >(val5
);
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 resultobj
= SWIG_Py_Void();
34699 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
= 0;
34701 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34702 wxWindow
*arg2
= (wxWindow
*) 0 ;
34705 int arg5
= (int) 0 ;
34715 PyObject
* obj0
= 0 ;
34716 PyObject
* obj1
= 0 ;
34717 PyObject
* obj2
= 0 ;
34718 PyObject
* obj3
= 0 ;
34719 PyObject
* obj4
= 0 ;
34720 char * kwnames
[] = {
34721 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34726 if (!SWIG_IsOK(res1
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34729 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34731 if (!SWIG_IsOK(res2
)) {
34732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34735 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34736 if (!SWIG_IsOK(res3
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34742 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34745 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34748 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34749 if (!SWIG_IsOK(ecode5
)) {
34750 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34752 arg5
= static_cast< int >(val5
);
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34757 wxPyEndAllowThreads(__tstate
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34760 resultobj
= SWIG_Py_Void();
34767 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34768 PyObject
*resultobj
= 0;
34769 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34770 wxWindow
*arg2
= (wxWindow
*) 0 ;
34773 int arg5
= (int) 0 ;
34783 PyObject
* obj0
= 0 ;
34784 PyObject
* obj1
= 0 ;
34785 PyObject
* obj2
= 0 ;
34786 PyObject
* obj3
= 0 ;
34787 PyObject
* obj4
= 0 ;
34788 char * kwnames
[] = {
34789 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34794 if (!SWIG_IsOK(res1
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34797 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34799 if (!SWIG_IsOK(res2
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34802 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34803 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34804 if (!SWIG_IsOK(res3
)) {
34805 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34810 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34813 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34817 if (!SWIG_IsOK(ecode5
)) {
34818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34820 arg5
= static_cast< int >(val5
);
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 resultobj
= SWIG_Py_Void();
34835 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34836 PyObject
*resultobj
= 0;
34837 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34838 wxWindow
*arg2
= (wxWindow
*) 0 ;
34841 int arg5
= (int) 0 ;
34851 PyObject
* obj0
= 0 ;
34852 PyObject
* obj1
= 0 ;
34853 PyObject
* obj2
= 0 ;
34854 PyObject
* obj3
= 0 ;
34855 PyObject
* obj4
= 0 ;
34856 char * kwnames
[] = {
34857 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34862 if (!SWIG_IsOK(res1
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34865 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34867 if (!SWIG_IsOK(res2
)) {
34868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34870 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34871 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34872 if (!SWIG_IsOK(res3
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34878 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34881 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34884 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34885 if (!SWIG_IsOK(ecode5
)) {
34886 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34888 arg5
= static_cast< int >(val5
);
34891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34892 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= SWIG_Py_Void();
34903 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34904 PyObject
*resultobj
= 0;
34905 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34906 wxWindow
*arg2
= (wxWindow
*) 0 ;
34909 int arg5
= (int) 0 ;
34919 PyObject
* obj0
= 0 ;
34920 PyObject
* obj1
= 0 ;
34921 PyObject
* obj2
= 0 ;
34922 PyObject
* obj3
= 0 ;
34923 PyObject
* obj4
= 0 ;
34924 char * kwnames
[] = {
34925 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34930 if (!SWIG_IsOK(res1
)) {
34931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34933 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34935 if (!SWIG_IsOK(res2
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34939 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34940 if (!SWIG_IsOK(res3
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34946 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34949 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34952 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34953 if (!SWIG_IsOK(ecode5
)) {
34954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34956 arg5
= static_cast< int >(val5
);
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 resultobj
= SWIG_Py_Void();
34971 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
= 0;
34973 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34974 wxWindow
*arg2
= (wxWindow
*) 0 ;
34975 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 char * kwnames
[] = {
34983 (char *) "self",(char *) "win", NULL
34986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34988 if (!SWIG_IsOK(res1
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34991 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34993 if (!SWIG_IsOK(res2
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35010 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35011 PyObject
*resultobj
= 0;
35012 wxRendererNative
*result
= 0 ;
35014 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35016 if (!wxPyCheckForApp()) SWIG_fail
;
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35020 result
= (wxRendererNative
*) &_result_ref
;
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35032 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35033 PyObject
*resultobj
= 0;
35034 wxRendererNative
*result
= 0 ;
35036 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35038 if (!wxPyCheckForApp()) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35042 result
= (wxRendererNative
*) &_result_ref
;
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35054 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35055 PyObject
*resultobj
= 0;
35056 wxRendererNative
*result
= 0 ;
35058 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35060 if (!wxPyCheckForApp()) SWIG_fail
;
35061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35064 result
= (wxRendererNative
*) &_result_ref
;
35066 wxPyEndAllowThreads(__tstate
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35076 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
= 0;
35078 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35079 wxRendererNative
*result
= 0 ;
35082 PyObject
* obj0
= 0 ;
35083 char * kwnames
[] = {
35084 (char *) "renderer", NULL
35087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35092 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35094 if (!wxPyCheckForApp()) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35107 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35108 PyObject
*resultobj
= 0;
35109 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35110 SwigValueWrapper
<wxRendererVersion
> result
;
35113 PyObject
*swig_obj
[1] ;
35115 if (!args
) SWIG_fail
;
35116 swig_obj
[0] = args
;
35117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35118 if (!SWIG_IsOK(res1
)) {
35119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35121 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35124 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35128 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35135 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35138 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35139 return SWIG_Py_Void();
35142 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35143 PyObject
*resultobj
= 0;
35144 wxPseudoDC
*result
= 0 ;
35146 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35149 result
= (wxPseudoDC
*)new wxPseudoDC();
35150 wxPyEndAllowThreads(__tstate
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35160 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35161 PyObject
*resultobj
= 0;
35162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35165 PyObject
*swig_obj
[1] ;
35167 if (!args
) SWIG_fail
;
35168 swig_obj
[0] = args
;
35169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35170 if (!SWIG_IsOK(res1
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35176 (arg1
)->BeginDrawing();
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 resultobj
= SWIG_Py_Void();
35187 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35188 PyObject
*resultobj
= 0;
35189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35192 PyObject
*swig_obj
[1] ;
35194 if (!args
) SWIG_fail
;
35195 swig_obj
[0] = args
;
35196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35197 if (!SWIG_IsOK(res1
)) {
35198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35203 (arg1
)->EndDrawing();
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 resultobj
= SWIG_Py_Void();
35214 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35215 PyObject
*resultobj
= 0;
35216 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35219 PyObject
*swig_obj
[1] ;
35221 if (!args
) SWIG_fail
;
35222 swig_obj
[0] = args
;
35223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35224 if (!SWIG_IsOK(res1
)) {
35225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 wxPyEndAllowThreads(__tstate
);
35233 if (PyErr_Occurred()) SWIG_fail
;
35235 resultobj
= SWIG_Py_Void();
35242 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35243 PyObject
*resultobj
= 0;
35244 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35247 PyObject
*swig_obj
[1] ;
35249 if (!args
) SWIG_fail
;
35250 swig_obj
[0] = args
;
35251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35252 if (!SWIG_IsOK(res1
)) {
35253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 (arg1
)->RemoveAll();
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35262 resultobj
= SWIG_Py_Void();
35269 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35270 PyObject
*resultobj
= 0;
35271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35275 PyObject
*swig_obj
[1] ;
35277 if (!args
) SWIG_fail
;
35278 swig_obj
[0] = args
;
35279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35280 if (!SWIG_IsOK(res1
)) {
35281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 result
= (int)(arg1
)->GetLen();
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_From_int(static_cast< int >(result
));
35297 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(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_SetId",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_SetId" "', 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_SetId" "', expected argument " "2"" of type '" "int""'");
35321 arg2
= static_cast< int >(val2
);
35323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 (arg1
)->SetId(arg2
);
35325 wxPyEndAllowThreads(__tstate
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35328 resultobj
= SWIG_Py_Void();
35335 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(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_ClearId",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_ClearId" "', 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_ClearId" "', expected argument " "2"" of type '" "int""'");
35359 arg2
= static_cast< int >(val2
);
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 (arg1
)->ClearId(arg2
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= SWIG_Py_Void();
35373 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char * kwnames
[] = {
35384 (char *) "self",(char *) "id", NULL
35387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35389 if (!SWIG_IsOK(res1
)) {
35390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35392 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35394 if (!SWIG_IsOK(ecode2
)) {
35395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35397 arg2
= static_cast< int >(val2
);
35399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35400 (arg1
)->RemoveId(arg2
);
35401 wxPyEndAllowThreads(__tstate
);
35402 if (PyErr_Occurred()) SWIG_fail
;
35404 resultobj
= SWIG_Py_Void();
35411 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35412 PyObject
*resultobj
= 0;
35413 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35425 PyObject
* obj0
= 0 ;
35426 PyObject
* obj1
= 0 ;
35427 PyObject
* obj2
= 0 ;
35428 PyObject
* obj3
= 0 ;
35429 char * kwnames
[] = {
35430 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35435 if (!SWIG_IsOK(res1
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35440 if (!SWIG_IsOK(ecode2
)) {
35441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35443 arg2
= static_cast< int >(val2
);
35444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35445 if (!SWIG_IsOK(ecode3
)) {
35446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35448 arg3
= static_cast< int >(val3
);
35449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35450 if (!SWIG_IsOK(ecode4
)) {
35451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35453 arg4
= static_cast< int >(val4
);
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35457 wxPyEndAllowThreads(__tstate
);
35458 if (PyErr_Occurred()) SWIG_fail
;
35460 resultobj
= SWIG_Py_Void();
35467 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
= 0;
35469 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35471 bool arg3
= (bool) true ;
35478 PyObject
* obj0
= 0 ;
35479 PyObject
* obj1
= 0 ;
35480 PyObject
* obj2
= 0 ;
35481 char * kwnames
[] = {
35482 (char *) "self",(char *) "id",(char *) "greyout", NULL
35485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35487 if (!SWIG_IsOK(res1
)) {
35488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35492 if (!SWIG_IsOK(ecode2
)) {
35493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35495 arg2
= static_cast< int >(val2
);
35497 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35498 if (!SWIG_IsOK(ecode3
)) {
35499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35501 arg3
= static_cast< bool >(val3
);
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 resultobj
= SWIG_Py_Void();
35516 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35517 PyObject
*resultobj
= 0;
35518 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35525 PyObject
* obj0
= 0 ;
35526 PyObject
* obj1
= 0 ;
35527 char * kwnames
[] = {
35528 (char *) "self",(char *) "id", NULL
35531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35533 if (!SWIG_IsOK(res1
)) {
35534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35536 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35538 if (!SWIG_IsOK(ecode2
)) {
35539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35541 arg2
= static_cast< int >(val2
);
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35557 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35558 PyObject
*resultobj
= 0;
35559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35562 int arg4
= (int) 1 ;
35563 wxColor
const &arg5_defvalue
= *wxWHITE
;
35564 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35565 PyObject
*result
= 0 ;
35576 PyObject
* obj0
= 0 ;
35577 PyObject
* obj1
= 0 ;
35578 PyObject
* obj2
= 0 ;
35579 PyObject
* obj3
= 0 ;
35580 PyObject
* obj4
= 0 ;
35581 char * kwnames
[] = {
35582 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35587 if (!SWIG_IsOK(res1
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35590 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35592 if (!SWIG_IsOK(ecode2
)) {
35593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35595 arg2
= static_cast< int >(val2
);
35596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35597 if (!SWIG_IsOK(ecode3
)) {
35598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35600 arg3
= static_cast< int >(val3
);
35602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35603 if (!SWIG_IsOK(ecode4
)) {
35604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35606 arg4
= static_cast< int >(val4
);
35609 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35610 if (!SWIG_IsOK(res5
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35616 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35619 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35622 resultobj
= result
;
35629 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
= 0;
35631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35634 PyObject
*result
= 0 ;
35641 PyObject
* obj0
= 0 ;
35642 PyObject
* obj1
= 0 ;
35643 PyObject
* obj2
= 0 ;
35644 char * kwnames
[] = {
35645 (char *) "self",(char *) "x",(char *) "y", NULL
35648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35650 if (!SWIG_IsOK(res1
)) {
35651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35655 if (!SWIG_IsOK(ecode2
)) {
35656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35658 arg2
= static_cast< int >(val2
);
35659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35660 if (!SWIG_IsOK(ecode3
)) {
35661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35663 arg3
= static_cast< int >(val3
);
35665 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= result
;
35675 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35679 wxDC
*arg3
= (wxDC
*) 0 ;
35686 PyObject
* obj0
= 0 ;
35687 PyObject
* obj1
= 0 ;
35688 PyObject
* obj2
= 0 ;
35689 char * kwnames
[] = {
35690 (char *) "self",(char *) "id",(char *) "dc", NULL
35693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35695 if (!SWIG_IsOK(res1
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35700 if (!SWIG_IsOK(ecode2
)) {
35701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35703 arg2
= static_cast< int >(val2
);
35704 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35705 if (!SWIG_IsOK(res3
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35708 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 (arg1
)->DrawIdToDC(arg2
,arg3
);
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35715 resultobj
= SWIG_Py_Void();
35722 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
= 0;
35724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35732 PyObject
* obj0
= 0 ;
35733 PyObject
* obj1
= 0 ;
35734 PyObject
* obj2
= 0 ;
35735 char * kwnames
[] = {
35736 (char *) "self",(char *) "id",(char *) "rect", NULL
35739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetIdBounds" "', 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_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35749 arg2
= static_cast< int >(val2
);
35752 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 (arg1
)->SetIdBounds(arg2
,*arg3
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_Py_Void();
35767 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
= 0;
35769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 char * kwnames
[] = {
35779 (char *) "self",(char *) "id", NULL
35782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35789 if (!SWIG_IsOK(ecode2
)) {
35790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35792 arg2
= static_cast< int >(val2
);
35794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35795 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35806 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
= 0;
35808 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35809 wxDC
*arg2
= (wxDC
*) 0 ;
35816 PyObject
* obj0
= 0 ;
35817 PyObject
* obj1
= 0 ;
35818 PyObject
* obj2
= 0 ;
35819 char * kwnames
[] = {
35820 (char *) "self",(char *) "dc",(char *) "rect", NULL
35823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35825 if (!SWIG_IsOK(res1
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35830 if (!SWIG_IsOK(res2
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35833 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35836 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35844 resultobj
= SWIG_Py_Void();
35851 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35852 PyObject
*resultobj
= 0;
35853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35854 wxDC
*arg2
= (wxDC
*) 0 ;
35855 wxRegion
*arg3
= 0 ;
35862 PyObject
* obj0
= 0 ;
35863 PyObject
* obj1
= 0 ;
35864 PyObject
* obj2
= 0 ;
35865 char * kwnames
[] = {
35866 (char *) "self",(char *) "dc",(char *) "region", NULL
35869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35871 if (!SWIG_IsOK(res1
)) {
35872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35876 if (!SWIG_IsOK(res2
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35879 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35880 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35881 if (!SWIG_IsOK(res3
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35887 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 resultobj
= SWIG_Py_Void();
35901 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
= 0;
35903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35904 wxDC
*arg2
= (wxDC
*) 0 ;
35909 PyObject
* obj0
= 0 ;
35910 PyObject
* obj1
= 0 ;
35911 char * kwnames
[] = {
35912 (char *) "self",(char *) "dc", NULL
35915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35917 if (!SWIG_IsOK(res1
)) {
35918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35922 if (!SWIG_IsOK(res2
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35925 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35928 (arg1
)->DrawToDC(arg2
);
35929 wxPyEndAllowThreads(__tstate
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= SWIG_Py_Void();
35939 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35940 PyObject
*resultobj
= 0;
35941 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35944 wxColour
*arg4
= 0 ;
35945 int arg5
= (int) wxFLOOD_SURFACE
;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 PyObject
* obj2
= 0 ;
35958 PyObject
* obj3
= 0 ;
35959 PyObject
* obj4
= 0 ;
35960 char * kwnames
[] = {
35961 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35966 if (!SWIG_IsOK(res1
)) {
35967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35969 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35971 if (!SWIG_IsOK(ecode2
)) {
35972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35974 arg2
= static_cast< int >(val2
);
35975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35976 if (!SWIG_IsOK(ecode3
)) {
35977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35979 arg3
= static_cast< int >(val3
);
35982 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35985 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35986 if (!SWIG_IsOK(ecode5
)) {
35987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35989 arg5
= static_cast< int >(val5
);
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_Py_Void();
36004 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
= 0;
36006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36007 wxPoint
*arg2
= 0 ;
36008 wxColour
*arg3
= 0 ;
36009 int arg4
= (int) wxFLOOD_SURFACE
;
36016 PyObject
* obj0
= 0 ;
36017 PyObject
* obj1
= 0 ;
36018 PyObject
* obj2
= 0 ;
36019 PyObject
* obj3
= 0 ;
36020 char * kwnames
[] = {
36021 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36026 if (!SWIG_IsOK(res1
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36036 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36040 if (!SWIG_IsOK(ecode4
)) {
36041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36043 arg4
= static_cast< int >(val4
);
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 resultobj
= SWIG_Py_Void();
36058 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
= 0;
36060 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 PyObject
* obj1
= 0 ;
36077 PyObject
* obj2
= 0 ;
36078 PyObject
* obj3
= 0 ;
36079 PyObject
* obj4
= 0 ;
36080 char * kwnames
[] = {
36081 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36086 if (!SWIG_IsOK(res1
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36091 if (!SWIG_IsOK(ecode2
)) {
36092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36094 arg2
= static_cast< int >(val2
);
36095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36096 if (!SWIG_IsOK(ecode3
)) {
36097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36099 arg3
= static_cast< int >(val3
);
36100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36101 if (!SWIG_IsOK(ecode4
)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36104 arg4
= static_cast< int >(val4
);
36105 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36106 if (!SWIG_IsOK(ecode5
)) {
36107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36109 arg5
= static_cast< int >(val5
);
36111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36112 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36113 wxPyEndAllowThreads(__tstate
);
36114 if (PyErr_Occurred()) SWIG_fail
;
36116 resultobj
= SWIG_Py_Void();
36123 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36126 wxPoint
*arg2
= 0 ;
36127 wxPoint
*arg3
= 0 ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 PyObject
* obj2
= 0 ;
36135 char * kwnames
[] = {
36136 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36141 if (!SWIG_IsOK(res1
)) {
36142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36144 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36155 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36156 wxPyEndAllowThreads(__tstate
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36159 resultobj
= SWIG_Py_Void();
36166 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36167 PyObject
*resultobj
= 0;
36168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36177 PyObject
* obj0
= 0 ;
36178 PyObject
* obj1
= 0 ;
36179 PyObject
* obj2
= 0 ;
36180 char * kwnames
[] = {
36181 (char *) "self",(char *) "x",(char *) "y", NULL
36184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36186 if (!SWIG_IsOK(res1
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36189 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36191 if (!SWIG_IsOK(ecode2
)) {
36192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36194 arg2
= static_cast< int >(val2
);
36195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36196 if (!SWIG_IsOK(ecode3
)) {
36197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36199 arg3
= static_cast< int >(val3
);
36201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36202 (arg1
)->CrossHair(arg2
,arg3
);
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36206 resultobj
= SWIG_Py_Void();
36213 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36214 PyObject
*resultobj
= 0;
36215 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36216 wxPoint
*arg2
= 0 ;
36220 PyObject
* obj0
= 0 ;
36221 PyObject
* obj1
= 0 ;
36222 char * kwnames
[] = {
36223 (char *) "self",(char *) "pt", NULL
36226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36228 if (!SWIG_IsOK(res1
)) {
36229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36231 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36234 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 resultobj
= SWIG_Py_Void();
36249 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
= 0;
36251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36272 PyObject
* obj0
= 0 ;
36273 PyObject
* obj1
= 0 ;
36274 PyObject
* obj2
= 0 ;
36275 PyObject
* obj3
= 0 ;
36276 PyObject
* obj4
= 0 ;
36277 PyObject
* obj5
= 0 ;
36278 PyObject
* obj6
= 0 ;
36279 char * kwnames
[] = {
36280 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36285 if (!SWIG_IsOK(res1
)) {
36286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36290 if (!SWIG_IsOK(ecode2
)) {
36291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36293 arg2
= static_cast< int >(val2
);
36294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36295 if (!SWIG_IsOK(ecode3
)) {
36296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36298 arg3
= static_cast< int >(val3
);
36299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36300 if (!SWIG_IsOK(ecode4
)) {
36301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36303 arg4
= static_cast< int >(val4
);
36304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36305 if (!SWIG_IsOK(ecode5
)) {
36306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36308 arg5
= static_cast< int >(val5
);
36309 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36310 if (!SWIG_IsOK(ecode6
)) {
36311 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36313 arg6
= static_cast< int >(val6
);
36314 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36315 if (!SWIG_IsOK(ecode7
)) {
36316 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36318 arg7
= static_cast< int >(val7
);
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_Py_Void();
36332 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
= 0;
36334 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36335 wxPoint
*arg2
= 0 ;
36336 wxPoint
*arg3
= 0 ;
36337 wxPoint
*arg4
= 0 ;
36343 PyObject
* obj0
= 0 ;
36344 PyObject
* obj1
= 0 ;
36345 PyObject
* obj2
= 0 ;
36346 PyObject
* obj3
= 0 ;
36347 char * kwnames
[] = {
36348 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36353 if (!SWIG_IsOK(res1
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36375 resultobj
= SWIG_Py_Void();
36382 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36383 PyObject
*resultobj
= 0;
36384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36399 PyObject
* obj0
= 0 ;
36400 PyObject
* obj1
= 0 ;
36401 PyObject
* obj2
= 0 ;
36402 PyObject
* obj3
= 0 ;
36403 PyObject
* obj4
= 0 ;
36404 char * kwnames
[] = {
36405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36410 if (!SWIG_IsOK(res1
)) {
36411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36413 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36415 if (!SWIG_IsOK(ecode2
)) {
36416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36418 arg2
= static_cast< int >(val2
);
36419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36420 if (!SWIG_IsOK(ecode3
)) {
36421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36423 arg3
= static_cast< int >(val3
);
36424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36425 if (!SWIG_IsOK(ecode4
)) {
36426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36428 arg4
= static_cast< int >(val4
);
36429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36430 if (!SWIG_IsOK(ecode5
)) {
36431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36433 arg5
= static_cast< int >(val5
);
36435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36436 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36440 resultobj
= SWIG_Py_Void();
36447 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36448 PyObject
*resultobj
= 0;
36449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36454 PyObject
* obj0
= 0 ;
36455 PyObject
* obj1
= 0 ;
36456 char * kwnames
[] = {
36457 (char *) "self",(char *) "rect", NULL
36460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36462 if (!SWIG_IsOK(res1
)) {
36463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36465 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36473 wxPyEndAllowThreads(__tstate
);
36474 if (PyErr_Occurred()) SWIG_fail
;
36476 resultobj
= SWIG_Py_Void();
36483 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36484 PyObject
*resultobj
= 0;
36485 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36506 PyObject
* obj0
= 0 ;
36507 PyObject
* obj1
= 0 ;
36508 PyObject
* obj2
= 0 ;
36509 PyObject
* obj3
= 0 ;
36510 PyObject
* obj4
= 0 ;
36511 PyObject
* obj5
= 0 ;
36512 PyObject
* obj6
= 0 ;
36513 char * kwnames
[] = {
36514 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36519 if (!SWIG_IsOK(res1
)) {
36520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36522 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36524 if (!SWIG_IsOK(ecode2
)) {
36525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36527 arg2
= static_cast< int >(val2
);
36528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36529 if (!SWIG_IsOK(ecode3
)) {
36530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36532 arg3
= static_cast< int >(val3
);
36533 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36534 if (!SWIG_IsOK(ecode4
)) {
36535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36537 arg4
= static_cast< int >(val4
);
36538 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36539 if (!SWIG_IsOK(ecode5
)) {
36540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36542 arg5
= static_cast< int >(val5
);
36543 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36544 if (!SWIG_IsOK(ecode6
)) {
36545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36547 arg6
= static_cast< double >(val6
);
36548 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36549 if (!SWIG_IsOK(ecode7
)) {
36550 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36552 arg7
= static_cast< double >(val7
);
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36556 wxPyEndAllowThreads(__tstate
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 resultobj
= SWIG_Py_Void();
36566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
= 0;
36568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36569 wxPoint
*arg2
= 0 ;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 PyObject
* obj2
= 0 ;
36584 PyObject
* obj3
= 0 ;
36585 PyObject
* obj4
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36595 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36602 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36604 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36605 if (!SWIG_IsOK(ecode4
)) {
36606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36608 arg4
= static_cast< double >(val4
);
36609 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36610 if (!SWIG_IsOK(ecode5
)) {
36611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36613 arg5
= static_cast< double >(val5
);
36615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36616 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 resultobj
= SWIG_Py_Void();
36627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
= 0;
36629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 PyObject
* obj2
= 0 ;
36641 char * kwnames
[] = {
36642 (char *) "self",(char *) "x",(char *) "y", NULL
36645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36647 if (!SWIG_IsOK(res1
)) {
36648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36650 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36652 if (!SWIG_IsOK(ecode2
)) {
36653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36655 arg2
= static_cast< int >(val2
);
36656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36657 if (!SWIG_IsOK(ecode3
)) {
36658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36660 arg3
= static_cast< int >(val3
);
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->DrawPoint(arg2
,arg3
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36677 wxPoint
*arg2
= 0 ;
36681 PyObject
* obj0
= 0 ;
36682 PyObject
* obj1
= 0 ;
36683 char * kwnames
[] = {
36684 (char *) "self",(char *) "pt", NULL
36687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36689 if (!SWIG_IsOK(res1
)) {
36690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36692 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 resultobj
= SWIG_Py_Void();
36710 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
= 0;
36712 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 PyObject
* obj2
= 0 ;
36730 PyObject
* obj3
= 0 ;
36731 PyObject
* obj4
= 0 ;
36732 char * kwnames
[] = {
36733 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36738 if (!SWIG_IsOK(res1
)) {
36739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36741 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36743 if (!SWIG_IsOK(ecode2
)) {
36744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36746 arg2
= static_cast< int >(val2
);
36747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36748 if (!SWIG_IsOK(ecode3
)) {
36749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36751 arg3
= static_cast< int >(val3
);
36752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36753 if (!SWIG_IsOK(ecode4
)) {
36754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36756 arg4
= static_cast< int >(val4
);
36757 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36758 if (!SWIG_IsOK(ecode5
)) {
36759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36761 arg5
= static_cast< int >(val5
);
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36765 wxPyEndAllowThreads(__tstate
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36768 resultobj
= SWIG_Py_Void();
36775 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36776 PyObject
*resultobj
= 0;
36777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36782 PyObject
* obj0
= 0 ;
36783 PyObject
* obj1
= 0 ;
36784 char * kwnames
[] = {
36785 (char *) "self",(char *) "rect", NULL
36788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36790 if (!SWIG_IsOK(res1
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36793 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36796 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36804 resultobj
= SWIG_Py_Void();
36811 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36812 PyObject
*resultobj
= 0;
36813 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36814 wxPoint
*arg2
= 0 ;
36820 PyObject
* obj0
= 0 ;
36821 PyObject
* obj1
= 0 ;
36822 PyObject
* obj2
= 0 ;
36823 char * kwnames
[] = {
36824 (char *) "self",(char *) "pt",(char *) "sz", NULL
36827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36829 if (!SWIG_IsOK(res1
)) {
36830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36839 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36843 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_Py_Void();
36854 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
= 0;
36856 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36874 PyObject
* obj0
= 0 ;
36875 PyObject
* obj1
= 0 ;
36876 PyObject
* obj2
= 0 ;
36877 PyObject
* obj3
= 0 ;
36878 PyObject
* obj4
= 0 ;
36879 PyObject
* obj5
= 0 ;
36880 char * kwnames
[] = {
36881 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36886 if (!SWIG_IsOK(res1
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36891 if (!SWIG_IsOK(ecode2
)) {
36892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36894 arg2
= static_cast< int >(val2
);
36895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36896 if (!SWIG_IsOK(ecode3
)) {
36897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36899 arg3
= static_cast< int >(val3
);
36900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36901 if (!SWIG_IsOK(ecode4
)) {
36902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36904 arg4
= static_cast< int >(val4
);
36905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36906 if (!SWIG_IsOK(ecode5
)) {
36907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36909 arg5
= static_cast< int >(val5
);
36910 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36911 if (!SWIG_IsOK(ecode6
)) {
36912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36914 arg6
= static_cast< double >(val6
);
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_Py_Void();
36928 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
= 0;
36930 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 PyObject
* obj2
= 0 ;
36941 char * kwnames
[] = {
36942 (char *) "self",(char *) "r",(char *) "radius", NULL
36945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36947 if (!SWIG_IsOK(res1
)) {
36948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36953 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36955 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36956 if (!SWIG_IsOK(ecode3
)) {
36957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36959 arg3
= static_cast< double >(val3
);
36961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36962 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36963 wxPyEndAllowThreads(__tstate
);
36964 if (PyErr_Occurred()) SWIG_fail
;
36966 resultobj
= SWIG_Py_Void();
36973 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36974 PyObject
*resultobj
= 0;
36975 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36976 wxPoint
*arg2
= 0 ;
36985 PyObject
* obj0
= 0 ;
36986 PyObject
* obj1
= 0 ;
36987 PyObject
* obj2
= 0 ;
36988 PyObject
* obj3
= 0 ;
36989 char * kwnames
[] = {
36990 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36995 if (!SWIG_IsOK(res1
)) {
36996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37005 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37007 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37008 if (!SWIG_IsOK(ecode4
)) {
37009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37011 arg4
= static_cast< double >(val4
);
37013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37014 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37018 resultobj
= SWIG_Py_Void();
37025 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37026 PyObject
*resultobj
= 0;
37027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 PyObject
* obj2
= 0 ;
37042 PyObject
* obj3
= 0 ;
37043 char * kwnames
[] = {
37044 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37049 if (!SWIG_IsOK(res1
)) {
37050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37052 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37054 if (!SWIG_IsOK(ecode2
)) {
37055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37057 arg2
= static_cast< int >(val2
);
37058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37059 if (!SWIG_IsOK(ecode3
)) {
37060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37062 arg3
= static_cast< int >(val3
);
37063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37064 if (!SWIG_IsOK(ecode4
)) {
37065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37067 arg4
= static_cast< int >(val4
);
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37071 wxPyEndAllowThreads(__tstate
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37074 resultobj
= SWIG_Py_Void();
37081 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37082 PyObject
*resultobj
= 0;
37083 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37084 wxPoint
*arg2
= 0 ;
37091 PyObject
* obj0
= 0 ;
37092 PyObject
* obj1
= 0 ;
37093 PyObject
* obj2
= 0 ;
37094 char * kwnames
[] = {
37095 (char *) "self",(char *) "pt",(char *) "radius", NULL
37098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37100 if (!SWIG_IsOK(res1
)) {
37101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37103 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37109 if (!SWIG_IsOK(ecode3
)) {
37110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37112 arg3
= static_cast< int >(val3
);
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_Py_Void();
37126 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37127 PyObject
*resultobj
= 0;
37128 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37143 PyObject
* obj0
= 0 ;
37144 PyObject
* obj1
= 0 ;
37145 PyObject
* obj2
= 0 ;
37146 PyObject
* obj3
= 0 ;
37147 PyObject
* obj4
= 0 ;
37148 char * kwnames
[] = {
37149 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37154 if (!SWIG_IsOK(res1
)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37157 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37159 if (!SWIG_IsOK(ecode2
)) {
37160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37162 arg2
= static_cast< int >(val2
);
37163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37164 if (!SWIG_IsOK(ecode3
)) {
37165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37167 arg3
= static_cast< int >(val3
);
37168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37169 if (!SWIG_IsOK(ecode4
)) {
37170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37172 arg4
= static_cast< int >(val4
);
37173 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37174 if (!SWIG_IsOK(ecode5
)) {
37175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37177 arg5
= static_cast< int >(val5
);
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= SWIG_Py_Void();
37191 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
= 0;
37193 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37198 PyObject
* obj0
= 0 ;
37199 PyObject
* obj1
= 0 ;
37200 char * kwnames
[] = {
37201 (char *) "self",(char *) "rect", NULL
37204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37206 if (!SWIG_IsOK(res1
)) {
37207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37212 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37216 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37220 resultobj
= SWIG_Py_Void();
37227 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
= 0;
37229 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37230 wxPoint
*arg2
= 0 ;
37236 PyObject
* obj0
= 0 ;
37237 PyObject
* obj1
= 0 ;
37238 PyObject
* obj2
= 0 ;
37239 char * kwnames
[] = {
37240 (char *) "self",(char *) "pt",(char *) "sz", NULL
37243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37245 if (!SWIG_IsOK(res1
)) {
37246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37255 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37263 resultobj
= SWIG_Py_Void();
37270 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
= 0;
37272 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 PyObject
* obj2
= 0 ;
37287 PyObject
* obj3
= 0 ;
37288 char * kwnames
[] = {
37289 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37294 if (!SWIG_IsOK(res1
)) {
37295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37299 if (!SWIG_IsOK(res2
)) {
37300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37305 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37307 if (!SWIG_IsOK(ecode3
)) {
37308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37310 arg3
= static_cast< int >(val3
);
37311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37312 if (!SWIG_IsOK(ecode4
)) {
37313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37315 arg4
= static_cast< int >(val4
);
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= SWIG_Py_Void();
37329 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37330 PyObject
*resultobj
= 0;
37331 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37333 wxPoint
*arg3
= 0 ;
37339 PyObject
* obj0
= 0 ;
37340 PyObject
* obj1
= 0 ;
37341 PyObject
* obj2
= 0 ;
37342 char * kwnames
[] = {
37343 (char *) "self",(char *) "icon",(char *) "pt", NULL
37346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37348 if (!SWIG_IsOK(res1
)) {
37349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37351 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37353 if (!SWIG_IsOK(res2
)) {
37354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37359 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37366 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37367 wxPyEndAllowThreads(__tstate
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37370 resultobj
= SWIG_Py_Void();
37377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37378 PyObject
*resultobj
= 0;
37379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37380 wxBitmap
*arg2
= 0 ;
37383 bool arg5
= (bool) false ;
37394 PyObject
* obj0
= 0 ;
37395 PyObject
* obj1
= 0 ;
37396 PyObject
* obj2
= 0 ;
37397 PyObject
* obj3
= 0 ;
37398 PyObject
* obj4
= 0 ;
37399 char * kwnames
[] = {
37400 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37405 if (!SWIG_IsOK(res1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37408 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37410 if (!SWIG_IsOK(res2
)) {
37411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37416 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37418 if (!SWIG_IsOK(ecode3
)) {
37419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37421 arg3
= static_cast< int >(val3
);
37422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37423 if (!SWIG_IsOK(ecode4
)) {
37424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37426 arg4
= static_cast< int >(val4
);
37428 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37429 if (!SWIG_IsOK(ecode5
)) {
37430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37432 arg5
= static_cast< bool >(val5
);
37435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37436 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37437 wxPyEndAllowThreads(__tstate
);
37438 if (PyErr_Occurred()) SWIG_fail
;
37440 resultobj
= SWIG_Py_Void();
37447 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37448 PyObject
*resultobj
= 0;
37449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37450 wxBitmap
*arg2
= 0 ;
37451 wxPoint
*arg3
= 0 ;
37452 bool arg4
= (bool) false ;
37460 PyObject
* obj0
= 0 ;
37461 PyObject
* obj1
= 0 ;
37462 PyObject
* obj2
= 0 ;
37463 PyObject
* obj3
= 0 ;
37464 char * kwnames
[] = {
37465 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37470 if (!SWIG_IsOK(res1
)) {
37471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37473 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37475 if (!SWIG_IsOK(res2
)) {
37476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37481 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37487 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37488 if (!SWIG_IsOK(ecode4
)) {
37489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37491 arg4
= static_cast< bool >(val4
);
37494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37495 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37496 wxPyEndAllowThreads(__tstate
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37499 resultobj
= SWIG_Py_Void();
37506 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37507 PyObject
*resultobj
= 0;
37508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37509 wxString
*arg2
= 0 ;
37514 bool temp2
= false ;
37519 PyObject
* obj0
= 0 ;
37520 PyObject
* obj1
= 0 ;
37521 PyObject
* obj2
= 0 ;
37522 PyObject
* obj3
= 0 ;
37523 char * kwnames
[] = {
37524 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37529 if (!SWIG_IsOK(res1
)) {
37530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37534 arg2
= wxString_in_helper(obj1
);
37535 if (arg2
== NULL
) SWIG_fail
;
37538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37539 if (!SWIG_IsOK(ecode3
)) {
37540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37542 arg3
= static_cast< int >(val3
);
37543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37544 if (!SWIG_IsOK(ecode4
)) {
37545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37547 arg4
= static_cast< int >(val4
);
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37554 resultobj
= SWIG_Py_Void();
37569 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
= 0;
37571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37572 wxString
*arg2
= 0 ;
37573 wxPoint
*arg3
= 0 ;
37576 bool temp2
= false ;
37578 PyObject
* obj0
= 0 ;
37579 PyObject
* obj1
= 0 ;
37580 PyObject
* obj2
= 0 ;
37581 char * kwnames
[] = {
37582 (char *) "self",(char *) "text",(char *) "pt", NULL
37585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37587 if (!SWIG_IsOK(res1
)) {
37588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37590 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37592 arg2
= wxString_in_helper(obj1
);
37593 if (arg2
== NULL
) SWIG_fail
;
37598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37602 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37603 wxPyEndAllowThreads(__tstate
);
37604 if (PyErr_Occurred()) SWIG_fail
;
37606 resultobj
= SWIG_Py_Void();
37621 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37622 PyObject
*resultobj
= 0;
37623 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37624 wxString
*arg2
= 0 ;
37630 bool temp2
= false ;
37637 PyObject
* obj0
= 0 ;
37638 PyObject
* obj1
= 0 ;
37639 PyObject
* obj2
= 0 ;
37640 PyObject
* obj3
= 0 ;
37641 PyObject
* obj4
= 0 ;
37642 char * kwnames
[] = {
37643 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37648 if (!SWIG_IsOK(res1
)) {
37649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37653 arg2
= wxString_in_helper(obj1
);
37654 if (arg2
== NULL
) SWIG_fail
;
37657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37658 if (!SWIG_IsOK(ecode3
)) {
37659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37661 arg3
= static_cast< int >(val3
);
37662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37663 if (!SWIG_IsOK(ecode4
)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37666 arg4
= static_cast< int >(val4
);
37667 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37668 if (!SWIG_IsOK(ecode5
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37671 arg5
= static_cast< double >(val5
);
37673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37674 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37675 wxPyEndAllowThreads(__tstate
);
37676 if (PyErr_Occurred()) SWIG_fail
;
37678 resultobj
= SWIG_Py_Void();
37693 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37694 PyObject
*resultobj
= 0;
37695 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37696 wxString
*arg2
= 0 ;
37697 wxPoint
*arg3
= 0 ;
37701 bool temp2
= false ;
37705 PyObject
* obj0
= 0 ;
37706 PyObject
* obj1
= 0 ;
37707 PyObject
* obj2
= 0 ;
37708 PyObject
* obj3
= 0 ;
37709 char * kwnames
[] = {
37710 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37715 if (!SWIG_IsOK(res1
)) {
37716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37718 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37720 arg2
= wxString_in_helper(obj1
);
37721 if (arg2
== NULL
) SWIG_fail
;
37726 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37728 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37729 if (!SWIG_IsOK(ecode4
)) {
37730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37732 arg4
= static_cast< double >(val4
);
37734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37735 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37739 resultobj
= SWIG_Py_Void();
37754 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37755 PyObject
*resultobj
= 0;
37756 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37758 wxPoint
*arg3
= (wxPoint
*) 0 ;
37759 int arg4
= (int) 0 ;
37760 int arg5
= (int) 0 ;
37767 PyObject
* obj0
= 0 ;
37768 PyObject
* obj1
= 0 ;
37769 PyObject
* obj2
= 0 ;
37770 PyObject
* obj3
= 0 ;
37771 char * kwnames
[] = {
37772 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37777 if (!SWIG_IsOK(res1
)) {
37778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37782 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37783 if (arg3
== NULL
) SWIG_fail
;
37786 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37787 if (!SWIG_IsOK(ecode4
)) {
37788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37790 arg4
= static_cast< int >(val4
);
37793 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37794 if (!SWIG_IsOK(ecode5
)) {
37795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37797 arg5
= static_cast< int >(val5
);
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37802 wxPyEndAllowThreads(__tstate
);
37803 if (PyErr_Occurred()) SWIG_fail
;
37805 resultobj
= SWIG_Py_Void();
37807 if (arg3
) delete [] arg3
;
37812 if (arg3
) delete [] arg3
;
37818 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37819 PyObject
*resultobj
= 0;
37820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37822 wxPoint
*arg3
= (wxPoint
*) 0 ;
37823 int arg4
= (int) 0 ;
37824 int arg5
= (int) 0 ;
37825 int arg6
= (int) wxODDEVEN_RULE
;
37834 PyObject
* obj0
= 0 ;
37835 PyObject
* obj1
= 0 ;
37836 PyObject
* obj2
= 0 ;
37837 PyObject
* obj3
= 0 ;
37838 PyObject
* obj4
= 0 ;
37839 char * kwnames
[] = {
37840 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37845 if (!SWIG_IsOK(res1
)) {
37846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37848 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37850 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37851 if (arg3
== NULL
) SWIG_fail
;
37854 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37855 if (!SWIG_IsOK(ecode4
)) {
37856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37858 arg4
= static_cast< int >(val4
);
37861 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37862 if (!SWIG_IsOK(ecode5
)) {
37863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37865 arg5
= static_cast< int >(val5
);
37868 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37869 if (!SWIG_IsOK(ecode6
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37872 arg6
= static_cast< int >(val6
);
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37880 resultobj
= SWIG_Py_Void();
37882 if (arg3
) delete [] arg3
;
37887 if (arg3
) delete [] arg3
;
37893 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37894 PyObject
*resultobj
= 0;
37895 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37896 wxString
*arg2
= 0 ;
37898 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37899 int arg5
= (int) -1 ;
37902 bool temp2
= false ;
37908 PyObject
* obj0
= 0 ;
37909 PyObject
* obj1
= 0 ;
37910 PyObject
* obj2
= 0 ;
37911 PyObject
* obj3
= 0 ;
37912 PyObject
* obj4
= 0 ;
37913 char * kwnames
[] = {
37914 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37919 if (!SWIG_IsOK(res1
)) {
37920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37922 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37924 arg2
= wxString_in_helper(obj1
);
37925 if (arg2
== NULL
) SWIG_fail
;
37930 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37934 if (!SWIG_IsOK(ecode4
)) {
37935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37937 arg4
= static_cast< int >(val4
);
37940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37941 if (!SWIG_IsOK(ecode5
)) {
37942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37944 arg5
= static_cast< int >(val5
);
37947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37948 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37949 wxPyEndAllowThreads(__tstate
);
37950 if (PyErr_Occurred()) SWIG_fail
;
37952 resultobj
= SWIG_Py_Void();
37967 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
= 0;
37969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37970 wxString
*arg2
= 0 ;
37971 wxBitmap
*arg3
= 0 ;
37973 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37974 int arg6
= (int) -1 ;
37977 bool temp2
= false ;
37985 PyObject
* obj0
= 0 ;
37986 PyObject
* obj1
= 0 ;
37987 PyObject
* obj2
= 0 ;
37988 PyObject
* obj3
= 0 ;
37989 PyObject
* obj4
= 0 ;
37990 PyObject
* obj5
= 0 ;
37991 char * kwnames
[] = {
37992 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37997 if (!SWIG_IsOK(res1
)) {
37998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38002 arg2
= wxString_in_helper(obj1
);
38003 if (arg2
== NULL
) SWIG_fail
;
38006 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38007 if (!SWIG_IsOK(res3
)) {
38008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38013 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38016 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38019 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38020 if (!SWIG_IsOK(ecode5
)) {
38021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38023 arg5
= static_cast< int >(val5
);
38026 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38027 if (!SWIG_IsOK(ecode6
)) {
38028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38030 arg6
= static_cast< int >(val6
);
38033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38034 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38035 wxPyEndAllowThreads(__tstate
);
38036 if (PyErr_Occurred()) SWIG_fail
;
38038 resultobj
= SWIG_Py_Void();
38053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38054 PyObject
*resultobj
= 0;
38055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38057 wxPoint
*arg3
= (wxPoint
*) 0 ;
38060 PyObject
* obj0
= 0 ;
38061 PyObject
* obj1
= 0 ;
38062 char * kwnames
[] = {
38063 (char *) "self",(char *) "points", NULL
38066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38068 if (!SWIG_IsOK(res1
)) {
38069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38073 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38074 if (arg3
== NULL
) SWIG_fail
;
38077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38078 (arg1
)->DrawSpline(arg2
,arg3
);
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38082 resultobj
= SWIG_Py_Void();
38084 if (arg3
) delete [] arg3
;
38089 if (arg3
) delete [] arg3
;
38095 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38096 PyObject
*resultobj
= 0;
38097 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38100 PyObject
*swig_obj
[1] ;
38102 if (!args
) SWIG_fail
;
38103 swig_obj
[0] = args
;
38104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38105 if (!SWIG_IsOK(res1
)) {
38106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38112 wxPyEndAllowThreads(__tstate
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38115 resultobj
= SWIG_Py_Void();
38122 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38123 PyObject
*resultobj
= 0;
38124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 char * kwnames
[] = {
38133 (char *) "self",(char *) "font", NULL
38136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38143 if (!SWIG_IsOK(res2
)) {
38144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38149 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 (arg1
)->SetFont((wxFont
const &)*arg2
);
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38156 resultobj
= SWIG_Py_Void();
38163 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38164 PyObject
*resultobj
= 0;
38165 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38171 PyObject
* obj0
= 0 ;
38172 PyObject
* obj1
= 0 ;
38173 char * kwnames
[] = {
38174 (char *) "self",(char *) "pen", NULL
38177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38179 if (!SWIG_IsOK(res1
)) {
38180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38184 if (!SWIG_IsOK(res2
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38190 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38193 (arg1
)->SetPen((wxPen
const &)*arg2
);
38194 wxPyEndAllowThreads(__tstate
);
38195 if (PyErr_Occurred()) SWIG_fail
;
38197 resultobj
= SWIG_Py_Void();
38204 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38205 PyObject
*resultobj
= 0;
38206 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38207 wxBrush
*arg2
= 0 ;
38212 PyObject
* obj0
= 0 ;
38213 PyObject
* obj1
= 0 ;
38214 char * kwnames
[] = {
38215 (char *) "self",(char *) "brush", NULL
38218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38220 if (!SWIG_IsOK(res1
)) {
38221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38223 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38225 if (!SWIG_IsOK(res2
)) {
38226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38231 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38234 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38235 wxPyEndAllowThreads(__tstate
);
38236 if (PyErr_Occurred()) SWIG_fail
;
38238 resultobj
= SWIG_Py_Void();
38245 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38246 PyObject
*resultobj
= 0;
38247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38248 wxBrush
*arg2
= 0 ;
38253 PyObject
* obj0
= 0 ;
38254 PyObject
* obj1
= 0 ;
38255 char * kwnames
[] = {
38256 (char *) "self",(char *) "brush", NULL
38259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38261 if (!SWIG_IsOK(res1
)) {
38262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38264 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38266 if (!SWIG_IsOK(res2
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38272 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38279 resultobj
= SWIG_Py_Void();
38286 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38287 PyObject
*resultobj
= 0;
38288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38294 PyObject
* obj0
= 0 ;
38295 PyObject
* obj1
= 0 ;
38296 char * kwnames
[] = {
38297 (char *) "self",(char *) "mode", NULL
38300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38302 if (!SWIG_IsOK(res1
)) {
38303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38305 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38307 if (!SWIG_IsOK(ecode2
)) {
38308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38310 arg2
= static_cast< int >(val2
);
38312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38313 (arg1
)->SetBackgroundMode(arg2
);
38314 wxPyEndAllowThreads(__tstate
);
38315 if (PyErr_Occurred()) SWIG_fail
;
38317 resultobj
= SWIG_Py_Void();
38324 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38325 PyObject
*resultobj
= 0;
38326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38327 wxPalette
*arg2
= 0 ;
38332 PyObject
* obj0
= 0 ;
38333 PyObject
* obj1
= 0 ;
38334 char * kwnames
[] = {
38335 (char *) "self",(char *) "palette", NULL
38338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38340 if (!SWIG_IsOK(res1
)) {
38341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38345 if (!SWIG_IsOK(res2
)) {
38346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38351 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38354 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38355 wxPyEndAllowThreads(__tstate
);
38356 if (PyErr_Occurred()) SWIG_fail
;
38358 resultobj
= SWIG_Py_Void();
38365 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38366 PyObject
*resultobj
= 0;
38367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38368 wxColour
*arg2
= 0 ;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38374 char * kwnames
[] = {
38375 (char *) "self",(char *) "colour", NULL
38378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38380 if (!SWIG_IsOK(res1
)) {
38381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38390 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= SWIG_Py_Void();
38401 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38402 PyObject
*resultobj
= 0;
38403 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38404 wxColour
*arg2
= 0 ;
38408 PyObject
* obj0
= 0 ;
38409 PyObject
* obj1
= 0 ;
38410 char * kwnames
[] = {
38411 (char *) "self",(char *) "colour", NULL
38414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38416 if (!SWIG_IsOK(res1
)) {
38417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38419 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38426 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38427 wxPyEndAllowThreads(__tstate
);
38428 if (PyErr_Occurred()) SWIG_fail
;
38430 resultobj
= SWIG_Py_Void();
38437 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38438 PyObject
*resultobj
= 0;
38439 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 char * kwnames
[] = {
38448 (char *) "self",(char *) "function", NULL
38451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38453 if (!SWIG_IsOK(res1
)) {
38454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38458 if (!SWIG_IsOK(ecode2
)) {
38459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38461 arg2
= static_cast< int >(val2
);
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 (arg1
)->SetLogicalFunction(arg2
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= SWIG_Py_Void();
38475 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38479 return SWIG_Py_Void();
38482 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38483 return SWIG_Python_InitShadowInstance(args
);
38486 static PyMethodDef SwigMethods
[] = {
38487 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38488 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38489 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38490 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38491 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38492 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38496 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38497 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38498 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38499 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38500 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38501 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38506 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38510 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38511 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38512 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38514 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38517 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38518 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38519 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38520 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38522 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38523 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38524 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38525 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38526 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38527 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38528 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38535 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38539 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38540 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38543 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38547 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38548 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38549 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38550 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38551 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38552 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38554 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38555 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38557 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38563 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38564 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38565 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38566 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38567 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38568 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38569 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38575 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38585 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38586 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38590 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38591 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38592 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38593 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38594 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38595 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38596 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38597 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38598 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38599 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38600 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38601 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38602 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38603 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38604 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38605 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38606 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38607 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38613 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38614 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38615 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38616 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38617 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38618 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38619 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38620 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38621 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38622 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38623 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38624 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38626 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38627 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38633 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38634 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38635 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38637 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38638 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38639 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38641 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38642 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38646 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38647 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38648 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38649 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38654 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38655 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38657 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38658 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38660 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38662 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38663 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38664 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38665 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38668 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38672 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38673 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38675 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38678 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38679 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38680 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38685 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38686 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38692 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38696 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38707 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38710 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38711 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38713 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38714 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38715 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38716 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38717 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38718 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38719 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38720 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38721 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38722 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38723 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38724 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38725 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38726 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38727 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38728 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38729 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38731 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38732 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38733 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38734 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38735 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38736 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38737 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38746 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38747 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38749 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38750 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38751 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38752 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38753 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38754 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38755 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38756 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38757 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38759 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38760 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38761 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38764 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38765 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38766 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38769 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38775 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38780 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38781 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38783 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38789 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38792 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38793 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38794 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38795 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38796 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38797 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38798 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38799 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38800 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38801 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38802 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38803 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38804 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38816 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38817 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38818 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38820 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38821 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38823 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38824 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38825 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38826 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38830 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38831 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38833 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38834 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38835 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38836 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38837 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38838 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38839 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38840 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38841 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38843 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38846 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38847 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38848 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38849 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38850 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38851 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38852 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38853 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38863 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38864 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38865 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38867 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38871 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38872 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38873 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38874 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38875 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38876 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38882 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38883 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38884 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38934 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38936 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38937 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38938 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38945 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38946 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38947 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38948 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38949 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38954 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38955 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38956 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38957 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38966 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38967 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38968 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38969 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38970 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38971 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38972 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38973 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38974 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38975 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38976 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38977 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38980 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38982 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38984 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38986 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38987 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38990 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38991 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38995 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38997 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39000 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39001 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39002 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39003 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39004 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39005 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39006 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39016 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39017 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39018 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39020 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39024 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39025 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39026 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39027 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39028 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39029 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39030 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39031 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39034 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39035 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39036 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39038 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39039 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39041 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39042 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39050 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39051 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39052 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39053 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39054 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39056 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39057 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39058 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39060 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39061 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39063 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39064 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39068 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39070 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39073 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39074 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39075 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39077 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39078 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39080 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39081 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39082 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39083 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39084 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39086 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39087 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39088 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39090 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39091 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39093 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39094 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39095 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39096 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39097 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39098 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39099 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39100 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39101 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39102 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39103 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39104 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39105 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39106 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39107 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39108 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39109 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39110 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39111 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39114 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39116 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39122 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39123 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39124 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39125 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39126 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39127 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39128 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39129 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39131 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39132 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39133 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39140 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39143 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39144 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39145 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39146 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39147 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39148 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39149 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39152 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39159 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39160 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39163 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39164 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39170 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39171 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39172 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39173 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39191 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39192 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39193 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39194 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39195 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39196 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39199 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39206 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39207 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39208 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39209 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39211 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39212 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39213 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39214 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39215 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39216 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39217 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39218 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39219 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39220 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39221 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39222 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39224 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39232 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39234 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39236 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39237 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39238 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39239 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39240 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39241 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39248 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39249 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39250 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39252 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39256 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39260 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39264 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39265 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39266 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39271 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39272 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39273 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39274 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39275 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39276 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39277 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39278 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39279 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39280 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39281 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39282 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39291 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39292 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39294 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39295 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39296 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39297 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39298 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39299 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39300 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39301 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39302 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39303 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39304 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39305 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39306 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39307 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39308 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39309 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39310 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39311 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39312 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39313 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39314 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39315 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39316 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39317 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39319 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39321 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39322 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39323 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39324 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39337 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39338 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39339 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39341 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39342 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39343 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39344 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39345 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39346 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39347 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39348 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39401 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39411 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39412 { NULL
, NULL
, 0, NULL
}
39416 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39418 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39419 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39421 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39422 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39424 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39425 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39427 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39428 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39430 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39431 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39433 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39434 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39436 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39437 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39439 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39440 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39442 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39443 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39445 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39446 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39448 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39449 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39451 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39452 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39454 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39455 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39457 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39458 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39460 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39461 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39463 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39464 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39466 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39467 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39469 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39470 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39472 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39473 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39475 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39476 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39478 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39479 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39481 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39482 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39484 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39485 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39487 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39488 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39490 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39491 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39493 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39494 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39496 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39497 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39499 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39500 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39502 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39503 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39505 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39506 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39508 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39509 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39511 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39512 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39514 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39515 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39517 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39518 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39520 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39521 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39523 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39524 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39526 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39527 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39529 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39530 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39532 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39533 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39535 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39536 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39538 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39539 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39541 static void *_p_wxPenTo_p_wxObject(void *x
) {
39542 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39544 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39545 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39547 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39548 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39550 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39551 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39553 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39556 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39557 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39559 static void *_p_wxIconTo_p_wxObject(void *x
) {
39560 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39562 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39563 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39565 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39566 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39568 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39569 return (void *)((wxObject
*) ((wxSizer
*) x
));
39571 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39572 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39574 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39577 static void *_p_wxEventTo_p_wxObject(void *x
) {
39578 return (void *)((wxObject
*) ((wxEvent
*) x
));
39580 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39581 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39583 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39584 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39586 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39587 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39589 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39590 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39592 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39595 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39596 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39598 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39599 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39601 static void *_p_wxDCTo_p_wxObject(void *x
) {
39602 return (void *)((wxObject
*) ((wxDC
*) x
));
39604 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39605 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39607 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39608 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39610 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39611 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39613 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39614 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39616 static void *_p_wxControlTo_p_wxObject(void *x
) {
39617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39619 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39620 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39622 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39623 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39625 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39626 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39628 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39629 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39631 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39632 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39634 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39635 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39637 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39638 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39640 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39641 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39643 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39644 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39646 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39647 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39649 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39650 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39652 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39653 return (void *)((wxObject
*) ((wxEffects
*) x
));
39655 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39656 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39658 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39661 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39662 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39664 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39665 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39667 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39668 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39670 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39671 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39673 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39676 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39677 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39679 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39682 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39683 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39685 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39686 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39688 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39689 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39691 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39692 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39694 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39695 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39697 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39698 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39700 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39703 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39706 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39709 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39712 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39715 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39716 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39718 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39719 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39721 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39722 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39724 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39727 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39728 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39730 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39731 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39733 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39734 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39736 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39737 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39739 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39742 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39743 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39745 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39746 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39748 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39749 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39751 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39752 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39754 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39755 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39757 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39758 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39760 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39761 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39763 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39764 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39766 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39767 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39769 static void *_p_wxImageTo_p_wxObject(void *x
) {
39770 return (void *)((wxObject
*) ((wxImage
*) x
));
39772 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39773 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39775 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39776 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39778 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39779 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39781 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39782 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39784 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39785 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39787 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39788 return (void *)((wxObject
*) ((wxImageList
*) x
));
39790 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39791 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39793 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39794 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39796 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39797 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39799 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39800 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39802 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39803 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39805 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39808 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39809 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39811 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39812 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39814 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39815 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39817 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39818 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39820 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39823 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39824 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39826 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39827 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39829 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39830 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39832 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39833 return (void *)((wxObject
*) ((wxMask
*) x
));
39835 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39836 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39838 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39841 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39842 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39844 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39845 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39847 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39848 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39850 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39851 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39853 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39854 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39856 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39859 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39860 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39862 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39863 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39865 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39866 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39868 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39871 static void *_p_wxFontTo_p_wxObject(void *x
) {
39872 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39874 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39875 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39877 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39878 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39880 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39883 static void *_p_wxColourTo_p_wxObject(void *x
) {
39884 return (void *)((wxObject
*) ((wxColour
*) x
));
39886 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39889 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39890 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39892 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39893 return (void *)((wxWindow
*) ((wxControl
*) x
));
39895 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39896 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39898 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39899 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39901 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39902 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39904 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39905 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39907 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39910 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};
39911 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39916 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39917 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39925 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39926 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39927 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39928 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39929 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39930 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39931 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39932 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39933 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39934 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39935 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39936 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39937 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39938 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39939 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39940 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39941 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39942 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39943 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39944 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39945 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39946 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39947 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39948 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39949 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39950 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39951 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39952 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39953 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39954 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39955 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39956 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39957 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39958 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39959 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39960 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39961 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39962 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39963 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39964 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39965 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39966 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39967 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39968 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39969 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39970 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39971 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39972 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39993 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39994 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39995 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39996 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39997 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39998 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39999 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40000 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40001 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40002 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40003 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40004 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40005 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40006 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40007 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40008 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40009 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40010 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40011 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40012 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40013 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40014 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40015 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40016 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40017 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40018 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40019 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40020 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40021 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40022 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40023 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40024 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40025 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40026 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40027 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40028 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40029 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40030 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40031 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40032 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40033 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40034 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40035 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40036 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40037 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40038 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40039 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40040 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40041 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40042 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40043 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40044 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40045 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40046 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40047 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40048 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40049 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40050 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40051 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40052 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40053 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40054 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40055 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40056 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40057 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40058 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40059 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40060 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40061 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40062 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40063 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40064 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40065 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40066 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40067 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40068 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40069 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40070 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40071 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40072 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40073 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40074 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40075 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40076 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40077 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40079 static swig_type_info
*swig_type_initial
[] = {
40083 &_swigt__p_form_ops_t
,
40085 &_swigt__p_unsigned_char
,
40086 &_swigt__p_unsigned_int
,
40087 &_swigt__p_unsigned_long
,
40089 &_swigt__p_wxANIHandler
,
40090 &_swigt__p_wxAcceleratorTable
,
40091 &_swigt__p_wxActivateEvent
,
40092 &_swigt__p_wxAlphaPixelData
,
40093 &_swigt__p_wxAlphaPixelData_Accessor
,
40094 &_swigt__p_wxAutoBufferedPaintDC
,
40095 &_swigt__p_wxBMPHandler
,
40096 &_swigt__p_wxBitmap
,
40097 &_swigt__p_wxBoxSizer
,
40098 &_swigt__p_wxBrush
,
40099 &_swigt__p_wxBrushList
,
40100 &_swigt__p_wxBufferedDC
,
40101 &_swigt__p_wxBufferedPaintDC
,
40102 &_swigt__p_wxCURHandler
,
40104 &_swigt__p_wxChildFocusEvent
,
40105 &_swigt__p_wxClientDC
,
40106 &_swigt__p_wxClipboardTextEvent
,
40107 &_swigt__p_wxCloseEvent
,
40108 &_swigt__p_wxColor
,
40109 &_swigt__p_wxColour
,
40110 &_swigt__p_wxColourDatabase
,
40111 &_swigt__p_wxCommandEvent
,
40112 &_swigt__p_wxContextMenuEvent
,
40113 &_swigt__p_wxControl
,
40114 &_swigt__p_wxControlWithItems
,
40115 &_swigt__p_wxCursor
,
40117 &_swigt__p_wxDCBrushChanger
,
40118 &_swigt__p_wxDCClipper
,
40119 &_swigt__p_wxDCOverlay
,
40120 &_swigt__p_wxDCPenChanger
,
40121 &_swigt__p_wxDCTextColourChanger
,
40123 &_swigt__p_wxDateEvent
,
40124 &_swigt__p_wxDisplayChangedEvent
,
40125 &_swigt__p_wxDropFilesEvent
,
40126 &_swigt__p_wxDuplexMode
,
40127 &_swigt__p_wxEffects
,
40128 &_swigt__p_wxEncodingConverter
,
40129 &_swigt__p_wxEraseEvent
,
40130 &_swigt__p_wxEvent
,
40131 &_swigt__p_wxEvtHandler
,
40132 &_swigt__p_wxFSFile
,
40133 &_swigt__p_wxFileSystem
,
40134 &_swigt__p_wxFlexGridSizer
,
40135 &_swigt__p_wxFocusEvent
,
40137 &_swigt__p_wxFontList
,
40138 &_swigt__p_wxFontMapper
,
40139 &_swigt__p_wxGBSizerItem
,
40141 &_swigt__p_wxGDIObjListBase
,
40142 &_swigt__p_wxGDIObject
,
40143 &_swigt__p_wxGIFHandler
,
40144 &_swigt__p_wxGraphicsBrush
,
40145 &_swigt__p_wxGraphicsContext
,
40146 &_swigt__p_wxGraphicsFont
,
40147 &_swigt__p_wxGraphicsMatrix
,
40148 &_swigt__p_wxGraphicsObject
,
40149 &_swigt__p_wxGraphicsPath
,
40150 &_swigt__p_wxGraphicsPen
,
40151 &_swigt__p_wxGraphicsRenderer
,
40152 &_swigt__p_wxGridBagSizer
,
40153 &_swigt__p_wxGridSizer
,
40154 &_swigt__p_wxHeaderButtonParams
,
40155 &_swigt__p_wxICOHandler
,
40157 &_swigt__p_wxIconBundle
,
40158 &_swigt__p_wxIconLocation
,
40159 &_swigt__p_wxIconizeEvent
,
40160 &_swigt__p_wxIdleEvent
,
40161 &_swigt__p_wxImage
,
40162 &_swigt__p_wxImageHandler
,
40163 &_swigt__p_wxImageList
,
40164 &_swigt__p_wxIndividualLayoutConstraint
,
40165 &_swigt__p_wxInitDialogEvent
,
40166 &_swigt__p_wxJPEGHandler
,
40167 &_swigt__p_wxKeyEvent
,
40168 &_swigt__p_wxLanguageInfo
,
40169 &_swigt__p_wxLayoutConstraints
,
40170 &_swigt__p_wxLocale
,
40172 &_swigt__p_wxMaximizeEvent
,
40173 &_swigt__p_wxMemoryDC
,
40175 &_swigt__p_wxMenuBar
,
40176 &_swigt__p_wxMenuEvent
,
40177 &_swigt__p_wxMenuItem
,
40178 &_swigt__p_wxMetaFile
,
40179 &_swigt__p_wxMetaFileDC
,
40180 &_swigt__p_wxMirrorDC
,
40181 &_swigt__p_wxMouseCaptureChangedEvent
,
40182 &_swigt__p_wxMouseCaptureLostEvent
,
40183 &_swigt__p_wxMouseEvent
,
40184 &_swigt__p_wxMoveEvent
,
40185 &_swigt__p_wxNativeEncodingInfo
,
40186 &_swigt__p_wxNativeFontInfo
,
40187 &_swigt__p_wxNativePixelData
,
40188 &_swigt__p_wxNativePixelData_Accessor
,
40189 &_swigt__p_wxNavigationKeyEvent
,
40190 &_swigt__p_wxNcPaintEvent
,
40191 &_swigt__p_wxNotifyEvent
,
40192 &_swigt__p_wxObject
,
40193 &_swigt__p_wxOverlay
,
40194 &_swigt__p_wxPCXHandler
,
40195 &_swigt__p_wxPNGHandler
,
40196 &_swigt__p_wxPNMHandler
,
40197 &_swigt__p_wxPaintDC
,
40198 &_swigt__p_wxPaintEvent
,
40199 &_swigt__p_wxPalette
,
40200 &_swigt__p_wxPaletteChangedEvent
,
40201 &_swigt__p_wxPaperSize
,
40203 &_swigt__p_wxPenList
,
40204 &_swigt__p_wxPixelDataBase
,
40205 &_swigt__p_wxPoint
,
40206 &_swigt__p_wxPoint2D
,
40207 &_swigt__p_wxPoint2DDouble
,
40208 &_swigt__p_wxPostScriptDC
,
40209 &_swigt__p_wxPrintData
,
40210 &_swigt__p_wxPrinterDC
,
40211 &_swigt__p_wxPseudoDC
,
40212 &_swigt__p_wxPyApp
,
40213 &_swigt__p_wxPyCommandEvent
,
40214 &_swigt__p_wxPyEvent
,
40215 &_swigt__p_wxPyFontEnumerator
,
40216 &_swigt__p_wxPyImageHandler
,
40217 &_swigt__p_wxPyLocale
,
40218 &_swigt__p_wxPySizer
,
40219 &_swigt__p_wxPyValidator
,
40220 &_swigt__p_wxQueryNewPaletteEvent
,
40222 &_swigt__p_wxRect2DDouble
,
40223 &_swigt__p_wxRegion
,
40224 &_swigt__p_wxRegionIterator
,
40225 &_swigt__p_wxRendererNative
,
40226 &_swigt__p_wxRendererVersion
,
40227 &_swigt__p_wxScreenDC
,
40228 &_swigt__p_wxScrollEvent
,
40229 &_swigt__p_wxScrollWinEvent
,
40230 &_swigt__p_wxSetCursorEvent
,
40231 &_swigt__p_wxShowEvent
,
40233 &_swigt__p_wxSizeEvent
,
40234 &_swigt__p_wxSizer
,
40235 &_swigt__p_wxSizerItem
,
40236 &_swigt__p_wxSplitterRenderParams
,
40237 &_swigt__p_wxStaticBoxSizer
,
40238 &_swigt__p_wxStdDialogButtonSizer
,
40239 &_swigt__p_wxStockGDI
,
40240 &_swigt__p_wxString
,
40241 &_swigt__p_wxSysColourChangedEvent
,
40242 &_swigt__p_wxTGAHandler
,
40243 &_swigt__p_wxTIFFHandler
,
40244 &_swigt__p_wxUpdateUIEvent
,
40245 &_swigt__p_wxValidator
,
40246 &_swigt__p_wxWindow
,
40247 &_swigt__p_wxWindowCreateEvent
,
40248 &_swigt__p_wxWindowDC
,
40249 &_swigt__p_wxWindowDestroyEvent
,
40250 &_swigt__p_wxXPMHandler
,
40253 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40268 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}};
40269 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40271 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}};
40272 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40276 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}};
40277 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40290 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}};
40291 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}};
40292 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40296 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}};
40297 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40307 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}};
40308 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40309 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}};
40310 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40359 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40365 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40366 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40367 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40368 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40369 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40370 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40371 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40372 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40373 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40374 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40375 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40376 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40377 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40378 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40379 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40380 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40381 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40382 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40383 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40384 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40385 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40386 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40387 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40388 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40389 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40390 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40391 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40392 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40393 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40394 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}};
40395 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40396 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40397 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40398 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40399 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40400 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40401 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}};
40402 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40403 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40404 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40405 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40406 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40407 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40408 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40409 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40410 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40411 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40412 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40413 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40414 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40415 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40416 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40417 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40418 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40419 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40420 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40421 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40422 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}};
40423 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}};
40425 static swig_cast_info
*swig_cast_initial
[] = {
40429 _swigc__p_form_ops_t
,
40431 _swigc__p_unsigned_char
,
40432 _swigc__p_unsigned_int
,
40433 _swigc__p_unsigned_long
,
40435 _swigc__p_wxANIHandler
,
40436 _swigc__p_wxAcceleratorTable
,
40437 _swigc__p_wxActivateEvent
,
40438 _swigc__p_wxAlphaPixelData
,
40439 _swigc__p_wxAlphaPixelData_Accessor
,
40440 _swigc__p_wxAutoBufferedPaintDC
,
40441 _swigc__p_wxBMPHandler
,
40442 _swigc__p_wxBitmap
,
40443 _swigc__p_wxBoxSizer
,
40445 _swigc__p_wxBrushList
,
40446 _swigc__p_wxBufferedDC
,
40447 _swigc__p_wxBufferedPaintDC
,
40448 _swigc__p_wxCURHandler
,
40450 _swigc__p_wxChildFocusEvent
,
40451 _swigc__p_wxClientDC
,
40452 _swigc__p_wxClipboardTextEvent
,
40453 _swigc__p_wxCloseEvent
,
40455 _swigc__p_wxColour
,
40456 _swigc__p_wxColourDatabase
,
40457 _swigc__p_wxCommandEvent
,
40458 _swigc__p_wxContextMenuEvent
,
40459 _swigc__p_wxControl
,
40460 _swigc__p_wxControlWithItems
,
40461 _swigc__p_wxCursor
,
40463 _swigc__p_wxDCBrushChanger
,
40464 _swigc__p_wxDCClipper
,
40465 _swigc__p_wxDCOverlay
,
40466 _swigc__p_wxDCPenChanger
,
40467 _swigc__p_wxDCTextColourChanger
,
40469 _swigc__p_wxDateEvent
,
40470 _swigc__p_wxDisplayChangedEvent
,
40471 _swigc__p_wxDropFilesEvent
,
40472 _swigc__p_wxDuplexMode
,
40473 _swigc__p_wxEffects
,
40474 _swigc__p_wxEncodingConverter
,
40475 _swigc__p_wxEraseEvent
,
40477 _swigc__p_wxEvtHandler
,
40478 _swigc__p_wxFSFile
,
40479 _swigc__p_wxFileSystem
,
40480 _swigc__p_wxFlexGridSizer
,
40481 _swigc__p_wxFocusEvent
,
40483 _swigc__p_wxFontList
,
40484 _swigc__p_wxFontMapper
,
40485 _swigc__p_wxGBSizerItem
,
40487 _swigc__p_wxGDIObjListBase
,
40488 _swigc__p_wxGDIObject
,
40489 _swigc__p_wxGIFHandler
,
40490 _swigc__p_wxGraphicsBrush
,
40491 _swigc__p_wxGraphicsContext
,
40492 _swigc__p_wxGraphicsFont
,
40493 _swigc__p_wxGraphicsMatrix
,
40494 _swigc__p_wxGraphicsObject
,
40495 _swigc__p_wxGraphicsPath
,
40496 _swigc__p_wxGraphicsPen
,
40497 _swigc__p_wxGraphicsRenderer
,
40498 _swigc__p_wxGridBagSizer
,
40499 _swigc__p_wxGridSizer
,
40500 _swigc__p_wxHeaderButtonParams
,
40501 _swigc__p_wxICOHandler
,
40503 _swigc__p_wxIconBundle
,
40504 _swigc__p_wxIconLocation
,
40505 _swigc__p_wxIconizeEvent
,
40506 _swigc__p_wxIdleEvent
,
40508 _swigc__p_wxImageHandler
,
40509 _swigc__p_wxImageList
,
40510 _swigc__p_wxIndividualLayoutConstraint
,
40511 _swigc__p_wxInitDialogEvent
,
40512 _swigc__p_wxJPEGHandler
,
40513 _swigc__p_wxKeyEvent
,
40514 _swigc__p_wxLanguageInfo
,
40515 _swigc__p_wxLayoutConstraints
,
40516 _swigc__p_wxLocale
,
40518 _swigc__p_wxMaximizeEvent
,
40519 _swigc__p_wxMemoryDC
,
40521 _swigc__p_wxMenuBar
,
40522 _swigc__p_wxMenuEvent
,
40523 _swigc__p_wxMenuItem
,
40524 _swigc__p_wxMetaFile
,
40525 _swigc__p_wxMetaFileDC
,
40526 _swigc__p_wxMirrorDC
,
40527 _swigc__p_wxMouseCaptureChangedEvent
,
40528 _swigc__p_wxMouseCaptureLostEvent
,
40529 _swigc__p_wxMouseEvent
,
40530 _swigc__p_wxMoveEvent
,
40531 _swigc__p_wxNativeEncodingInfo
,
40532 _swigc__p_wxNativeFontInfo
,
40533 _swigc__p_wxNativePixelData
,
40534 _swigc__p_wxNativePixelData_Accessor
,
40535 _swigc__p_wxNavigationKeyEvent
,
40536 _swigc__p_wxNcPaintEvent
,
40537 _swigc__p_wxNotifyEvent
,
40538 _swigc__p_wxObject
,
40539 _swigc__p_wxOverlay
,
40540 _swigc__p_wxPCXHandler
,
40541 _swigc__p_wxPNGHandler
,
40542 _swigc__p_wxPNMHandler
,
40543 _swigc__p_wxPaintDC
,
40544 _swigc__p_wxPaintEvent
,
40545 _swigc__p_wxPalette
,
40546 _swigc__p_wxPaletteChangedEvent
,
40547 _swigc__p_wxPaperSize
,
40549 _swigc__p_wxPenList
,
40550 _swigc__p_wxPixelDataBase
,
40552 _swigc__p_wxPoint2D
,
40553 _swigc__p_wxPoint2DDouble
,
40554 _swigc__p_wxPostScriptDC
,
40555 _swigc__p_wxPrintData
,
40556 _swigc__p_wxPrinterDC
,
40557 _swigc__p_wxPseudoDC
,
40559 _swigc__p_wxPyCommandEvent
,
40560 _swigc__p_wxPyEvent
,
40561 _swigc__p_wxPyFontEnumerator
,
40562 _swigc__p_wxPyImageHandler
,
40563 _swigc__p_wxPyLocale
,
40564 _swigc__p_wxPySizer
,
40565 _swigc__p_wxPyValidator
,
40566 _swigc__p_wxQueryNewPaletteEvent
,
40568 _swigc__p_wxRect2DDouble
,
40569 _swigc__p_wxRegion
,
40570 _swigc__p_wxRegionIterator
,
40571 _swigc__p_wxRendererNative
,
40572 _swigc__p_wxRendererVersion
,
40573 _swigc__p_wxScreenDC
,
40574 _swigc__p_wxScrollEvent
,
40575 _swigc__p_wxScrollWinEvent
,
40576 _swigc__p_wxSetCursorEvent
,
40577 _swigc__p_wxShowEvent
,
40579 _swigc__p_wxSizeEvent
,
40581 _swigc__p_wxSizerItem
,
40582 _swigc__p_wxSplitterRenderParams
,
40583 _swigc__p_wxStaticBoxSizer
,
40584 _swigc__p_wxStdDialogButtonSizer
,
40585 _swigc__p_wxStockGDI
,
40586 _swigc__p_wxString
,
40587 _swigc__p_wxSysColourChangedEvent
,
40588 _swigc__p_wxTGAHandler
,
40589 _swigc__p_wxTIFFHandler
,
40590 _swigc__p_wxUpdateUIEvent
,
40591 _swigc__p_wxValidator
,
40592 _swigc__p_wxWindow
,
40593 _swigc__p_wxWindowCreateEvent
,
40594 _swigc__p_wxWindowDC
,
40595 _swigc__p_wxWindowDestroyEvent
,
40596 _swigc__p_wxXPMHandler
,
40600 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40602 static swig_const_info swig_const_table
[] = {
40603 {0, 0, 0, 0.0, 0, 0}};
40608 /* -----------------------------------------------------------------------------
40609 * Type initialization:
40610 * This problem is tough by the requirement that no dynamic
40611 * memory is used. Also, since swig_type_info structures store pointers to
40612 * swig_cast_info structures and swig_cast_info structures store pointers back
40613 * to swig_type_info structures, we need some lookup code at initialization.
40614 * The idea is that swig generates all the structures that are needed.
40615 * The runtime then collects these partially filled structures.
40616 * The SWIG_InitializeModule function takes these initial arrays out of
40617 * swig_module, and does all the lookup, filling in the swig_module.types
40618 * array with the correct data and linking the correct swig_cast_info
40619 * structures together.
40621 * The generated swig_type_info structures are assigned staticly to an initial
40622 * array. We just loop though that array, and handle each type individually.
40623 * First we lookup if this type has been already loaded, and if so, use the
40624 * loaded structure instead of the generated one. Then we have to fill in the
40625 * cast linked list. The cast data is initially stored in something like a
40626 * two-dimensional array. Each row corresponds to a type (there are the same
40627 * number of rows as there are in the swig_type_initial array). Each entry in
40628 * a column is one of the swig_cast_info structures for that type.
40629 * The cast_initial array is actually an array of arrays, because each row has
40630 * a variable number of columns. So to actually build the cast linked list,
40631 * we find the array of casts associated with the type, and loop through it
40632 * adding the casts to the list. The one last trick we need to do is making
40633 * sure the type pointer in the swig_cast_info struct is correct.
40635 * First off, we lookup the cast->type name to see if it is already loaded.
40636 * There are three cases to handle:
40637 * 1) If the cast->type has already been loaded AND the type we are adding
40638 * casting info to has not been loaded (it is in this module), THEN we
40639 * replace the cast->type pointer with the type pointer that has already
40641 * 2) If BOTH types (the one we are adding casting info to, and the
40642 * cast->type) are loaded, THEN the cast info has already been loaded by
40643 * the previous module so we just ignore it.
40644 * 3) Finally, if cast->type has not already been loaded, then we add that
40645 * swig_cast_info to the linked list (because the cast->type) pointer will
40647 * ----------------------------------------------------------------------------- */
40657 #define SWIGRUNTIME_DEBUG
40661 SWIG_InitializeModule(void *clientdata
) {
40663 swig_module_info
*module_head
;
40664 static int init_run
= 0;
40666 clientdata
= clientdata
;
40668 if (init_run
) return;
40671 /* Initialize the swig_module */
40672 swig_module
.type_initial
= swig_type_initial
;
40673 swig_module
.cast_initial
= swig_cast_initial
;
40675 /* Try and load any already created modules */
40676 module_head
= SWIG_GetModule(clientdata
);
40678 swig_module
.next
= module_head
->next
;
40679 module_head
->next
= &swig_module
;
40681 /* This is the first module loaded */
40682 swig_module
.next
= &swig_module
;
40683 SWIG_SetModule(clientdata
, &swig_module
);
40686 /* Now work on filling in swig_module.types */
40687 #ifdef SWIGRUNTIME_DEBUG
40688 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40690 for (i
= 0; i
< swig_module
.size
; ++i
) {
40691 swig_type_info
*type
= 0;
40692 swig_type_info
*ret
;
40693 swig_cast_info
*cast
;
40695 #ifdef SWIGRUNTIME_DEBUG
40696 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40699 /* if there is another module already loaded */
40700 if (swig_module
.next
!= &swig_module
) {
40701 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40704 /* Overwrite clientdata field */
40705 #ifdef SWIGRUNTIME_DEBUG
40706 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40708 if (swig_module
.type_initial
[i
]->clientdata
) {
40709 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40710 #ifdef SWIGRUNTIME_DEBUG
40711 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40715 type
= swig_module
.type_initial
[i
];
40718 /* Insert casting types */
40719 cast
= swig_module
.cast_initial
[i
];
40720 while (cast
->type
) {
40721 /* Don't need to add information already in the list */
40723 #ifdef SWIGRUNTIME_DEBUG
40724 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40726 if (swig_module
.next
!= &swig_module
) {
40727 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40728 #ifdef SWIGRUNTIME_DEBUG
40729 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40733 if (type
== swig_module
.type_initial
[i
]) {
40734 #ifdef SWIGRUNTIME_DEBUG
40735 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40740 /* Check for casting already in the list */
40741 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40742 #ifdef SWIGRUNTIME_DEBUG
40743 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40745 if (!ocast
) ret
= 0;
40750 #ifdef SWIGRUNTIME_DEBUG
40751 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40754 type
->cast
->prev
= cast
;
40755 cast
->next
= type
->cast
;
40761 /* Set entry in modules->types array equal to the type */
40762 swig_module
.types
[i
] = type
;
40764 swig_module
.types
[i
] = 0;
40766 #ifdef SWIGRUNTIME_DEBUG
40767 printf("**** SWIG_InitializeModule: Cast List ******\n");
40768 for (i
= 0; i
< swig_module
.size
; ++i
) {
40770 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40771 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40772 while (cast
->type
) {
40773 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40777 printf("---- Total casts: %d\n",j
);
40779 printf("**** SWIG_InitializeModule: Cast List ******\n");
40783 /* This function will propagate the clientdata field of type to
40784 * any new swig_type_info structures that have been added into the list
40785 * of equivalent types. It is like calling
40786 * SWIG_TypeClientData(type, clientdata) a second time.
40789 SWIG_PropagateClientData(void) {
40791 swig_cast_info
*equiv
;
40792 static int init_run
= 0;
40794 if (init_run
) return;
40797 for (i
= 0; i
< swig_module
.size
; i
++) {
40798 if (swig_module
.types
[i
]->clientdata
) {
40799 equiv
= swig_module
.types
[i
]->cast
;
40801 if (!equiv
->converter
) {
40802 if (equiv
->type
&& !equiv
->type
->clientdata
)
40803 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40805 equiv
= equiv
->next
;
40825 /* Python-specific SWIG API */
40826 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40827 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40828 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40830 /* -----------------------------------------------------------------------------
40831 * global variable support code.
40832 * ----------------------------------------------------------------------------- */
40834 typedef struct swig_globalvar
{
40835 char *name
; /* Name of global variable */
40836 PyObject
*(*get_attr
)(void); /* Return the current value */
40837 int (*set_attr
)(PyObject
*); /* Set the value */
40838 struct swig_globalvar
*next
;
40841 typedef struct swig_varlinkobject
{
40843 swig_globalvar
*vars
;
40844 } swig_varlinkobject
;
40846 SWIGINTERN PyObject
*
40847 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40848 return PyString_FromString("<Swig global variables>");
40851 SWIGINTERN PyObject
*
40852 swig_varlink_str(swig_varlinkobject
*v
) {
40853 PyObject
*str
= PyString_FromString("(");
40854 swig_globalvar
*var
;
40855 for (var
= v
->vars
; var
; var
=var
->next
) {
40856 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40857 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40859 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40864 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40865 PyObject
*str
= swig_varlink_str(v
);
40866 fprintf(fp
,"Swig global variables ");
40867 fprintf(fp
,"%s\n", PyString_AsString(str
));
40873 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40874 swig_globalvar
*var
= v
->vars
;
40876 swig_globalvar
*n
= var
->next
;
40883 SWIGINTERN PyObject
*
40884 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40885 PyObject
*res
= NULL
;
40886 swig_globalvar
*var
= v
->vars
;
40888 if (strcmp(var
->name
,n
) == 0) {
40889 res
= (*var
->get_attr
)();
40894 if (res
== NULL
&& !PyErr_Occurred()) {
40895 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40901 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40903 swig_globalvar
*var
= v
->vars
;
40905 if (strcmp(var
->name
,n
) == 0) {
40906 res
= (*var
->set_attr
)(p
);
40911 if (res
== 1 && !PyErr_Occurred()) {
40912 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40917 SWIGINTERN PyTypeObject
*
40918 swig_varlink_type(void) {
40919 static char varlink__doc__
[] = "Swig var link object";
40920 static PyTypeObject varlink_type
;
40921 static int type_init
= 0;
40923 const PyTypeObject tmp
40925 PyObject_HEAD_INIT(NULL
)
40926 0, /* Number of items in variable part (ob_size) */
40927 (char *)"swigvarlink", /* Type name (tp_name) */
40928 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40929 0, /* Itemsize (tp_itemsize) */
40930 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40931 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40932 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40933 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40934 0, /* tp_compare */
40935 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40936 0, /* tp_as_number */
40937 0, /* tp_as_sequence */
40938 0, /* tp_as_mapping */
40941 (reprfunc
)swig_varlink_str
, /* tp_str */
40942 0, /* tp_getattro */
40943 0, /* tp_setattro */
40944 0, /* tp_as_buffer */
40946 varlink__doc__
, /* tp_doc */
40947 0, /* tp_traverse */
40949 0, /* tp_richcompare */
40950 0, /* tp_weaklistoffset */
40951 #if PY_VERSION_HEX >= 0x02020000
40952 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40954 #if PY_VERSION_HEX >= 0x02030000
40957 #ifdef COUNT_ALLOCS
40958 0,0,0,0 /* tp_alloc -> tp_next */
40961 varlink_type
= tmp
;
40962 varlink_type
.ob_type
= &PyType_Type
;
40965 return &varlink_type
;
40968 /* Create a variable linking object for use later */
40969 SWIGINTERN PyObject
*
40970 SWIG_Python_newvarlink(void) {
40971 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40975 return ((PyObject
*) result
);
40979 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40980 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40981 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40983 size_t size
= strlen(name
)+1;
40984 gv
->name
= (char *)malloc(size
);
40986 strncpy(gv
->name
,name
,size
);
40987 gv
->get_attr
= get_attr
;
40988 gv
->set_attr
= set_attr
;
40989 gv
->next
= v
->vars
;
40995 SWIGINTERN PyObject
*
40997 static PyObject
*_SWIG_globals
= 0;
40998 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40999 return _SWIG_globals
;
41002 /* -----------------------------------------------------------------------------
41003 * constants/methods manipulation
41004 * ----------------------------------------------------------------------------- */
41006 /* Install Constants */
41008 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41011 for (i
= 0; constants
[i
].type
; ++i
) {
41012 switch(constants
[i
].type
) {
41013 case SWIG_PY_POINTER
:
41014 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41016 case SWIG_PY_BINARY
:
41017 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41024 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41030 /* -----------------------------------------------------------------------------*/
41031 /* Fix SwigMethods to carry the callback ptrs when needed */
41032 /* -----------------------------------------------------------------------------*/
41035 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41036 swig_const_info
*const_table
,
41037 swig_type_info
**types
,
41038 swig_type_info
**types_initial
) {
41040 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41041 const char *c
= methods
[i
].ml_doc
;
41042 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41044 swig_const_info
*ci
= 0;
41045 const char *name
= c
+ 10;
41046 for (j
= 0; const_table
[j
].type
; ++j
) {
41047 if (strncmp(const_table
[j
].name
, name
,
41048 strlen(const_table
[j
].name
)) == 0) {
41049 ci
= &(const_table
[j
]);
41054 size_t shift
= (ci
->ptype
) - types
;
41055 swig_type_info
*ty
= types_initial
[shift
];
41056 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41057 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41058 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41061 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41063 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41065 strncpy(buff
, "swig_ptr: ", 10);
41067 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41068 methods
[i
].ml_doc
= ndoc
;
41080 /* -----------------------------------------------------------------------------*
41081 * Partial Init method
41082 * -----------------------------------------------------------------------------*/
41087 SWIGEXPORT
void SWIG_init(void) {
41090 /* Fix SwigMethods to carry the callback ptrs when needed */
41091 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41093 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41094 d
= PyModule_GetDict(m
);
41096 SWIG_InitializeModule(0);
41097 SWIG_InstallConstants(d
,swig_const_table
);
41100 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41101 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41102 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41103 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41104 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41105 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41106 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41107 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41108 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41109 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41110 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41111 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41112 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41113 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41114 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41115 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41116 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41117 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41118 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41119 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41120 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41121 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41122 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41123 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41124 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41125 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41126 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41127 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41128 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41129 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41130 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41131 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41132 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41133 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41134 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41175 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41176 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41177 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41178 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41179 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41180 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41181 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41182 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41183 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41184 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41185 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41186 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41187 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41188 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41189 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41190 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41191 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41192 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41193 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41194 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41195 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41196 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41197 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41198 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41199 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41200 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41201 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41202 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41203 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41204 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41205 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41206 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41207 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41208 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41209 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41210 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41211 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41212 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41213 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41214 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41215 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41216 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41217 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41218 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41219 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41220 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41221 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41222 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41223 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41224 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41225 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41226 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41227 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41228 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41229 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41230 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41231 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41233 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41466 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41467 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41468 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41469 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41470 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41471 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41472 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41473 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41474 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41475 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41476 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41477 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41478 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41479 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41480 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41481 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41482 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41483 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41484 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41485 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41486 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41487 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41488 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41489 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41490 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41491 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41492 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41493 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41494 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41495 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41496 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41497 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41498 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41499 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41500 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41501 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41502 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41503 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41504 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41505 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41506 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41507 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41508 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41509 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41510 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41511 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41512 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41513 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41514 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41515 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41516 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41517 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41518 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41519 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41520 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41521 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41522 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41523 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41524 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41525 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41526 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41527 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41528 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41529 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41530 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41531 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41532 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41533 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41534 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41535 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41536 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41537 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41538 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41539 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41540 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41541 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41542 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41543 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41544 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41545 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41546 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41547 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41548 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41549 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41550 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41551 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41552 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41553 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41554 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41555 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41556 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41557 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41558 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41560 // Work around a chicken/egg problem in drawlist.cpp
41561 wxPyDrawList_SetAPIPtr();