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 ;
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 *)"OOOO: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
);
15469 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15470 if (!SWIG_IsOK(ecode4
)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15473 arg4
= static_cast< bool >(val4
);
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_Py_Void();
15487 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
= 0;
15489 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15490 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15491 bool arg3
= (bool) false ;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 PyObject
* obj2
= 0 ;
15502 char * kwnames
[] = {
15503 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15511 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15514 if (!SWIG_IsOK(ecode2
)) {
15515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15517 arg2
= static_cast< wxFontEncoding
>(val2
);
15520 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15521 if (!SWIG_IsOK(ecode3
)) {
15522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15524 arg3
= static_cast< bool >(val3
);
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= 0;
15543 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15544 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15545 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15549 bool temp2
= false ;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char * kwnames
[] = {
15553 (char *) "self",(char *) "facename", NULL
15556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15558 if (!SWIG_IsOK(res1
)) {
15559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15561 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15564 arg2
= wxString_in_helper(obj1
);
15565 if (arg2
== NULL
) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15592 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15593 PyObject
*resultobj
= 0;
15594 PyObject
*result
= 0 ;
15596 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= result
;
15610 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 PyObject
*resultobj
= 0;
15612 PyObject
*result
= 0 ;
15614 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= result
;
15628 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= 0;
15630 wxString
*arg1
= 0 ;
15632 bool temp1
= false ;
15633 PyObject
* obj0
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "str", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15640 arg1
= wxString_in_helper(obj0
);
15641 if (arg1
== NULL
) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15667 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15671 return SWIG_Py_Void();
15674 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15675 return SWIG_Python_InitShadowInstance(args
);
15678 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15679 PyObject
*resultobj
= 0;
15680 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15686 PyObject
*swig_obj
[2] ;
15688 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15690 if (!SWIG_IsOK(res1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15693 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15694 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15695 if (!SWIG_IsOK(ecode2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15698 arg2
= static_cast< int >(val2
);
15699 if (arg1
) (arg1
)->Language
= arg2
;
15701 resultobj
= SWIG_Py_Void();
15708 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15714 PyObject
*swig_obj
[1] ;
15716 if (!args
) SWIG_fail
;
15717 swig_obj
[0] = args
;
15718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15722 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15723 result
= (int) ((arg1
)->Language
);
15724 resultobj
= SWIG_From_int(static_cast< int >(result
));
15731 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 PyObject
*resultobj
= 0;
15733 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15734 wxString
*arg2
= (wxString
*) 0 ;
15737 bool temp2
= false ;
15738 PyObject
*swig_obj
[2] ;
15740 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15742 if (!SWIG_IsOK(res1
)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15745 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15747 arg2
= wxString_in_helper(swig_obj
[1]);
15748 if (arg2
== NULL
) SWIG_fail
;
15751 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15753 resultobj
= SWIG_Py_Void();
15768 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15769 PyObject
*resultobj
= 0;
15770 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15771 wxString
*result
= 0 ;
15774 PyObject
*swig_obj
[1] ;
15776 if (!args
) SWIG_fail
;
15777 swig_obj
[0] = args
;
15778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15779 if (!SWIG_IsOK(res1
)) {
15780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15782 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15783 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15797 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15800 wxString
*arg2
= (wxString
*) 0 ;
15803 bool temp2
= false ;
15804 PyObject
*swig_obj
[2] ;
15806 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15811 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15813 arg2
= wxString_in_helper(swig_obj
[1]);
15814 if (arg2
== NULL
) SWIG_fail
;
15817 if (arg1
) (arg1
)->Description
= *arg2
;
15819 resultobj
= SWIG_Py_Void();
15834 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15835 PyObject
*resultobj
= 0;
15836 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15837 wxString
*result
= 0 ;
15840 PyObject
*swig_obj
[1] ;
15842 if (!args
) SWIG_fail
;
15843 swig_obj
[0] = args
;
15844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15848 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15849 result
= (wxString
*)& ((arg1
)->Description
);
15852 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15854 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15863 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15866 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15867 return SWIG_Py_Void();
15870 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 int arg1
= (int) -1 ;
15873 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15874 wxLocale
*result
= 0 ;
15879 PyObject
* obj0
= 0 ;
15880 PyObject
* obj1
= 0 ;
15881 char * kwnames
[] = {
15882 (char *) "language",(char *) "flags", NULL
15885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15887 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15888 if (!SWIG_IsOK(ecode1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15891 arg1
= static_cast< int >(val1
);
15894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15895 if (!SWIG_IsOK(ecode2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15898 arg2
= static_cast< int >(val2
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15913 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 wxLocale
*arg1
= (wxLocale
*) 0 ;
15918 PyObject
*swig_obj
[1] ;
15920 if (!args
) SWIG_fail
;
15921 swig_obj
[0] = args
;
15922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15923 if (!SWIG_IsOK(res1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15926 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_Py_Void();
15941 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
= 0;
15943 wxLocale
*arg1
= (wxLocale
*) 0 ;
15944 wxString
*arg2
= 0 ;
15945 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15946 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15947 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15948 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15949 bool arg5
= (bool) true ;
15950 bool arg6
= (bool) false ;
15954 bool temp2
= false ;
15955 bool temp3
= false ;
15956 bool temp4
= false ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 PyObject
* obj2
= 0 ;
15964 PyObject
* obj3
= 0 ;
15965 PyObject
* obj4
= 0 ;
15966 PyObject
* obj5
= 0 ;
15967 char * kwnames
[] = {
15968 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15973 if (!SWIG_IsOK(res1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15976 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15978 arg2
= wxString_in_helper(obj1
);
15979 if (arg2
== NULL
) SWIG_fail
;
15984 arg3
= wxString_in_helper(obj2
);
15985 if (arg3
== NULL
) SWIG_fail
;
15991 arg4
= wxString_in_helper(obj3
);
15992 if (arg4
== NULL
) SWIG_fail
;
15997 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15998 if (!SWIG_IsOK(ecode5
)) {
15999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16001 arg5
= static_cast< bool >(val5
);
16004 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16005 if (!SWIG_IsOK(ecode6
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16008 arg6
= static_cast< bool >(val6
);
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxLocale
*arg1
= (wxLocale
*) 0 ;
16052 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16053 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 PyObject
* obj2
= 0 ;
16064 char * kwnames
[] = {
16065 (char *) "self",(char *) "language",(char *) "flags", NULL
16068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16070 if (!SWIG_IsOK(res1
)) {
16071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16073 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16076 if (!SWIG_IsOK(ecode2
)) {
16077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16079 arg2
= static_cast< int >(val2
);
16082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16083 if (!SWIG_IsOK(ecode3
)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16086 arg3
= static_cast< int >(val3
);
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16103 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16104 PyObject
*resultobj
= 0;
16107 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (int)wxLocale::GetSystemLanguage();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_From_int(static_cast< int >(result
));
16121 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16122 PyObject
*resultobj
= 0;
16123 wxFontEncoding result
;
16125 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_From_int(static_cast< int >(result
));
16139 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16140 PyObject
*resultobj
= 0;
16143 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= wxLocale::GetSystemEncodingName();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16163 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16164 PyObject
*resultobj
= 0;
16165 wxLocale
*arg1
= (wxLocale
*) 0 ;
16169 PyObject
*swig_obj
[1] ;
16171 if (!args
) SWIG_fail
;
16172 swig_obj
[0] = args
;
16173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16174 if (!SWIG_IsOK(res1
)) {
16175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16177 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16193 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16194 PyObject
*resultobj
= 0;
16195 wxLocale
*arg1
= (wxLocale
*) 0 ;
16199 PyObject
*swig_obj
[1] ;
16201 if (!args
) SWIG_fail
;
16202 swig_obj
[0] = args
;
16203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16204 if (!SWIG_IsOK(res1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16207 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= ((wxLocale
const *)arg1
)->GetLocale();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16227 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16228 PyObject
*resultobj
= 0;
16229 wxLocale
*arg1
= (wxLocale
*) 0 ;
16233 PyObject
*swig_obj
[1] ;
16235 if (!args
) SWIG_fail
;
16236 swig_obj
[0] = args
;
16237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16241 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_From_int(static_cast< int >(result
));
16255 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16256 PyObject
*resultobj
= 0;
16257 wxLocale
*arg1
= (wxLocale
*) 0 ;
16261 PyObject
*swig_obj
[1] ;
16263 if (!args
) SWIG_fail
;
16264 swig_obj
[0] = args
;
16265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16266 if (!SWIG_IsOK(res1
)) {
16267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16269 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= ((wxLocale
const *)arg1
)->GetSysName();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16289 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 wxLocale
*arg1
= (wxLocale
*) 0 ;
16295 PyObject
*swig_obj
[1] ;
16297 if (!args
) SWIG_fail
;
16298 swig_obj
[0] = args
;
16299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16300 if (!SWIG_IsOK(res1
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16303 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16323 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
= 0;
16325 wxString
*arg1
= 0 ;
16326 bool temp1
= false ;
16327 PyObject
* obj0
= 0 ;
16328 char * kwnames
[] = {
16329 (char *) "prefix", NULL
16332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16334 arg1
= wxString_in_helper(obj0
);
16335 if (arg1
== NULL
) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_Py_Void();
16359 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
= 0;
16361 wxLocale
*arg1
= (wxLocale
*) 0 ;
16362 wxString
*arg2
= 0 ;
16366 bool temp2
= false ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char * kwnames
[] = {
16370 (char *) "self",(char *) "szDomain", NULL
16373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16375 if (!SWIG_IsOK(res1
)) {
16376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16378 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16380 arg2
= wxString_in_helper(obj1
);
16381 if (arg2
== NULL
) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
= 0;
16413 PyObject
* obj0
= 0 ;
16414 char * kwnames
[] = {
16415 (char *) "lang", NULL
16418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16419 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16420 if (!SWIG_IsOK(ecode1
)) {
16421 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16423 arg1
= static_cast< int >(val1
);
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)wxLocale::IsAvailable(arg1
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16439 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
= 0;
16441 wxLocale
*arg1
= (wxLocale
*) 0 ;
16442 wxString
*arg2
= 0 ;
16446 bool temp2
= false ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char * kwnames
[] = {
16450 (char *) "self",(char *) "szDomain", NULL
16453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16458 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16460 arg2
= wxString_in_helper(obj1
);
16461 if (arg2
== NULL
) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16487 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
= 0;
16490 wxLanguageInfo
*result
= 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char * kwnames
[] = {
16495 (char *) "lang", NULL
16498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16499 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16500 if (!SWIG_IsOK(ecode1
)) {
16501 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16503 arg1
= static_cast< int >(val1
);
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16517 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
= 0;
16523 PyObject
* obj0
= 0 ;
16524 char * kwnames
[] = {
16525 (char *) "lang", NULL
16528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16530 if (!SWIG_IsOK(ecode1
)) {
16531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16533 arg1
= static_cast< int >(val1
);
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= wxLocale::GetLanguageName(arg1
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16553 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= 0;
16555 wxString
*arg1
= 0 ;
16556 wxLanguageInfo
*result
= 0 ;
16557 bool temp1
= false ;
16558 PyObject
* obj0
= 0 ;
16559 char * kwnames
[] = {
16560 (char *) "locale", NULL
16563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16565 arg1
= wxString_in_helper(obj0
);
16566 if (arg1
== NULL
) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16590 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
= 0;
16592 wxLanguageInfo
*arg1
= 0 ;
16595 PyObject
* obj0
= 0 ;
16596 char * kwnames
[] = {
16597 (char *) "info", NULL
16600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16601 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16608 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_Py_Void();
16622 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
= 0;
16624 wxLocale
*arg1
= (wxLocale
*) 0 ;
16625 wxString
*arg2
= 0 ;
16626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16631 bool temp2
= false ;
16632 bool temp3
= false ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 PyObject
* obj2
= 0 ;
16636 char * kwnames
[] = {
16637 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16642 if (!SWIG_IsOK(res1
)) {
16643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16645 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16647 arg2
= wxString_in_helper(obj1
);
16648 if (arg2
== NULL
) SWIG_fail
;
16653 arg3
= wxString_in_helper(obj2
);
16654 if (arg3
== NULL
) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16693 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 PyObject
*resultobj
= 0;
16695 wxLocale
*arg1
= (wxLocale
*) 0 ;
16696 wxString
*result
= 0 ;
16699 PyObject
*swig_obj
[1] ;
16701 if (!args
) SWIG_fail
;
16702 swig_obj
[0] = args
;
16703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16707 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16712 result
= (wxString
*) &_result_ref
;
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16730 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16733 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16734 return SWIG_Py_Void();
16737 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16738 return SWIG_Python_InitShadowInstance(args
);
16741 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
= 0;
16743 int arg1
= (int) -1 ;
16744 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16745 wxPyLocale
*result
= 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char * kwnames
[] = {
16753 (char *) "language",(char *) "flags", NULL
16756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16759 if (!SWIG_IsOK(ecode1
)) {
16760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16762 arg1
= static_cast< int >(val1
);
16765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16766 if (!SWIG_IsOK(ecode2
)) {
16767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16769 arg2
= static_cast< int >(val2
);
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16784 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16785 PyObject
*resultobj
= 0;
16786 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16789 PyObject
*swig_obj
[1] ;
16791 if (!args
) SWIG_fail
;
16792 swig_obj
[0] = args
;
16793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16794 if (!SWIG_IsOK(res1
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16797 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_Py_Void();
16812 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
= 0;
16814 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16815 PyObject
*arg2
= (PyObject
*) 0 ;
16816 PyObject
*arg3
= (PyObject
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 PyObject
* obj2
= 0 ;
16822 char * kwnames
[] = {
16823 (char *) "self",(char *) "self",(char *) "_class", NULL
16826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16831 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_Py_Void();
16847 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
= 0;
16849 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16850 wxChar
*arg2
= (wxChar
*) 0 ;
16851 wxChar
*arg3
= (wxChar
*) NULL
;
16852 wxChar
*result
= 0 ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 PyObject
* obj2
= 0 ;
16862 char * kwnames
[] = {
16863 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16868 if (!SWIG_IsOK(res1
)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16871 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16873 if (!SWIG_IsOK(res2
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16876 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16878 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16879 if (!SWIG_IsOK(res3
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16882 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16897 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
= 0;
16899 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16900 wxChar
*arg2
= (wxChar
*) 0 ;
16901 wxChar
*arg3
= (wxChar
*) 0 ;
16903 wxChar
*arg5
= (wxChar
*) NULL
;
16904 wxChar
*result
= 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 PyObject
* obj3
= 0 ;
16919 PyObject
* obj4
= 0 ;
16920 char * kwnames
[] = {
16921 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16926 if (!SWIG_IsOK(res1
)) {
16927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16929 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16930 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16931 if (!SWIG_IsOK(res2
)) {
16932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16934 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16935 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16936 if (!SWIG_IsOK(res3
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16939 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16940 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16941 if (!SWIG_IsOK(ecode4
)) {
16942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16944 arg4
= static_cast< size_t >(val4
);
16946 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16947 if (!SWIG_IsOK(res5
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16950 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16965 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16969 return SWIG_Py_Void();
16972 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16973 return SWIG_Python_InitShadowInstance(args
);
16976 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16977 PyObject
*resultobj
= 0;
16978 wxLocale
*result
= 0 ;
16980 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (wxLocale
*)wxGetLocale();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16994 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16995 PyObject
*resultobj
= 0;
16996 wxString
*arg1
= 0 ;
16998 bool temp1
= false ;
17000 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17002 arg1
= wxString_in_helper(swig_obj
[0]);
17003 if (arg1
== NULL
) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= wxGetTranslation((wxString
const &)*arg1
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17033 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17034 PyObject
*resultobj
= 0;
17035 wxString
*arg1
= 0 ;
17036 wxString
*arg2
= 0 ;
17038 bool temp1
= false ;
17039 bool temp2
= false ;
17041 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17043 arg1
= wxString_in_helper(swig_obj
[0]);
17044 if (arg1
== NULL
) SWIG_fail
;
17048 arg2
= wxString_in_helper(swig_obj
[1]);
17049 if (arg2
== NULL
) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17087 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17088 PyObject
*resultobj
= 0;
17089 wxString
*arg1
= 0 ;
17090 wxString
*arg2
= 0 ;
17093 bool temp1
= false ;
17094 bool temp2
= false ;
17098 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17100 arg1
= wxString_in_helper(swig_obj
[0]);
17101 if (arg1
== NULL
) SWIG_fail
;
17105 arg2
= wxString_in_helper(swig_obj
[1]);
17106 if (arg2
== NULL
) SWIG_fail
;
17109 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17110 if (!SWIG_IsOK(ecode3
)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17113 arg3
= static_cast< size_t >(val3
);
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17149 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17150 PyObject
*resultobj
= 0;
17151 wxString
*arg1
= 0 ;
17152 wxString
*arg2
= 0 ;
17154 wxString
*arg4
= 0 ;
17156 bool temp1
= false ;
17157 bool temp2
= false ;
17160 bool temp4
= false ;
17162 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17164 arg1
= wxString_in_helper(swig_obj
[0]);
17165 if (arg1
== NULL
) SWIG_fail
;
17169 arg2
= wxString_in_helper(swig_obj
[1]);
17170 if (arg2
== NULL
) SWIG_fail
;
17173 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17174 if (!SWIG_IsOK(ecode3
)) {
17175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17177 arg3
= static_cast< size_t >(val3
);
17179 arg4
= wxString_in_helper(swig_obj
[3]);
17180 if (arg4
== NULL
) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17226 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17230 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17233 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17236 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17239 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17242 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17246 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17251 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17252 PyObject
*resultobj
= 0;
17253 wxEncodingConverter
*result
= 0 ;
17255 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17269 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 PyObject
*resultobj
= 0;
17271 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17274 PyObject
*swig_obj
[1] ;
17276 if (!args
) SWIG_fail
;
17277 swig_obj
[0] = args
;
17278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17279 if (!SWIG_IsOK(res1
)) {
17280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17282 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_Py_Void();
17297 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
= 0;
17299 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17300 wxFontEncoding arg2
;
17301 wxFontEncoding arg3
;
17302 int arg4
= (int) wxCONVERT_STRICT
;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 PyObject
* obj2
= 0 ;
17315 PyObject
* obj3
= 0 ;
17316 char * kwnames
[] = {
17317 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17322 if (!SWIG_IsOK(res1
)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17325 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17327 if (!SWIG_IsOK(ecode2
)) {
17328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17330 arg2
= static_cast< wxFontEncoding
>(val2
);
17331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17332 if (!SWIG_IsOK(ecode3
)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17335 arg3
= static_cast< wxFontEncoding
>(val3
);
17337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17338 if (!SWIG_IsOK(ecode4
)) {
17339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17341 arg4
= static_cast< int >(val4
);
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17358 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
= 0;
17360 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17361 wxString
*arg2
= 0 ;
17365 bool temp2
= false ;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 char * kwnames
[] = {
17369 (char *) "self",(char *) "input", NULL
17372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17374 if (!SWIG_IsOK(res1
)) {
17375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17377 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17379 arg2
= wxString_in_helper(obj1
);
17380 if (arg2
== NULL
) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17410 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
= 0;
17412 wxFontEncoding arg1
;
17413 int arg2
= (int) wxPLATFORM_CURRENT
;
17414 wxFontEncodingArray result
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char * kwnames
[] = {
17422 (char *) "enc",(char *) "platform", NULL
17425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17427 if (!SWIG_IsOK(ecode1
)) {
17428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17430 arg1
= static_cast< wxFontEncoding
>(val1
);
17432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17433 if (!SWIG_IsOK(ecode2
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17436 arg2
= static_cast< int >(val2
);
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= PyList_New(0);
17446 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17447 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17448 PyList_Append(resultobj
, number
);
17458 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
= 0;
17460 wxFontEncoding arg1
;
17461 wxFontEncodingArray result
;
17464 PyObject
* obj0
= 0 ;
17465 char * kwnames
[] = {
17466 (char *) "enc", NULL
17469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17470 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17471 if (!SWIG_IsOK(ecode1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17474 arg1
= static_cast< wxFontEncoding
>(val1
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= PyList_New(0);
17483 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17484 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17485 PyList_Append(resultobj
, number
);
17495 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
= 0;
17497 wxFontEncoding arg1
;
17498 wxFontEncoding arg2
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char * kwnames
[] = {
17507 (char *) "encIn",(char *) "encOut", NULL
17510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17511 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17512 if (!SWIG_IsOK(ecode1
)) {
17513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17515 arg1
= static_cast< wxFontEncoding
>(val1
);
17516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17517 if (!SWIG_IsOK(ecode2
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17520 arg2
= static_cast< wxFontEncoding
>(val2
);
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17536 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17539 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17540 return SWIG_Py_Void();
17543 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17544 return SWIG_Python_InitShadowInstance(args
);
17547 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17548 PyObject
*resultobj
= 0;
17549 wxDC
*arg1
= (wxDC
*) 0 ;
17552 PyObject
*swig_obj
[1] ;
17554 if (!args
) SWIG_fail
;
17555 swig_obj
[0] = args
;
17556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17557 if (!SWIG_IsOK(res1
)) {
17558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_Py_Void();
17575 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
= 0;
17577 wxDC
*arg1
= (wxDC
*) 0 ;
17580 wxColour
*arg4
= 0 ;
17581 int arg5
= (int) wxFLOOD_SURFACE
;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 PyObject
* obj2
= 0 ;
17595 PyObject
* obj3
= 0 ;
17596 PyObject
* obj4
= 0 ;
17597 char * kwnames
[] = {
17598 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17603 if (!SWIG_IsOK(res1
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17608 if (!SWIG_IsOK(ecode2
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17611 arg2
= static_cast< int >(val2
);
17612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17613 if (!SWIG_IsOK(ecode3
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17616 arg3
= static_cast< int >(val3
);
17619 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17623 if (!SWIG_IsOK(ecode5
)) {
17624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17626 arg5
= static_cast< int >(val5
);
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17643 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
= 0;
17645 wxDC
*arg1
= (wxDC
*) 0 ;
17646 wxPoint
*arg2
= 0 ;
17647 wxColour
*arg3
= 0 ;
17648 int arg4
= (int) wxFLOOD_SURFACE
;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 PyObject
* obj2
= 0 ;
17659 PyObject
* obj3
= 0 ;
17660 char * kwnames
[] = {
17661 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17666 if (!SWIG_IsOK(res1
)) {
17667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17676 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17680 if (!SWIG_IsOK(ecode4
)) {
17681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17683 arg4
= static_cast< int >(val4
);
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17700 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
= 0;
17702 wxDC
*arg1
= (wxDC
*) 0 ;
17704 wxColour
*arg3
= 0 ;
17705 wxColour
*arg4
= 0 ;
17706 wxPoint
*arg5
= 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 PyObject
* obj2
= 0 ;
17716 PyObject
* obj3
= 0 ;
17717 PyObject
* obj4
= 0 ;
17718 char * kwnames
[] = {
17719 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17724 if (!SWIG_IsOK(res1
)) {
17725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17730 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17734 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17738 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17742 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= SWIG_Py_Void();
17757 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
= 0;
17759 wxDC
*arg1
= (wxDC
*) 0 ;
17761 wxColour
*arg3
= 0 ;
17762 wxColour
*arg4
= 0 ;
17763 wxDirection arg5
= (wxDirection
) wxEAST
;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 PyObject
* obj2
= 0 ;
17774 PyObject
* obj3
= 0 ;
17775 PyObject
* obj4
= 0 ;
17776 char * kwnames
[] = {
17777 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17782 if (!SWIG_IsOK(res1
)) {
17783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17792 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17796 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17799 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17800 if (!SWIG_IsOK(ecode5
)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17803 arg5
= static_cast< wxDirection
>(val5
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_Py_Void();
17818 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
= 0;
17820 wxDC
*arg1
= (wxDC
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 PyObject
* obj2
= 0 ;
17833 char * kwnames
[] = {
17834 (char *) "self",(char *) "x",(char *) "y", NULL
17837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17839 if (!SWIG_IsOK(res1
)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17844 if (!SWIG_IsOK(ecode2
)) {
17845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17847 arg2
= static_cast< int >(val2
);
17848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17849 if (!SWIG_IsOK(ecode3
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17852 arg3
= static_cast< int >(val3
);
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17866 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
= 0;
17868 wxDC
*arg1
= (wxDC
*) 0 ;
17869 wxPoint
*arg2
= 0 ;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char * kwnames
[] = {
17877 (char *) "self",(char *) "pt", NULL
17880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17882 if (!SWIG_IsOK(res1
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17903 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
= 0;
17905 wxDC
*arg1
= (wxDC
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 PyObject
* obj2
= 0 ;
17923 PyObject
* obj3
= 0 ;
17924 PyObject
* obj4
= 0 ;
17925 char * kwnames
[] = {
17926 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17931 if (!SWIG_IsOK(res1
)) {
17932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17936 if (!SWIG_IsOK(ecode2
)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17939 arg2
= static_cast< int >(val2
);
17940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17941 if (!SWIG_IsOK(ecode3
)) {
17942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17944 arg3
= static_cast< int >(val3
);
17945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17946 if (!SWIG_IsOK(ecode4
)) {
17947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17949 arg4
= static_cast< int >(val4
);
17950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17951 if (!SWIG_IsOK(ecode5
)) {
17952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17954 arg5
= static_cast< int >(val5
);
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_Py_Void();
17968 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
= 0;
17970 wxDC
*arg1
= (wxDC
*) 0 ;
17971 wxPoint
*arg2
= 0 ;
17972 wxPoint
*arg3
= 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 char * kwnames
[] = {
17981 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17986 if (!SWIG_IsOK(res1
)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_Py_Void();
18011 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
= 0;
18013 wxDC
*arg1
= (wxDC
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 PyObject
* obj2
= 0 ;
18025 char * kwnames
[] = {
18026 (char *) "self",(char *) "x",(char *) "y", NULL
18029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18031 if (!SWIG_IsOK(res1
)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18036 if (!SWIG_IsOK(ecode2
)) {
18037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18039 arg2
= static_cast< int >(val2
);
18040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18041 if (!SWIG_IsOK(ecode3
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18044 arg3
= static_cast< int >(val3
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->CrossHair(arg2
,arg3
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_Py_Void();
18058 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= 0;
18060 wxDC
*arg1
= (wxDC
*) 0 ;
18061 wxPoint
*arg2
= 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 char * kwnames
[] = {
18068 (char *) "self",(char *) "pt", NULL
18071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_Py_Void();
18094 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
= 0;
18096 wxDC
*arg1
= (wxDC
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 PyObject
* obj2
= 0 ;
18120 PyObject
* obj3
= 0 ;
18121 PyObject
* obj4
= 0 ;
18122 PyObject
* obj5
= 0 ;
18123 PyObject
* obj6
= 0 ;
18124 char * kwnames
[] = {
18125 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18130 if (!SWIG_IsOK(res1
)) {
18131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18135 if (!SWIG_IsOK(ecode2
)) {
18136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18138 arg2
= static_cast< int >(val2
);
18139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18140 if (!SWIG_IsOK(ecode3
)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18143 arg3
= static_cast< int >(val3
);
18144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18145 if (!SWIG_IsOK(ecode4
)) {
18146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18148 arg4
= static_cast< int >(val4
);
18149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18150 if (!SWIG_IsOK(ecode5
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18153 arg5
= static_cast< int >(val5
);
18154 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18155 if (!SWIG_IsOK(ecode6
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18158 arg6
= static_cast< int >(val6
);
18159 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18160 if (!SWIG_IsOK(ecode7
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18163 arg7
= static_cast< int >(val7
);
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_Py_Void();
18177 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
= 0;
18179 wxDC
*arg1
= (wxDC
*) 0 ;
18180 wxPoint
*arg2
= 0 ;
18181 wxPoint
*arg3
= 0 ;
18182 wxPoint
*arg4
= 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 PyObject
* obj2
= 0 ;
18191 PyObject
* obj3
= 0 ;
18192 char * kwnames
[] = {
18193 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18198 if (!SWIG_IsOK(res1
)) {
18199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18212 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_Py_Void();
18227 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
= 0;
18229 wxDC
*arg1
= (wxDC
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 PyObject
* obj2
= 0 ;
18247 PyObject
* obj3
= 0 ;
18248 PyObject
* obj4
= 0 ;
18249 char * kwnames
[] = {
18250 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18255 if (!SWIG_IsOK(res1
)) {
18256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18260 if (!SWIG_IsOK(ecode2
)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18263 arg2
= static_cast< int >(val2
);
18264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18265 if (!SWIG_IsOK(ecode3
)) {
18266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18268 arg3
= static_cast< int >(val3
);
18269 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18270 if (!SWIG_IsOK(ecode4
)) {
18271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18273 arg4
= static_cast< int >(val4
);
18274 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18275 if (!SWIG_IsOK(ecode5
)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18278 arg5
= static_cast< int >(val5
);
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_Py_Void();
18292 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
= 0;
18294 wxDC
*arg1
= (wxDC
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char * kwnames
[] = {
18302 (char *) "self",(char *) "rect", NULL
18305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18313 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_Py_Void();
18328 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
= 0;
18330 wxDC
*arg1
= (wxDC
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 PyObject
* obj2
= 0 ;
18354 PyObject
* obj3
= 0 ;
18355 PyObject
* obj4
= 0 ;
18356 PyObject
* obj5
= 0 ;
18357 PyObject
* obj6
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18374 if (!SWIG_IsOK(ecode3
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18377 arg3
= static_cast< int >(val3
);
18378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18379 if (!SWIG_IsOK(ecode4
)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18382 arg4
= static_cast< int >(val4
);
18383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18384 if (!SWIG_IsOK(ecode5
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18387 arg5
= static_cast< int >(val5
);
18388 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18389 if (!SWIG_IsOK(ecode6
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18392 arg6
= static_cast< double >(val6
);
18393 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18394 if (!SWIG_IsOK(ecode7
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18397 arg7
= static_cast< double >(val7
);
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_Py_Void();
18411 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
= 0;
18413 wxDC
*arg1
= (wxDC
*) 0 ;
18414 wxPoint
*arg2
= 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 PyObject
* obj3
= 0 ;
18430 PyObject
* obj4
= 0 ;
18431 char * kwnames
[] = {
18432 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18447 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18449 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18450 if (!SWIG_IsOK(ecode4
)) {
18451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18453 arg4
= static_cast< double >(val4
);
18454 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18455 if (!SWIG_IsOK(ecode5
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18458 arg5
= static_cast< double >(val5
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_Py_Void();
18472 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxDC
*arg1
= (wxDC
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "self",(char *) "x",(char *) "y", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18497 if (!SWIG_IsOK(ecode2
)) {
18498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18500 arg2
= static_cast< int >(val2
);
18501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18502 if (!SWIG_IsOK(ecode3
)) {
18503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18505 arg3
= static_cast< int >(val3
);
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->DrawPoint(arg2
,arg3
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_Py_Void();
18519 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
= 0;
18521 wxDC
*arg1
= (wxDC
*) 0 ;
18522 wxPoint
*arg2
= 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char * kwnames
[] = {
18529 (char *) "self",(char *) "pt", NULL
18532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_Py_Void();
18555 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
= 0;
18557 wxDC
*arg1
= (wxDC
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 PyObject
* obj2
= 0 ;
18575 PyObject
* obj3
= 0 ;
18576 PyObject
* obj4
= 0 ;
18577 char * kwnames
[] = {
18578 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18583 if (!SWIG_IsOK(res1
)) {
18584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18588 if (!SWIG_IsOK(ecode2
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18591 arg2
= static_cast< int >(val2
);
18592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18593 if (!SWIG_IsOK(ecode3
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18596 arg3
= static_cast< int >(val3
);
18597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18598 if (!SWIG_IsOK(ecode4
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18601 arg4
= static_cast< int >(val4
);
18602 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18603 if (!SWIG_IsOK(ecode5
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18606 arg5
= static_cast< int >(val5
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_Py_Void();
18620 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
= 0;
18622 wxDC
*arg1
= (wxDC
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 char * kwnames
[] = {
18630 (char *) "self",(char *) "rect", NULL
18633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18635 if (!SWIG_IsOK(res1
)) {
18636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= SWIG_Py_Void();
18656 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
= 0;
18658 wxDC
*arg1
= (wxDC
*) 0 ;
18659 wxPoint
*arg2
= 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 PyObject
* obj2
= 0 ;
18668 char * kwnames
[] = {
18669 (char *) "self",(char *) "pt",(char *) "sz", NULL
18672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18674 if (!SWIG_IsOK(res1
)) {
18675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18684 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_Py_Void();
18699 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
= 0;
18701 wxDC
*arg1
= (wxDC
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 PyObject
* obj2
= 0 ;
18722 PyObject
* obj3
= 0 ;
18723 PyObject
* obj4
= 0 ;
18724 PyObject
* obj5
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18736 if (!SWIG_IsOK(ecode2
)) {
18737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18739 arg2
= static_cast< int >(val2
);
18740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18741 if (!SWIG_IsOK(ecode3
)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18744 arg3
= static_cast< int >(val3
);
18745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18746 if (!SWIG_IsOK(ecode4
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18749 arg4
= static_cast< int >(val4
);
18750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18751 if (!SWIG_IsOK(ecode5
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18754 arg5
= static_cast< int >(val5
);
18755 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18756 if (!SWIG_IsOK(ecode6
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18759 arg6
= static_cast< double >(val6
);
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_Py_Void();
18773 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxDC
*arg1
= (wxDC
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 PyObject
* obj2
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "r",(char *) "radius", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18800 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18801 if (!SWIG_IsOK(ecode3
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18804 arg3
= static_cast< double >(val3
);
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= SWIG_Py_Void();
18818 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
= 0;
18820 wxDC
*arg1
= (wxDC
*) 0 ;
18821 wxPoint
*arg2
= 0 ;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 PyObject
* obj2
= 0 ;
18833 PyObject
* obj3
= 0 ;
18834 char * kwnames
[] = {
18835 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18840 if (!SWIG_IsOK(res1
)) {
18841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18850 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18852 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18853 if (!SWIG_IsOK(ecode4
)) {
18854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18856 arg4
= static_cast< double >(val4
);
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_Py_Void();
18870 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
= 0;
18872 wxDC
*arg1
= (wxDC
*) 0 ;
18884 PyObject
* obj0
= 0 ;
18885 PyObject
* obj1
= 0 ;
18886 PyObject
* obj2
= 0 ;
18887 PyObject
* obj3
= 0 ;
18888 char * kwnames
[] = {
18889 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18894 if (!SWIG_IsOK(res1
)) {
18895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18899 if (!SWIG_IsOK(ecode2
)) {
18900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18902 arg2
= static_cast< int >(val2
);
18903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18904 if (!SWIG_IsOK(ecode3
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18907 arg3
= static_cast< int >(val3
);
18908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18909 if (!SWIG_IsOK(ecode4
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18912 arg4
= static_cast< int >(val4
);
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= SWIG_Py_Void();
18926 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
= 0;
18928 wxDC
*arg1
= (wxDC
*) 0 ;
18929 wxPoint
*arg2
= 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 PyObject
* obj2
= 0 ;
18939 char * kwnames
[] = {
18940 (char *) "self",(char *) "pt",(char *) "radius", NULL
18943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18954 if (!SWIG_IsOK(ecode3
)) {
18955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18957 arg3
= static_cast< int >(val3
);
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_Py_Void();
18971 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxDC
*arg1
= (wxDC
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 PyObject
* obj2
= 0 ;
18991 PyObject
* obj3
= 0 ;
18992 PyObject
* obj4
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19004 if (!SWIG_IsOK(ecode2
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19007 arg2
= static_cast< int >(val2
);
19008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19009 if (!SWIG_IsOK(ecode3
)) {
19010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19012 arg3
= static_cast< int >(val3
);
19013 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19014 if (!SWIG_IsOK(ecode4
)) {
19015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19017 arg4
= static_cast< int >(val4
);
19018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19019 if (!SWIG_IsOK(ecode5
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19022 arg5
= static_cast< int >(val5
);
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_Py_Void();
19036 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
= 0;
19038 wxDC
*arg1
= (wxDC
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char * kwnames
[] = {
19046 (char *) "self",(char *) "rect", NULL
19049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19051 if (!SWIG_IsOK(res1
)) {
19052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19057 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_Py_Void();
19072 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
= 0;
19074 wxDC
*arg1
= (wxDC
*) 0 ;
19075 wxPoint
*arg2
= 0 ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 PyObject
* obj2
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "pt",(char *) "sz", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19100 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_Py_Void();
19115 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
= 0;
19117 wxDC
*arg1
= (wxDC
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 PyObject
* obj2
= 0 ;
19132 PyObject
* obj3
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19139 if (!SWIG_IsOK(res1
)) {
19140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19144 if (!SWIG_IsOK(res2
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19150 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19152 if (!SWIG_IsOK(ecode3
)) {
19153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19155 arg3
= static_cast< int >(val3
);
19156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19157 if (!SWIG_IsOK(ecode4
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19160 arg4
= static_cast< int >(val4
);
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_Py_Void();
19174 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
= 0;
19176 wxDC
*arg1
= (wxDC
*) 0 ;
19178 wxPoint
*arg3
= 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 PyObject
* obj2
= 0 ;
19187 char * kwnames
[] = {
19188 (char *) "self",(char *) "icon",(char *) "pt", NULL
19191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19193 if (!SWIG_IsOK(res1
)) {
19194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19198 if (!SWIG_IsOK(res2
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19204 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxDC
*arg1
= (wxDC
*) 0 ;
19225 wxBitmap
*arg2
= 0 ;
19228 bool arg5
= (bool) false ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 PyObject
* obj2
= 0 ;
19242 PyObject
* obj3
= 0 ;
19243 PyObject
* obj4
= 0 ;
19244 char * kwnames
[] = {
19245 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19250 if (!SWIG_IsOK(res1
)) {
19251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19255 if (!SWIG_IsOK(res2
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19263 if (!SWIG_IsOK(ecode3
)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19266 arg3
= static_cast< int >(val3
);
19267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19268 if (!SWIG_IsOK(ecode4
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19271 arg4
= static_cast< int >(val4
);
19273 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19274 if (!SWIG_IsOK(ecode5
)) {
19275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19277 arg5
= static_cast< bool >(val5
);
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_Py_Void();
19292 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
= 0;
19294 wxDC
*arg1
= (wxDC
*) 0 ;
19295 wxBitmap
*arg2
= 0 ;
19296 wxPoint
*arg3
= 0 ;
19297 bool arg4
= (bool) false ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 PyObject
* obj2
= 0 ;
19308 PyObject
* obj3
= 0 ;
19309 char * kwnames
[] = {
19310 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19320 if (!SWIG_IsOK(res2
)) {
19321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19326 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19332 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19333 if (!SWIG_IsOK(ecode4
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19336 arg4
= static_cast< bool >(val4
);
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= SWIG_Py_Void();
19351 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
= 0;
19353 wxDC
*arg1
= (wxDC
*) 0 ;
19354 wxString
*arg2
= 0 ;
19359 bool temp2
= false ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 PyObject
* obj3
= 0 ;
19368 char * kwnames
[] = {
19369 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19379 arg2
= wxString_in_helper(obj1
);
19380 if (arg2
== NULL
) SWIG_fail
;
19383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19384 if (!SWIG_IsOK(ecode3
)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19387 arg3
= static_cast< int >(val3
);
19388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19389 if (!SWIG_IsOK(ecode4
)) {
19390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19392 arg4
= static_cast< int >(val4
);
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_Py_Void();
19414 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
= 0;
19416 wxDC
*arg1
= (wxDC
*) 0 ;
19417 wxString
*arg2
= 0 ;
19418 wxPoint
*arg3
= 0 ;
19421 bool temp2
= false ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 PyObject
* obj2
= 0 ;
19426 char * kwnames
[] = {
19427 (char *) "self",(char *) "text",(char *) "pt", NULL
19430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19432 if (!SWIG_IsOK(res1
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19437 arg2
= wxString_in_helper(obj1
);
19438 if (arg2
== NULL
) SWIG_fail
;
19443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= SWIG_Py_Void();
19466 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
= 0;
19468 wxDC
*arg1
= (wxDC
*) 0 ;
19469 wxString
*arg2
= 0 ;
19475 bool temp2
= false ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 PyObject
* obj2
= 0 ;
19485 PyObject
* obj3
= 0 ;
19486 PyObject
* obj4
= 0 ;
19487 char * kwnames
[] = {
19488 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19493 if (!SWIG_IsOK(res1
)) {
19494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19498 arg2
= wxString_in_helper(obj1
);
19499 if (arg2
== NULL
) SWIG_fail
;
19502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19503 if (!SWIG_IsOK(ecode3
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19506 arg3
= static_cast< int >(val3
);
19507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19508 if (!SWIG_IsOK(ecode4
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19511 arg4
= static_cast< int >(val4
);
19512 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19513 if (!SWIG_IsOK(ecode5
)) {
19514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19516 arg5
= static_cast< double >(val5
);
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= SWIG_Py_Void();
19538 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= 0;
19540 wxDC
*arg1
= (wxDC
*) 0 ;
19541 wxString
*arg2
= 0 ;
19542 wxPoint
*arg3
= 0 ;
19546 bool temp2
= false ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 PyObject
* obj2
= 0 ;
19553 PyObject
* obj3
= 0 ;
19554 char * kwnames
[] = {
19555 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19560 if (!SWIG_IsOK(res1
)) {
19561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19565 arg2
= wxString_in_helper(obj1
);
19566 if (arg2
== NULL
) SWIG_fail
;
19571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19573 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19574 if (!SWIG_IsOK(ecode4
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19577 arg4
= static_cast< double >(val4
);
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_Py_Void();
19599 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxDC
*arg1
= (wxDC
*) 0 ;
19606 wxDC
*arg6
= (wxDC
*) 0 ;
19609 int arg9
= (int) wxCOPY
;
19610 bool arg10
= (bool) false ;
19611 int arg11
= (int) -1 ;
19612 int arg12
= (int) -1 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 PyObject
* obj2
= 0 ;
19641 PyObject
* obj3
= 0 ;
19642 PyObject
* obj4
= 0 ;
19643 PyObject
* obj5
= 0 ;
19644 PyObject
* obj6
= 0 ;
19645 PyObject
* obj7
= 0 ;
19646 PyObject
* obj8
= 0 ;
19647 PyObject
* obj9
= 0 ;
19648 PyObject
* obj10
= 0 ;
19649 PyObject
* obj11
= 0 ;
19650 char * kwnames
[] = {
19651 (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
19654 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
;
19655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19656 if (!SWIG_IsOK(res1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19661 if (!SWIG_IsOK(ecode2
)) {
19662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19664 arg2
= static_cast< int >(val2
);
19665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19666 if (!SWIG_IsOK(ecode3
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19669 arg3
= static_cast< int >(val3
);
19670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19671 if (!SWIG_IsOK(ecode4
)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19674 arg4
= static_cast< int >(val4
);
19675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19676 if (!SWIG_IsOK(ecode5
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19679 arg5
= static_cast< int >(val5
);
19680 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19681 if (!SWIG_IsOK(res6
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19684 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19685 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19686 if (!SWIG_IsOK(ecode7
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19689 arg7
= static_cast< int >(val7
);
19690 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19691 if (!SWIG_IsOK(ecode8
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19694 arg8
= static_cast< int >(val8
);
19696 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19697 if (!SWIG_IsOK(ecode9
)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19700 arg9
= static_cast< int >(val9
);
19703 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19704 if (!SWIG_IsOK(ecode10
)) {
19705 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19707 arg10
= static_cast< bool >(val10
);
19710 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19711 if (!SWIG_IsOK(ecode11
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19714 arg11
= static_cast< int >(val11
);
19717 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19718 if (!SWIG_IsOK(ecode12
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19721 arg12
= static_cast< int >(val12
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19738 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19740 wxDC
*arg1
= (wxDC
*) 0 ;
19741 wxPoint
*arg2
= 0 ;
19743 wxDC
*arg4
= (wxDC
*) 0 ;
19744 wxPoint
*arg5
= 0 ;
19745 int arg6
= (int) wxCOPY
;
19746 bool arg7
= (bool) false ;
19747 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19748 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 PyObject
* obj2
= 0 ;
19765 PyObject
* obj3
= 0 ;
19766 PyObject
* obj4
= 0 ;
19767 PyObject
* obj5
= 0 ;
19768 PyObject
* obj6
= 0 ;
19769 PyObject
* obj7
= 0 ;
19770 char * kwnames
[] = {
19771 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19786 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19788 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19789 if (!SWIG_IsOK(res4
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19792 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19798 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19799 if (!SWIG_IsOK(ecode6
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19802 arg6
= static_cast< int >(val6
);
19805 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19806 if (!SWIG_IsOK(ecode7
)) {
19807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19809 arg7
= static_cast< bool >(val7
);
19814 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19832 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
= 0;
19834 wxDC
*arg1
= (wxDC
*) 0 ;
19835 wxRect
*arg2
= (wxRect
*) NULL
;
19836 SwigValueWrapper
<wxBitmap
> result
;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char * kwnames
[] = {
19844 (char *) "self",(char *) "subrect", NULL
19847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19849 if (!SWIG_IsOK(res1
)) {
19850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19855 if (!SWIG_IsOK(res2
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19858 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19873 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
= 0;
19875 wxDC
*arg1
= (wxDC
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 PyObject
* obj2
= 0 ;
19893 PyObject
* obj3
= 0 ;
19894 PyObject
* obj4
= 0 ;
19895 char * kwnames
[] = {
19896 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19906 if (!SWIG_IsOK(ecode2
)) {
19907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19909 arg2
= static_cast< int >(val2
);
19910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19911 if (!SWIG_IsOK(ecode3
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19914 arg3
= static_cast< int >(val3
);
19915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19916 if (!SWIG_IsOK(ecode4
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19919 arg4
= static_cast< int >(val4
);
19920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19921 if (!SWIG_IsOK(ecode5
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19924 arg5
= static_cast< int >(val5
);
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_Py_Void();
19938 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
= 0;
19940 wxDC
*arg1
= (wxDC
*) 0 ;
19941 wxPoint
*arg2
= 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "pt",(char *) "sz", NULL
19954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19966 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_Py_Void();
19981 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
= 0;
19983 wxDC
*arg1
= (wxDC
*) 0 ;
19984 wxRegion
*arg2
= 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 char * kwnames
[] = {
19992 (char *) "self",(char *) "region", NULL
19995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19997 if (!SWIG_IsOK(res1
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20002 if (!SWIG_IsOK(res2
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20008 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_Py_Void();
20022 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
= 0;
20024 wxDC
*arg1
= (wxDC
*) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char * kwnames
[] = {
20032 (char *) "self",(char *) "rect", NULL
20035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20037 if (!SWIG_IsOK(res1
)) {
20038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20043 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= SWIG_Py_Void();
20058 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
= 0;
20060 wxDC
*arg1
= (wxDC
*) 0 ;
20062 wxPoint
*arg3
= (wxPoint
*) 0 ;
20063 int arg4
= (int) 0 ;
20064 int arg5
= (int) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 PyObject
* obj2
= 0 ;
20074 PyObject
* obj3
= 0 ;
20075 char * kwnames
[] = {
20076 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20086 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20087 if (arg3
== NULL
) SWIG_fail
;
20090 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20091 if (!SWIG_IsOK(ecode4
)) {
20092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20094 arg4
= static_cast< int >(val4
);
20097 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20098 if (!SWIG_IsOK(ecode5
)) {
20099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20101 arg5
= static_cast< int >(val5
);
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= SWIG_Py_Void();
20111 if (arg3
) delete [] arg3
;
20116 if (arg3
) delete [] arg3
;
20122 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
= 0;
20124 wxDC
*arg1
= (wxDC
*) 0 ;
20126 wxPoint
*arg3
= (wxPoint
*) 0 ;
20127 int arg4
= (int) 0 ;
20128 int arg5
= (int) 0 ;
20129 int arg6
= (int) wxODDEVEN_RULE
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 PyObject
* obj3
= 0 ;
20142 PyObject
* obj4
= 0 ;
20143 char * kwnames
[] = {
20144 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20154 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20155 if (arg3
== NULL
) SWIG_fail
;
20158 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20159 if (!SWIG_IsOK(ecode4
)) {
20160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20162 arg4
= static_cast< int >(val4
);
20165 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20166 if (!SWIG_IsOK(ecode5
)) {
20167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20169 arg5
= static_cast< int >(val5
);
20172 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20173 if (!SWIG_IsOK(ecode6
)) {
20174 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20176 arg6
= static_cast< int >(val6
);
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= SWIG_Py_Void();
20186 if (arg3
) delete [] arg3
;
20191 if (arg3
) delete [] arg3
;
20197 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
= 0;
20199 wxDC
*arg1
= (wxDC
*) 0 ;
20200 wxString
*arg2
= 0 ;
20202 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20203 int arg5
= (int) -1 ;
20206 bool temp2
= false ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 PyObject
* obj2
= 0 ;
20215 PyObject
* obj3
= 0 ;
20216 PyObject
* obj4
= 0 ;
20217 char * kwnames
[] = {
20218 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20223 if (!SWIG_IsOK(res1
)) {
20224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20228 arg2
= wxString_in_helper(obj1
);
20229 if (arg2
== NULL
) SWIG_fail
;
20234 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20238 if (!SWIG_IsOK(ecode4
)) {
20239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20241 arg4
= static_cast< int >(val4
);
20244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20245 if (!SWIG_IsOK(ecode5
)) {
20246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20248 arg5
= static_cast< int >(val5
);
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_Py_Void();
20271 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
= 0;
20273 wxDC
*arg1
= (wxDC
*) 0 ;
20274 wxString
*arg2
= 0 ;
20275 wxBitmap
*arg3
= 0 ;
20277 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20278 int arg6
= (int) -1 ;
20282 bool temp2
= false ;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 PyObject
* obj2
= 0 ;
20293 PyObject
* obj3
= 0 ;
20294 PyObject
* obj4
= 0 ;
20295 PyObject
* obj5
= 0 ;
20296 char * kwnames
[] = {
20297 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20302 if (!SWIG_IsOK(res1
)) {
20303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20307 arg2
= wxString_in_helper(obj1
);
20308 if (arg2
== NULL
) SWIG_fail
;
20311 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20312 if (!SWIG_IsOK(res3
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20318 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20321 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20324 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20325 if (!SWIG_IsOK(ecode5
)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20328 arg5
= static_cast< int >(val5
);
20331 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20332 if (!SWIG_IsOK(ecode6
)) {
20333 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20335 arg6
= static_cast< int >(val6
);
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20358 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxDC
*arg1
= (wxDC
*) 0 ;
20362 wxPoint
*arg3
= (wxPoint
*) 0 ;
20365 PyObject
* obj0
= 0 ;
20366 PyObject
* obj1
= 0 ;
20367 char * kwnames
[] = {
20368 (char *) "self",(char *) "points", NULL
20371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20379 if (arg3
== NULL
) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 (arg1
)->DrawSpline(arg2
,arg3
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_Py_Void();
20389 if (arg3
) delete [] arg3
;
20394 if (arg3
) delete [] arg3
;
20400 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20401 PyObject
*resultobj
= 0;
20402 wxDC
*arg1
= (wxDC
*) 0 ;
20405 PyObject
*swig_obj
[1] ;
20407 if (!args
) SWIG_fail
;
20408 swig_obj
[0] = args
;
20409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20410 if (!SWIG_IsOK(res1
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_Py_Void();
20427 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
= 0;
20429 wxDC
*arg1
= (wxDC
*) 0 ;
20430 wxString
*arg2
= 0 ;
20434 bool temp2
= false ;
20435 PyObject
* obj0
= 0 ;
20436 PyObject
* obj1
= 0 ;
20437 char * kwnames
[] = {
20438 (char *) "self",(char *) "message", NULL
20441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20443 if (!SWIG_IsOK(res1
)) {
20444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20448 arg2
= wxString_in_helper(obj1
);
20449 if (arg2
== NULL
) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20475 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20476 PyObject
*resultobj
= 0;
20477 wxDC
*arg1
= (wxDC
*) 0 ;
20480 PyObject
*swig_obj
[1] ;
20482 if (!args
) SWIG_fail
;
20483 swig_obj
[0] = args
;
20484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20485 if (!SWIG_IsOK(res1
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_Py_Void();
20502 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20503 PyObject
*resultobj
= 0;
20504 wxDC
*arg1
= (wxDC
*) 0 ;
20507 PyObject
*swig_obj
[1] ;
20509 if (!args
) SWIG_fail
;
20510 swig_obj
[0] = args
;
20511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->StartPage();
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_Py_Void();
20529 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20530 PyObject
*resultobj
= 0;
20531 wxDC
*arg1
= (wxDC
*) 0 ;
20534 PyObject
*swig_obj
[1] ;
20536 if (!args
) SWIG_fail
;
20537 swig_obj
[0] = args
;
20538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20539 if (!SWIG_IsOK(res1
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_Py_Void();
20556 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
= 0;
20558 wxDC
*arg1
= (wxDC
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 char * kwnames
[] = {
20567 (char *) "self",(char *) "font", NULL
20570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20572 if (!SWIG_IsOK(res1
)) {
20573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20577 if (!SWIG_IsOK(res2
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20583 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 (arg1
)->SetFont((wxFont
const &)*arg2
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_Py_Void();
20597 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxDC
*arg1
= (wxDC
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char * kwnames
[] = {
20608 (char *) "self",(char *) "pen", NULL
20611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20613 if (!SWIG_IsOK(res1
)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20618 if (!SWIG_IsOK(res2
)) {
20619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20624 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->SetPen((wxPen
const &)*arg2
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_Py_Void();
20638 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= 0;
20640 wxDC
*arg1
= (wxDC
*) 0 ;
20641 wxBrush
*arg2
= 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 char * kwnames
[] = {
20649 (char *) "self",(char *) "brush", NULL
20652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20654 if (!SWIG_IsOK(res1
)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20659 if (!SWIG_IsOK(res2
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20665 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= SWIG_Py_Void();
20679 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
= 0;
20681 wxDC
*arg1
= (wxDC
*) 0 ;
20682 wxBrush
*arg2
= 0 ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 char * kwnames
[] = {
20690 (char *) "self",(char *) "brush", NULL
20693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20695 if (!SWIG_IsOK(res1
)) {
20696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20700 if (!SWIG_IsOK(res2
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20706 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_Py_Void();
20720 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
= 0;
20722 wxDC
*arg1
= (wxDC
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char * kwnames
[] = {
20731 (char *) "self",(char *) "mode", NULL
20734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20741 if (!SWIG_IsOK(ecode2
)) {
20742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20744 arg2
= static_cast< int >(val2
);
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 (arg1
)->SetBackgroundMode(arg2
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_Py_Void();
20758 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
= 0;
20760 wxDC
*arg1
= (wxDC
*) 0 ;
20761 wxPalette
*arg2
= 0 ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char * kwnames
[] = {
20769 (char *) "self",(char *) "palette", NULL
20772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20774 if (!SWIG_IsOK(res1
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20779 if (!SWIG_IsOK(res2
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20785 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_Py_Void();
20799 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20800 PyObject
*resultobj
= 0;
20801 wxDC
*arg1
= (wxDC
*) 0 ;
20804 PyObject
*swig_obj
[1] ;
20806 if (!args
) SWIG_fail
;
20807 swig_obj
[0] = args
;
20808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20809 if (!SWIG_IsOK(res1
)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 (arg1
)->DestroyClippingRegion();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_Py_Void();
20826 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 PyObject
*resultobj
= 0;
20828 wxDC
*arg1
= (wxDC
*) 0 ;
20829 int *arg2
= (int *) 0 ;
20830 int *arg3
= (int *) 0 ;
20831 int *arg4
= (int *) 0 ;
20832 int *arg5
= (int *) 0 ;
20836 int res2
= SWIG_TMPOBJ
;
20838 int res3
= SWIG_TMPOBJ
;
20840 int res4
= SWIG_TMPOBJ
;
20842 int res5
= SWIG_TMPOBJ
;
20843 PyObject
*swig_obj
[1] ;
20849 if (!args
) SWIG_fail
;
20850 swig_obj
[0] = args
;
20851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20852 if (!SWIG_IsOK(res1
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_Py_Void();
20863 if (SWIG_IsTmpObj(res2
)) {
20864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20866 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20869 if (SWIG_IsTmpObj(res3
)) {
20870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20872 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20875 if (SWIG_IsTmpObj(res4
)) {
20876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20878 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20881 if (SWIG_IsTmpObj(res5
)) {
20882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20884 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20893 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 PyObject
*resultobj
= 0;
20895 wxDC
*arg1
= (wxDC
*) 0 ;
20899 PyObject
*swig_obj
[1] ;
20901 if (!args
) SWIG_fail
;
20902 swig_obj
[0] = args
;
20903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= wxDC_GetClippingRect(arg1
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20921 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20922 PyObject
*resultobj
= 0;
20923 wxDC
*arg1
= (wxDC
*) 0 ;
20927 PyObject
*swig_obj
[1] ;
20929 if (!args
) SWIG_fail
;
20930 swig_obj
[0] = args
;
20931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20932 if (!SWIG_IsOK(res1
)) {
20933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_From_int(static_cast< int >(result
));
20949 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20950 PyObject
*resultobj
= 0;
20951 wxDC
*arg1
= (wxDC
*) 0 ;
20955 PyObject
*swig_obj
[1] ;
20957 if (!args
) SWIG_fail
;
20958 swig_obj
[0] = args
;
20959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= SWIG_From_int(static_cast< int >(result
));
20977 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
= 0;
20979 wxDC
*arg1
= (wxDC
*) 0 ;
20980 wxString
*arg2
= 0 ;
20981 int *arg3
= (int *) 0 ;
20982 int *arg4
= (int *) 0 ;
20985 bool temp2
= false ;
20987 int res3
= SWIG_TMPOBJ
;
20989 int res4
= SWIG_TMPOBJ
;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char * kwnames
[] = {
20993 (char *) "self",(char *) "string", NULL
20998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21000 if (!SWIG_IsOK(res1
)) {
21001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21005 arg2
= wxString_in_helper(obj1
);
21006 if (arg2
== NULL
) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_Py_Void();
21016 if (SWIG_IsTmpObj(res3
)) {
21017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21019 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21022 if (SWIG_IsTmpObj(res4
)) {
21023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21025 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21042 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxDC
*arg1
= (wxDC
*) 0 ;
21045 wxString
*arg2
= 0 ;
21046 int *arg3
= (int *) 0 ;
21047 int *arg4
= (int *) 0 ;
21048 int *arg5
= (int *) 0 ;
21049 int *arg6
= (int *) 0 ;
21050 wxFont
*arg7
= (wxFont
*) NULL
;
21053 bool temp2
= false ;
21055 int res3
= SWIG_TMPOBJ
;
21057 int res4
= SWIG_TMPOBJ
;
21059 int res5
= SWIG_TMPOBJ
;
21061 int res6
= SWIG_TMPOBJ
;
21064 PyObject
* obj0
= 0 ;
21065 PyObject
* obj1
= 0 ;
21066 PyObject
* obj2
= 0 ;
21067 char * kwnames
[] = {
21068 (char *) "self",(char *) "string",(char *) "font", NULL
21075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21077 if (!SWIG_IsOK(res1
)) {
21078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21082 arg2
= wxString_in_helper(obj1
);
21083 if (arg2
== NULL
) SWIG_fail
;
21087 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21088 if (!SWIG_IsOK(res7
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21091 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21100 if (SWIG_IsTmpObj(res3
)) {
21101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21103 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21106 if (SWIG_IsTmpObj(res4
)) {
21107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21109 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21112 if (SWIG_IsTmpObj(res5
)) {
21113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21115 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21118 if (SWIG_IsTmpObj(res6
)) {
21119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21121 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21138 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
= 0;
21140 wxDC
*arg1
= (wxDC
*) 0 ;
21141 wxString
*arg2
= 0 ;
21142 int *arg3
= (int *) 0 ;
21143 int *arg4
= (int *) 0 ;
21144 int *arg5
= (int *) 0 ;
21145 wxFont
*arg6
= (wxFont
*) NULL
;
21148 bool temp2
= false ;
21150 int res3
= SWIG_TMPOBJ
;
21152 int res4
= SWIG_TMPOBJ
;
21154 int res5
= SWIG_TMPOBJ
;
21157 PyObject
* obj0
= 0 ;
21158 PyObject
* obj1
= 0 ;
21159 PyObject
* obj2
= 0 ;
21160 char * kwnames
[] = {
21161 (char *) "self",(char *) "text",(char *) "font", NULL
21167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21169 if (!SWIG_IsOK(res1
)) {
21170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21174 arg2
= wxString_in_helper(obj1
);
21175 if (arg2
== NULL
) SWIG_fail
;
21179 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21180 if (!SWIG_IsOK(res6
)) {
21181 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21183 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= SWIG_Py_Void();
21192 if (SWIG_IsTmpObj(res3
)) {
21193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21195 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21198 if (SWIG_IsTmpObj(res4
)) {
21199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21201 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21204 if (SWIG_IsTmpObj(res5
)) {
21205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21207 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21224 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
= 0;
21226 wxDC
*arg1
= (wxDC
*) 0 ;
21227 wxString
*arg2
= 0 ;
21231 bool temp2
= false ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 char * kwnames
[] = {
21235 (char *) "self",(char *) "text", NULL
21238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21245 arg2
= wxString_in_helper(obj1
);
21246 if (arg2
== NULL
) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= wxArrayInt2PyList_helper(result
);
21272 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21273 PyObject
*resultobj
= 0;
21274 wxDC
*arg1
= (wxDC
*) 0 ;
21278 PyObject
*swig_obj
[1] ;
21280 if (!args
) SWIG_fail
;
21281 swig_obj
[0] = args
;
21282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21283 if (!SWIG_IsOK(res1
)) {
21284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (arg1
)->GetSize();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21300 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21301 PyObject
*resultobj
= 0;
21302 wxDC
*arg1
= (wxDC
*) 0 ;
21303 int *arg2
= (int *) 0 ;
21304 int *arg3
= (int *) 0 ;
21308 int res2
= SWIG_TMPOBJ
;
21310 int res3
= SWIG_TMPOBJ
;
21311 PyObject
*swig_obj
[1] ;
21315 if (!args
) SWIG_fail
;
21316 swig_obj
[0] = args
;
21317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21318 if (!SWIG_IsOK(res1
)) {
21319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 (arg1
)->GetSize(arg2
,arg3
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_Py_Void();
21329 if (SWIG_IsTmpObj(res2
)) {
21330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21332 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21335 if (SWIG_IsTmpObj(res3
)) {
21336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21338 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21347 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21348 PyObject
*resultobj
= 0;
21349 wxDC
*arg1
= (wxDC
*) 0 ;
21353 PyObject
*swig_obj
[1] ;
21355 if (!args
) SWIG_fail
;
21356 swig_obj
[0] = args
;
21357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21358 if (!SWIG_IsOK(res1
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21375 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21376 PyObject
*resultobj
= 0;
21377 wxDC
*arg1
= (wxDC
*) 0 ;
21378 int *arg2
= (int *) 0 ;
21379 int *arg3
= (int *) 0 ;
21383 int res2
= SWIG_TMPOBJ
;
21385 int res3
= SWIG_TMPOBJ
;
21386 PyObject
*swig_obj
[1] ;
21390 if (!args
) SWIG_fail
;
21391 swig_obj
[0] = args
;
21392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21393 if (!SWIG_IsOK(res1
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_Py_Void();
21404 if (SWIG_IsTmpObj(res2
)) {
21405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21407 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21410 if (SWIG_IsTmpObj(res3
)) {
21411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21413 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21422 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
= 0;
21424 wxDC
*arg1
= (wxDC
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char * kwnames
[] = {
21434 (char *) "self",(char *) "x", NULL
21437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21439 if (!SWIG_IsOK(res1
)) {
21440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21444 if (!SWIG_IsOK(ecode2
)) {
21445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21447 arg2
= static_cast< int >(val2
);
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= SWIG_From_int(static_cast< int >(result
));
21461 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
= 0;
21463 wxDC
*arg1
= (wxDC
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 char * kwnames
[] = {
21473 (char *) "self",(char *) "y", NULL
21476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21478 if (!SWIG_IsOK(res1
)) {
21479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21483 if (!SWIG_IsOK(ecode2
)) {
21484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21486 arg2
= static_cast< int >(val2
);
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_From_int(static_cast< int >(result
));
21500 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
= 0;
21502 wxDC
*arg1
= (wxDC
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 char * kwnames
[] = {
21512 (char *) "self",(char *) "x", NULL
21515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21517 if (!SWIG_IsOK(res1
)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21522 if (!SWIG_IsOK(ecode2
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21525 arg2
= static_cast< int >(val2
);
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_From_int(static_cast< int >(result
));
21539 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
= 0;
21541 wxDC
*arg1
= (wxDC
*) 0 ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 char * kwnames
[] = {
21551 (char *) "self",(char *) "y", NULL
21554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21556 if (!SWIG_IsOK(res1
)) {
21557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21561 if (!SWIG_IsOK(ecode2
)) {
21562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21564 arg2
= static_cast< int >(val2
);
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_From_int(static_cast< int >(result
));
21578 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
= 0;
21580 wxDC
*arg1
= (wxDC
*) 0 ;
21587 PyObject
* obj0
= 0 ;
21588 PyObject
* obj1
= 0 ;
21589 char * kwnames
[] = {
21590 (char *) "self",(char *) "x", NULL
21593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21595 if (!SWIG_IsOK(res1
)) {
21596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21600 if (!SWIG_IsOK(ecode2
)) {
21601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21603 arg2
= static_cast< int >(val2
);
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_From_int(static_cast< int >(result
));
21617 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
= 0;
21619 wxDC
*arg1
= (wxDC
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char * kwnames
[] = {
21629 (char *) "self",(char *) "y", NULL
21632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21634 if (!SWIG_IsOK(res1
)) {
21635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21639 if (!SWIG_IsOK(ecode2
)) {
21640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21642 arg2
= static_cast< int >(val2
);
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_From_int(static_cast< int >(result
));
21656 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
= 0;
21658 wxDC
*arg1
= (wxDC
*) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 char * kwnames
[] = {
21668 (char *) "self",(char *) "x", NULL
21671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21678 if (!SWIG_IsOK(ecode2
)) {
21679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21681 arg2
= static_cast< int >(val2
);
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_From_int(static_cast< int >(result
));
21695 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
= 0;
21697 wxDC
*arg1
= (wxDC
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 char * kwnames
[] = {
21707 (char *) "self",(char *) "y", NULL
21710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21717 if (!SWIG_IsOK(ecode2
)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21720 arg2
= static_cast< int >(val2
);
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_From_int(static_cast< int >(result
));
21734 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21735 PyObject
*resultobj
= 0;
21736 wxDC
*arg1
= (wxDC
*) 0 ;
21740 PyObject
*swig_obj
[1] ;
21742 if (!args
) SWIG_fail
;
21743 swig_obj
[0] = args
;
21744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21745 if (!SWIG_IsOK(res1
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21764 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21765 PyObject
*resultobj
= 0;
21766 wxDC
*arg1
= (wxDC
*) 0 ;
21770 PyObject
*swig_obj
[1] ;
21772 if (!args
) SWIG_fail
;
21773 swig_obj
[0] = args
;
21774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21775 if (!SWIG_IsOK(res1
)) {
21776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21794 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21795 PyObject
*resultobj
= 0;
21796 wxDC
*arg1
= (wxDC
*) 0 ;
21800 PyObject
*swig_obj
[1] ;
21802 if (!args
) SWIG_fail
;
21803 swig_obj
[0] = args
;
21804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= SWIG_From_int(static_cast< int >(result
));
21822 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21823 PyObject
*resultobj
= 0;
21824 wxDC
*arg1
= (wxDC
*) 0 ;
21828 PyObject
*swig_obj
[1] ;
21830 if (!args
) SWIG_fail
;
21831 swig_obj
[0] = args
;
21832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21833 if (!SWIG_IsOK(res1
)) {
21834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= ((wxDC
const *)arg1
)->GetPPI();
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21850 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21851 PyObject
*resultobj
= 0;
21852 wxDC
*arg1
= (wxDC
*) 0 ;
21856 PyObject
*swig_obj
[1] ;
21858 if (!args
) SWIG_fail
;
21859 swig_obj
[0] = args
;
21860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21880 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21881 PyObject
*resultobj
= 0;
21882 wxDC
*arg1
= (wxDC
*) 0 ;
21886 PyObject
*swig_obj
[1] ;
21888 if (!args
) SWIG_fail
;
21889 swig_obj
[0] = args
;
21890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21891 if (!SWIG_IsOK(res1
)) {
21892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= SWIG_From_int(static_cast< int >(result
));
21908 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21909 PyObject
*resultobj
= 0;
21910 wxDC
*arg1
= (wxDC
*) 0 ;
21911 wxBrush
*result
= 0 ;
21914 PyObject
*swig_obj
[1] ;
21916 if (!args
) SWIG_fail
;
21917 swig_obj
[0] = args
;
21918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21919 if (!SWIG_IsOK(res1
)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21927 result
= (wxBrush
*) &_result_ref
;
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 wxBrush
* resultptr
= new wxBrush(*result
);
21934 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21942 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21943 PyObject
*resultobj
= 0;
21944 wxDC
*arg1
= (wxDC
*) 0 ;
21945 wxBrush
*result
= 0 ;
21948 PyObject
*swig_obj
[1] ;
21950 if (!args
) SWIG_fail
;
21951 swig_obj
[0] = args
;
21952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21953 if (!SWIG_IsOK(res1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21961 result
= (wxBrush
*) &_result_ref
;
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 wxBrush
* resultptr
= new wxBrush(*result
);
21968 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21976 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 PyObject
*resultobj
= 0;
21978 wxDC
*arg1
= (wxDC
*) 0 ;
21979 wxFont
*result
= 0 ;
21982 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21995 result
= (wxFont
*) &_result_ref
;
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 wxFont
* resultptr
= new wxFont(*result
);
22002 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22010 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22011 PyObject
*resultobj
= 0;
22012 wxDC
*arg1
= (wxDC
*) 0 ;
22013 wxPen
*result
= 0 ;
22016 PyObject
*swig_obj
[1] ;
22018 if (!args
) SWIG_fail
;
22019 swig_obj
[0] = args
;
22020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22021 if (!SWIG_IsOK(res1
)) {
22022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22029 result
= (wxPen
*) &_result_ref
;
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 wxPen
* resultptr
= new wxPen(*result
);
22036 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22044 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22045 PyObject
*resultobj
= 0;
22046 wxDC
*arg1
= (wxDC
*) 0 ;
22047 wxColour
*result
= 0 ;
22050 PyObject
*swig_obj
[1] ;
22052 if (!args
) SWIG_fail
;
22053 swig_obj
[0] = args
;
22054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22055 if (!SWIG_IsOK(res1
)) {
22056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22063 result
= (wxColour
*) &_result_ref
;
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22075 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22076 PyObject
*resultobj
= 0;
22077 wxDC
*arg1
= (wxDC
*) 0 ;
22078 wxColour
*result
= 0 ;
22081 PyObject
*swig_obj
[1] ;
22083 if (!args
) SWIG_fail
;
22084 swig_obj
[0] = args
;
22085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22086 if (!SWIG_IsOK(res1
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22094 result
= (wxColour
*) &_result_ref
;
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22106 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
= 0;
22108 wxDC
*arg1
= (wxDC
*) 0 ;
22109 wxColour
*arg2
= 0 ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char * kwnames
[] = {
22116 (char *) "self",(char *) "colour", NULL
22119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22121 if (!SWIG_IsOK(res1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_Py_Void();
22142 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
= 0;
22144 wxDC
*arg1
= (wxDC
*) 0 ;
22145 wxColour
*arg2
= 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char * kwnames
[] = {
22152 (char *) "self",(char *) "colour", NULL
22155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22157 if (!SWIG_IsOK(res1
)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22163 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_Py_Void();
22178 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22179 PyObject
*resultobj
= 0;
22180 wxDC
*arg1
= (wxDC
*) 0 ;
22184 PyObject
*swig_obj
[1] ;
22186 if (!args
) SWIG_fail
;
22187 swig_obj
[0] = args
;
22188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22189 if (!SWIG_IsOK(res1
)) {
22190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_From_int(static_cast< int >(result
));
22206 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
= 0;
22208 wxDC
*arg1
= (wxDC
*) 0 ;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 char * kwnames
[] = {
22217 (char *) "self",(char *) "mode", NULL
22220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22222 if (!SWIG_IsOK(res1
)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22227 if (!SWIG_IsOK(ecode2
)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22230 arg2
= static_cast< int >(val2
);
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 (arg1
)->SetMapMode(arg2
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_Py_Void();
22244 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22245 PyObject
*resultobj
= 0;
22246 wxDC
*arg1
= (wxDC
*) 0 ;
22247 double *arg2
= (double *) 0 ;
22248 double *arg3
= (double *) 0 ;
22252 int res2
= SWIG_TMPOBJ
;
22254 int res3
= SWIG_TMPOBJ
;
22255 PyObject
*swig_obj
[1] ;
22259 if (!args
) SWIG_fail
;
22260 swig_obj
[0] = args
;
22261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22262 if (!SWIG_IsOK(res1
)) {
22263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_Py_Void();
22273 if (SWIG_IsTmpObj(res2
)) {
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22276 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22279 if (SWIG_IsTmpObj(res3
)) {
22280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22282 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22291 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
= 0;
22293 wxDC
*arg1
= (wxDC
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "self",(char *) "x",(char *) "y", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22315 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22316 if (!SWIG_IsOK(ecode2
)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22319 arg2
= static_cast< double >(val2
);
22320 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22321 if (!SWIG_IsOK(ecode3
)) {
22322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22324 arg3
= static_cast< double >(val3
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 (arg1
)->SetUserScale(arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_Py_Void();
22338 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22339 PyObject
*resultobj
= 0;
22340 wxDC
*arg1
= (wxDC
*) 0 ;
22341 double *arg2
= (double *) 0 ;
22342 double *arg3
= (double *) 0 ;
22346 int res2
= SWIG_TMPOBJ
;
22348 int res3
= SWIG_TMPOBJ
;
22349 PyObject
*swig_obj
[1] ;
22353 if (!args
) SWIG_fail
;
22354 swig_obj
[0] = args
;
22355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22356 if (!SWIG_IsOK(res1
)) {
22357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->GetLogicalScale(arg2
,arg3
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_Py_Void();
22367 if (SWIG_IsTmpObj(res2
)) {
22368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22370 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22373 if (SWIG_IsTmpObj(res3
)) {
22374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22376 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22385 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
= 0;
22387 wxDC
*arg1
= (wxDC
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 PyObject
* obj2
= 0 ;
22399 char * kwnames
[] = {
22400 (char *) "self",(char *) "x",(char *) "y", NULL
22403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22409 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22410 if (!SWIG_IsOK(ecode2
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22413 arg2
= static_cast< double >(val2
);
22414 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22415 if (!SWIG_IsOK(ecode3
)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22418 arg3
= static_cast< double >(val3
);
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 (arg1
)->SetLogicalScale(arg2
,arg3
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_Py_Void();
22432 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22434 wxDC
*arg1
= (wxDC
*) 0 ;
22438 PyObject
*swig_obj
[1] ;
22440 if (!args
) SWIG_fail
;
22441 swig_obj
[0] = args
;
22442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22460 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22461 PyObject
*resultobj
= 0;
22462 wxDC
*arg1
= (wxDC
*) 0 ;
22463 int *arg2
= (int *) 0 ;
22464 int *arg3
= (int *) 0 ;
22468 int res2
= SWIG_TMPOBJ
;
22470 int res3
= SWIG_TMPOBJ
;
22471 PyObject
*swig_obj
[1] ;
22475 if (!args
) SWIG_fail
;
22476 swig_obj
[0] = args
;
22477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22478 if (!SWIG_IsOK(res1
)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= SWIG_Py_Void();
22489 if (SWIG_IsTmpObj(res2
)) {
22490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22492 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22495 if (SWIG_IsTmpObj(res3
)) {
22496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22498 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22507 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
= 0;
22509 wxDC
*arg1
= (wxDC
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 PyObject
* obj2
= 0 ;
22521 char * kwnames
[] = {
22522 (char *) "self",(char *) "x",(char *) "y", NULL
22525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22527 if (!SWIG_IsOK(res1
)) {
22528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22532 if (!SWIG_IsOK(ecode2
)) {
22533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22535 arg2
= static_cast< int >(val2
);
22536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22537 if (!SWIG_IsOK(ecode3
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22540 arg3
= static_cast< int >(val3
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_Py_Void();
22554 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
= 0;
22556 wxDC
*arg1
= (wxDC
*) 0 ;
22557 wxPoint
*arg2
= 0 ;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 char * kwnames
[] = {
22564 (char *) "self",(char *) "point", NULL
22567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= SWIG_Py_Void();
22590 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22591 PyObject
*resultobj
= 0;
22592 wxDC
*arg1
= (wxDC
*) 0 ;
22596 PyObject
*swig_obj
[1] ;
22598 if (!args
) SWIG_fail
;
22599 swig_obj
[0] = args
;
22600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22618 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22619 PyObject
*resultobj
= 0;
22620 wxDC
*arg1
= (wxDC
*) 0 ;
22621 int *arg2
= (int *) 0 ;
22622 int *arg3
= (int *) 0 ;
22626 int res2
= SWIG_TMPOBJ
;
22628 int res3
= SWIG_TMPOBJ
;
22629 PyObject
*swig_obj
[1] ;
22633 if (!args
) SWIG_fail
;
22634 swig_obj
[0] = args
;
22635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_Py_Void();
22647 if (SWIG_IsTmpObj(res2
)) {
22648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22653 if (SWIG_IsTmpObj(res3
)) {
22654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22665 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
= 0;
22667 wxDC
*arg1
= (wxDC
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 char * kwnames
[] = {
22680 (char *) "self",(char *) "x",(char *) "y", NULL
22683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22690 if (!SWIG_IsOK(ecode2
)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22693 arg2
= static_cast< int >(val2
);
22694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22695 if (!SWIG_IsOK(ecode3
)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22698 arg3
= static_cast< int >(val3
);
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_Py_Void();
22712 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
= 0;
22714 wxDC
*arg1
= (wxDC
*) 0 ;
22715 wxPoint
*arg2
= 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 char * kwnames
[] = {
22722 (char *) "self",(char *) "point", NULL
22725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22727 if (!SWIG_IsOK(res1
)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= SWIG_Py_Void();
22748 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
= 0;
22750 wxDC
*arg1
= (wxDC
*) 0 ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22761 PyObject
* obj2
= 0 ;
22762 char * kwnames
[] = {
22763 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22773 if (!SWIG_IsOK(ecode2
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22776 arg2
= static_cast< bool >(val2
);
22777 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22778 if (!SWIG_IsOK(ecode3
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22781 arg3
= static_cast< bool >(val3
);
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_Py_Void();
22795 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 PyObject
*resultobj
= 0;
22797 wxDC
*arg1
= (wxDC
*) 0 ;
22801 PyObject
*swig_obj
[1] ;
22803 if (!args
) SWIG_fail
;
22804 swig_obj
[0] = args
;
22805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22806 if (!SWIG_IsOK(res1
)) {
22807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22809 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_From_int(static_cast< int >(result
));
22823 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
= 0;
22825 wxDC
*arg1
= (wxDC
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char * kwnames
[] = {
22834 (char *) "self",(char *) "function", NULL
22837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22844 if (!SWIG_IsOK(ecode2
)) {
22845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22847 arg2
= static_cast< int >(val2
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->SetLogicalFunction(arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_Py_Void();
22861 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 PyObject
*resultobj
= 0;
22863 wxDC
*arg1
= (wxDC
*) 0 ;
22866 PyObject
*swig_obj
[1] ;
22868 if (!args
) SWIG_fail
;
22869 swig_obj
[0] = args
;
22870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 (arg1
)->ComputeScaleAndOrigin();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_Py_Void();
22888 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
= 0;
22890 wxDC
*arg1
= (wxDC
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 PyObject
* obj2
= 0 ;
22902 char * kwnames
[] = {
22903 (char *) "self",(char *) "x",(char *) "y", NULL
22906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22908 if (!SWIG_IsOK(res1
)) {
22909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22913 if (!SWIG_IsOK(ecode2
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22916 arg2
= static_cast< int >(val2
);
22917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22918 if (!SWIG_IsOK(ecode3
)) {
22919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22921 arg3
= static_cast< int >(val3
);
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_Py_Void();
22935 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
= 0;
22937 wxDC
*arg1
= (wxDC
*) 0 ;
22938 wxPoint
*arg2
= 0 ;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 char * kwnames
[] = {
22945 (char *) "self",(char *) "point", NULL
22948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_Py_Void();
22971 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22972 PyObject
*resultobj
= 0;
22973 wxDC
*arg1
= (wxDC
*) 0 ;
22976 PyObject
*swig_obj
[1] ;
22978 if (!args
) SWIG_fail
;
22979 swig_obj
[0] = args
;
22980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 (arg1
)->ResetBoundingBox();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_Py_Void();
22998 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22999 PyObject
*resultobj
= 0;
23000 wxDC
*arg1
= (wxDC
*) 0 ;
23004 PyObject
*swig_obj
[1] ;
23006 if (!args
) SWIG_fail
;
23007 swig_obj
[0] = args
;
23008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23009 if (!SWIG_IsOK(res1
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (int)((wxDC
const *)arg1
)->MinX();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_From_int(static_cast< int >(result
));
23026 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxDC
*arg1
= (wxDC
*) 0 ;
23032 PyObject
*swig_obj
[1] ;
23034 if (!args
) SWIG_fail
;
23035 swig_obj
[0] = args
;
23036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23037 if (!SWIG_IsOK(res1
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (int)((wxDC
const *)arg1
)->MaxX();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_From_int(static_cast< int >(result
));
23054 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23055 PyObject
*resultobj
= 0;
23056 wxDC
*arg1
= (wxDC
*) 0 ;
23060 PyObject
*swig_obj
[1] ;
23062 if (!args
) SWIG_fail
;
23063 swig_obj
[0] = args
;
23064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23065 if (!SWIG_IsOK(res1
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 result
= (int)((wxDC
const *)arg1
)->MinY();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_From_int(static_cast< int >(result
));
23082 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 PyObject
*resultobj
= 0;
23084 wxDC
*arg1
= (wxDC
*) 0 ;
23088 PyObject
*swig_obj
[1] ;
23090 if (!args
) SWIG_fail
;
23091 swig_obj
[0] = args
;
23092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23093 if (!SWIG_IsOK(res1
)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (int)((wxDC
const *)arg1
)->MaxY();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_From_int(static_cast< int >(result
));
23110 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23111 PyObject
*resultobj
= 0;
23112 wxDC
*arg1
= (wxDC
*) 0 ;
23113 int *arg2
= (int *) 0 ;
23114 int *arg3
= (int *) 0 ;
23115 int *arg4
= (int *) 0 ;
23116 int *arg5
= (int *) 0 ;
23120 int res2
= SWIG_TMPOBJ
;
23122 int res3
= SWIG_TMPOBJ
;
23124 int res4
= SWIG_TMPOBJ
;
23126 int res5
= SWIG_TMPOBJ
;
23127 PyObject
*swig_obj
[1] ;
23133 if (!args
) SWIG_fail
;
23134 swig_obj
[0] = args
;
23135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23136 if (!SWIG_IsOK(res1
)) {
23137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_Py_Void();
23147 if (SWIG_IsTmpObj(res2
)) {
23148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23150 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23153 if (SWIG_IsTmpObj(res3
)) {
23154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23156 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23159 if (SWIG_IsTmpObj(res4
)) {
23160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23162 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23165 if (SWIG_IsTmpObj(res5
)) {
23166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23168 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23177 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23178 PyObject
*resultobj
= 0;
23179 wxDC
*arg1
= (wxDC
*) 0 ;
23180 wxLayoutDirection result
;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_From_int(static_cast< int >(result
));
23205 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 wxDC
*arg1
= (wxDC
*) 0 ;
23208 wxLayoutDirection arg2
;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char * kwnames
[] = {
23216 (char *) "self",(char *) "dir", NULL
23219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23226 if (!SWIG_IsOK(ecode2
)) {
23227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23229 arg2
= static_cast< wxLayoutDirection
>(val2
);
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 (arg1
)->SetLayoutDirection(arg2
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_Py_Void();
23243 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= 0;
23245 wxDC
*arg1
= (wxDC
*) 0 ;
23246 PyObject
*arg2
= (PyObject
*) 0 ;
23247 PyObject
*arg3
= (PyObject
*) 0 ;
23248 PyObject
*arg4
= (PyObject
*) 0 ;
23249 PyObject
*result
= 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 PyObject
* obj2
= 0 ;
23255 PyObject
* obj3
= 0 ;
23256 char * kwnames
[] = {
23257 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23262 if (!SWIG_IsOK(res1
)) {
23263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= result
;
23282 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
= 0;
23284 wxDC
*arg1
= (wxDC
*) 0 ;
23285 PyObject
*arg2
= (PyObject
*) 0 ;
23286 PyObject
*arg3
= (PyObject
*) 0 ;
23287 PyObject
*arg4
= (PyObject
*) 0 ;
23288 PyObject
*result
= 0 ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 PyObject
* obj2
= 0 ;
23294 PyObject
* obj3
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= result
;
23321 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
= 0;
23323 wxDC
*arg1
= (wxDC
*) 0 ;
23324 PyObject
*arg2
= (PyObject
*) 0 ;
23325 PyObject
*arg3
= (PyObject
*) 0 ;
23326 PyObject
*arg4
= (PyObject
*) 0 ;
23327 PyObject
*result
= 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 PyObject
* obj2
= 0 ;
23333 PyObject
* obj3
= 0 ;
23334 char * kwnames
[] = {
23335 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= result
;
23360 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
= 0;
23362 wxDC
*arg1
= (wxDC
*) 0 ;
23363 PyObject
*arg2
= (PyObject
*) 0 ;
23364 PyObject
*arg3
= (PyObject
*) 0 ;
23365 PyObject
*arg4
= (PyObject
*) 0 ;
23366 PyObject
*result
= 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 PyObject
* obj2
= 0 ;
23372 PyObject
* obj3
= 0 ;
23373 char * kwnames
[] = {
23374 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23379 if (!SWIG_IsOK(res1
)) {
23380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= result
;
23399 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
= 0;
23401 wxDC
*arg1
= (wxDC
*) 0 ;
23402 PyObject
*arg2
= (PyObject
*) 0 ;
23403 PyObject
*arg3
= (PyObject
*) 0 ;
23404 PyObject
*arg4
= (PyObject
*) 0 ;
23405 PyObject
*result
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 PyObject
* obj2
= 0 ;
23411 PyObject
* obj3
= 0 ;
23412 char * kwnames
[] = {
23413 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23418 if (!SWIG_IsOK(res1
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= result
;
23438 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
= 0;
23440 wxDC
*arg1
= (wxDC
*) 0 ;
23441 PyObject
*arg2
= (PyObject
*) 0 ;
23442 PyObject
*arg3
= (PyObject
*) 0 ;
23443 PyObject
*arg4
= (PyObject
*) 0 ;
23444 PyObject
*arg5
= (PyObject
*) 0 ;
23445 PyObject
*result
= 0 ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 PyObject
* obj2
= 0 ;
23451 PyObject
* obj3
= 0 ;
23452 PyObject
* obj4
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23459 if (!SWIG_IsOK(res1
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= result
;
23480 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23483 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23484 return SWIG_Py_Void();
23487 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
= 0;
23490 wxColour
*arg2
= 0 ;
23491 wxDCTextColourChanger
*result
= 0 ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char * kwnames
[] = {
23498 (char *) "dc",(char *) "col", NULL
23501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23527 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23528 PyObject
*resultobj
= 0;
23529 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23532 PyObject
*swig_obj
[1] ;
23534 if (!args
) SWIG_fail
;
23535 swig_obj
[0] = args
;
23536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23540 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= SWIG_Py_Void();
23555 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23558 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23559 return SWIG_Py_Void();
23562 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23563 return SWIG_Python_InitShadowInstance(args
);
23566 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
= 0;
23570 wxDCPenChanger
*result
= 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 char * kwnames
[] = {
23578 (char *) "dc",(char *) "pen", NULL
23581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23582 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23583 if (!SWIG_IsOK(res1
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23591 if (!SWIG_IsOK(res2
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23597 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23611 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23612 PyObject
*resultobj
= 0;
23613 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23616 PyObject
*swig_obj
[1] ;
23618 if (!args
) SWIG_fail
;
23619 swig_obj
[0] = args
;
23620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23624 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_Py_Void();
23639 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23642 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23643 return SWIG_Py_Void();
23646 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 return SWIG_Python_InitShadowInstance(args
);
23650 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= 0;
23653 wxBrush
*arg2
= 0 ;
23654 wxDCBrushChanger
*result
= 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char * kwnames
[] = {
23662 (char *) "dc",(char *) "brush", NULL
23665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23666 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23667 if (!SWIG_IsOK(res1
)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23675 if (!SWIG_IsOK(res2
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23681 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23695 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23696 PyObject
*resultobj
= 0;
23697 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23700 PyObject
*swig_obj
[1] ;
23702 if (!args
) SWIG_fail
;
23703 swig_obj
[0] = args
;
23704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23708 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_Py_Void();
23723 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23726 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23727 return SWIG_Py_Void();
23730 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 return SWIG_Python_InitShadowInstance(args
);
23734 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23735 PyObject
*resultobj
= 0;
23737 wxRegion
*arg2
= 0 ;
23738 wxDCClipper
*result
= 0 ;
23744 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23753 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23754 if (!SWIG_IsOK(res2
)) {
23755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23760 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23774 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23775 PyObject
*resultobj
= 0;
23778 wxDCClipper
*result
= 0 ;
23783 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23785 if (!SWIG_IsOK(res1
)) {
23786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23794 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23809 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23810 PyObject
*resultobj
= 0;
23816 wxDCClipper
*result
= 0 ;
23828 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23830 if (!SWIG_IsOK(res1
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23837 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23838 if (!SWIG_IsOK(ecode2
)) {
23839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23841 arg2
= static_cast< int >(val2
);
23842 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23843 if (!SWIG_IsOK(ecode3
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23846 arg3
= static_cast< int >(val3
);
23847 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23848 if (!SWIG_IsOK(ecode4
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23851 arg4
= static_cast< int >(val4
);
23852 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23853 if (!SWIG_IsOK(ecode5
)) {
23854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23856 arg5
= static_cast< int >(val5
);
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23870 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23879 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23880 _v
= SWIG_CheckState(res
);
23882 if (!_v
) goto check_1
;
23883 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23888 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23891 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23895 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23900 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23901 PyObject
*resultobj
= 0;
23902 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23905 PyObject
*swig_obj
[1] ;
23907 if (!args
) SWIG_fail
;
23908 swig_obj
[0] = args
;
23909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23910 if (!SWIG_IsOK(res1
)) {
23911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23913 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_Py_Void();
23928 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23931 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23932 return SWIG_Py_Void();
23935 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23936 return SWIG_Python_InitShadowInstance(args
);
23939 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23940 PyObject
*resultobj
= 0;
23941 wxScreenDC
*result
= 0 ;
23943 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23945 if (!wxPyCheckForApp()) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (wxScreenDC
*)new wxScreenDC();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23958 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23960 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23961 wxWindow
*arg2
= (wxWindow
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 char * kwnames
[] = {
23970 (char *) "self",(char *) "window", NULL
23973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23978 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23980 if (!SWIG_IsOK(res2
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23999 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24001 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24002 wxRect
*arg2
= (wxRect
*) NULL
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char * kwnames
[] = {
24011 (char *) "self",(char *) "rect", NULL
24014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24016 if (!SWIG_IsOK(res1
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24019 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24022 if (!SWIG_IsOK(res2
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24025 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24042 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24043 PyObject
*resultobj
= 0;
24044 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24048 PyObject
*swig_obj
[1] ;
24050 if (!args
) SWIG_fail
;
24051 swig_obj
[0] = args
;
24052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24056 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (bool)(arg1
)->EndDrawingOnTop();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24072 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24075 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24076 return SWIG_Py_Void();
24079 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24080 return SWIG_Python_InitShadowInstance(args
);
24083 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
= 0;
24085 wxWindow
*arg1
= (wxWindow
*) 0 ;
24086 wxWindowDC
*result
= 0 ;
24089 PyObject
* obj0
= 0 ;
24090 char * kwnames
[] = {
24091 (char *) "win", NULL
24094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24096 if (!SWIG_IsOK(res1
)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24101 if (!wxPyCheckForApp()) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24114 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24117 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24118 return SWIG_Py_Void();
24121 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24122 return SWIG_Python_InitShadowInstance(args
);
24125 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
= 0;
24127 wxWindow
*arg1
= (wxWindow
*) 0 ;
24128 wxClientDC
*result
= 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char * kwnames
[] = {
24133 (char *) "win", NULL
24136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24138 if (!SWIG_IsOK(res1
)) {
24139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24143 if (!wxPyCheckForApp()) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (wxClientDC
*)new wxClientDC(arg1
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24156 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24159 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24160 return SWIG_Py_Void();
24163 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 return SWIG_Python_InitShadowInstance(args
);
24167 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
= 0;
24169 wxWindow
*arg1
= (wxWindow
*) 0 ;
24170 wxPaintDC
*result
= 0 ;
24173 PyObject
* obj0
= 0 ;
24174 char * kwnames
[] = {
24175 (char *) "win", NULL
24178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24185 if (!wxPyCheckForApp()) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24198 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24202 return SWIG_Py_Void();
24205 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24206 return SWIG_Python_InitShadowInstance(args
);
24209 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
= 0;
24211 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24212 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24213 wxMemoryDC
*result
= 0 ;
24216 PyObject
* obj0
= 0 ;
24217 char * kwnames
[] = {
24218 (char *) "bitmap", NULL
24221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24223 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24224 if (!SWIG_IsOK(res1
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24230 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24233 if (!wxPyCheckForApp()) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24246 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= 0;
24248 wxDC
*arg1
= (wxDC
*) 0 ;
24249 wxMemoryDC
*result
= 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char * kwnames
[] = {
24254 (char *) "oldDC", NULL
24257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24264 if (!wxPyCheckForApp()) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24277 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24280 wxBitmap
*arg2
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "bitmap", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24296 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24298 if (!SWIG_IsOK(res2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 (arg1
)->SelectObject(*arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_Py_Void();
24318 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24321 wxBitmap
*arg2
= 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char * kwnames
[] = {
24329 (char *) "self",(char *) "bmp", NULL
24332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24337 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24339 if (!SWIG_IsOK(res2
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_Py_Void();
24359 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24362 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24363 return SWIG_Py_Void();
24366 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24367 return SWIG_Python_InitShadowInstance(args
);
24370 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24371 PyObject
*resultobj
= 0;
24372 wxDC
*arg1
= (wxDC
*) 0 ;
24373 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24374 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24375 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24376 wxBufferedDC
*result
= 0 ;
24384 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24391 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24392 if (!SWIG_IsOK(res2
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24398 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24401 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24402 if (!SWIG_IsOK(ecode3
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24405 arg3
= static_cast< int >(val3
);
24408 if (!wxPyCheckForApp()) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24421 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24422 PyObject
*resultobj
= 0;
24423 wxDC
*arg1
= (wxDC
*) 0 ;
24425 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24426 wxBufferedDC
*result
= 0 ;
24433 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24435 if (!SWIG_IsOK(res1
)) {
24436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24441 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24444 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24445 if (!SWIG_IsOK(ecode3
)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24448 arg3
= static_cast< int >(val3
);
24451 if (!wxPyCheckForApp()) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24464 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24468 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24470 if ((argc
>= 1) && (argc
<= 3)) {
24475 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24476 _v
= SWIG_CheckState(res
);
24478 if (!_v
) goto check_1
;
24480 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24484 if ((argc
>= 2) && (argc
<= 3)) {
24485 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24489 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24494 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24495 PyObject
*resultobj
= 0;
24496 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24499 PyObject
*swig_obj
[1] ;
24501 if (!args
) SWIG_fail
;
24502 swig_obj
[0] = args
;
24503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24504 if (!SWIG_IsOK(res1
)) {
24505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24507 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_Py_Void();
24522 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24523 PyObject
*resultobj
= 0;
24524 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24527 PyObject
*swig_obj
[1] ;
24529 if (!args
) SWIG_fail
;
24530 swig_obj
[0] = args
;
24531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24535 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_Py_Void();
24549 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
= 0;
24551 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 char * kwnames
[] = {
24560 (char *) "self",(char *) "style", NULL
24563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24565 if (!SWIG_IsOK(res1
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24568 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24570 if (!SWIG_IsOK(ecode2
)) {
24571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24573 arg2
= static_cast< int >(val2
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 (arg1
)->SetStyle(arg2
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_Py_Void();
24587 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24588 PyObject
*resultobj
= 0;
24589 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24593 PyObject
*swig_obj
[1] ;
24595 if (!args
) SWIG_fail
;
24596 swig_obj
[0] = args
;
24597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24598 if (!SWIG_IsOK(res1
)) {
24599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24601 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_From_int(static_cast< int >(result
));
24615 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24618 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24619 return SWIG_Py_Void();
24622 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24623 return SWIG_Python_InitShadowInstance(args
);
24626 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
= 0;
24628 wxWindow
*arg1
= (wxWindow
*) 0 ;
24629 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24630 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24631 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24632 wxBufferedPaintDC
*result
= 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 PyObject
* obj2
= 0 ;
24642 char * kwnames
[] = {
24643 (char *) "window",(char *) "buffer",(char *) "style", NULL
24646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24648 if (!SWIG_IsOK(res1
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24651 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24654 if (!SWIG_IsOK(res2
)) {
24655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24660 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24664 if (!SWIG_IsOK(ecode3
)) {
24665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24667 arg3
= static_cast< int >(val3
);
24670 if (!wxPyCheckForApp()) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24683 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24686 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24687 return SWIG_Py_Void();
24690 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24691 return SWIG_Python_InitShadowInstance(args
);
24694 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
= 0;
24696 wxWindow
*arg1
= (wxWindow
*) 0 ;
24697 wxAutoBufferedPaintDC
*result
= 0 ;
24700 PyObject
* obj0
= 0 ;
24701 char * kwnames
[] = {
24702 (char *) "win", NULL
24705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24724 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24727 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24728 return SWIG_Py_Void();
24731 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 return SWIG_Python_InitShadowInstance(args
);
24735 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
= 0;
24737 wxWindow
*arg1
= (wxWindow
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 char * kwnames
[] = {
24743 (char *) "window", NULL
24746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24748 if (!SWIG_IsOK(res1
)) {
24749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24767 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
= 0;
24771 wxMirrorDC
*result
= 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 char * kwnames
[] = {
24779 (char *) "dc",(char *) "mirror", NULL
24782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24783 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24784 if (!SWIG_IsOK(res1
)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24791 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24792 if (!SWIG_IsOK(ecode2
)) {
24793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24795 arg2
= static_cast< bool >(val2
);
24797 if (!wxPyCheckForApp()) SWIG_fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24810 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24813 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24814 return SWIG_Py_Void();
24817 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24818 return SWIG_Python_InitShadowInstance(args
);
24821 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
= 0;
24823 wxPrintData
*arg1
= 0 ;
24824 wxPostScriptDC
*result
= 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char * kwnames
[] = {
24829 (char *) "printData", NULL
24832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24833 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24834 if (!SWIG_IsOK(res1
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24840 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24842 if (!wxPyCheckForApp()) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24855 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24856 PyObject
*resultobj
= 0;
24857 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24858 wxPrintData
*result
= 0 ;
24861 PyObject
*swig_obj
[1] ;
24863 if (!args
) SWIG_fail
;
24864 swig_obj
[0] = args
;
24865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24869 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24874 result
= (wxPrintData
*) &_result_ref
;
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24886 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= 0;
24888 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24889 wxPrintData
*arg2
= 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char * kwnames
[] = {
24897 (char *) "self",(char *) "data", NULL
24900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24902 if (!SWIG_IsOK(res1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24905 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24907 if (!SWIG_IsOK(res2
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24913 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_Py_Void();
24927 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= 0;
24932 PyObject
* obj0
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "ppi", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24938 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24939 if (!SWIG_IsOK(ecode1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24942 arg1
= static_cast< int >(val1
);
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 wxPostScriptDC::SetResolution(arg1
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_Py_Void();
24956 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 PyObject
*resultobj
= 0;
24960 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (int)wxPostScriptDC::GetResolution();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_From_int(static_cast< int >(result
));
24974 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24977 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24978 return SWIG_Py_Void();
24981 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24982 return SWIG_Python_InitShadowInstance(args
);
24985 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
= 0;
24987 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24988 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24989 wxMetaFile
*result
= 0 ;
24990 bool temp1
= false ;
24991 PyObject
* obj0
= 0 ;
24992 char * kwnames
[] = {
24993 (char *) "filename", NULL
24996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24999 arg1
= wxString_in_helper(obj0
);
25000 if (arg1
== NULL
) SWIG_fail
;
25005 if (!wxPyCheckForApp()) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25026 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 PyObject
*resultobj
= 0;
25028 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25031 PyObject
*swig_obj
[1] ;
25033 if (!args
) SWIG_fail
;
25034 swig_obj
[0] = args
;
25035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25036 if (!SWIG_IsOK(res1
)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25039 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_Py_Void();
25054 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25055 PyObject
*resultobj
= 0;
25056 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25060 PyObject
*swig_obj
[1] ;
25062 if (!args
) SWIG_fail
;
25063 swig_obj
[0] = args
;
25064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25068 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= (bool)(arg1
)->IsOk();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25084 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= 0;
25086 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25087 int arg2
= (int) 0 ;
25088 int arg3
= (int) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 PyObject
* obj2
= 0 ;
25099 char * kwnames
[] = {
25100 (char *) "self",(char *) "width",(char *) "height", NULL
25103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25105 if (!SWIG_IsOK(res1
)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25108 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25111 if (!SWIG_IsOK(ecode2
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25114 arg2
= static_cast< int >(val2
);
25117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25118 if (!SWIG_IsOK(ecode3
)) {
25119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25121 arg3
= static_cast< int >(val3
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25138 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 PyObject
*resultobj
= 0;
25140 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25144 PyObject
*swig_obj
[1] ;
25146 if (!args
) SWIG_fail
;
25147 swig_obj
[0] = args
;
25148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25152 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (arg1
)->GetSize();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25166 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25167 PyObject
*resultobj
= 0;
25168 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25172 PyObject
*swig_obj
[1] ;
25174 if (!args
) SWIG_fail
;
25175 swig_obj
[0] = args
;
25176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25180 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (int)(arg1
)->GetWidth();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_From_int(static_cast< int >(result
));
25194 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25195 PyObject
*resultobj
= 0;
25196 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25200 PyObject
*swig_obj
[1] ;
25202 if (!args
) SWIG_fail
;
25203 swig_obj
[0] = args
;
25204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25205 if (!SWIG_IsOK(res1
)) {
25206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25208 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (int)(arg1
)->GetHeight();
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_From_int(static_cast< int >(result
));
25222 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25225 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25226 return SWIG_Py_Void();
25229 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25230 return SWIG_Python_InitShadowInstance(args
);
25233 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25236 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25237 int arg2
= (int) 0 ;
25238 int arg3
= (int) 0 ;
25239 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25240 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25241 wxMetaFileDC
*result
= 0 ;
25242 bool temp1
= false ;
25247 bool temp4
= false ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 PyObject
* obj2
= 0 ;
25251 PyObject
* obj3
= 0 ;
25252 char * kwnames
[] = {
25253 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25259 arg1
= wxString_in_helper(obj0
);
25260 if (arg1
== NULL
) SWIG_fail
;
25265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25266 if (!SWIG_IsOK(ecode2
)) {
25267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25269 arg2
= static_cast< int >(val2
);
25272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25273 if (!SWIG_IsOK(ecode3
)) {
25274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25276 arg3
= static_cast< int >(val3
);
25280 arg4
= wxString_in_helper(obj3
);
25281 if (arg4
== NULL
) SWIG_fail
;
25286 if (!wxPyCheckForApp()) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25315 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 PyObject
*resultobj
= 0;
25317 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25318 wxMetaFile
*result
= 0 ;
25321 PyObject
*swig_obj
[1] ;
25323 if (!args
) SWIG_fail
;
25324 swig_obj
[0] = args
;
25325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25329 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (wxMetaFile
*)(arg1
)->Close();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25343 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25346 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25347 return SWIG_Py_Void();
25350 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25351 return SWIG_Python_InitShadowInstance(args
);
25354 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
= 0;
25356 wxPrintData
*arg1
= 0 ;
25357 wxPrinterDC
*result
= 0 ;
25360 PyObject
* obj0
= 0 ;
25361 char * kwnames
[] = {
25362 (char *) "printData", NULL
25365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25366 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25373 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25375 if (!wxPyCheckForApp()) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25388 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25392 return SWIG_Py_Void();
25395 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25396 return SWIG_Python_InitShadowInstance(args
);
25399 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
= 0;
25401 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25402 wxGraphicsObject
*result
= 0 ;
25405 PyObject
* obj0
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "renderer", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25416 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25419 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25429 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25430 PyObject
*resultobj
= 0;
25431 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25434 PyObject
*swig_obj
[1] ;
25436 if (!args
) SWIG_fail
;
25437 swig_obj
[0] = args
;
25438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25439 if (!SWIG_IsOK(res1
)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25442 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_Py_Void();
25455 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25456 PyObject
*resultobj
= 0;
25457 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25461 PyObject
*swig_obj
[1] ;
25463 if (!args
) SWIG_fail
;
25464 swig_obj
[0] = args
;
25465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25469 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25471 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25472 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25483 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25484 PyObject
*resultobj
= 0;
25485 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25486 wxGraphicsRenderer
*result
= 0 ;
25489 PyObject
*swig_obj
[1] ;
25491 if (!args
) SWIG_fail
;
25492 swig_obj
[0] = args
;
25493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25497 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25499 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25509 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25512 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25513 return SWIG_Py_Void();
25516 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 return SWIG_Python_InitShadowInstance(args
);
25520 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 PyObject
*resultobj
= 0;
25522 wxGraphicsPen
*result
= 0 ;
25524 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25526 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25536 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25537 PyObject
*resultobj
= 0;
25538 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25541 PyObject
*swig_obj
[1] ;
25543 if (!args
) SWIG_fail
;
25544 swig_obj
[0] = args
;
25545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25546 if (!SWIG_IsOK(res1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25549 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_Py_Void();
25562 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25565 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25566 return SWIG_Py_Void();
25569 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25570 return SWIG_Python_InitShadowInstance(args
);
25573 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25574 PyObject
*resultobj
= 0;
25575 wxGraphicsBrush
*result
= 0 ;
25577 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25579 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25589 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25590 PyObject
*resultobj
= 0;
25591 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25594 PyObject
*swig_obj
[1] ;
25596 if (!args
) SWIG_fail
;
25597 swig_obj
[0] = args
;
25598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25602 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_Py_Void();
25615 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25618 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25619 return SWIG_Py_Void();
25622 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 return SWIG_Python_InitShadowInstance(args
);
25626 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25627 PyObject
*resultobj
= 0;
25628 wxGraphicsFont
*result
= 0 ;
25630 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25632 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25642 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25643 PyObject
*resultobj
= 0;
25644 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25647 PyObject
*swig_obj
[1] ;
25649 if (!args
) SWIG_fail
;
25650 swig_obj
[0] = args
;
25651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25655 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_Py_Void();
25668 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25671 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25672 return SWIG_Py_Void();
25675 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 return SWIG_Python_InitShadowInstance(args
);
25679 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 PyObject
*resultobj
= 0;
25681 wxGraphicsMatrix
*result
= 0 ;
25683 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25685 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25695 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25696 PyObject
*resultobj
= 0;
25697 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25700 PyObject
*swig_obj
[1] ;
25702 if (!args
) SWIG_fail
;
25703 swig_obj
[0] = args
;
25704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25708 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_Py_Void();
25721 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
= 0;
25723 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25724 wxGraphicsMatrix
*arg2
= 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char * kwnames
[] = {
25732 (char *) "self",(char *) "t", NULL
25735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25740 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25742 if (!SWIG_IsOK(res2
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25748 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25750 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_Py_Void();
25760 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
= 0;
25762 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25763 wxDouble arg2
= (wxDouble
) 1.0 ;
25764 wxDouble arg3
= (wxDouble
) 0.0 ;
25765 wxDouble arg4
= (wxDouble
) 0.0 ;
25766 wxDouble arg5
= (wxDouble
) 1.0 ;
25767 wxDouble arg6
= (wxDouble
) 0.0 ;
25768 wxDouble arg7
= (wxDouble
) 0.0 ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 PyObject
* obj2
= 0 ;
25786 PyObject
* obj3
= 0 ;
25787 PyObject
* obj4
= 0 ;
25788 PyObject
* obj5
= 0 ;
25789 PyObject
* obj6
= 0 ;
25790 char * kwnames
[] = {
25791 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25796 if (!SWIG_IsOK(res1
)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25799 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25801 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25802 if (!SWIG_IsOK(ecode2
)) {
25803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25805 arg2
= static_cast< wxDouble
>(val2
);
25808 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25809 if (!SWIG_IsOK(ecode3
)) {
25810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25812 arg3
= static_cast< wxDouble
>(val3
);
25815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25816 if (!SWIG_IsOK(ecode4
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25819 arg4
= static_cast< wxDouble
>(val4
);
25822 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25823 if (!SWIG_IsOK(ecode5
)) {
25824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25826 arg5
= static_cast< wxDouble
>(val5
);
25829 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25830 if (!SWIG_IsOK(ecode6
)) {
25831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25833 arg6
= static_cast< wxDouble
>(val6
);
25836 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25837 if (!SWIG_IsOK(ecode7
)) {
25838 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25840 arg7
= static_cast< wxDouble
>(val7
);
25843 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_Py_Void();
25853 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25854 PyObject
*resultobj
= 0;
25855 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25858 PyObject
*swig_obj
[1] ;
25860 if (!args
) SWIG_fail
;
25861 swig_obj
[0] = args
;
25862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25866 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= SWIG_Py_Void();
25878 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
= 0;
25880 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25881 wxGraphicsMatrix
*arg2
= 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char * kwnames
[] = {
25890 (char *) "self",(char *) "t", NULL
25893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25898 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25900 if (!SWIG_IsOK(res2
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25906 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25908 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25920 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25921 PyObject
*resultobj
= 0;
25922 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25926 PyObject
*swig_obj
[1] ;
25928 if (!args
) SWIG_fail
;
25929 swig_obj
[0] = args
;
25930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25931 if (!SWIG_IsOK(res1
)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25934 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25936 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25937 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25948 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
= 0;
25950 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 PyObject
* obj2
= 0 ;
25962 char * kwnames
[] = {
25963 (char *) "self",(char *) "dx",(char *) "dy", NULL
25966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25971 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25972 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25973 if (!SWIG_IsOK(ecode2
)) {
25974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25976 arg2
= static_cast< wxDouble
>(val2
);
25977 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25978 if (!SWIG_IsOK(ecode3
)) {
25979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25981 arg3
= static_cast< wxDouble
>(val3
);
25983 (arg1
)->Translate(arg2
,arg3
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_Py_Void();
25993 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
= 0;
25995 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 PyObject
* obj2
= 0 ;
26007 char * kwnames
[] = {
26008 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26013 if (!SWIG_IsOK(res1
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26016 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26017 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26018 if (!SWIG_IsOK(ecode2
)) {
26019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26021 arg2
= static_cast< wxDouble
>(val2
);
26022 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26023 if (!SWIG_IsOK(ecode3
)) {
26024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26026 arg3
= static_cast< wxDouble
>(val3
);
26028 (arg1
)->Scale(arg2
,arg3
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_Py_Void();
26038 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
= 0;
26040 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 char * kwnames
[] = {
26049 (char *) "self",(char *) "angle", NULL
26052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26057 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26058 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26059 if (!SWIG_IsOK(ecode2
)) {
26060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26062 arg2
= static_cast< wxDouble
>(val2
);
26064 (arg1
)->Rotate(arg2
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= SWIG_Py_Void();
26074 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
= 0;
26076 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26077 wxDouble
*arg2
= (wxDouble
*) 0 ;
26078 wxDouble
*arg3
= (wxDouble
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 PyObject
* obj2
= 0 ;
26088 char * kwnames
[] = {
26089 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26094 if (!SWIG_IsOK(res1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26097 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26098 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26100 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26101 if (!SWIG_IsOK(ecode
)) {
26102 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26104 temp2
= static_cast< wxDouble
>(val
);
26106 res2
= SWIG_AddTmpMask(ecode
);
26108 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26110 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26111 if (!SWIG_IsOK(ecode
)) {
26112 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26114 temp3
= static_cast< wxDouble
>(val
);
26116 res3
= SWIG_AddTmpMask(ecode
);
26119 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26123 if (SWIG_IsTmpObj(res2
)) {
26124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26126 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26129 if (SWIG_IsTmpObj(res3
)) {
26130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26132 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26141 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
= 0;
26143 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26144 wxDouble
*arg2
= (wxDouble
*) 0 ;
26145 wxDouble
*arg3
= (wxDouble
*) 0 ;
26152 PyObject
* obj0
= 0 ;
26153 PyObject
* obj1
= 0 ;
26154 PyObject
* obj2
= 0 ;
26155 char * kwnames
[] = {
26156 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26161 if (!SWIG_IsOK(res1
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26164 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26165 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26167 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26168 if (!SWIG_IsOK(ecode
)) {
26169 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26171 temp2
= static_cast< wxDouble
>(val
);
26173 res2
= SWIG_AddTmpMask(ecode
);
26175 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26177 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26178 if (!SWIG_IsOK(ecode
)) {
26179 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26181 temp3
= static_cast< wxDouble
>(val
);
26183 res3
= SWIG_AddTmpMask(ecode
);
26186 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_Py_Void();
26190 if (SWIG_IsTmpObj(res2
)) {
26191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26193 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26196 if (SWIG_IsTmpObj(res3
)) {
26197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26199 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26208 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26209 PyObject
*resultobj
= 0;
26210 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26214 PyObject
*swig_obj
[1] ;
26216 if (!args
) SWIG_fail
;
26217 swig_obj
[0] = args
;
26218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26219 if (!SWIG_IsOK(res1
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26222 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26224 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26234 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26237 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26238 return SWIG_Py_Void();
26241 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26242 return SWIG_Python_InitShadowInstance(args
);
26245 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26246 PyObject
*resultobj
= 0;
26247 wxGraphicsPath
*result
= 0 ;
26249 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26251 if (!wxPyCheckForApp()) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26264 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26265 PyObject
*resultobj
= 0;
26266 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26269 PyObject
*swig_obj
[1] ;
26271 if (!args
) SWIG_fail
;
26272 swig_obj
[0] = args
;
26273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26277 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_Py_Void();
26290 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26291 PyObject
*resultobj
= 0;
26292 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26302 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26304 if (!SWIG_IsOK(res1
)) {
26305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26307 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26308 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26309 if (!SWIG_IsOK(ecode2
)) {
26310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26312 arg2
= static_cast< wxDouble
>(val2
);
26313 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26314 if (!SWIG_IsOK(ecode3
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26317 arg3
= static_cast< wxDouble
>(val3
);
26319 (arg1
)->MoveToPoint(arg2
,arg3
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 resultobj
= SWIG_Py_Void();
26329 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26330 PyObject
*resultobj
= 0;
26331 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26332 wxPoint2D
*arg2
= 0 ;
26337 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26339 if (!SWIG_IsOK(res1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26342 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26345 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26348 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_Py_Void();
26358 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26362 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26365 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26368 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26372 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26377 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26378 PyObject
*resultobj
= 0;
26379 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26389 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26391 if (!SWIG_IsOK(res1
)) {
26392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26394 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26395 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26396 if (!SWIG_IsOK(ecode2
)) {
26397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26399 arg2
= static_cast< wxDouble
>(val2
);
26400 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26401 if (!SWIG_IsOK(ecode3
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26404 arg3
= static_cast< wxDouble
>(val3
);
26406 (arg1
)->AddLineToPoint(arg2
,arg3
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26417 PyObject
*resultobj
= 0;
26418 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26419 wxPoint2D
*arg2
= 0 ;
26424 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26429 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26432 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26435 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_Py_Void();
26445 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26449 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26452 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26455 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26459 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26464 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26465 PyObject
*resultobj
= 0;
26466 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26488 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26490 if (!SWIG_IsOK(res1
)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26493 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26494 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26495 if (!SWIG_IsOK(ecode2
)) {
26496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26498 arg2
= static_cast< wxDouble
>(val2
);
26499 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26500 if (!SWIG_IsOK(ecode3
)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26503 arg3
= static_cast< wxDouble
>(val3
);
26504 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26505 if (!SWIG_IsOK(ecode4
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26508 arg4
= static_cast< wxDouble
>(val4
);
26509 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26510 if (!SWIG_IsOK(ecode5
)) {
26511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26513 arg5
= static_cast< wxDouble
>(val5
);
26514 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26515 if (!SWIG_IsOK(ecode6
)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26518 arg6
= static_cast< wxDouble
>(val6
);
26519 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26520 if (!SWIG_IsOK(ecode7
)) {
26521 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26523 arg7
= static_cast< wxDouble
>(val7
);
26525 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26536 PyObject
*resultobj
= 0;
26537 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26538 wxPoint2D
*arg2
= 0 ;
26539 wxPoint2D
*arg3
= 0 ;
26540 wxPoint2D
*arg4
= 0 ;
26547 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26549 if (!SWIG_IsOK(res1
)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26552 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26555 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26559 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26563 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26566 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_Py_Void();
26576 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26580 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26583 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26586 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26590 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26595 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26598 wxGraphicsPath
*arg2
= 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "path", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26614 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26616 if (!SWIG_IsOK(res2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26622 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26624 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_Py_Void();
26634 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26635 PyObject
*resultobj
= 0;
26636 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26639 PyObject
*swig_obj
[1] ;
26641 if (!args
) SWIG_fail
;
26642 swig_obj
[0] = args
;
26643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26644 if (!SWIG_IsOK(res1
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26647 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26649 (arg1
)->CloseSubpath();
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_Py_Void();
26659 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26660 PyObject
*resultobj
= 0;
26661 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26665 PyObject
*swig_obj
[1] ;
26667 if (!args
) SWIG_fail
;
26668 swig_obj
[0] = args
;
26669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26673 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26675 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26685 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26686 PyObject
*resultobj
= 0;
26687 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26709 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26714 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26715 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26716 if (!SWIG_IsOK(ecode2
)) {
26717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26719 arg2
= static_cast< wxDouble
>(val2
);
26720 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26721 if (!SWIG_IsOK(ecode3
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26724 arg3
= static_cast< wxDouble
>(val3
);
26725 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26726 if (!SWIG_IsOK(ecode4
)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26729 arg4
= static_cast< wxDouble
>(val4
);
26730 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26731 if (!SWIG_IsOK(ecode5
)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26734 arg5
= static_cast< wxDouble
>(val5
);
26735 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26736 if (!SWIG_IsOK(ecode6
)) {
26737 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26739 arg6
= static_cast< wxDouble
>(val6
);
26740 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26741 if (!SWIG_IsOK(ecode7
)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26744 arg7
= static_cast< bool >(val7
);
26746 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_Py_Void();
26756 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26757 PyObject
*resultobj
= 0;
26758 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26759 wxPoint2D
*arg2
= 0 ;
26776 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26778 if (!SWIG_IsOK(res1
)) {
26779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26781 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26784 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26786 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26787 if (!SWIG_IsOK(ecode3
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26790 arg3
= static_cast< wxDouble
>(val3
);
26791 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26792 if (!SWIG_IsOK(ecode4
)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26795 arg4
= static_cast< wxDouble
>(val4
);
26796 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26797 if (!SWIG_IsOK(ecode5
)) {
26798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26800 arg5
= static_cast< wxDouble
>(val5
);
26801 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26802 if (!SWIG_IsOK(ecode6
)) {
26803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26805 arg6
= static_cast< bool >(val6
);
26807 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_Py_Void();
26817 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26821 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26824 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26827 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26831 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26836 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
= 0;
26838 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 PyObject
* obj3
= 0 ;
26857 PyObject
* obj4
= 0 ;
26858 char * kwnames
[] = {
26859 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26867 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26868 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26869 if (!SWIG_IsOK(ecode2
)) {
26870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26872 arg2
= static_cast< wxDouble
>(val2
);
26873 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26874 if (!SWIG_IsOK(ecode3
)) {
26875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26877 arg3
= static_cast< wxDouble
>(val3
);
26878 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26879 if (!SWIG_IsOK(ecode4
)) {
26880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26882 arg4
= static_cast< wxDouble
>(val4
);
26883 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26884 if (!SWIG_IsOK(ecode5
)) {
26885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26887 arg5
= static_cast< wxDouble
>(val5
);
26889 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_Py_Void();
26899 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
= 0;
26901 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 PyObject
* obj2
= 0 ;
26919 PyObject
* obj3
= 0 ;
26920 PyObject
* obj4
= 0 ;
26921 char * kwnames
[] = {
26922 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26927 if (!SWIG_IsOK(res1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26930 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26931 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26932 if (!SWIG_IsOK(ecode2
)) {
26933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26935 arg2
= static_cast< wxDouble
>(val2
);
26936 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26937 if (!SWIG_IsOK(ecode3
)) {
26938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26940 arg3
= static_cast< wxDouble
>(val3
);
26941 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26942 if (!SWIG_IsOK(ecode4
)) {
26943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26945 arg4
= static_cast< wxDouble
>(val4
);
26946 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26947 if (!SWIG_IsOK(ecode5
)) {
26948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26950 arg5
= static_cast< wxDouble
>(val5
);
26952 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_Py_Void();
26962 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
= 0;
26964 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26976 PyObject
* obj0
= 0 ;
26977 PyObject
* obj1
= 0 ;
26978 PyObject
* obj2
= 0 ;
26979 PyObject
* obj3
= 0 ;
26980 char * kwnames
[] = {
26981 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26986 if (!SWIG_IsOK(res1
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26989 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26990 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26991 if (!SWIG_IsOK(ecode2
)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26994 arg2
= static_cast< wxDouble
>(val2
);
26995 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26996 if (!SWIG_IsOK(ecode3
)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26999 arg3
= static_cast< wxDouble
>(val3
);
27000 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27001 if (!SWIG_IsOK(ecode4
)) {
27002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27004 arg4
= static_cast< wxDouble
>(val4
);
27006 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
= 0;
27018 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 PyObject
* obj2
= 0 ;
27039 PyObject
* obj3
= 0 ;
27040 PyObject
* obj4
= 0 ;
27041 PyObject
* obj5
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27051 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27052 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27053 if (!SWIG_IsOK(ecode2
)) {
27054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27056 arg2
= static_cast< wxDouble
>(val2
);
27057 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27058 if (!SWIG_IsOK(ecode3
)) {
27059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27061 arg3
= static_cast< wxDouble
>(val3
);
27062 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27063 if (!SWIG_IsOK(ecode4
)) {
27064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27066 arg4
= static_cast< wxDouble
>(val4
);
27067 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27068 if (!SWIG_IsOK(ecode5
)) {
27069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27071 arg5
= static_cast< wxDouble
>(val5
);
27072 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27073 if (!SWIG_IsOK(ecode6
)) {
27074 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27076 arg6
= static_cast< wxDouble
>(val6
);
27078 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= SWIG_Py_Void();
27088 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
= 0;
27090 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 PyObject
* obj2
= 0 ;
27108 PyObject
* obj3
= 0 ;
27109 PyObject
* obj4
= 0 ;
27110 char * kwnames
[] = {
27111 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27119 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27120 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27121 if (!SWIG_IsOK(ecode2
)) {
27122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27124 arg2
= static_cast< wxDouble
>(val2
);
27125 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27126 if (!SWIG_IsOK(ecode3
)) {
27127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27129 arg3
= static_cast< wxDouble
>(val3
);
27130 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27131 if (!SWIG_IsOK(ecode4
)) {
27132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27134 arg4
= static_cast< wxDouble
>(val4
);
27135 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27136 if (!SWIG_IsOK(ecode5
)) {
27137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27139 arg5
= static_cast< wxDouble
>(val5
);
27141 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_Py_Void();
27151 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
= 0;
27153 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 PyObject
* obj2
= 0 ;
27174 PyObject
* obj3
= 0 ;
27175 PyObject
* obj4
= 0 ;
27176 PyObject
* obj5
= 0 ;
27177 char * kwnames
[] = {
27178 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27186 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27187 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27188 if (!SWIG_IsOK(ecode2
)) {
27189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27191 arg2
= static_cast< wxDouble
>(val2
);
27192 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27193 if (!SWIG_IsOK(ecode3
)) {
27194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27196 arg3
= static_cast< wxDouble
>(val3
);
27197 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27198 if (!SWIG_IsOK(ecode4
)) {
27199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27201 arg4
= static_cast< wxDouble
>(val4
);
27202 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27203 if (!SWIG_IsOK(ecode5
)) {
27204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27206 arg5
= static_cast< wxDouble
>(val5
);
27207 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27208 if (!SWIG_IsOK(ecode6
)) {
27209 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27211 arg6
= static_cast< wxDouble
>(val6
);
27213 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_Py_Void();
27223 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27224 PyObject
*resultobj
= 0;
27225 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27229 PyObject
*swig_obj
[1] ;
27231 if (!args
) SWIG_fail
;
27232 swig_obj
[0] = args
;
27233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27237 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27239 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27249 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
= 0;
27251 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27252 void *arg2
= (void *) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 PyObject
* obj1
= 0 ;
27258 char * kwnames
[] = {
27259 (char *) "self",(char *) "p", NULL
27262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27264 if (!SWIG_IsOK(res1
)) {
27265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27267 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27268 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27269 if (!SWIG_IsOK(res2
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27273 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_Py_Void();
27283 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= 0;
27285 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27286 wxGraphicsMatrix
*arg2
= 0 ;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 char * kwnames
[] = {
27294 (char *) "self",(char *) "matrix", NULL
27297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27302 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27304 if (!SWIG_IsOK(res2
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27310 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27312 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= SWIG_Py_Void();
27322 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27323 PyObject
*resultobj
= 0;
27324 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27325 wxRect2DDouble result
;
27328 PyObject
*swig_obj
[1] ;
27330 if (!args
) SWIG_fail
;
27331 swig_obj
[0] = args
;
27332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27333 if (!SWIG_IsOK(res1
)) {
27334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27336 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27338 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27348 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27349 PyObject
*resultobj
= 0;
27350 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27353 int arg4
= (int) wxODDEVEN_RULE
;
27364 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27366 if (!SWIG_IsOK(res1
)) {
27367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27369 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27370 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27371 if (!SWIG_IsOK(ecode2
)) {
27372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27374 arg2
= static_cast< wxDouble
>(val2
);
27375 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27376 if (!SWIG_IsOK(ecode3
)) {
27377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27379 arg3
= static_cast< wxDouble
>(val3
);
27381 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27382 if (!SWIG_IsOK(ecode4
)) {
27383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27385 arg4
= static_cast< int >(val4
);
27388 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27400 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27401 PyObject
*resultobj
= 0;
27402 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27403 wxPoint2DDouble
*arg2
= 0 ;
27404 int arg3
= (int) wxODDEVEN_RULE
;
27413 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27418 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27419 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27420 if (!SWIG_IsOK(res2
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27426 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27428 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27429 if (!SWIG_IsOK(ecode3
)) {
27430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27432 arg3
= static_cast< int >(val3
);
27435 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27447 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27451 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27453 if ((argc
>= 2) && (argc
<= 3)) {
27456 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27457 _v
= SWIG_CheckState(res
);
27459 if (!_v
) goto check_1
;
27463 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27464 _v
= SWIG_CheckState(res
);
27467 if (!_v
) goto check_1
;
27469 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27473 if ((argc
>= 3) && (argc
<= 4)) {
27474 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27478 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27483 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27486 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27487 return SWIG_Py_Void();
27490 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 return SWIG_Python_InitShadowInstance(args
);
27494 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27495 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27500 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27501 PyObject
*pyobj
= 0;
27503 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27508 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27509 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27514 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27515 PyObject
*pyobj
= 0;
27517 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27522 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27523 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27528 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27529 PyObject
*pyobj
= 0;
27531 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27536 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27537 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27542 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27543 PyObject
*pyobj
= 0;
27545 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27550 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27551 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27556 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27557 PyObject
*pyobj
= 0;
27559 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27564 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27565 PyObject
*resultobj
= 0;
27566 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27569 PyObject
*swig_obj
[1] ;
27571 if (!args
) SWIG_fail
;
27572 swig_obj
[0] = args
;
27573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27577 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_Py_Void();
27590 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27591 PyObject
*resultobj
= 0;
27592 wxWindowDC
*arg1
= 0 ;
27593 wxGraphicsContext
*result
= 0 ;
27597 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27605 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27607 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27617 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27618 PyObject
*resultobj
= 0;
27619 wxWindow
*arg1
= (wxWindow
*) 0 ;
27620 wxGraphicsContext
*result
= 0 ;
27624 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27626 if (!SWIG_IsOK(res1
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27631 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27641 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27645 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27650 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27651 _v
= SWIG_CheckState(res
);
27653 if (!_v
) goto check_1
;
27654 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27659 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27663 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27668 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 PyObject
*resultobj
= 0;
27670 wxGraphicsContext
*result
= 0 ;
27672 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27674 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27684 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= 0;
27686 void *arg1
= (void *) 0 ;
27687 wxGraphicsContext
*result
= 0 ;
27689 PyObject
* obj0
= 0 ;
27690 char * kwnames
[] = {
27691 (char *) "context", NULL
27694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27695 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27700 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27710 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27711 PyObject
*resultobj
= 0;
27712 void *arg1
= (void *) 0 ;
27713 wxGraphicsContext
*result
= 0 ;
27715 PyObject
* obj0
= 0 ;
27716 char * kwnames
[] = {
27717 (char *) "window", NULL
27720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27726 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27736 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27737 PyObject
*resultobj
= 0;
27738 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27739 wxGraphicsPath result
;
27742 PyObject
*swig_obj
[1] ;
27744 if (!args
) SWIG_fail
;
27745 swig_obj
[0] = args
;
27746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27747 if (!SWIG_IsOK(res1
)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27750 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27752 result
= (arg1
)->CreatePath();
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27762 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
= 0;
27764 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27766 wxGraphicsPen result
;
27771 PyObject
* obj0
= 0 ;
27772 PyObject
* obj1
= 0 ;
27773 char * kwnames
[] = {
27774 (char *) "self",(char *) "pen", NULL
27777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27782 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27784 if (!SWIG_IsOK(res2
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27790 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27792 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27802 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
= 0;
27804 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27805 wxBrush
*arg2
= 0 ;
27806 wxGraphicsBrush result
;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 char * kwnames
[] = {
27814 (char *) "self",(char *) "brush", NULL
27817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27819 if (!SWIG_IsOK(res1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27822 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27824 if (!SWIG_IsOK(res2
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27830 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27832 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27842 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
= 0;
27844 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27849 wxColour
*arg6
= 0 ;
27850 wxColour
*arg7
= 0 ;
27851 wxGraphicsBrush result
;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 PyObject
* obj2
= 0 ;
27867 PyObject
* obj3
= 0 ;
27868 PyObject
* obj4
= 0 ;
27869 PyObject
* obj5
= 0 ;
27870 PyObject
* obj6
= 0 ;
27871 char * kwnames
[] = {
27872 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27880 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27881 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27882 if (!SWIG_IsOK(ecode2
)) {
27883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27885 arg2
= static_cast< wxDouble
>(val2
);
27886 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27887 if (!SWIG_IsOK(ecode3
)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27890 arg3
= static_cast< wxDouble
>(val3
);
27891 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27892 if (!SWIG_IsOK(ecode4
)) {
27893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27895 arg4
= static_cast< wxDouble
>(val4
);
27896 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27897 if (!SWIG_IsOK(ecode5
)) {
27898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27900 arg5
= static_cast< wxDouble
>(val5
);
27903 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27907 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27910 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27920 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
= 0;
27922 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27928 wxColour
*arg7
= 0 ;
27929 wxColour
*arg8
= 0 ;
27930 wxGraphicsBrush result
;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 PyObject
* obj2
= 0 ;
27948 PyObject
* obj3
= 0 ;
27949 PyObject
* obj4
= 0 ;
27950 PyObject
* obj5
= 0 ;
27951 PyObject
* obj6
= 0 ;
27952 PyObject
* obj7
= 0 ;
27953 char * kwnames
[] = {
27954 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27959 if (!SWIG_IsOK(res1
)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27962 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27963 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27964 if (!SWIG_IsOK(ecode2
)) {
27965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27967 arg2
= static_cast< wxDouble
>(val2
);
27968 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27969 if (!SWIG_IsOK(ecode3
)) {
27970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27972 arg3
= static_cast< wxDouble
>(val3
);
27973 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27974 if (!SWIG_IsOK(ecode4
)) {
27975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27977 arg4
= static_cast< wxDouble
>(val4
);
27978 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27979 if (!SWIG_IsOK(ecode5
)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27982 arg5
= static_cast< wxDouble
>(val5
);
27983 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27984 if (!SWIG_IsOK(ecode6
)) {
27985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27987 arg6
= static_cast< wxDouble
>(val6
);
27990 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27994 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27997 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28007 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
= 0;
28009 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28011 wxColour
const &arg3_defvalue
= *wxBLACK
;
28012 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28013 wxGraphicsFont result
;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 PyObject
* obj2
= 0 ;
28022 char * kwnames
[] = {
28023 (char *) "self",(char *) "font",(char *) "col", NULL
28026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28031 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28033 if (!SWIG_IsOK(res2
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28039 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28043 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28047 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28057 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
= 0;
28059 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28060 wxDouble arg2
= (wxDouble
) 1.0 ;
28061 wxDouble arg3
= (wxDouble
) 0.0 ;
28062 wxDouble arg4
= (wxDouble
) 0.0 ;
28063 wxDouble arg5
= (wxDouble
) 1.0 ;
28064 wxDouble arg6
= (wxDouble
) 0.0 ;
28065 wxDouble arg7
= (wxDouble
) 0.0 ;
28066 wxGraphicsMatrix result
;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 PyObject
* obj2
= 0 ;
28084 PyObject
* obj3
= 0 ;
28085 PyObject
* obj4
= 0 ;
28086 PyObject
* obj5
= 0 ;
28087 PyObject
* obj6
= 0 ;
28088 char * kwnames
[] = {
28089 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28094 if (!SWIG_IsOK(res1
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28097 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28099 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28100 if (!SWIG_IsOK(ecode2
)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28103 arg2
= static_cast< wxDouble
>(val2
);
28106 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28107 if (!SWIG_IsOK(ecode3
)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28110 arg3
= static_cast< wxDouble
>(val3
);
28113 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28114 if (!SWIG_IsOK(ecode4
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28117 arg4
= static_cast< wxDouble
>(val4
);
28120 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28121 if (!SWIG_IsOK(ecode5
)) {
28122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28124 arg5
= static_cast< wxDouble
>(val5
);
28127 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28128 if (!SWIG_IsOK(ecode6
)) {
28129 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28131 arg6
= static_cast< wxDouble
>(val6
);
28134 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28135 if (!SWIG_IsOK(ecode7
)) {
28136 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28138 arg7
= static_cast< wxDouble
>(val7
);
28141 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28151 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28156 PyObject
*swig_obj
[1] ;
28158 if (!args
) SWIG_fail
;
28159 swig_obj
[0] = args
;
28160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28164 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28166 (arg1
)->PushState();
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_Py_Void();
28176 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28177 PyObject
*resultobj
= 0;
28178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28181 PyObject
*swig_obj
[1] ;
28183 if (!args
) SWIG_fail
;
28184 swig_obj
[0] = args
;
28185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28189 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28191 (arg1
)->PopState();
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_Py_Void();
28201 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= 0;
28203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28204 wxRegion
*arg2
= 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char * kwnames
[] = {
28212 (char *) "self",(char *) "region", NULL
28215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28220 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28222 if (!SWIG_IsOK(res2
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28228 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28230 (arg1
)->Clip((wxRegion
const &)*arg2
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_Py_Void();
28240 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
= 0;
28242 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28257 PyObject
* obj0
= 0 ;
28258 PyObject
* obj1
= 0 ;
28259 PyObject
* obj2
= 0 ;
28260 PyObject
* obj3
= 0 ;
28261 PyObject
* obj4
= 0 ;
28262 char * kwnames
[] = {
28263 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28268 if (!SWIG_IsOK(res1
)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28271 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28272 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28273 if (!SWIG_IsOK(ecode2
)) {
28274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28276 arg2
= static_cast< wxDouble
>(val2
);
28277 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28278 if (!SWIG_IsOK(ecode3
)) {
28279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28281 arg3
= static_cast< wxDouble
>(val3
);
28282 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28283 if (!SWIG_IsOK(ecode4
)) {
28284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28286 arg4
= static_cast< wxDouble
>(val4
);
28287 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28288 if (!SWIG_IsOK(ecode5
)) {
28289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28291 arg5
= static_cast< wxDouble
>(val5
);
28293 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 resultobj
= SWIG_Py_Void();
28303 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28304 PyObject
*resultobj
= 0;
28305 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28308 PyObject
*swig_obj
[1] ;
28310 if (!args
) SWIG_fail
;
28311 swig_obj
[0] = args
;
28312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28313 if (!SWIG_IsOK(res1
)) {
28314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28316 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28318 (arg1
)->ResetClip();
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= SWIG_Py_Void();
28328 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28329 PyObject
*resultobj
= 0;
28330 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28334 PyObject
*swig_obj
[1] ;
28336 if (!args
) SWIG_fail
;
28337 swig_obj
[0] = args
;
28338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28344 result
= (void *)(arg1
)->GetNativeContext();
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28354 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
= 0;
28356 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 PyObject
* obj2
= 0 ;
28368 char * kwnames
[] = {
28369 (char *) "self",(char *) "dx",(char *) "dy", NULL
28372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28374 if (!SWIG_IsOK(res1
)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28377 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28378 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28379 if (!SWIG_IsOK(ecode2
)) {
28380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28382 arg2
= static_cast< wxDouble
>(val2
);
28383 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28384 if (!SWIG_IsOK(ecode3
)) {
28385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28387 arg3
= static_cast< wxDouble
>(val3
);
28389 (arg1
)->Translate(arg2
,arg3
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_Py_Void();
28399 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
= 0;
28401 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 PyObject
* obj2
= 0 ;
28413 char * kwnames
[] = {
28414 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28419 if (!SWIG_IsOK(res1
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28422 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28423 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28424 if (!SWIG_IsOK(ecode2
)) {
28425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28427 arg2
= static_cast< wxDouble
>(val2
);
28428 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28429 if (!SWIG_IsOK(ecode3
)) {
28430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28432 arg3
= static_cast< wxDouble
>(val3
);
28434 (arg1
)->Scale(arg2
,arg3
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_Py_Void();
28444 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
= 0;
28446 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char * kwnames
[] = {
28455 (char *) "self",(char *) "angle", NULL
28458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28463 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28464 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28465 if (!SWIG_IsOK(ecode2
)) {
28466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28468 arg2
= static_cast< wxDouble
>(val2
);
28470 (arg1
)->Rotate(arg2
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= SWIG_Py_Void();
28480 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
= 0;
28482 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28483 wxGraphicsMatrix
*arg2
= 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char * kwnames
[] = {
28491 (char *) "self",(char *) "matrix", NULL
28494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28496 if (!SWIG_IsOK(res1
)) {
28497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28499 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28501 if (!SWIG_IsOK(res2
)) {
28502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28507 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28509 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= SWIG_Py_Void();
28519 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
= 0;
28521 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28522 wxGraphicsMatrix
*arg2
= 0 ;
28527 PyObject
* obj0
= 0 ;
28528 PyObject
* obj1
= 0 ;
28529 char * kwnames
[] = {
28530 (char *) "self",(char *) "matrix", NULL
28533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28535 if (!SWIG_IsOK(res1
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28538 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28540 if (!SWIG_IsOK(res2
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28546 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28548 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_Py_Void();
28558 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28559 PyObject
*resultobj
= 0;
28560 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28561 wxGraphicsMatrix result
;
28564 PyObject
*swig_obj
[1] ;
28566 if (!args
) SWIG_fail
;
28567 swig_obj
[0] = args
;
28568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28569 if (!SWIG_IsOK(res1
)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28572 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28574 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28584 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28585 PyObject
*resultobj
= 0;
28586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28587 wxGraphicsPen
*arg2
= 0 ;
28593 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28598 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28599 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28600 if (!SWIG_IsOK(res2
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28606 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28608 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= SWIG_Py_Void();
28618 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28619 PyObject
*resultobj
= 0;
28620 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28627 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28633 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28634 if (!SWIG_IsOK(res2
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28640 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28642 (arg1
)->SetPen((wxPen
const &)*arg2
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_Py_Void();
28652 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28656 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28661 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28662 _v
= SWIG_CheckState(res
);
28664 if (!_v
) goto check_1
;
28665 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28670 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28674 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28679 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28680 PyObject
*resultobj
= 0;
28681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28682 wxGraphicsBrush
*arg2
= 0 ;
28688 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28690 if (!SWIG_IsOK(res1
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28693 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28694 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28695 if (!SWIG_IsOK(res2
)) {
28696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28701 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28703 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_Py_Void();
28713 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28714 PyObject
*resultobj
= 0;
28715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28716 wxBrush
*arg2
= 0 ;
28722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28727 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28728 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28729 if (!SWIG_IsOK(res2
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28735 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28737 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_Py_Void();
28747 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28751 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28756 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28757 _v
= SWIG_CheckState(res
);
28759 if (!_v
) goto check_1
;
28760 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28765 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28769 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28774 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28775 PyObject
*resultobj
= 0;
28776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28777 wxGraphicsFont
*arg2
= 0 ;
28783 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28789 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28790 if (!SWIG_IsOK(res2
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28796 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28798 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 resultobj
= SWIG_Py_Void();
28808 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28809 PyObject
*resultobj
= 0;
28810 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28812 wxColour
const &arg3_defvalue
= *wxBLACK
;
28813 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28820 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28822 if (!SWIG_IsOK(res1
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28825 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28826 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28827 if (!SWIG_IsOK(res2
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28833 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28837 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28841 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_Py_Void();
28851 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28855 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28860 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28861 _v
= SWIG_CheckState(res
);
28863 if (!_v
) goto check_1
;
28864 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28868 if ((argc
>= 2) && (argc
<= 3)) {
28869 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28873 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28878 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
= 0;
28880 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28881 wxGraphicsPath
*arg2
= 0 ;
28886 PyObject
* obj0
= 0 ;
28887 PyObject
* obj1
= 0 ;
28888 char * kwnames
[] = {
28889 (char *) "self",(char *) "path", NULL
28892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28894 if (!SWIG_IsOK(res1
)) {
28895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28897 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28899 if (!SWIG_IsOK(res2
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28905 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28907 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= SWIG_Py_Void();
28917 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
= 0;
28919 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28920 wxGraphicsPath
*arg2
= 0 ;
28921 int arg3
= (int) wxODDEVEN_RULE
;
28928 PyObject
* obj0
= 0 ;
28929 PyObject
* obj1
= 0 ;
28930 PyObject
* obj2
= 0 ;
28931 char * kwnames
[] = {
28932 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28940 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28942 if (!SWIG_IsOK(res2
)) {
28943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28948 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28951 if (!SWIG_IsOK(ecode3
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28954 arg3
= static_cast< int >(val3
);
28957 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_Py_Void();
28967 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
= 0;
28969 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28970 wxGraphicsPath
*arg2
= 0 ;
28971 int arg3
= (int) wxODDEVEN_RULE
;
28978 PyObject
* obj0
= 0 ;
28979 PyObject
* obj1
= 0 ;
28980 PyObject
* obj2
= 0 ;
28981 char * kwnames
[] = {
28982 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28990 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28992 if (!SWIG_IsOK(res2
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28998 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29001 if (!SWIG_IsOK(ecode3
)) {
29002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29004 arg3
= static_cast< int >(val3
);
29007 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_Py_Void();
29017 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
= 0;
29019 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29020 wxString
*arg2
= 0 ;
29023 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29024 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29027 bool temp2
= false ;
29034 PyObject
* obj0
= 0 ;
29035 PyObject
* obj1
= 0 ;
29036 PyObject
* obj2
= 0 ;
29037 PyObject
* obj3
= 0 ;
29038 PyObject
* obj4
= 0 ;
29039 char * kwnames
[] = {
29040 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29045 if (!SWIG_IsOK(res1
)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29050 arg2
= wxString_in_helper(obj1
);
29051 if (arg2
== NULL
) SWIG_fail
;
29054 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29055 if (!SWIG_IsOK(ecode3
)) {
29056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29058 arg3
= static_cast< wxDouble
>(val3
);
29059 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29060 if (!SWIG_IsOK(ecode4
)) {
29061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29063 arg4
= static_cast< wxDouble
>(val4
);
29065 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29066 if (!SWIG_IsOK(res5
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29072 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29075 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_Py_Void();
29093 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29096 wxString
*arg2
= 0 ;
29100 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29101 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29104 bool temp2
= false ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 PyObject
* obj3
= 0 ;
29117 PyObject
* obj4
= 0 ;
29118 PyObject
* obj5
= 0 ;
29119 char * kwnames
[] = {
29120 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29125 if (!SWIG_IsOK(res1
)) {
29126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29128 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29130 arg2
= wxString_in_helper(obj1
);
29131 if (arg2
== NULL
) SWIG_fail
;
29134 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29135 if (!SWIG_IsOK(ecode3
)) {
29136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29138 arg3
= static_cast< wxDouble
>(val3
);
29139 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29140 if (!SWIG_IsOK(ecode4
)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29143 arg4
= static_cast< wxDouble
>(val4
);
29144 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29145 if (!SWIG_IsOK(ecode5
)) {
29146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29148 arg5
= static_cast< wxDouble
>(val5
);
29150 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29151 if (!SWIG_IsOK(res6
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29157 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29160 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 resultobj
= SWIG_Py_Void();
29178 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
= 0;
29180 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29181 wxString
*arg2
= 0 ;
29182 wxDouble
*arg3
= (wxDouble
*) 0 ;
29183 wxDouble
*arg4
= (wxDouble
*) 0 ;
29184 wxDouble
*arg5
= (wxDouble
*) 0 ;
29185 wxDouble
*arg6
= (wxDouble
*) 0 ;
29188 bool temp2
= false ;
29190 int res3
= SWIG_TMPOBJ
;
29192 int res4
= SWIG_TMPOBJ
;
29194 int res5
= SWIG_TMPOBJ
;
29196 int res6
= SWIG_TMPOBJ
;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 char * kwnames
[] = {
29200 (char *) "self",(char *) "text", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29212 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29214 arg2
= wxString_in_helper(obj1
);
29215 if (arg2
== NULL
) SWIG_fail
;
29219 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= SWIG_Py_Void();
29223 if (SWIG_IsTmpObj(res3
)) {
29224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29229 if (SWIG_IsTmpObj(res4
)) {
29230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29232 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29235 if (SWIG_IsTmpObj(res5
)) {
29236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29238 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29241 if (SWIG_IsTmpObj(res6
)) {
29242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29244 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29261 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29264 wxString
*arg2
= 0 ;
29265 PyObject
*result
= 0 ;
29268 bool temp2
= false ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "text", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29282 arg2
= wxString_in_helper(obj1
);
29283 if (arg2
== NULL
) SWIG_fail
;
29287 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= result
;
29305 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
= 0;
29307 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29308 wxString
*arg2
= 0 ;
29309 wxArrayDouble result
;
29312 bool temp2
= false ;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 char * kwnames
[] = {
29316 (char *) "self",(char *) "text", NULL
29319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29321 if (!SWIG_IsOK(res1
)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29324 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29326 arg2
= wxString_in_helper(obj1
);
29327 if (arg2
== NULL
) SWIG_fail
;
29331 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= wxArrayDouble2PyList_helper(result
);
29351 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29354 wxBitmap
*arg2
= 0 ;
29371 PyObject
* obj0
= 0 ;
29372 PyObject
* obj1
= 0 ;
29373 PyObject
* obj2
= 0 ;
29374 PyObject
* obj3
= 0 ;
29375 PyObject
* obj4
= 0 ;
29376 PyObject
* obj5
= 0 ;
29377 char * kwnames
[] = {
29378 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29386 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29388 if (!SWIG_IsOK(res2
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29394 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29395 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29396 if (!SWIG_IsOK(ecode3
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29399 arg3
= static_cast< wxDouble
>(val3
);
29400 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29401 if (!SWIG_IsOK(ecode4
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29404 arg4
= static_cast< wxDouble
>(val4
);
29405 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29406 if (!SWIG_IsOK(ecode5
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29409 arg5
= static_cast< wxDouble
>(val5
);
29410 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29411 if (!SWIG_IsOK(ecode6
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29414 arg6
= static_cast< wxDouble
>(val6
);
29416 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= SWIG_Py_Void();
29426 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
= 0;
29428 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 PyObject
* obj2
= 0 ;
29449 PyObject
* obj3
= 0 ;
29450 PyObject
* obj4
= 0 ;
29451 PyObject
* obj5
= 0 ;
29452 char * kwnames
[] = {
29453 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29463 if (!SWIG_IsOK(res2
)) {
29464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29469 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29470 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29471 if (!SWIG_IsOK(ecode3
)) {
29472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29474 arg3
= static_cast< wxDouble
>(val3
);
29475 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29476 if (!SWIG_IsOK(ecode4
)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29479 arg4
= static_cast< wxDouble
>(val4
);
29480 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29481 if (!SWIG_IsOK(ecode5
)) {
29482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29484 arg5
= static_cast< wxDouble
>(val5
);
29485 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29486 if (!SWIG_IsOK(ecode6
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29489 arg6
= static_cast< wxDouble
>(val6
);
29491 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= SWIG_Py_Void();
29501 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
= 0;
29503 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 PyObject
* obj2
= 0 ;
29521 PyObject
* obj3
= 0 ;
29522 PyObject
* obj4
= 0 ;
29523 char * kwnames
[] = {
29524 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29532 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29533 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29534 if (!SWIG_IsOK(ecode2
)) {
29535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29537 arg2
= static_cast< wxDouble
>(val2
);
29538 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29539 if (!SWIG_IsOK(ecode3
)) {
29540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29542 arg3
= static_cast< wxDouble
>(val3
);
29543 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29544 if (!SWIG_IsOK(ecode4
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29547 arg4
= static_cast< wxDouble
>(val4
);
29548 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29549 if (!SWIG_IsOK(ecode5
)) {
29550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29552 arg5
= static_cast< wxDouble
>(val5
);
29554 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= SWIG_Py_Void();
29564 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
= 0;
29566 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29568 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 char * kwnames
[] = {
29574 (char *) "self",(char *) "points", NULL
29577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29582 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29584 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29585 if (arg3
== NULL
) SWIG_fail
;
29588 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 resultobj
= SWIG_Py_Void();
29593 if (arg3
) delete [] arg3
;
29598 if (arg3
) delete [] arg3
;
29604 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
= 0;
29606 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29607 PyObject
*arg2
= (PyObject
*) 0 ;
29608 PyObject
*arg3
= (PyObject
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 char * kwnames
[] = {
29615 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29623 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29627 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= SWIG_Py_Void();
29637 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
= 0;
29639 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29641 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29642 int arg4
= (int) wxODDEVEN_RULE
;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 PyObject
* obj2
= 0 ;
29650 char * kwnames
[] = {
29651 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29656 if (!SWIG_IsOK(res1
)) {
29657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29659 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29661 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29662 if (arg3
== NULL
) SWIG_fail
;
29665 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29666 if (!SWIG_IsOK(ecode4
)) {
29667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29669 arg4
= static_cast< int >(val4
);
29672 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= SWIG_Py_Void();
29677 if (arg3
) delete [] arg3
;
29682 if (arg3
) delete [] arg3
;
29688 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
= 0;
29690 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 PyObject
* obj2
= 0 ;
29708 PyObject
* obj3
= 0 ;
29709 PyObject
* obj4
= 0 ;
29710 char * kwnames
[] = {
29711 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29716 if (!SWIG_IsOK(res1
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29719 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29720 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29721 if (!SWIG_IsOK(ecode2
)) {
29722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29724 arg2
= static_cast< wxDouble
>(val2
);
29725 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29726 if (!SWIG_IsOK(ecode3
)) {
29727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29729 arg3
= static_cast< wxDouble
>(val3
);
29730 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29731 if (!SWIG_IsOK(ecode4
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29734 arg4
= static_cast< wxDouble
>(val4
);
29735 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29736 if (!SWIG_IsOK(ecode5
)) {
29737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29739 arg5
= static_cast< wxDouble
>(val5
);
29741 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= SWIG_Py_Void();
29751 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 PyObject
* obj2
= 0 ;
29771 PyObject
* obj3
= 0 ;
29772 PyObject
* obj4
= 0 ;
29773 char * kwnames
[] = {
29774 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29782 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29783 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29784 if (!SWIG_IsOK(ecode2
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29787 arg2
= static_cast< wxDouble
>(val2
);
29788 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29789 if (!SWIG_IsOK(ecode3
)) {
29790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29792 arg3
= static_cast< wxDouble
>(val3
);
29793 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29794 if (!SWIG_IsOK(ecode4
)) {
29795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29797 arg4
= static_cast< wxDouble
>(val4
);
29798 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29799 if (!SWIG_IsOK(ecode5
)) {
29800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29802 arg5
= static_cast< wxDouble
>(val5
);
29804 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_Py_Void();
29814 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
= 0;
29816 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 PyObject
* obj2
= 0 ;
29837 PyObject
* obj3
= 0 ;
29838 PyObject
* obj4
= 0 ;
29839 PyObject
* obj5
= 0 ;
29840 char * kwnames
[] = {
29841 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29846 if (!SWIG_IsOK(res1
)) {
29847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29849 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29850 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29851 if (!SWIG_IsOK(ecode2
)) {
29852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29854 arg2
= static_cast< wxDouble
>(val2
);
29855 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29856 if (!SWIG_IsOK(ecode3
)) {
29857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29859 arg3
= static_cast< wxDouble
>(val3
);
29860 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29861 if (!SWIG_IsOK(ecode4
)) {
29862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29864 arg4
= static_cast< wxDouble
>(val4
);
29865 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29866 if (!SWIG_IsOK(ecode5
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29869 arg5
= static_cast< wxDouble
>(val5
);
29870 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29871 if (!SWIG_IsOK(ecode6
)) {
29872 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29874 arg6
= static_cast< wxDouble
>(val6
);
29876 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= SWIG_Py_Void();
29886 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29887 PyObject
*resultobj
= 0;
29888 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29892 PyObject
*swig_obj
[1] ;
29894 if (!args
) SWIG_fail
;
29895 swig_obj
[0] = args
;
29896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29897 if (!SWIG_IsOK(res1
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29900 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29902 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29903 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29914 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29917 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29918 return SWIG_Py_Void();
29921 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29922 PyObject
*resultobj
= 0;
29923 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29926 PyObject
*swig_obj
[1] ;
29928 if (!args
) SWIG_fail
;
29929 swig_obj
[0] = args
;
29930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29934 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_Py_Void();
29947 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29948 PyObject
*resultobj
= 0;
29949 wxGraphicsRenderer
*result
= 0 ;
29951 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29953 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29963 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29964 PyObject
*resultobj
= 0;
29965 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29966 wxWindowDC
*arg2
= 0 ;
29967 wxGraphicsContext
*result
= 0 ;
29973 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29978 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29979 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29980 if (!SWIG_IsOK(res2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29986 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29988 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29998 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29999 PyObject
*resultobj
= 0;
30000 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30001 wxWindow
*arg2
= (wxWindow
*) 0 ;
30002 wxGraphicsContext
*result
= 0 ;
30008 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30010 if (!SWIG_IsOK(res1
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30013 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30014 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30015 if (!SWIG_IsOK(res2
)) {
30016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30020 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30030 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30034 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30039 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30040 _v
= SWIG_CheckState(res
);
30042 if (!_v
) goto check_1
;
30043 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30048 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30052 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30057 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30058 PyObject
*resultobj
= 0;
30059 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30060 wxGraphicsContext
*result
= 0 ;
30063 PyObject
*swig_obj
[1] ;
30065 if (!args
) SWIG_fail
;
30066 swig_obj
[0] = args
;
30067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30068 if (!SWIG_IsOK(res1
)) {
30069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30071 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30073 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30083 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
= 0;
30085 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30086 void *arg2
= (void *) 0 ;
30087 wxGraphicsContext
*result
= 0 ;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 char * kwnames
[] = {
30094 (char *) "self",(char *) "context", NULL
30097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30099 if (!SWIG_IsOK(res1
)) {
30100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30102 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30103 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30104 if (!SWIG_IsOK(res2
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30108 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30118 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30119 PyObject
*resultobj
= 0;
30120 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30121 void *arg2
= (void *) 0 ;
30122 wxGraphicsContext
*result
= 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 char * kwnames
[] = {
30129 (char *) "self",(char *) "window", NULL
30132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30134 if (!SWIG_IsOK(res1
)) {
30135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30137 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30138 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30139 if (!SWIG_IsOK(res2
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30143 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30153 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30154 PyObject
*resultobj
= 0;
30155 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30156 wxGraphicsPath result
;
30159 PyObject
*swig_obj
[1] ;
30161 if (!args
) SWIG_fail
;
30162 swig_obj
[0] = args
;
30163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30164 if (!SWIG_IsOK(res1
)) {
30165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30167 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30169 result
= (arg1
)->CreatePath();
30170 if (PyErr_Occurred()) SWIG_fail
;
30172 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30179 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
= 0;
30181 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30182 wxDouble arg2
= (wxDouble
) 1.0 ;
30183 wxDouble arg3
= (wxDouble
) 0.0 ;
30184 wxDouble arg4
= (wxDouble
) 0.0 ;
30185 wxDouble arg5
= (wxDouble
) 1.0 ;
30186 wxDouble arg6
= (wxDouble
) 0.0 ;
30187 wxDouble arg7
= (wxDouble
) 0.0 ;
30188 wxGraphicsMatrix result
;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 PyObject
* obj2
= 0 ;
30206 PyObject
* obj3
= 0 ;
30207 PyObject
* obj4
= 0 ;
30208 PyObject
* obj5
= 0 ;
30209 PyObject
* obj6
= 0 ;
30210 char * kwnames
[] = {
30211 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30216 if (!SWIG_IsOK(res1
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30219 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30221 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30222 if (!SWIG_IsOK(ecode2
)) {
30223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30225 arg2
= static_cast< wxDouble
>(val2
);
30228 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30229 if (!SWIG_IsOK(ecode3
)) {
30230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30232 arg3
= static_cast< wxDouble
>(val3
);
30235 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30236 if (!SWIG_IsOK(ecode4
)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30239 arg4
= static_cast< wxDouble
>(val4
);
30242 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30243 if (!SWIG_IsOK(ecode5
)) {
30244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30246 arg5
= static_cast< wxDouble
>(val5
);
30249 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30250 if (!SWIG_IsOK(ecode6
)) {
30251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30253 arg6
= static_cast< wxDouble
>(val6
);
30256 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30257 if (!SWIG_IsOK(ecode7
)) {
30258 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30260 arg7
= static_cast< wxDouble
>(val7
);
30263 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30273 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
= 0;
30275 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30277 wxGraphicsPen result
;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "pen", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30293 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30295 if (!SWIG_IsOK(res2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30301 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30303 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30313 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
= 0;
30315 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30316 wxBrush
*arg2
= 0 ;
30317 wxGraphicsBrush result
;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 char * kwnames
[] = {
30325 (char *) "self",(char *) "brush", NULL
30328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30333 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30335 if (!SWIG_IsOK(res2
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30341 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30343 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30353 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
= 0;
30355 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30360 wxColour
*arg6
= 0 ;
30361 wxColour
*arg7
= 0 ;
30362 wxGraphicsBrush result
;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 PyObject
* obj2
= 0 ;
30378 PyObject
* obj3
= 0 ;
30379 PyObject
* obj4
= 0 ;
30380 PyObject
* obj5
= 0 ;
30381 PyObject
* obj6
= 0 ;
30382 char * kwnames
[] = {
30383 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30388 if (!SWIG_IsOK(res1
)) {
30389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30391 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30392 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30393 if (!SWIG_IsOK(ecode2
)) {
30394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30396 arg2
= static_cast< wxDouble
>(val2
);
30397 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30398 if (!SWIG_IsOK(ecode3
)) {
30399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30401 arg3
= static_cast< wxDouble
>(val3
);
30402 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30403 if (!SWIG_IsOK(ecode4
)) {
30404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30406 arg4
= static_cast< wxDouble
>(val4
);
30407 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30408 if (!SWIG_IsOK(ecode5
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30411 arg5
= static_cast< wxDouble
>(val5
);
30414 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30418 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30421 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30431 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
= 0;
30433 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30439 wxColour
*arg7
= 0 ;
30440 wxColour
*arg8
= 0 ;
30441 wxGraphicsBrush result
;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 PyObject
* obj2
= 0 ;
30459 PyObject
* obj3
= 0 ;
30460 PyObject
* obj4
= 0 ;
30461 PyObject
* obj5
= 0 ;
30462 PyObject
* obj6
= 0 ;
30463 PyObject
* obj7
= 0 ;
30464 char * kwnames
[] = {
30465 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30473 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30474 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30475 if (!SWIG_IsOK(ecode2
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30478 arg2
= static_cast< wxDouble
>(val2
);
30479 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30480 if (!SWIG_IsOK(ecode3
)) {
30481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30483 arg3
= static_cast< wxDouble
>(val3
);
30484 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30485 if (!SWIG_IsOK(ecode4
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30488 arg4
= static_cast< wxDouble
>(val4
);
30489 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30490 if (!SWIG_IsOK(ecode5
)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30493 arg5
= static_cast< wxDouble
>(val5
);
30494 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30495 if (!SWIG_IsOK(ecode6
)) {
30496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30498 arg6
= static_cast< wxDouble
>(val6
);
30501 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30505 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30508 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30518 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
= 0;
30520 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30522 wxColour
const &arg3_defvalue
= *wxBLACK
;
30523 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30524 wxGraphicsFont result
;
30530 PyObject
* obj0
= 0 ;
30531 PyObject
* obj1
= 0 ;
30532 PyObject
* obj2
= 0 ;
30533 char * kwnames
[] = {
30534 (char *) "self",(char *) "font",(char *) "col", NULL
30537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30542 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30544 if (!SWIG_IsOK(res2
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30550 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30554 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30558 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30568 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30571 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30572 return SWIG_Py_Void();
30575 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30576 PyObject
*resultobj
= 0;
30577 wxWindowDC
*arg1
= 0 ;
30578 wxGCDC
*result
= 0 ;
30582 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30584 if (!SWIG_IsOK(res1
)) {
30585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30590 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30592 if (!wxPyCheckForApp()) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30605 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30606 PyObject
*resultobj
= 0;
30607 wxWindow
*arg1
= (wxWindow
*) 0 ;
30608 wxGCDC
*result
= 0 ;
30612 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30614 if (!SWIG_IsOK(res1
)) {
30615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30619 if (!wxPyCheckForApp()) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (wxGCDC
*)new wxGCDC(arg1
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30632 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30636 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30641 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30642 _v
= SWIG_CheckState(res
);
30644 if (!_v
) goto check_1
;
30645 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30650 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30654 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30659 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30660 PyObject
*resultobj
= 0;
30661 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30664 PyObject
*swig_obj
[1] ;
30666 if (!args
) SWIG_fail
;
30667 swig_obj
[0] = args
;
30668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30669 if (!SWIG_IsOK(res1
)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30672 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_Py_Void();
30685 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30686 PyObject
*resultobj
= 0;
30687 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30688 wxGraphicsContext
*result
= 0 ;
30691 PyObject
*swig_obj
[1] ;
30693 if (!args
) SWIG_fail
;
30694 swig_obj
[0] = args
;
30695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30699 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30701 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30711 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
= 0;
30713 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30714 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char * kwnames
[] = {
30722 (char *) "self",(char *) "ctx", NULL
30725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30730 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30732 if (!SWIG_IsOK(res2
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30735 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30737 (arg1
)->SetGraphicsContext(arg2
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30740 resultobj
= SWIG_Py_Void();
30747 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30750 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30751 return SWIG_Py_Void();
30754 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 return SWIG_Python_InitShadowInstance(args
);
30758 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30759 PyObject
*resultobj
= 0;
30760 wxOverlay
*result
= 0 ;
30762 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (wxOverlay
*)new wxOverlay();
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30776 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30777 PyObject
*resultobj
= 0;
30778 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30781 PyObject
*swig_obj
[1] ;
30783 if (!args
) SWIG_fail
;
30784 swig_obj
[0] = args
;
30785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30786 if (!SWIG_IsOK(res1
)) {
30787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30789 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= SWIG_Py_Void();
30804 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30805 PyObject
*resultobj
= 0;
30806 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30809 PyObject
*swig_obj
[1] ;
30811 if (!args
) SWIG_fail
;
30812 swig_obj
[0] = args
;
30813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30814 if (!SWIG_IsOK(res1
)) {
30815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30817 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= SWIG_Py_Void();
30831 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30834 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30835 return SWIG_Py_Void();
30838 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30839 return SWIG_Python_InitShadowInstance(args
);
30842 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30843 PyObject
*resultobj
= 0;
30844 wxOverlay
*arg1
= 0 ;
30845 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30850 wxDCOverlay
*result
= 0 ;
30864 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30866 if (!SWIG_IsOK(res1
)) {
30867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30872 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30873 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30874 if (!SWIG_IsOK(res2
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30877 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30878 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30879 if (!SWIG_IsOK(ecode3
)) {
30880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30882 arg3
= static_cast< int >(val3
);
30883 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30884 if (!SWIG_IsOK(ecode4
)) {
30885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30887 arg4
= static_cast< int >(val4
);
30888 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30889 if (!SWIG_IsOK(ecode5
)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30892 arg5
= static_cast< int >(val5
);
30893 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30894 if (!SWIG_IsOK(ecode6
)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30897 arg6
= static_cast< int >(val6
);
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30911 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30912 PyObject
*resultobj
= 0;
30913 wxOverlay
*arg1
= 0 ;
30914 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30915 wxDCOverlay
*result
= 0 ;
30921 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30923 if (!SWIG_IsOK(res1
)) {
30924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30929 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30930 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30931 if (!SWIG_IsOK(res2
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30934 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30948 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30952 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30955 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30958 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30962 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30967 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30968 PyObject
*resultobj
= 0;
30969 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30972 PyObject
*swig_obj
[1] ;
30974 if (!args
) SWIG_fail
;
30975 swig_obj
[0] = args
;
30976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30977 if (!SWIG_IsOK(res1
)) {
30978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30980 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_Py_Void();
30995 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30996 PyObject
*resultobj
= 0;
30997 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31000 PyObject
*swig_obj
[1] ;
31002 if (!args
) SWIG_fail
;
31003 swig_obj
[0] = args
;
31004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31005 if (!SWIG_IsOK(res1
)) {
31006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31008 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_Py_Void();
31022 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31025 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31026 return SWIG_Py_Void();
31029 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31030 return SWIG_Python_InitShadowInstance(args
);
31033 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31037 int arg3
= (int) true ;
31038 int arg4
= (int) 1 ;
31039 wxImageList
*result
= 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 PyObject
* obj2
= 0 ;
31051 PyObject
* obj3
= 0 ;
31052 char * kwnames
[] = {
31053 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31058 if (!SWIG_IsOK(ecode1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31061 arg1
= static_cast< int >(val1
);
31062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31063 if (!SWIG_IsOK(ecode2
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31066 arg2
= static_cast< int >(val2
);
31068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31069 if (!SWIG_IsOK(ecode3
)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31072 arg3
= static_cast< int >(val3
);
31075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31076 if (!SWIG_IsOK(ecode4
)) {
31077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31079 arg4
= static_cast< int >(val4
);
31082 if (!wxPyCheckForApp()) SWIG_fail
;
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31084 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31095 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31096 PyObject
*resultobj
= 0;
31097 wxImageList
*arg1
= (wxImageList
*) 0 ;
31100 PyObject
*swig_obj
[1] ;
31102 if (!args
) SWIG_fail
;
31103 swig_obj
[0] = args
;
31104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31105 if (!SWIG_IsOK(res1
)) {
31106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31108 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= SWIG_Py_Void();
31123 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
= 0;
31125 wxImageList
*arg1
= (wxImageList
*) 0 ;
31126 wxBitmap
*arg2
= 0 ;
31127 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31128 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31136 PyObject
* obj0
= 0 ;
31137 PyObject
* obj1
= 0 ;
31138 PyObject
* obj2
= 0 ;
31139 char * kwnames
[] = {
31140 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31145 if (!SWIG_IsOK(res1
)) {
31146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31148 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31150 if (!SWIG_IsOK(res2
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31156 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31158 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31159 if (!SWIG_IsOK(res3
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31165 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_From_int(static_cast< int >(result
));
31180 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
= 0;
31182 wxImageList
*arg1
= (wxImageList
*) 0 ;
31183 wxBitmap
*arg2
= 0 ;
31184 wxColour
*arg3
= 0 ;
31191 PyObject
* obj0
= 0 ;
31192 PyObject
* obj1
= 0 ;
31193 PyObject
* obj2
= 0 ;
31194 char * kwnames
[] = {
31195 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31200 if (!SWIG_IsOK(res1
)) {
31201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31203 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31205 if (!SWIG_IsOK(res2
)) {
31206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31214 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= SWIG_From_int(static_cast< int >(result
));
31229 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
= 0;
31231 wxImageList
*arg1
= (wxImageList
*) 0 ;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 char * kwnames
[] = {
31241 (char *) "self",(char *) "icon", NULL
31244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31246 if (!SWIG_IsOK(res1
)) {
31247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31249 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31251 if (!SWIG_IsOK(res2
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31257 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_From_int(static_cast< int >(result
));
31271 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
= 0;
31273 wxImageList
*arg1
= (wxImageList
*) 0 ;
31275 SwigValueWrapper
<wxBitmap
> result
;
31280 PyObject
* obj0
= 0 ;
31281 PyObject
* obj1
= 0 ;
31282 char * kwnames
[] = {
31283 (char *) "self",(char *) "index", NULL
31286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31288 if (!SWIG_IsOK(res1
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31291 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31293 if (!SWIG_IsOK(ecode2
)) {
31294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31296 arg2
= static_cast< int >(val2
);
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31310 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
= 0;
31312 wxImageList
*arg1
= (wxImageList
*) 0 ;
31319 PyObject
* obj0
= 0 ;
31320 PyObject
* obj1
= 0 ;
31321 char * kwnames
[] = {
31322 (char *) "self",(char *) "index", NULL
31325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31327 if (!SWIG_IsOK(res1
)) {
31328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31330 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31332 if (!SWIG_IsOK(ecode2
)) {
31333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31335 arg2
= static_cast< int >(val2
);
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31349 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
= 0;
31351 wxImageList
*arg1
= (wxImageList
*) 0 ;
31353 wxBitmap
*arg3
= 0 ;
31354 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31355 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31365 PyObject
* obj0
= 0 ;
31366 PyObject
* obj1
= 0 ;
31367 PyObject
* obj2
= 0 ;
31368 PyObject
* obj3
= 0 ;
31369 char * kwnames
[] = {
31370 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31375 if (!SWIG_IsOK(res1
)) {
31376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31378 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31380 if (!SWIG_IsOK(ecode2
)) {
31381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31383 arg2
= static_cast< int >(val2
);
31384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31385 if (!SWIG_IsOK(res3
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31391 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31393 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31394 if (!SWIG_IsOK(res4
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31400 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31417 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
= 0;
31419 wxImageList
*arg1
= (wxImageList
*) 0 ;
31424 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31425 bool arg7
= (bool) (bool)false ;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 PyObject
* obj2
= 0 ;
31444 PyObject
* obj3
= 0 ;
31445 PyObject
* obj4
= 0 ;
31446 PyObject
* obj5
= 0 ;
31447 PyObject
* obj6
= 0 ;
31448 char * kwnames
[] = {
31449 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31454 if (!SWIG_IsOK(res1
)) {
31455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31457 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31459 if (!SWIG_IsOK(ecode2
)) {
31460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31462 arg2
= static_cast< int >(val2
);
31463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31464 if (!SWIG_IsOK(res3
)) {
31465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31470 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31472 if (!SWIG_IsOK(ecode4
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31475 arg4
= static_cast< int >(val4
);
31476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31477 if (!SWIG_IsOK(ecode5
)) {
31478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31480 arg5
= static_cast< int >(val5
);
31482 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31483 if (!SWIG_IsOK(ecode6
)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31486 arg6
= static_cast< int >(val6
);
31489 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31490 if (!SWIG_IsOK(ecode7
)) {
31491 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31493 arg7
= static_cast< bool >(val7
);
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31510 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31511 PyObject
*resultobj
= 0;
31512 wxImageList
*arg1
= (wxImageList
*) 0 ;
31516 PyObject
*swig_obj
[1] ;
31518 if (!args
) SWIG_fail
;
31519 swig_obj
[0] = args
;
31520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31521 if (!SWIG_IsOK(res1
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31524 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 result
= (int)(arg1
)->GetImageCount();
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_From_int(static_cast< int >(result
));
31538 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
= 0;
31540 wxImageList
*arg1
= (wxImageList
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 PyObject
* obj1
= 0 ;
31549 char * kwnames
[] = {
31550 (char *) "self",(char *) "index", NULL
31553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31558 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31560 if (!SWIG_IsOK(ecode2
)) {
31561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31563 arg2
= static_cast< int >(val2
);
31565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31566 result
= (bool)(arg1
)->Remove(arg2
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31579 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31580 PyObject
*resultobj
= 0;
31581 wxImageList
*arg1
= (wxImageList
*) 0 ;
31585 PyObject
*swig_obj
[1] ;
31587 if (!args
) SWIG_fail
;
31588 swig_obj
[0] = args
;
31589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31590 if (!SWIG_IsOK(res1
)) {
31591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31593 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 result
= (bool)(arg1
)->RemoveAll();
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31609 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
= 0;
31611 wxImageList
*arg1
= (wxImageList
*) 0 ;
31620 int res3
= SWIG_TMPOBJ
;
31622 int res4
= SWIG_TMPOBJ
;
31623 PyObject
* obj0
= 0 ;
31624 PyObject
* obj1
= 0 ;
31625 char * kwnames
[] = {
31626 (char *) "self",(char *) "index", NULL
31631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31633 if (!SWIG_IsOK(res1
)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31636 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31638 if (!SWIG_IsOK(ecode2
)) {
31639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31641 arg2
= static_cast< int >(val2
);
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= SWIG_Py_Void();
31649 if (SWIG_IsTmpObj(res3
)) {
31650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31652 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31655 if (SWIG_IsTmpObj(res4
)) {
31656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31658 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31667 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31670 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31671 return SWIG_Py_Void();
31674 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31675 return SWIG_Python_InitShadowInstance(args
);
31678 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31679 PyObject
*resultobj
= 0;
31680 wxStockGDI
*result
= 0 ;
31682 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 result
= (wxStockGDI
*)new wxStockGDI();
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31696 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31697 PyObject
*resultobj
= 0;
31698 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31701 PyObject
*swig_obj
[1] ;
31703 if (!args
) SWIG_fail
;
31704 swig_obj
[0] = args
;
31705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31706 if (!SWIG_IsOK(res1
)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31709 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= SWIG_Py_Void();
31724 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31725 PyObject
*resultobj
= 0;
31727 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 wxStockGDI::DeleteAll();
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= SWIG_Py_Void();
31741 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31742 PyObject
*resultobj
= 0;
31743 wxStockGDI
*result
= 0 ;
31745 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31750 result
= (wxStockGDI
*) &_result_ref
;
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31762 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
= 0;
31764 wxStockGDI::Item arg1
;
31765 wxBrush
*result
= 0 ;
31768 PyObject
* obj0
= 0 ;
31769 char * kwnames
[] = {
31770 (char *) "item", NULL
31773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31775 if (!SWIG_IsOK(ecode1
)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31778 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31792 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31793 PyObject
*resultobj
= 0;
31794 wxStockGDI::Item arg1
;
31795 wxColour
*result
= 0 ;
31798 PyObject
* obj0
= 0 ;
31799 char * kwnames
[] = {
31800 (char *) "item", NULL
31803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31804 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31805 if (!SWIG_IsOK(ecode1
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31808 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31812 wxPyEndAllowThreads(__tstate
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31822 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31823 PyObject
*resultobj
= 0;
31824 wxStockGDI::Item arg1
;
31825 wxCursor
*result
= 0 ;
31828 PyObject
* obj0
= 0 ;
31829 char * kwnames
[] = {
31830 (char *) "item", NULL
31833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31835 if (!SWIG_IsOK(ecode1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31838 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31852 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31853 PyObject
*resultobj
= 0;
31854 wxStockGDI::Item arg1
;
31855 wxPen
*result
= 0 ;
31858 PyObject
* obj0
= 0 ;
31859 char * kwnames
[] = {
31860 (char *) "item", NULL
31863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31865 if (!SWIG_IsOK(ecode1
)) {
31866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31868 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31872 wxPyEndAllowThreads(__tstate
);
31873 if (PyErr_Occurred()) SWIG_fail
;
31875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31882 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31883 PyObject
*resultobj
= 0;
31884 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31885 wxStockGDI::Item arg2
;
31886 wxFont
*result
= 0 ;
31891 PyObject
* obj0
= 0 ;
31892 PyObject
* obj1
= 0 ;
31893 char * kwnames
[] = {
31894 (char *) "self",(char *) "item", NULL
31897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31899 if (!SWIG_IsOK(res1
)) {
31900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31902 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31904 if (!SWIG_IsOK(ecode2
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31907 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31921 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31924 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31925 return SWIG_Py_Void();
31928 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31929 return SWIG_Python_InitShadowInstance(args
);
31932 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31933 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31938 SWIGINTERN PyObject
*NullBitmap_get(void) {
31939 PyObject
*pyobj
= 0;
31941 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31946 SWIGINTERN
int NullIcon_set(PyObject
*) {
31947 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31952 SWIGINTERN PyObject
*NullIcon_get(void) {
31953 PyObject
*pyobj
= 0;
31955 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31960 SWIGINTERN
int NullCursor_set(PyObject
*) {
31961 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31966 SWIGINTERN PyObject
*NullCursor_get(void) {
31967 PyObject
*pyobj
= 0;
31969 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31974 SWIGINTERN
int NullPen_set(PyObject
*) {
31975 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31980 SWIGINTERN PyObject
*NullPen_get(void) {
31981 PyObject
*pyobj
= 0;
31983 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31988 SWIGINTERN
int NullBrush_set(PyObject
*) {
31989 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31994 SWIGINTERN PyObject
*NullBrush_get(void) {
31995 PyObject
*pyobj
= 0;
31997 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32002 SWIGINTERN
int NullPalette_set(PyObject
*) {
32003 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32008 SWIGINTERN PyObject
*NullPalette_get(void) {
32009 PyObject
*pyobj
= 0;
32011 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32016 SWIGINTERN
int NullFont_set(PyObject
*) {
32017 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32022 SWIGINTERN PyObject
*NullFont_get(void) {
32023 PyObject
*pyobj
= 0;
32025 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32030 SWIGINTERN
int NullColour_set(PyObject
*) {
32031 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32036 SWIGINTERN PyObject
*NullColour_get(void) {
32037 PyObject
*pyobj
= 0;
32039 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32044 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32045 PyObject
*resultobj
= 0;
32046 wxGDIObjListBase
*result
= 0 ;
32048 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32062 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32063 PyObject
*resultobj
= 0;
32064 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32067 PyObject
*swig_obj
[1] ;
32069 if (!args
) SWIG_fail
;
32070 swig_obj
[0] = args
;
32071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32072 if (!SWIG_IsOK(res1
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32075 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_Py_Void();
32090 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32093 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32094 return SWIG_Py_Void();
32097 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32098 return SWIG_Python_InitShadowInstance(args
);
32101 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
= 0;
32103 wxPenList
*arg1
= (wxPenList
*) 0 ;
32104 wxColour
*arg2
= 0 ;
32107 wxPen
*result
= 0 ;
32115 PyObject
* obj0
= 0 ;
32116 PyObject
* obj1
= 0 ;
32117 PyObject
* obj2
= 0 ;
32118 PyObject
* obj3
= 0 ;
32119 char * kwnames
[] = {
32120 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32125 if (!SWIG_IsOK(res1
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32128 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32134 if (!SWIG_IsOK(ecode3
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32137 arg3
= static_cast< int >(val3
);
32138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32139 if (!SWIG_IsOK(ecode4
)) {
32140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32142 arg4
= static_cast< int >(val4
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32156 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32157 PyObject
*resultobj
= 0;
32158 wxPenList
*arg1
= (wxPenList
*) 0 ;
32159 wxPen
*arg2
= (wxPen
*) 0 ;
32164 PyObject
* obj0
= 0 ;
32165 PyObject
* obj1
= 0 ;
32166 char * kwnames
[] = {
32167 (char *) "self",(char *) "pen", NULL
32170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32172 if (!SWIG_IsOK(res1
)) {
32173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32175 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32177 if (!SWIG_IsOK(res2
)) {
32178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32180 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 (arg1
)->AddPen(arg2
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= SWIG_Py_Void();
32194 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
= 0;
32196 wxPenList
*arg1
= (wxPenList
*) 0 ;
32197 wxPen
*arg2
= (wxPen
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 char * kwnames
[] = {
32205 (char *) "self",(char *) "pen", NULL
32208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32210 if (!SWIG_IsOK(res1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32213 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32215 if (!SWIG_IsOK(res2
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32218 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 (arg1
)->RemovePen(arg2
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_Py_Void();
32232 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32236 return SWIG_Py_Void();
32239 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
= 0;
32241 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32242 wxColour
*arg2
= 0 ;
32243 int arg3
= (int) wxSOLID
;
32244 wxBrush
*result
= 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 PyObject
* obj2
= 0 ;
32253 char * kwnames
[] = {
32254 (char *) "self",(char *) "colour",(char *) "style", NULL
32257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32259 if (!SWIG_IsOK(res1
)) {
32260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32262 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32269 if (!SWIG_IsOK(ecode3
)) {
32270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32272 arg3
= static_cast< int >(val3
);
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32287 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
= 0;
32289 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32290 wxBrush
*arg2
= (wxBrush
*) 0 ;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 char * kwnames
[] = {
32298 (char *) "self",(char *) "brush", NULL
32301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32303 if (!SWIG_IsOK(res1
)) {
32304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32306 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32308 if (!SWIG_IsOK(res2
)) {
32309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32311 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32314 (arg1
)->AddBrush(arg2
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= SWIG_Py_Void();
32325 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
= 0;
32327 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32328 wxBrush
*arg2
= (wxBrush
*) 0 ;
32333 PyObject
* obj0
= 0 ;
32334 PyObject
* obj1
= 0 ;
32335 char * kwnames
[] = {
32336 (char *) "self",(char *) "brush", NULL
32339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32341 if (!SWIG_IsOK(res1
)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32344 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32346 if (!SWIG_IsOK(res2
)) {
32347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32349 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32352 (arg1
)->RemoveBrush(arg2
);
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32356 resultobj
= SWIG_Py_Void();
32363 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32366 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32367 return SWIG_Py_Void();
32370 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
= 0;
32372 wxFontList
*arg1
= (wxFontList
*) 0 ;
32377 bool arg6
= (bool) false ;
32378 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32379 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32380 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32381 wxFont
*result
= 0 ;
32394 bool temp7
= false ;
32397 PyObject
* obj0
= 0 ;
32398 PyObject
* obj1
= 0 ;
32399 PyObject
* obj2
= 0 ;
32400 PyObject
* obj3
= 0 ;
32401 PyObject
* obj4
= 0 ;
32402 PyObject
* obj5
= 0 ;
32403 PyObject
* obj6
= 0 ;
32404 PyObject
* obj7
= 0 ;
32405 char * kwnames
[] = {
32406 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32411 if (!SWIG_IsOK(res1
)) {
32412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32414 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32416 if (!SWIG_IsOK(ecode2
)) {
32417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32419 arg2
= static_cast< int >(val2
);
32420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32421 if (!SWIG_IsOK(ecode3
)) {
32422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32424 arg3
= static_cast< int >(val3
);
32425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32426 if (!SWIG_IsOK(ecode4
)) {
32427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32429 arg4
= static_cast< int >(val4
);
32430 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32431 if (!SWIG_IsOK(ecode5
)) {
32432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32434 arg5
= static_cast< int >(val5
);
32436 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32437 if (!SWIG_IsOK(ecode6
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32440 arg6
= static_cast< bool >(val6
);
32444 arg7
= wxString_in_helper(obj6
);
32445 if (arg7
== NULL
) SWIG_fail
;
32450 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32451 if (!SWIG_IsOK(ecode8
)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32454 arg8
= static_cast< wxFontEncoding
>(val8
);
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32477 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxFontList
*arg1
= (wxFontList
*) 0 ;
32480 wxFont
*arg2
= (wxFont
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char * kwnames
[] = {
32488 (char *) "self",(char *) "font", NULL
32491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32493 if (!SWIG_IsOK(res1
)) {
32494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32496 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32498 if (!SWIG_IsOK(res2
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32501 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 (arg1
)->AddFont(arg2
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= SWIG_Py_Void();
32515 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
= 0;
32517 wxFontList
*arg1
= (wxFontList
*) 0 ;
32518 wxFont
*arg2
= (wxFont
*) 0 ;
32523 PyObject
* obj0
= 0 ;
32524 PyObject
* obj1
= 0 ;
32525 char * kwnames
[] = {
32526 (char *) "self",(char *) "font", NULL
32529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32534 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32536 if (!SWIG_IsOK(res2
)) {
32537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32539 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 (arg1
)->RemoveFont(arg2
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_Py_Void();
32553 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32556 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32557 return SWIG_Py_Void();
32560 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32561 PyObject
*resultobj
= 0;
32562 wxColourDatabase
*result
= 0 ;
32564 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32566 if (!wxPyCheckForApp()) SWIG_fail
;
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 result
= (wxColourDatabase
*)new wxColourDatabase();
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32579 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32580 PyObject
*resultobj
= 0;
32581 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32584 PyObject
*swig_obj
[1] ;
32586 if (!args
) SWIG_fail
;
32587 swig_obj
[0] = args
;
32588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32589 if (!SWIG_IsOK(res1
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32592 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 wxPyEndAllowThreads(__tstate
);
32598 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= SWIG_Py_Void();
32607 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32608 PyObject
*resultobj
= 0;
32609 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32610 wxString
*arg2
= 0 ;
32614 bool temp2
= false ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 char * kwnames
[] = {
32618 (char *) "self",(char *) "name", NULL
32621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32623 if (!SWIG_IsOK(res1
)) {
32624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32626 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32628 arg2
= wxString_in_helper(obj1
);
32629 if (arg2
== NULL
) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32638 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32653 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
= 0;
32655 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32656 wxColour
*arg2
= 0 ;
32661 PyObject
* obj0
= 0 ;
32662 PyObject
* obj1
= 0 ;
32663 char * kwnames
[] = {
32664 (char *) "self",(char *) "colour", NULL
32667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32669 if (!SWIG_IsOK(res1
)) {
32670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32672 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32696 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32697 PyObject
*resultobj
= 0;
32698 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32699 wxString
*arg2
= 0 ;
32700 wxColour
*arg3
= 0 ;
32703 bool temp2
= false ;
32705 PyObject
* obj0
= 0 ;
32706 PyObject
* obj1
= 0 ;
32707 PyObject
* obj2
= 0 ;
32708 char * kwnames
[] = {
32709 (char *) "self",(char *) "name",(char *) "colour", NULL
32712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32714 if (!SWIG_IsOK(res1
)) {
32715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32717 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32719 arg2
= wxString_in_helper(obj1
);
32720 if (arg2
== NULL
) SWIG_fail
;
32725 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_Py_Void();
32748 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32749 PyObject
*resultobj
= 0;
32750 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32751 wxString
*arg2
= 0 ;
32757 bool temp2
= false ;
32764 PyObject
* obj0
= 0 ;
32765 PyObject
* obj1
= 0 ;
32766 PyObject
* obj2
= 0 ;
32767 PyObject
* obj3
= 0 ;
32768 PyObject
* obj4
= 0 ;
32769 char * kwnames
[] = {
32770 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32775 if (!SWIG_IsOK(res1
)) {
32776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32778 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32780 arg2
= wxString_in_helper(obj1
);
32781 if (arg2
== NULL
) SWIG_fail
;
32784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32785 if (!SWIG_IsOK(ecode3
)) {
32786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32788 arg3
= static_cast< int >(val3
);
32789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32790 if (!SWIG_IsOK(ecode4
)) {
32791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32793 arg4
= static_cast< int >(val4
);
32794 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32795 if (!SWIG_IsOK(ecode5
)) {
32796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32798 arg5
= static_cast< int >(val5
);
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32802 wxPyEndAllowThreads(__tstate
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= SWIG_Py_Void();
32820 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32823 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32824 return SWIG_Py_Void();
32827 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32828 return SWIG_Python_InitShadowInstance(args
);
32831 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32832 PyObject
*resultobj
= 0;
32833 wxFontList
*result
= 0 ;
32835 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 result
= (wxFontList
*)_wxPyInitTheFontList();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32849 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32850 PyObject
*resultobj
= 0;
32851 wxPenList
*result
= 0 ;
32853 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 result
= (wxPenList
*)_wxPyInitThePenList();
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32867 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32868 PyObject
*resultobj
= 0;
32869 wxBrushList
*result
= 0 ;
32871 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32885 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32886 PyObject
*resultobj
= 0;
32887 wxColourDatabase
*result
= 0 ;
32889 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32893 wxPyEndAllowThreads(__tstate
);
32894 if (PyErr_Occurred()) SWIG_fail
;
32896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32903 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32904 PyObject
*resultobj
= 0;
32905 wxEffects
*result
= 0 ;
32907 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 result
= (wxEffects
*)new wxEffects();
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32921 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32922 PyObject
*resultobj
= 0;
32923 wxEffects
*arg1
= (wxEffects
*) 0 ;
32927 PyObject
*swig_obj
[1] ;
32929 if (!args
) SWIG_fail
;
32930 swig_obj
[0] = args
;
32931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32932 if (!SWIG_IsOK(res1
)) {
32933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32935 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32949 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32950 PyObject
*resultobj
= 0;
32951 wxEffects
*arg1
= (wxEffects
*) 0 ;
32955 PyObject
*swig_obj
[1] ;
32957 if (!args
) SWIG_fail
;
32958 swig_obj
[0] = args
;
32959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32960 if (!SWIG_IsOK(res1
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32963 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32977 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32978 PyObject
*resultobj
= 0;
32979 wxEffects
*arg1
= (wxEffects
*) 0 ;
32983 PyObject
*swig_obj
[1] ;
32985 if (!args
) SWIG_fail
;
32986 swig_obj
[0] = args
;
32987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32988 if (!SWIG_IsOK(res1
)) {
32989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32991 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33005 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33006 PyObject
*resultobj
= 0;
33007 wxEffects
*arg1
= (wxEffects
*) 0 ;
33011 PyObject
*swig_obj
[1] ;
33013 if (!args
) SWIG_fail
;
33014 swig_obj
[0] = args
;
33015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33016 if (!SWIG_IsOK(res1
)) {
33017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33019 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33022 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33026 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33033 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33034 PyObject
*resultobj
= 0;
33035 wxEffects
*arg1
= (wxEffects
*) 0 ;
33039 PyObject
*swig_obj
[1] ;
33041 if (!args
) SWIG_fail
;
33042 swig_obj
[0] = args
;
33043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33044 if (!SWIG_IsOK(res1
)) {
33045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33047 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33054 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33061 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
= 0;
33063 wxEffects
*arg1
= (wxEffects
*) 0 ;
33064 wxColour
*arg2
= 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 char * kwnames
[] = {
33071 (char *) "self",(char *) "c", NULL
33074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33076 if (!SWIG_IsOK(res1
)) {
33077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33079 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= SWIG_Py_Void();
33097 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
= 0;
33099 wxEffects
*arg1
= (wxEffects
*) 0 ;
33100 wxColour
*arg2
= 0 ;
33104 PyObject
* obj0
= 0 ;
33105 PyObject
* obj1
= 0 ;
33106 char * kwnames
[] = {
33107 (char *) "self",(char *) "c", NULL
33110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33112 if (!SWIG_IsOK(res1
)) {
33113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33115 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= SWIG_Py_Void();
33133 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
= 0;
33135 wxEffects
*arg1
= (wxEffects
*) 0 ;
33136 wxColour
*arg2
= 0 ;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 char * kwnames
[] = {
33143 (char *) "self",(char *) "c", NULL
33146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33151 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= SWIG_Py_Void();
33169 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
= 0;
33171 wxEffects
*arg1
= (wxEffects
*) 0 ;
33172 wxColour
*arg2
= 0 ;
33176 PyObject
* obj0
= 0 ;
33177 PyObject
* obj1
= 0 ;
33178 char * kwnames
[] = {
33179 (char *) "self",(char *) "c", NULL
33182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33184 if (!SWIG_IsOK(res1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33187 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33195 wxPyEndAllowThreads(__tstate
);
33196 if (PyErr_Occurred()) SWIG_fail
;
33198 resultobj
= SWIG_Py_Void();
33205 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33206 PyObject
*resultobj
= 0;
33207 wxEffects
*arg1
= (wxEffects
*) 0 ;
33208 wxColour
*arg2
= 0 ;
33212 PyObject
* obj0
= 0 ;
33213 PyObject
* obj1
= 0 ;
33214 char * kwnames
[] = {
33215 (char *) "self",(char *) "c", NULL
33218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33220 if (!SWIG_IsOK(res1
)) {
33221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33223 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_Py_Void();
33241 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
= 0;
33243 wxEffects
*arg1
= (wxEffects
*) 0 ;
33244 wxColour
*arg2
= 0 ;
33245 wxColour
*arg3
= 0 ;
33246 wxColour
*arg4
= 0 ;
33247 wxColour
*arg5
= 0 ;
33248 wxColour
*arg6
= 0 ;
33256 PyObject
* obj0
= 0 ;
33257 PyObject
* obj1
= 0 ;
33258 PyObject
* obj2
= 0 ;
33259 PyObject
* obj3
= 0 ;
33260 PyObject
* obj4
= 0 ;
33261 PyObject
* obj5
= 0 ;
33262 char * kwnames
[] = {
33263 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33268 if (!SWIG_IsOK(res1
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33271 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33274 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33278 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33282 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33286 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33290 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 resultobj
= SWIG_Py_Void();
33305 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
= 0;
33307 wxEffects
*arg1
= (wxEffects
*) 0 ;
33310 int arg4
= (int) 1 ;
33318 PyObject
* obj0
= 0 ;
33319 PyObject
* obj1
= 0 ;
33320 PyObject
* obj2
= 0 ;
33321 PyObject
* obj3
= 0 ;
33322 char * kwnames
[] = {
33323 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33331 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33333 if (!SWIG_IsOK(res2
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33339 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33342 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33346 if (!SWIG_IsOK(ecode4
)) {
33347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33349 arg4
= static_cast< int >(val4
);
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_Py_Void();
33364 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33365 PyObject
*resultobj
= 0;
33366 wxEffects
*arg1
= (wxEffects
*) 0 ;
33369 wxBitmap
*arg4
= 0 ;
33378 PyObject
* obj0
= 0 ;
33379 PyObject
* obj1
= 0 ;
33380 PyObject
* obj2
= 0 ;
33381 PyObject
* obj3
= 0 ;
33382 char * kwnames
[] = {
33383 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33388 if (!SWIG_IsOK(res1
)) {
33389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33391 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33394 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33396 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33397 if (!SWIG_IsOK(res3
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33403 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33404 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33405 if (!SWIG_IsOK(res4
)) {
33406 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33411 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33427 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33430 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33431 return SWIG_Py_Void();
33434 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33435 return SWIG_Python_InitShadowInstance(args
);
33438 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
= 0;
33443 wxSplitterRenderParams
*result
= 0 ;
33450 PyObject
* obj0
= 0 ;
33451 PyObject
* obj1
= 0 ;
33452 PyObject
* obj2
= 0 ;
33453 char * kwnames
[] = {
33454 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33458 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33459 if (!SWIG_IsOK(ecode1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33462 arg1
= static_cast< int >(val1
);
33463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33464 if (!SWIG_IsOK(ecode2
)) {
33465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33467 arg2
= static_cast< int >(val2
);
33468 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33469 if (!SWIG_IsOK(ecode3
)) {
33470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33472 arg3
= static_cast< bool >(val3
);
33474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33475 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33476 wxPyEndAllowThreads(__tstate
);
33477 if (PyErr_Occurred()) SWIG_fail
;
33479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33486 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33487 PyObject
*resultobj
= 0;
33488 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33491 PyObject
*swig_obj
[1] ;
33493 if (!args
) SWIG_fail
;
33494 swig_obj
[0] = args
;
33495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33496 if (!SWIG_IsOK(res1
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33499 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33507 resultobj
= SWIG_Py_Void();
33514 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33515 PyObject
*resultobj
= 0;
33516 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33520 PyObject
*swig_obj
[1] ;
33522 if (!args
) SWIG_fail
;
33523 swig_obj
[0] = args
;
33524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33525 if (!SWIG_IsOK(res1
)) {
33526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33528 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33529 result
= (int)(int) ((arg1
)->widthSash
);
33530 resultobj
= SWIG_From_int(static_cast< int >(result
));
33537 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33538 PyObject
*resultobj
= 0;
33539 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33543 PyObject
*swig_obj
[1] ;
33545 if (!args
) SWIG_fail
;
33546 swig_obj
[0] = args
;
33547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33548 if (!SWIG_IsOK(res1
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33551 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33552 result
= (int)(int) ((arg1
)->border
);
33553 resultobj
= SWIG_From_int(static_cast< int >(result
));
33560 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33561 PyObject
*resultobj
= 0;
33562 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33566 PyObject
*swig_obj
[1] ;
33568 if (!args
) SWIG_fail
;
33569 swig_obj
[0] = args
;
33570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33571 if (!SWIG_IsOK(res1
)) {
33572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33574 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33575 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33576 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33583 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33586 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33587 return SWIG_Py_Void();
33590 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33591 return SWIG_Python_InitShadowInstance(args
);
33594 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33595 PyObject
*resultobj
= 0;
33596 wxHeaderButtonParams
*result
= 0 ;
33598 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33612 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33613 PyObject
*resultobj
= 0;
33614 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33617 PyObject
*swig_obj
[1] ;
33619 if (!args
) SWIG_fail
;
33620 swig_obj
[0] = args
;
33621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33622 if (!SWIG_IsOK(res1
)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33625 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 resultobj
= SWIG_Py_Void();
33640 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33641 PyObject
*resultobj
= 0;
33642 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33643 wxColour
*arg2
= (wxColour
*) 0 ;
33647 PyObject
*swig_obj
[2] ;
33649 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33651 if (!SWIG_IsOK(res1
)) {
33652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33654 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33657 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33659 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33661 resultobj
= SWIG_Py_Void();
33668 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33669 PyObject
*resultobj
= 0;
33670 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33671 wxColour
*result
= 0 ;
33674 PyObject
*swig_obj
[1] ;
33676 if (!args
) SWIG_fail
;
33677 swig_obj
[0] = args
;
33678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33679 if (!SWIG_IsOK(res1
)) {
33680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33682 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33683 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33691 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33692 PyObject
*resultobj
= 0;
33693 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33694 wxColour
*arg2
= (wxColour
*) 0 ;
33698 PyObject
*swig_obj
[2] ;
33700 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33702 if (!SWIG_IsOK(res1
)) {
33703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33705 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33708 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33710 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33712 resultobj
= SWIG_Py_Void();
33719 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33720 PyObject
*resultobj
= 0;
33721 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33722 wxColour
*result
= 0 ;
33725 PyObject
*swig_obj
[1] ;
33727 if (!args
) SWIG_fail
;
33728 swig_obj
[0] = args
;
33729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33730 if (!SWIG_IsOK(res1
)) {
33731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33733 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33734 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33742 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33743 PyObject
*resultobj
= 0;
33744 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33745 wxString
*arg2
= (wxString
*) 0 ;
33748 bool temp2
= false ;
33749 PyObject
*swig_obj
[2] ;
33751 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33753 if (!SWIG_IsOK(res1
)) {
33754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33756 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33758 arg2
= wxString_in_helper(swig_obj
[1]);
33759 if (arg2
== NULL
) SWIG_fail
;
33762 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33764 resultobj
= SWIG_Py_Void();
33779 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33780 PyObject
*resultobj
= 0;
33781 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33782 wxString
*result
= 0 ;
33785 PyObject
*swig_obj
[1] ;
33787 if (!args
) SWIG_fail
;
33788 swig_obj
[0] = args
;
33789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33790 if (!SWIG_IsOK(res1
)) {
33791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33793 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33794 result
= (wxString
*)& ((arg1
)->m_labelText
);
33797 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33799 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33808 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33809 PyObject
*resultobj
= 0;
33810 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33811 wxFont
*arg2
= (wxFont
*) 0 ;
33816 PyObject
*swig_obj
[2] ;
33818 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33820 if (!SWIG_IsOK(res1
)) {
33821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33823 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33824 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33825 if (!SWIG_IsOK(res2
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33828 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33829 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33831 resultobj
= SWIG_Py_Void();
33838 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33839 PyObject
*resultobj
= 0;
33840 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33841 wxFont
*result
= 0 ;
33844 PyObject
*swig_obj
[1] ;
33846 if (!args
) SWIG_fail
;
33847 swig_obj
[0] = args
;
33848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33849 if (!SWIG_IsOK(res1
)) {
33850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33852 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33853 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33861 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33862 PyObject
*resultobj
= 0;
33863 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33864 wxColour
*arg2
= (wxColour
*) 0 ;
33868 PyObject
*swig_obj
[2] ;
33870 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33875 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33878 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33880 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33882 resultobj
= SWIG_Py_Void();
33889 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33890 PyObject
*resultobj
= 0;
33891 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33892 wxColour
*result
= 0 ;
33895 PyObject
*swig_obj
[1] ;
33897 if (!args
) SWIG_fail
;
33898 swig_obj
[0] = args
;
33899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33903 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33904 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33912 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33913 PyObject
*resultobj
= 0;
33914 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33915 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33920 PyObject
*swig_obj
[2] ;
33922 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33927 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33928 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33929 if (!SWIG_IsOK(res2
)) {
33930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33932 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33933 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33935 resultobj
= SWIG_Py_Void();
33942 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33943 PyObject
*resultobj
= 0;
33944 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33945 wxBitmap
*result
= 0 ;
33948 PyObject
*swig_obj
[1] ;
33950 if (!args
) SWIG_fail
;
33951 swig_obj
[0] = args
;
33952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33953 if (!SWIG_IsOK(res1
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33956 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33957 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33965 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33966 PyObject
*resultobj
= 0;
33967 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33973 PyObject
*swig_obj
[2] ;
33975 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33977 if (!SWIG_IsOK(res1
)) {
33978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33980 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33981 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33982 if (!SWIG_IsOK(ecode2
)) {
33983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33985 arg2
= static_cast< int >(val2
);
33986 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33988 resultobj
= SWIG_Py_Void();
33995 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33996 PyObject
*resultobj
= 0;
33997 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34001 PyObject
*swig_obj
[1] ;
34003 if (!args
) SWIG_fail
;
34004 swig_obj
[0] = args
;
34005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34006 if (!SWIG_IsOK(res1
)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34009 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34010 result
= (int) ((arg1
)->m_labelAlignment
);
34011 resultobj
= SWIG_From_int(static_cast< int >(result
));
34018 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34021 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34022 return SWIG_Py_Void();
34025 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34026 return SWIG_Python_InitShadowInstance(args
);
34029 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34033 wxRendererVersion
*result
= 0 ;
34038 PyObject
* obj0
= 0 ;
34039 PyObject
* obj1
= 0 ;
34040 char * kwnames
[] = {
34041 (char *) "version_",(char *) "age_", NULL
34044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34046 if (!SWIG_IsOK(ecode1
)) {
34047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34049 arg1
= static_cast< int >(val1
);
34050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34051 if (!SWIG_IsOK(ecode2
)) {
34052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34054 arg2
= static_cast< int >(val2
);
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34068 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34069 PyObject
*resultobj
= 0;
34070 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34073 PyObject
*swig_obj
[1] ;
34075 if (!args
) SWIG_fail
;
34076 swig_obj
[0] = args
;
34077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34078 if (!SWIG_IsOK(res1
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34081 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= SWIG_Py_Void();
34096 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
= 0;
34098 wxRendererVersion
*arg1
= 0 ;
34102 PyObject
* obj0
= 0 ;
34103 char * kwnames
[] = {
34104 (char *) "ver", NULL
34107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34108 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34109 if (!SWIG_IsOK(res1
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34115 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34131 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34132 PyObject
*resultobj
= 0;
34133 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34137 PyObject
*swig_obj
[1] ;
34139 if (!args
) SWIG_fail
;
34140 swig_obj
[0] = args
;
34141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34142 if (!SWIG_IsOK(res1
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34145 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34146 result
= (int)(int) ((arg1
)->version
);
34147 resultobj
= SWIG_From_int(static_cast< int >(result
));
34154 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34155 PyObject
*resultobj
= 0;
34156 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34160 PyObject
*swig_obj
[1] ;
34162 if (!args
) SWIG_fail
;
34163 swig_obj
[0] = args
;
34164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34165 if (!SWIG_IsOK(res1
)) {
34166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34168 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34169 result
= (int)(int) ((arg1
)->age
);
34170 resultobj
= SWIG_From_int(static_cast< int >(result
));
34177 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34180 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34181 return SWIG_Py_Void();
34184 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34185 return SWIG_Python_InitShadowInstance(args
);
34188 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
= 0;
34190 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34191 wxWindow
*arg2
= (wxWindow
*) 0 ;
34194 int arg5
= (int) 0 ;
34195 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34196 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34210 PyObject
* obj0
= 0 ;
34211 PyObject
* obj1
= 0 ;
34212 PyObject
* obj2
= 0 ;
34213 PyObject
* obj3
= 0 ;
34214 PyObject
* obj4
= 0 ;
34215 PyObject
* obj5
= 0 ;
34216 PyObject
* obj6
= 0 ;
34217 char * kwnames
[] = {
34218 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34223 if (!SWIG_IsOK(res1
)) {
34224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34226 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34228 if (!SWIG_IsOK(res2
)) {
34229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34232 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34233 if (!SWIG_IsOK(res3
)) {
34234 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34239 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34242 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34245 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34246 if (!SWIG_IsOK(ecode5
)) {
34247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34249 arg5
= static_cast< int >(val5
);
34252 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34253 if (!SWIG_IsOK(ecode6
)) {
34254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34256 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34259 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34260 if (!SWIG_IsOK(res7
)) {
34261 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34263 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34267 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34268 wxPyEndAllowThreads(__tstate
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34271 resultobj
= SWIG_Py_Void();
34278 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
= 0;
34280 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34281 wxWindow
*arg2
= (wxWindow
*) 0 ;
34284 int arg5
= (int) 0 ;
34285 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34286 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34300 PyObject
* obj0
= 0 ;
34301 PyObject
* obj1
= 0 ;
34302 PyObject
* obj2
= 0 ;
34303 PyObject
* obj3
= 0 ;
34304 PyObject
* obj4
= 0 ;
34305 PyObject
* obj5
= 0 ;
34306 PyObject
* obj6
= 0 ;
34307 char * kwnames
[] = {
34308 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34316 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34318 if (!SWIG_IsOK(res2
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34322 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34323 if (!SWIG_IsOK(res3
)) {
34324 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34329 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34332 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34336 if (!SWIG_IsOK(ecode5
)) {
34337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34339 arg5
= static_cast< int >(val5
);
34342 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34343 if (!SWIG_IsOK(ecode6
)) {
34344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34346 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34349 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34350 if (!SWIG_IsOK(res7
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34353 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34361 resultobj
= SWIG_Py_Void();
34368 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34369 PyObject
*resultobj
= 0;
34370 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34371 wxWindow
*arg2
= (wxWindow
*) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 char * kwnames
[] = {
34380 (char *) "self",(char *) "win", NULL
34383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34385 if (!SWIG_IsOK(res1
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34388 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34390 if (!SWIG_IsOK(res2
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34396 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34397 wxPyEndAllowThreads(__tstate
);
34398 if (PyErr_Occurred()) SWIG_fail
;
34400 resultobj
= SWIG_From_int(static_cast< int >(result
));
34407 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34408 PyObject
*resultobj
= 0;
34409 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34410 wxWindow
*arg2
= (wxWindow
*) 0 ;
34413 int arg5
= (int) 0 ;
34423 PyObject
* obj0
= 0 ;
34424 PyObject
* obj1
= 0 ;
34425 PyObject
* obj2
= 0 ;
34426 PyObject
* obj3
= 0 ;
34427 PyObject
* obj4
= 0 ;
34428 char * kwnames
[] = {
34429 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34434 if (!SWIG_IsOK(res1
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34437 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34439 if (!SWIG_IsOK(res2
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34442 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34443 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34444 if (!SWIG_IsOK(res3
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34450 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34453 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34457 if (!SWIG_IsOK(ecode5
)) {
34458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34460 arg5
= static_cast< int >(val5
);
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= SWIG_Py_Void();
34475 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
= 0;
34477 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34478 wxWindow
*arg2
= (wxWindow
*) 0 ;
34481 int arg5
= (int) 0 ;
34491 PyObject
* obj0
= 0 ;
34492 PyObject
* obj1
= 0 ;
34493 PyObject
* obj2
= 0 ;
34494 PyObject
* obj3
= 0 ;
34495 PyObject
* obj4
= 0 ;
34496 char * kwnames
[] = {
34497 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34502 if (!SWIG_IsOK(res1
)) {
34503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34505 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34507 if (!SWIG_IsOK(res2
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34511 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34512 if (!SWIG_IsOK(res3
)) {
34513 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34518 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34521 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34525 if (!SWIG_IsOK(ecode5
)) {
34526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34528 arg5
= static_cast< int >(val5
);
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34536 resultobj
= SWIG_Py_Void();
34543 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34544 PyObject
*resultobj
= 0;
34545 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34546 wxWindow
*arg2
= (wxWindow
*) 0 ;
34550 wxOrientation arg6
;
34551 int arg7
= (int) 0 ;
34565 PyObject
* obj0
= 0 ;
34566 PyObject
* obj1
= 0 ;
34567 PyObject
* obj2
= 0 ;
34568 PyObject
* obj3
= 0 ;
34569 PyObject
* obj4
= 0 ;
34570 PyObject
* obj5
= 0 ;
34571 PyObject
* obj6
= 0 ;
34572 char * kwnames
[] = {
34573 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34578 if (!SWIG_IsOK(res1
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34581 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34583 if (!SWIG_IsOK(res2
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34587 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34588 if (!SWIG_IsOK(res3
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34594 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34597 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34600 if (!SWIG_IsOK(ecode5
)) {
34601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34603 arg5
= static_cast< int >(val5
);
34604 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34605 if (!SWIG_IsOK(ecode6
)) {
34606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34608 arg6
= static_cast< wxOrientation
>(val6
);
34610 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34611 if (!SWIG_IsOK(ecode7
)) {
34612 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34614 arg7
= static_cast< int >(val7
);
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 resultobj
= SWIG_Py_Void();
34629 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
= 0;
34631 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34632 wxWindow
*arg2
= (wxWindow
*) 0 ;
34635 int arg5
= (int) 0 ;
34645 PyObject
* obj0
= 0 ;
34646 PyObject
* obj1
= 0 ;
34647 PyObject
* obj2
= 0 ;
34648 PyObject
* obj3
= 0 ;
34649 PyObject
* obj4
= 0 ;
34650 char * kwnames
[] = {
34651 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34656 if (!SWIG_IsOK(res1
)) {
34657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34659 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34661 if (!SWIG_IsOK(res2
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34665 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34666 if (!SWIG_IsOK(res3
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34672 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34675 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34679 if (!SWIG_IsOK(ecode5
)) {
34680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34682 arg5
= static_cast< int >(val5
);
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_Py_Void();
34697 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
= 0;
34699 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34700 wxWindow
*arg2
= (wxWindow
*) 0 ;
34703 int arg5
= (int) 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 PyObject
* obj2
= 0 ;
34716 PyObject
* obj3
= 0 ;
34717 PyObject
* obj4
= 0 ;
34718 char * kwnames
[] = {
34719 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34724 if (!SWIG_IsOK(res1
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34727 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34729 if (!SWIG_IsOK(res2
)) {
34730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34733 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34734 if (!SWIG_IsOK(res3
)) {
34735 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34740 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34743 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34746 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34747 if (!SWIG_IsOK(ecode5
)) {
34748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34750 arg5
= static_cast< int >(val5
);
34753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34754 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34755 wxPyEndAllowThreads(__tstate
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34758 resultobj
= SWIG_Py_Void();
34765 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34766 PyObject
*resultobj
= 0;
34767 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34768 wxWindow
*arg2
= (wxWindow
*) 0 ;
34771 int arg5
= (int) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 PyObject
* obj1
= 0 ;
34783 PyObject
* obj2
= 0 ;
34784 PyObject
* obj3
= 0 ;
34785 PyObject
* obj4
= 0 ;
34786 char * kwnames
[] = {
34787 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34792 if (!SWIG_IsOK(res1
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34795 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34797 if (!SWIG_IsOK(res2
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34801 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34802 if (!SWIG_IsOK(res3
)) {
34803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34808 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34811 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34815 if (!SWIG_IsOK(ecode5
)) {
34816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34818 arg5
= static_cast< int >(val5
);
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= SWIG_Py_Void();
34833 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
= 0;
34835 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34836 wxWindow
*arg2
= (wxWindow
*) 0 ;
34839 int arg5
= (int) 0 ;
34849 PyObject
* obj0
= 0 ;
34850 PyObject
* obj1
= 0 ;
34851 PyObject
* obj2
= 0 ;
34852 PyObject
* obj3
= 0 ;
34853 PyObject
* obj4
= 0 ;
34854 char * kwnames
[] = {
34855 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34860 if (!SWIG_IsOK(res1
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34863 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34865 if (!SWIG_IsOK(res2
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34869 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34870 if (!SWIG_IsOK(res3
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34876 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34879 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34883 if (!SWIG_IsOK(ecode5
)) {
34884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34886 arg5
= static_cast< int >(val5
);
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34894 resultobj
= SWIG_Py_Void();
34901 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34902 PyObject
*resultobj
= 0;
34903 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34904 wxWindow
*arg2
= (wxWindow
*) 0 ;
34907 int arg5
= (int) 0 ;
34917 PyObject
* obj0
= 0 ;
34918 PyObject
* obj1
= 0 ;
34919 PyObject
* obj2
= 0 ;
34920 PyObject
* obj3
= 0 ;
34921 PyObject
* obj4
= 0 ;
34922 char * kwnames
[] = {
34923 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34928 if (!SWIG_IsOK(res1
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34931 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34933 if (!SWIG_IsOK(res2
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34937 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34938 if (!SWIG_IsOK(res3
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34944 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34947 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34951 if (!SWIG_IsOK(ecode5
)) {
34952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34954 arg5
= static_cast< int >(val5
);
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= SWIG_Py_Void();
34969 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34972 wxWindow
*arg2
= (wxWindow
*) 0 ;
34973 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char * kwnames
[] = {
34981 (char *) "self",(char *) "win", NULL
34984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34989 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34991 if (!SWIG_IsOK(res2
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34994 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35008 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35009 PyObject
*resultobj
= 0;
35010 wxRendererNative
*result
= 0 ;
35012 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35014 if (!wxPyCheckForApp()) SWIG_fail
;
35015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35018 result
= (wxRendererNative
*) &_result_ref
;
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35030 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35031 PyObject
*resultobj
= 0;
35032 wxRendererNative
*result
= 0 ;
35034 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35036 if (!wxPyCheckForApp()) SWIG_fail
;
35037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35039 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35040 result
= (wxRendererNative
*) &_result_ref
;
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35052 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35053 PyObject
*resultobj
= 0;
35054 wxRendererNative
*result
= 0 ;
35056 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35058 if (!wxPyCheckForApp()) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35061 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35062 result
= (wxRendererNative
*) &_result_ref
;
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35074 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
= 0;
35076 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35077 wxRendererNative
*result
= 0 ;
35080 PyObject
* obj0
= 0 ;
35081 char * kwnames
[] = {
35082 (char *) "renderer", NULL
35085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35087 if (!SWIG_IsOK(res1
)) {
35088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35090 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35092 if (!wxPyCheckForApp()) SWIG_fail
;
35093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35094 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35105 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35106 PyObject
*resultobj
= 0;
35107 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35108 SwigValueWrapper
<wxRendererVersion
> result
;
35111 PyObject
*swig_obj
[1] ;
35113 if (!args
) SWIG_fail
;
35114 swig_obj
[0] = args
;
35115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35116 if (!SWIG_IsOK(res1
)) {
35117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35119 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35122 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35133 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35136 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35137 return SWIG_Py_Void();
35140 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35141 PyObject
*resultobj
= 0;
35142 wxPseudoDC
*result
= 0 ;
35144 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 result
= (wxPseudoDC
*)new wxPseudoDC();
35148 wxPyEndAllowThreads(__tstate
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35158 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35159 PyObject
*resultobj
= 0;
35160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35163 PyObject
*swig_obj
[1] ;
35165 if (!args
) SWIG_fail
;
35166 swig_obj
[0] = args
;
35167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35168 if (!SWIG_IsOK(res1
)) {
35169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35171 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35174 (arg1
)->BeginDrawing();
35175 wxPyEndAllowThreads(__tstate
);
35176 if (PyErr_Occurred()) SWIG_fail
;
35178 resultobj
= SWIG_Py_Void();
35185 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35186 PyObject
*resultobj
= 0;
35187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35190 PyObject
*swig_obj
[1] ;
35192 if (!args
) SWIG_fail
;
35193 swig_obj
[0] = args
;
35194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35195 if (!SWIG_IsOK(res1
)) {
35196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35198 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 (arg1
)->EndDrawing();
35202 wxPyEndAllowThreads(__tstate
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35205 resultobj
= SWIG_Py_Void();
35212 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35213 PyObject
*resultobj
= 0;
35214 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35217 PyObject
*swig_obj
[1] ;
35219 if (!args
) SWIG_fail
;
35220 swig_obj
[0] = args
;
35221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35222 if (!SWIG_IsOK(res1
)) {
35223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= SWIG_Py_Void();
35240 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35241 PyObject
*resultobj
= 0;
35242 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35245 PyObject
*swig_obj
[1] ;
35247 if (!args
) SWIG_fail
;
35248 swig_obj
[0] = args
;
35249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35250 if (!SWIG_IsOK(res1
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35253 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 (arg1
)->RemoveAll();
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_Py_Void();
35267 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35268 PyObject
*resultobj
= 0;
35269 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35273 PyObject
*swig_obj
[1] ;
35275 if (!args
) SWIG_fail
;
35276 swig_obj
[0] = args
;
35277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35278 if (!SWIG_IsOK(res1
)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= (int)(arg1
)->GetLen();
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 resultobj
= SWIG_From_int(static_cast< int >(result
));
35295 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
= 0;
35297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35303 PyObject
* obj0
= 0 ;
35304 PyObject
* obj1
= 0 ;
35305 char * kwnames
[] = {
35306 (char *) "self",(char *) "id", NULL
35309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35311 if (!SWIG_IsOK(res1
)) {
35312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35316 if (!SWIG_IsOK(ecode2
)) {
35317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35319 arg2
= static_cast< int >(val2
);
35321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35322 (arg1
)->SetId(arg2
);
35323 wxPyEndAllowThreads(__tstate
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35326 resultobj
= SWIG_Py_Void();
35333 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
= 0;
35335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35341 PyObject
* obj0
= 0 ;
35342 PyObject
* obj1
= 0 ;
35343 char * kwnames
[] = {
35344 (char *) "self",(char *) "id", NULL
35347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35349 if (!SWIG_IsOK(res1
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35354 if (!SWIG_IsOK(ecode2
)) {
35355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35357 arg2
= static_cast< int >(val2
);
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 (arg1
)->ClearId(arg2
);
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35364 resultobj
= SWIG_Py_Void();
35371 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
= 0;
35373 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35379 PyObject
* obj0
= 0 ;
35380 PyObject
* obj1
= 0 ;
35381 char * kwnames
[] = {
35382 (char *) "self",(char *) "id", NULL
35385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35387 if (!SWIG_IsOK(res1
)) {
35388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35392 if (!SWIG_IsOK(ecode2
)) {
35393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35395 arg2
= static_cast< int >(val2
);
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 (arg1
)->RemoveId(arg2
);
35399 wxPyEndAllowThreads(__tstate
);
35400 if (PyErr_Occurred()) SWIG_fail
;
35402 resultobj
= SWIG_Py_Void();
35409 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35410 PyObject
*resultobj
= 0;
35411 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35423 PyObject
* obj0
= 0 ;
35424 PyObject
* obj1
= 0 ;
35425 PyObject
* obj2
= 0 ;
35426 PyObject
* obj3
= 0 ;
35427 char * kwnames
[] = {
35428 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35433 if (!SWIG_IsOK(res1
)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35436 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35438 if (!SWIG_IsOK(ecode2
)) {
35439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35441 arg2
= static_cast< int >(val2
);
35442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35443 if (!SWIG_IsOK(ecode3
)) {
35444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35446 arg3
= static_cast< int >(val3
);
35447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35448 if (!SWIG_IsOK(ecode4
)) {
35449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35451 arg4
= static_cast< int >(val4
);
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35454 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35455 wxPyEndAllowThreads(__tstate
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35458 resultobj
= SWIG_Py_Void();
35465 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35466 PyObject
*resultobj
= 0;
35467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35469 bool arg3
= (bool) true ;
35476 PyObject
* obj0
= 0 ;
35477 PyObject
* obj1
= 0 ;
35478 PyObject
* obj2
= 0 ;
35479 char * kwnames
[] = {
35480 (char *) "self",(char *) "id",(char *) "greyout", NULL
35483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35485 if (!SWIG_IsOK(res1
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35490 if (!SWIG_IsOK(ecode2
)) {
35491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35493 arg2
= static_cast< int >(val2
);
35495 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35496 if (!SWIG_IsOK(ecode3
)) {
35497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35499 arg3
= static_cast< bool >(val3
);
35502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35503 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35504 wxPyEndAllowThreads(__tstate
);
35505 if (PyErr_Occurred()) SWIG_fail
;
35507 resultobj
= SWIG_Py_Void();
35514 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35515 PyObject
*resultobj
= 0;
35516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 char * kwnames
[] = {
35526 (char *) "self",(char *) "id", NULL
35529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35531 if (!SWIG_IsOK(res1
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35536 if (!SWIG_IsOK(ecode2
)) {
35537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35539 arg2
= static_cast< int >(val2
);
35541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35542 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35555 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35556 PyObject
*resultobj
= 0;
35557 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35560 int arg4
= (int) 1 ;
35561 wxColor
const &arg5_defvalue
= *wxWHITE
;
35562 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35563 PyObject
*result
= 0 ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 PyObject
* obj2
= 0 ;
35577 PyObject
* obj3
= 0 ;
35578 PyObject
* obj4
= 0 ;
35579 char * kwnames
[] = {
35580 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35585 if (!SWIG_IsOK(res1
)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35590 if (!SWIG_IsOK(ecode2
)) {
35591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35593 arg2
= static_cast< int >(val2
);
35594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35595 if (!SWIG_IsOK(ecode3
)) {
35596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35598 arg3
= static_cast< int >(val3
);
35600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35601 if (!SWIG_IsOK(ecode4
)) {
35602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35604 arg4
= static_cast< int >(val4
);
35607 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35608 if (!SWIG_IsOK(res5
)) {
35609 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35614 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35617 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= result
;
35627 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
= 0;
35629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35632 PyObject
*result
= 0 ;
35639 PyObject
* obj0
= 0 ;
35640 PyObject
* obj1
= 0 ;
35641 PyObject
* obj2
= 0 ;
35642 char * kwnames
[] = {
35643 (char *) "self",(char *) "x",(char *) "y", NULL
35646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35648 if (!SWIG_IsOK(res1
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35653 if (!SWIG_IsOK(ecode2
)) {
35654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35656 arg2
= static_cast< int >(val2
);
35657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35658 if (!SWIG_IsOK(ecode3
)) {
35659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35661 arg3
= static_cast< int >(val3
);
35663 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= result
;
35673 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35674 PyObject
*resultobj
= 0;
35675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35677 wxDC
*arg3
= (wxDC
*) 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 PyObject
* obj2
= 0 ;
35687 char * kwnames
[] = {
35688 (char *) "self",(char *) "id",(char *) "dc", NULL
35691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35693 if (!SWIG_IsOK(res1
)) {
35694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35696 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35698 if (!SWIG_IsOK(ecode2
)) {
35699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35701 arg2
= static_cast< int >(val2
);
35702 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35703 if (!SWIG_IsOK(res3
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35706 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35709 (arg1
)->DrawIdToDC(arg2
,arg3
);
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= SWIG_Py_Void();
35720 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
= 0;
35722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35730 PyObject
* obj0
= 0 ;
35731 PyObject
* obj1
= 0 ;
35732 PyObject
* obj2
= 0 ;
35733 char * kwnames
[] = {
35734 (char *) "self",(char *) "id",(char *) "rect", NULL
35737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35739 if (!SWIG_IsOK(res1
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35742 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35744 if (!SWIG_IsOK(ecode2
)) {
35745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35747 arg2
= static_cast< int >(val2
);
35750 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35754 (arg1
)->SetIdBounds(arg2
,*arg3
);
35755 wxPyEndAllowThreads(__tstate
);
35756 if (PyErr_Occurred()) SWIG_fail
;
35758 resultobj
= SWIG_Py_Void();
35765 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35766 PyObject
*resultobj
= 0;
35767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35774 PyObject
* obj0
= 0 ;
35775 PyObject
* obj1
= 0 ;
35776 char * kwnames
[] = {
35777 (char *) "self",(char *) "id", NULL
35780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35782 if (!SWIG_IsOK(res1
)) {
35783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35787 if (!SWIG_IsOK(ecode2
)) {
35788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35790 arg2
= static_cast< int >(val2
);
35792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35793 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35794 wxPyEndAllowThreads(__tstate
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35797 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35804 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35805 PyObject
*resultobj
= 0;
35806 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35807 wxDC
*arg2
= (wxDC
*) 0 ;
35814 PyObject
* obj0
= 0 ;
35815 PyObject
* obj1
= 0 ;
35816 PyObject
* obj2
= 0 ;
35817 char * kwnames
[] = {
35818 (char *) "self",(char *) "dc",(char *) "rect", NULL
35821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35823 if (!SWIG_IsOK(res1
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35828 if (!SWIG_IsOK(res2
)) {
35829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35831 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35834 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35842 resultobj
= SWIG_Py_Void();
35849 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35850 PyObject
*resultobj
= 0;
35851 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35852 wxDC
*arg2
= (wxDC
*) 0 ;
35853 wxRegion
*arg3
= 0 ;
35860 PyObject
* obj0
= 0 ;
35861 PyObject
* obj1
= 0 ;
35862 PyObject
* obj2
= 0 ;
35863 char * kwnames
[] = {
35864 (char *) "self",(char *) "dc",(char *) "region", NULL
35867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35869 if (!SWIG_IsOK(res1
)) {
35870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35872 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35874 if (!SWIG_IsOK(res2
)) {
35875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35877 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35878 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35879 if (!SWIG_IsOK(res3
)) {
35880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35885 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35888 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35889 wxPyEndAllowThreads(__tstate
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35892 resultobj
= SWIG_Py_Void();
35899 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
= 0;
35901 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35902 wxDC
*arg2
= (wxDC
*) 0 ;
35907 PyObject
* obj0
= 0 ;
35908 PyObject
* obj1
= 0 ;
35909 char * kwnames
[] = {
35910 (char *) "self",(char *) "dc", NULL
35913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35915 if (!SWIG_IsOK(res1
)) {
35916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35918 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35920 if (!SWIG_IsOK(res2
)) {
35921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35923 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 (arg1
)->DrawToDC(arg2
);
35927 wxPyEndAllowThreads(__tstate
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35930 resultobj
= SWIG_Py_Void();
35937 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35938 PyObject
*resultobj
= 0;
35939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35942 wxColour
*arg4
= 0 ;
35943 int arg5
= (int) wxFLOOD_SURFACE
;
35953 PyObject
* obj0
= 0 ;
35954 PyObject
* obj1
= 0 ;
35955 PyObject
* obj2
= 0 ;
35956 PyObject
* obj3
= 0 ;
35957 PyObject
* obj4
= 0 ;
35958 char * kwnames
[] = {
35959 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35969 if (!SWIG_IsOK(ecode2
)) {
35970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35972 arg2
= static_cast< int >(val2
);
35973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35974 if (!SWIG_IsOK(ecode3
)) {
35975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35977 arg3
= static_cast< int >(val3
);
35980 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35984 if (!SWIG_IsOK(ecode5
)) {
35985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35987 arg5
= static_cast< int >(val5
);
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35995 resultobj
= SWIG_Py_Void();
36002 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36003 PyObject
*resultobj
= 0;
36004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36005 wxPoint
*arg2
= 0 ;
36006 wxColour
*arg3
= 0 ;
36007 int arg4
= (int) wxFLOOD_SURFACE
;
36014 PyObject
* obj0
= 0 ;
36015 PyObject
* obj1
= 0 ;
36016 PyObject
* obj2
= 0 ;
36017 PyObject
* obj3
= 0 ;
36018 char * kwnames
[] = {
36019 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36024 if (!SWIG_IsOK(res1
)) {
36025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36027 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36030 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36034 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36038 if (!SWIG_IsOK(ecode4
)) {
36039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36041 arg4
= static_cast< int >(val4
);
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 resultobj
= SWIG_Py_Void();
36056 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36057 PyObject
*resultobj
= 0;
36058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36073 PyObject
* obj0
= 0 ;
36074 PyObject
* obj1
= 0 ;
36075 PyObject
* obj2
= 0 ;
36076 PyObject
* obj3
= 0 ;
36077 PyObject
* obj4
= 0 ;
36078 char * kwnames
[] = {
36079 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36084 if (!SWIG_IsOK(res1
)) {
36085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36087 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36089 if (!SWIG_IsOK(ecode2
)) {
36090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36092 arg2
= static_cast< int >(val2
);
36093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36094 if (!SWIG_IsOK(ecode3
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36097 arg3
= static_cast< int >(val3
);
36098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36099 if (!SWIG_IsOK(ecode4
)) {
36100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36102 arg4
= static_cast< int >(val4
);
36103 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36104 if (!SWIG_IsOK(ecode5
)) {
36105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36107 arg5
= static_cast< int >(val5
);
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36114 resultobj
= SWIG_Py_Void();
36121 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36122 PyObject
*resultobj
= 0;
36123 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36124 wxPoint
*arg2
= 0 ;
36125 wxPoint
*arg3
= 0 ;
36130 PyObject
* obj0
= 0 ;
36131 PyObject
* obj1
= 0 ;
36132 PyObject
* obj2
= 0 ;
36133 char * kwnames
[] = {
36134 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36139 if (!SWIG_IsOK(res1
)) {
36140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36154 wxPyEndAllowThreads(__tstate
);
36155 if (PyErr_Occurred()) SWIG_fail
;
36157 resultobj
= SWIG_Py_Void();
36164 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
= 0;
36166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 PyObject
* obj1
= 0 ;
36177 PyObject
* obj2
= 0 ;
36178 char * kwnames
[] = {
36179 (char *) "self",(char *) "x",(char *) "y", NULL
36182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36184 if (!SWIG_IsOK(res1
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36189 if (!SWIG_IsOK(ecode2
)) {
36190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36192 arg2
= static_cast< int >(val2
);
36193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36194 if (!SWIG_IsOK(ecode3
)) {
36195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36197 arg3
= static_cast< int >(val3
);
36199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36200 (arg1
)->CrossHair(arg2
,arg3
);
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36204 resultobj
= SWIG_Py_Void();
36211 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36212 PyObject
*resultobj
= 0;
36213 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36214 wxPoint
*arg2
= 0 ;
36218 PyObject
* obj0
= 0 ;
36219 PyObject
* obj1
= 0 ;
36220 char * kwnames
[] = {
36221 (char *) "self",(char *) "pt", NULL
36224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36226 if (!SWIG_IsOK(res1
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= SWIG_Py_Void();
36247 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
= 0;
36249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36270 PyObject
* obj0
= 0 ;
36271 PyObject
* obj1
= 0 ;
36272 PyObject
* obj2
= 0 ;
36273 PyObject
* obj3
= 0 ;
36274 PyObject
* obj4
= 0 ;
36275 PyObject
* obj5
= 0 ;
36276 PyObject
* obj6
= 0 ;
36277 char * kwnames
[] = {
36278 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36283 if (!SWIG_IsOK(res1
)) {
36284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36286 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36288 if (!SWIG_IsOK(ecode2
)) {
36289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36291 arg2
= static_cast< int >(val2
);
36292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36293 if (!SWIG_IsOK(ecode3
)) {
36294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36296 arg3
= static_cast< int >(val3
);
36297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36298 if (!SWIG_IsOK(ecode4
)) {
36299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36301 arg4
= static_cast< int >(val4
);
36302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36303 if (!SWIG_IsOK(ecode5
)) {
36304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36306 arg5
= static_cast< int >(val5
);
36307 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36308 if (!SWIG_IsOK(ecode6
)) {
36309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36311 arg6
= static_cast< int >(val6
);
36312 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36313 if (!SWIG_IsOK(ecode7
)) {
36314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36316 arg7
= static_cast< int >(val7
);
36318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36319 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36320 wxPyEndAllowThreads(__tstate
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36323 resultobj
= SWIG_Py_Void();
36330 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36331 PyObject
*resultobj
= 0;
36332 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36333 wxPoint
*arg2
= 0 ;
36334 wxPoint
*arg3
= 0 ;
36335 wxPoint
*arg4
= 0 ;
36341 PyObject
* obj0
= 0 ;
36342 PyObject
* obj1
= 0 ;
36343 PyObject
* obj2
= 0 ;
36344 PyObject
* obj3
= 0 ;
36345 char * kwnames
[] = {
36346 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36351 if (!SWIG_IsOK(res1
)) {
36352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36354 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_Py_Void();
36380 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
= 0;
36382 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36397 PyObject
* obj0
= 0 ;
36398 PyObject
* obj1
= 0 ;
36399 PyObject
* obj2
= 0 ;
36400 PyObject
* obj3
= 0 ;
36401 PyObject
* obj4
= 0 ;
36402 char * kwnames
[] = {
36403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36408 if (!SWIG_IsOK(res1
)) {
36409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36411 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36413 if (!SWIG_IsOK(ecode2
)) {
36414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36416 arg2
= static_cast< int >(val2
);
36417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36418 if (!SWIG_IsOK(ecode3
)) {
36419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36421 arg3
= static_cast< int >(val3
);
36422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36423 if (!SWIG_IsOK(ecode4
)) {
36424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36426 arg4
= static_cast< int >(val4
);
36427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36428 if (!SWIG_IsOK(ecode5
)) {
36429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36431 arg5
= static_cast< int >(val5
);
36433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 resultobj
= SWIG_Py_Void();
36445 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
= 0;
36447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36452 PyObject
* obj0
= 0 ;
36453 PyObject
* obj1
= 0 ;
36454 char * kwnames
[] = {
36455 (char *) "self",(char *) "rect", NULL
36458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36460 if (!SWIG_IsOK(res1
)) {
36461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36463 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36471 wxPyEndAllowThreads(__tstate
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36474 resultobj
= SWIG_Py_Void();
36481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36482 PyObject
*resultobj
= 0;
36483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36504 PyObject
* obj0
= 0 ;
36505 PyObject
* obj1
= 0 ;
36506 PyObject
* obj2
= 0 ;
36507 PyObject
* obj3
= 0 ;
36508 PyObject
* obj4
= 0 ;
36509 PyObject
* obj5
= 0 ;
36510 PyObject
* obj6
= 0 ;
36511 char * kwnames
[] = {
36512 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36517 if (!SWIG_IsOK(res1
)) {
36518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36520 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36522 if (!SWIG_IsOK(ecode2
)) {
36523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36525 arg2
= static_cast< int >(val2
);
36526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36527 if (!SWIG_IsOK(ecode3
)) {
36528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36530 arg3
= static_cast< int >(val3
);
36531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36532 if (!SWIG_IsOK(ecode4
)) {
36533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36535 arg4
= static_cast< int >(val4
);
36536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36537 if (!SWIG_IsOK(ecode5
)) {
36538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36540 arg5
= static_cast< int >(val5
);
36541 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36542 if (!SWIG_IsOK(ecode6
)) {
36543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36545 arg6
= static_cast< double >(val6
);
36546 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36547 if (!SWIG_IsOK(ecode7
)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36550 arg7
= static_cast< double >(val7
);
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= SWIG_Py_Void();
36564 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
= 0;
36566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36567 wxPoint
*arg2
= 0 ;
36579 PyObject
* obj0
= 0 ;
36580 PyObject
* obj1
= 0 ;
36581 PyObject
* obj2
= 0 ;
36582 PyObject
* obj3
= 0 ;
36583 PyObject
* obj4
= 0 ;
36584 char * kwnames
[] = {
36585 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36590 if (!SWIG_IsOK(res1
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36593 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36600 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36602 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36603 if (!SWIG_IsOK(ecode4
)) {
36604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36606 arg4
= static_cast< double >(val4
);
36607 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36608 if (!SWIG_IsOK(ecode5
)) {
36609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36611 arg5
= static_cast< double >(val5
);
36613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36614 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36615 wxPyEndAllowThreads(__tstate
);
36616 if (PyErr_Occurred()) SWIG_fail
;
36618 resultobj
= SWIG_Py_Void();
36625 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36626 PyObject
*resultobj
= 0;
36627 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36636 PyObject
* obj0
= 0 ;
36637 PyObject
* obj1
= 0 ;
36638 PyObject
* obj2
= 0 ;
36639 char * kwnames
[] = {
36640 (char *) "self",(char *) "x",(char *) "y", NULL
36643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36645 if (!SWIG_IsOK(res1
)) {
36646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36648 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36650 if (!SWIG_IsOK(ecode2
)) {
36651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36653 arg2
= static_cast< int >(val2
);
36654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36655 if (!SWIG_IsOK(ecode3
)) {
36656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36658 arg3
= static_cast< int >(val3
);
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 (arg1
)->DrawPoint(arg2
,arg3
);
36662 wxPyEndAllowThreads(__tstate
);
36663 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= SWIG_Py_Void();
36672 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36673 PyObject
*resultobj
= 0;
36674 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36675 wxPoint
*arg2
= 0 ;
36679 PyObject
* obj0
= 0 ;
36680 PyObject
* obj1
= 0 ;
36681 char * kwnames
[] = {
36682 (char *) "self",(char *) "pt", NULL
36685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36687 if (!SWIG_IsOK(res1
)) {
36688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36690 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36697 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= SWIG_Py_Void();
36708 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
= 0;
36710 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36725 PyObject
* obj0
= 0 ;
36726 PyObject
* obj1
= 0 ;
36727 PyObject
* obj2
= 0 ;
36728 PyObject
* obj3
= 0 ;
36729 PyObject
* obj4
= 0 ;
36730 char * kwnames
[] = {
36731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36736 if (!SWIG_IsOK(res1
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36741 if (!SWIG_IsOK(ecode2
)) {
36742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36744 arg2
= static_cast< int >(val2
);
36745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36746 if (!SWIG_IsOK(ecode3
)) {
36747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36749 arg3
= static_cast< int >(val3
);
36750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36751 if (!SWIG_IsOK(ecode4
)) {
36752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36754 arg4
= static_cast< int >(val4
);
36755 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36756 if (!SWIG_IsOK(ecode5
)) {
36757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36759 arg5
= static_cast< int >(val5
);
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= SWIG_Py_Void();
36773 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36774 PyObject
*resultobj
= 0;
36775 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36780 PyObject
* obj0
= 0 ;
36781 PyObject
* obj1
= 0 ;
36782 char * kwnames
[] = {
36783 (char *) "self",(char *) "rect", NULL
36786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36788 if (!SWIG_IsOK(res1
)) {
36789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36798 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= SWIG_Py_Void();
36809 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
= 0;
36811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36812 wxPoint
*arg2
= 0 ;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 PyObject
* obj2
= 0 ;
36821 char * kwnames
[] = {
36822 (char *) "self",(char *) "pt",(char *) "sz", NULL
36825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36827 if (!SWIG_IsOK(res1
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36830 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36837 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_Py_Void();
36852 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
= 0;
36854 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36872 PyObject
* obj0
= 0 ;
36873 PyObject
* obj1
= 0 ;
36874 PyObject
* obj2
= 0 ;
36875 PyObject
* obj3
= 0 ;
36876 PyObject
* obj4
= 0 ;
36877 PyObject
* obj5
= 0 ;
36878 char * kwnames
[] = {
36879 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36884 if (!SWIG_IsOK(res1
)) {
36885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36887 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36889 if (!SWIG_IsOK(ecode2
)) {
36890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36892 arg2
= static_cast< int >(val2
);
36893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36894 if (!SWIG_IsOK(ecode3
)) {
36895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36897 arg3
= static_cast< int >(val3
);
36898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36899 if (!SWIG_IsOK(ecode4
)) {
36900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36902 arg4
= static_cast< int >(val4
);
36903 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36904 if (!SWIG_IsOK(ecode5
)) {
36905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36907 arg5
= static_cast< int >(val5
);
36908 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36909 if (!SWIG_IsOK(ecode6
)) {
36910 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36912 arg6
= static_cast< double >(val6
);
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36916 wxPyEndAllowThreads(__tstate
);
36917 if (PyErr_Occurred()) SWIG_fail
;
36919 resultobj
= SWIG_Py_Void();
36926 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36927 PyObject
*resultobj
= 0;
36928 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36936 PyObject
* obj0
= 0 ;
36937 PyObject
* obj1
= 0 ;
36938 PyObject
* obj2
= 0 ;
36939 char * kwnames
[] = {
36940 (char *) "self",(char *) "r",(char *) "radius", NULL
36943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36945 if (!SWIG_IsOK(res1
)) {
36946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36951 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36953 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36954 if (!SWIG_IsOK(ecode3
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36957 arg3
= static_cast< double >(val3
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= SWIG_Py_Void();
36971 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
= 0;
36973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36974 wxPoint
*arg2
= 0 ;
36983 PyObject
* obj0
= 0 ;
36984 PyObject
* obj1
= 0 ;
36985 PyObject
* obj2
= 0 ;
36986 PyObject
* obj3
= 0 ;
36987 char * kwnames
[] = {
36988 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36993 if (!SWIG_IsOK(res1
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37003 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37005 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37006 if (!SWIG_IsOK(ecode4
)) {
37007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37009 arg4
= static_cast< double >(val4
);
37011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37012 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37013 wxPyEndAllowThreads(__tstate
);
37014 if (PyErr_Occurred()) SWIG_fail
;
37016 resultobj
= SWIG_Py_Void();
37023 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37024 PyObject
*resultobj
= 0;
37025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37037 PyObject
* obj0
= 0 ;
37038 PyObject
* obj1
= 0 ;
37039 PyObject
* obj2
= 0 ;
37040 PyObject
* obj3
= 0 ;
37041 char * kwnames
[] = {
37042 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37047 if (!SWIG_IsOK(res1
)) {
37048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37052 if (!SWIG_IsOK(ecode2
)) {
37053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37055 arg2
= static_cast< int >(val2
);
37056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37057 if (!SWIG_IsOK(ecode3
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37060 arg3
= static_cast< int >(val3
);
37061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37062 if (!SWIG_IsOK(ecode4
)) {
37063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37065 arg4
= static_cast< int >(val4
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= SWIG_Py_Void();
37079 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
= 0;
37081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37082 wxPoint
*arg2
= 0 ;
37089 PyObject
* obj0
= 0 ;
37090 PyObject
* obj1
= 0 ;
37091 PyObject
* obj2
= 0 ;
37092 char * kwnames
[] = {
37093 (char *) "self",(char *) "pt",(char *) "radius", NULL
37096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37098 if (!SWIG_IsOK(res1
)) {
37099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37101 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37107 if (!SWIG_IsOK(ecode3
)) {
37108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37110 arg3
= static_cast< int >(val3
);
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= SWIG_Py_Void();
37124 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
= 0;
37126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37141 PyObject
* obj0
= 0 ;
37142 PyObject
* obj1
= 0 ;
37143 PyObject
* obj2
= 0 ;
37144 PyObject
* obj3
= 0 ;
37145 PyObject
* obj4
= 0 ;
37146 char * kwnames
[] = {
37147 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37152 if (!SWIG_IsOK(res1
)) {
37153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37155 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37157 if (!SWIG_IsOK(ecode2
)) {
37158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37160 arg2
= static_cast< int >(val2
);
37161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37162 if (!SWIG_IsOK(ecode3
)) {
37163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37165 arg3
= static_cast< int >(val3
);
37166 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37167 if (!SWIG_IsOK(ecode4
)) {
37168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37170 arg4
= static_cast< int >(val4
);
37171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37172 if (!SWIG_IsOK(ecode5
)) {
37173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37175 arg5
= static_cast< int >(val5
);
37177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37178 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37179 wxPyEndAllowThreads(__tstate
);
37180 if (PyErr_Occurred()) SWIG_fail
;
37182 resultobj
= SWIG_Py_Void();
37189 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37190 PyObject
*resultobj
= 0;
37191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37196 PyObject
* obj0
= 0 ;
37197 PyObject
* obj1
= 0 ;
37198 char * kwnames
[] = {
37199 (char *) "self",(char *) "rect", NULL
37202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37204 if (!SWIG_IsOK(res1
)) {
37205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37210 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37218 resultobj
= SWIG_Py_Void();
37225 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37226 PyObject
*resultobj
= 0;
37227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37228 wxPoint
*arg2
= 0 ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 PyObject
* obj2
= 0 ;
37237 char * kwnames
[] = {
37238 (char *) "self",(char *) "pt",(char *) "sz", NULL
37241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37243 if (!SWIG_IsOK(res1
)) {
37244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37246 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37253 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37261 resultobj
= SWIG_Py_Void();
37268 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37269 PyObject
*resultobj
= 0;
37270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37282 PyObject
* obj0
= 0 ;
37283 PyObject
* obj1
= 0 ;
37284 PyObject
* obj2
= 0 ;
37285 PyObject
* obj3
= 0 ;
37286 char * kwnames
[] = {
37287 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37292 if (!SWIG_IsOK(res1
)) {
37293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37297 if (!SWIG_IsOK(res2
)) {
37298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37303 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37305 if (!SWIG_IsOK(ecode3
)) {
37306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37308 arg3
= static_cast< int >(val3
);
37309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37310 if (!SWIG_IsOK(ecode4
)) {
37311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37313 arg4
= static_cast< int >(val4
);
37315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37316 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37317 wxPyEndAllowThreads(__tstate
);
37318 if (PyErr_Occurred()) SWIG_fail
;
37320 resultobj
= SWIG_Py_Void();
37327 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37328 PyObject
*resultobj
= 0;
37329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37331 wxPoint
*arg3
= 0 ;
37337 PyObject
* obj0
= 0 ;
37338 PyObject
* obj1
= 0 ;
37339 PyObject
* obj2
= 0 ;
37340 char * kwnames
[] = {
37341 (char *) "self",(char *) "icon",(char *) "pt", NULL
37344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37346 if (!SWIG_IsOK(res1
)) {
37347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37351 if (!SWIG_IsOK(res2
)) {
37352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37357 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37364 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37365 wxPyEndAllowThreads(__tstate
);
37366 if (PyErr_Occurred()) SWIG_fail
;
37368 resultobj
= SWIG_Py_Void();
37375 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
= 0;
37377 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37378 wxBitmap
*arg2
= 0 ;
37381 bool arg5
= (bool) false ;
37392 PyObject
* obj0
= 0 ;
37393 PyObject
* obj1
= 0 ;
37394 PyObject
* obj2
= 0 ;
37395 PyObject
* obj3
= 0 ;
37396 PyObject
* obj4
= 0 ;
37397 char * kwnames
[] = {
37398 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37403 if (!SWIG_IsOK(res1
)) {
37404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37406 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37407 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37408 if (!SWIG_IsOK(res2
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37414 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37416 if (!SWIG_IsOK(ecode3
)) {
37417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37419 arg3
= static_cast< int >(val3
);
37420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37421 if (!SWIG_IsOK(ecode4
)) {
37422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37424 arg4
= static_cast< int >(val4
);
37426 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37427 if (!SWIG_IsOK(ecode5
)) {
37428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37430 arg5
= static_cast< bool >(val5
);
37433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37434 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37435 wxPyEndAllowThreads(__tstate
);
37436 if (PyErr_Occurred()) SWIG_fail
;
37438 resultobj
= SWIG_Py_Void();
37445 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37446 PyObject
*resultobj
= 0;
37447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37448 wxBitmap
*arg2
= 0 ;
37449 wxPoint
*arg3
= 0 ;
37450 bool arg4
= (bool) false ;
37458 PyObject
* obj0
= 0 ;
37459 PyObject
* obj1
= 0 ;
37460 PyObject
* obj2
= 0 ;
37461 PyObject
* obj3
= 0 ;
37462 char * kwnames
[] = {
37463 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37468 if (!SWIG_IsOK(res1
)) {
37469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37473 if (!SWIG_IsOK(res2
)) {
37474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37479 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37485 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37486 if (!SWIG_IsOK(ecode4
)) {
37487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37489 arg4
= static_cast< bool >(val4
);
37492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37493 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37494 wxPyEndAllowThreads(__tstate
);
37495 if (PyErr_Occurred()) SWIG_fail
;
37497 resultobj
= SWIG_Py_Void();
37504 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37505 PyObject
*resultobj
= 0;
37506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37507 wxString
*arg2
= 0 ;
37512 bool temp2
= false ;
37517 PyObject
* obj0
= 0 ;
37518 PyObject
* obj1
= 0 ;
37519 PyObject
* obj2
= 0 ;
37520 PyObject
* obj3
= 0 ;
37521 char * kwnames
[] = {
37522 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37527 if (!SWIG_IsOK(res1
)) {
37528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37530 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37532 arg2
= wxString_in_helper(obj1
);
37533 if (arg2
== NULL
) SWIG_fail
;
37536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37537 if (!SWIG_IsOK(ecode3
)) {
37538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37540 arg3
= static_cast< int >(val3
);
37541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37542 if (!SWIG_IsOK(ecode4
)) {
37543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37545 arg4
= static_cast< int >(val4
);
37547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37548 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37549 wxPyEndAllowThreads(__tstate
);
37550 if (PyErr_Occurred()) SWIG_fail
;
37552 resultobj
= SWIG_Py_Void();
37567 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37568 PyObject
*resultobj
= 0;
37569 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37570 wxString
*arg2
= 0 ;
37571 wxPoint
*arg3
= 0 ;
37574 bool temp2
= false ;
37576 PyObject
* obj0
= 0 ;
37577 PyObject
* obj1
= 0 ;
37578 PyObject
* obj2
= 0 ;
37579 char * kwnames
[] = {
37580 (char *) "self",(char *) "text",(char *) "pt", NULL
37583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37585 if (!SWIG_IsOK(res1
)) {
37586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37590 arg2
= wxString_in_helper(obj1
);
37591 if (arg2
== NULL
) SWIG_fail
;
37596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37600 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37601 wxPyEndAllowThreads(__tstate
);
37602 if (PyErr_Occurred()) SWIG_fail
;
37604 resultobj
= SWIG_Py_Void();
37619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
= 0;
37621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37622 wxString
*arg2
= 0 ;
37628 bool temp2
= false ;
37635 PyObject
* obj0
= 0 ;
37636 PyObject
* obj1
= 0 ;
37637 PyObject
* obj2
= 0 ;
37638 PyObject
* obj3
= 0 ;
37639 PyObject
* obj4
= 0 ;
37640 char * kwnames
[] = {
37641 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37646 if (!SWIG_IsOK(res1
)) {
37647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37651 arg2
= wxString_in_helper(obj1
);
37652 if (arg2
== NULL
) SWIG_fail
;
37655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37656 if (!SWIG_IsOK(ecode3
)) {
37657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37659 arg3
= static_cast< int >(val3
);
37660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37661 if (!SWIG_IsOK(ecode4
)) {
37662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37664 arg4
= static_cast< int >(val4
);
37665 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37666 if (!SWIG_IsOK(ecode5
)) {
37667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37669 arg5
= static_cast< double >(val5
);
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37673 wxPyEndAllowThreads(__tstate
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37676 resultobj
= SWIG_Py_Void();
37691 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37692 PyObject
*resultobj
= 0;
37693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37694 wxString
*arg2
= 0 ;
37695 wxPoint
*arg3
= 0 ;
37699 bool temp2
= false ;
37703 PyObject
* obj0
= 0 ;
37704 PyObject
* obj1
= 0 ;
37705 PyObject
* obj2
= 0 ;
37706 PyObject
* obj3
= 0 ;
37707 char * kwnames
[] = {
37708 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37713 if (!SWIG_IsOK(res1
)) {
37714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37716 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37718 arg2
= wxString_in_helper(obj1
);
37719 if (arg2
== NULL
) SWIG_fail
;
37724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37726 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37727 if (!SWIG_IsOK(ecode4
)) {
37728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37730 arg4
= static_cast< double >(val4
);
37732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37733 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37734 wxPyEndAllowThreads(__tstate
);
37735 if (PyErr_Occurred()) SWIG_fail
;
37737 resultobj
= SWIG_Py_Void();
37752 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37753 PyObject
*resultobj
= 0;
37754 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37756 wxPoint
*arg3
= (wxPoint
*) 0 ;
37757 int arg4
= (int) 0 ;
37758 int arg5
= (int) 0 ;
37765 PyObject
* obj0
= 0 ;
37766 PyObject
* obj1
= 0 ;
37767 PyObject
* obj2
= 0 ;
37768 PyObject
* obj3
= 0 ;
37769 char * kwnames
[] = {
37770 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37775 if (!SWIG_IsOK(res1
)) {
37776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37778 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37780 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37781 if (arg3
== NULL
) SWIG_fail
;
37784 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37785 if (!SWIG_IsOK(ecode4
)) {
37786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37788 arg4
= static_cast< int >(val4
);
37791 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37792 if (!SWIG_IsOK(ecode5
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37795 arg5
= static_cast< int >(val5
);
37798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37799 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37803 resultobj
= SWIG_Py_Void();
37805 if (arg3
) delete [] arg3
;
37810 if (arg3
) delete [] arg3
;
37816 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
= 0;
37818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37820 wxPoint
*arg3
= (wxPoint
*) 0 ;
37821 int arg4
= (int) 0 ;
37822 int arg5
= (int) 0 ;
37823 int arg6
= (int) wxODDEVEN_RULE
;
37832 PyObject
* obj0
= 0 ;
37833 PyObject
* obj1
= 0 ;
37834 PyObject
* obj2
= 0 ;
37835 PyObject
* obj3
= 0 ;
37836 PyObject
* obj4
= 0 ;
37837 char * kwnames
[] = {
37838 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37843 if (!SWIG_IsOK(res1
)) {
37844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37846 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37848 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37849 if (arg3
== NULL
) SWIG_fail
;
37852 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37853 if (!SWIG_IsOK(ecode4
)) {
37854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37856 arg4
= static_cast< int >(val4
);
37859 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37860 if (!SWIG_IsOK(ecode5
)) {
37861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37863 arg5
= static_cast< int >(val5
);
37866 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37867 if (!SWIG_IsOK(ecode6
)) {
37868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37870 arg6
= static_cast< int >(val6
);
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37875 wxPyEndAllowThreads(__tstate
);
37876 if (PyErr_Occurred()) SWIG_fail
;
37878 resultobj
= SWIG_Py_Void();
37880 if (arg3
) delete [] arg3
;
37885 if (arg3
) delete [] arg3
;
37891 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37892 PyObject
*resultobj
= 0;
37893 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37894 wxString
*arg2
= 0 ;
37896 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37897 int arg5
= (int) -1 ;
37900 bool temp2
= false ;
37906 PyObject
* obj0
= 0 ;
37907 PyObject
* obj1
= 0 ;
37908 PyObject
* obj2
= 0 ;
37909 PyObject
* obj3
= 0 ;
37910 PyObject
* obj4
= 0 ;
37911 char * kwnames
[] = {
37912 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37917 if (!SWIG_IsOK(res1
)) {
37918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37922 arg2
= wxString_in_helper(obj1
);
37923 if (arg2
== NULL
) SWIG_fail
;
37928 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37932 if (!SWIG_IsOK(ecode4
)) {
37933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37935 arg4
= static_cast< int >(val4
);
37938 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37939 if (!SWIG_IsOK(ecode5
)) {
37940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37942 arg5
= static_cast< int >(val5
);
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= SWIG_Py_Void();
37965 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
= 0;
37967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37968 wxString
*arg2
= 0 ;
37969 wxBitmap
*arg3
= 0 ;
37971 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37972 int arg6
= (int) -1 ;
37975 bool temp2
= false ;
37983 PyObject
* obj0
= 0 ;
37984 PyObject
* obj1
= 0 ;
37985 PyObject
* obj2
= 0 ;
37986 PyObject
* obj3
= 0 ;
37987 PyObject
* obj4
= 0 ;
37988 PyObject
* obj5
= 0 ;
37989 char * kwnames
[] = {
37990 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37995 if (!SWIG_IsOK(res1
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38000 arg2
= wxString_in_helper(obj1
);
38001 if (arg2
== NULL
) SWIG_fail
;
38004 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38005 if (!SWIG_IsOK(res3
)) {
38006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38011 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38014 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38017 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38018 if (!SWIG_IsOK(ecode5
)) {
38019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38021 arg5
= static_cast< int >(val5
);
38024 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38025 if (!SWIG_IsOK(ecode6
)) {
38026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38028 arg6
= static_cast< int >(val6
);
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= SWIG_Py_Void();
38051 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38052 PyObject
*resultobj
= 0;
38053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38055 wxPoint
*arg3
= (wxPoint
*) 0 ;
38058 PyObject
* obj0
= 0 ;
38059 PyObject
* obj1
= 0 ;
38060 char * kwnames
[] = {
38061 (char *) "self",(char *) "points", NULL
38064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38066 if (!SWIG_IsOK(res1
)) {
38067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38069 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38071 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38072 if (arg3
== NULL
) SWIG_fail
;
38075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38076 (arg1
)->DrawSpline(arg2
,arg3
);
38077 wxPyEndAllowThreads(__tstate
);
38078 if (PyErr_Occurred()) SWIG_fail
;
38080 resultobj
= SWIG_Py_Void();
38082 if (arg3
) delete [] arg3
;
38087 if (arg3
) delete [] arg3
;
38093 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38094 PyObject
*resultobj
= 0;
38095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38098 PyObject
*swig_obj
[1] ;
38100 if (!args
) SWIG_fail
;
38101 swig_obj
[0] = args
;
38102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38103 if (!SWIG_IsOK(res1
)) {
38104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38106 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38110 wxPyEndAllowThreads(__tstate
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38113 resultobj
= SWIG_Py_Void();
38120 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38121 PyObject
*resultobj
= 0;
38122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38128 PyObject
* obj0
= 0 ;
38129 PyObject
* obj1
= 0 ;
38130 char * kwnames
[] = {
38131 (char *) "self",(char *) "font", NULL
38134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38136 if (!SWIG_IsOK(res1
)) {
38137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38141 if (!SWIG_IsOK(res2
)) {
38142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38147 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 (arg1
)->SetFont((wxFont
const &)*arg2
);
38151 wxPyEndAllowThreads(__tstate
);
38152 if (PyErr_Occurred()) SWIG_fail
;
38154 resultobj
= SWIG_Py_Void();
38161 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38162 PyObject
*resultobj
= 0;
38163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38169 PyObject
* obj0
= 0 ;
38170 PyObject
* obj1
= 0 ;
38171 char * kwnames
[] = {
38172 (char *) "self",(char *) "pen", NULL
38175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38177 if (!SWIG_IsOK(res1
)) {
38178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38182 if (!SWIG_IsOK(res2
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38188 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 (arg1
)->SetPen((wxPen
const &)*arg2
);
38192 wxPyEndAllowThreads(__tstate
);
38193 if (PyErr_Occurred()) SWIG_fail
;
38195 resultobj
= SWIG_Py_Void();
38202 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38203 PyObject
*resultobj
= 0;
38204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38205 wxBrush
*arg2
= 0 ;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 char * kwnames
[] = {
38213 (char *) "self",(char *) "brush", NULL
38216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38218 if (!SWIG_IsOK(res1
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38221 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38223 if (!SWIG_IsOK(res2
)) {
38224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38229 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_Py_Void();
38243 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
= 0;
38245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38246 wxBrush
*arg2
= 0 ;
38251 PyObject
* obj0
= 0 ;
38252 PyObject
* obj1
= 0 ;
38253 char * kwnames
[] = {
38254 (char *) "self",(char *) "brush", NULL
38257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38259 if (!SWIG_IsOK(res1
)) {
38260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38264 if (!SWIG_IsOK(res2
)) {
38265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38270 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38273 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38274 wxPyEndAllowThreads(__tstate
);
38275 if (PyErr_Occurred()) SWIG_fail
;
38277 resultobj
= SWIG_Py_Void();
38284 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38285 PyObject
*resultobj
= 0;
38286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38292 PyObject
* obj0
= 0 ;
38293 PyObject
* obj1
= 0 ;
38294 char * kwnames
[] = {
38295 (char *) "self",(char *) "mode", NULL
38298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38300 if (!SWIG_IsOK(res1
)) {
38301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38305 if (!SWIG_IsOK(ecode2
)) {
38306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38308 arg2
= static_cast< int >(val2
);
38310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38311 (arg1
)->SetBackgroundMode(arg2
);
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38315 resultobj
= SWIG_Py_Void();
38322 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38323 PyObject
*resultobj
= 0;
38324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38325 wxPalette
*arg2
= 0 ;
38330 PyObject
* obj0
= 0 ;
38331 PyObject
* obj1
= 0 ;
38332 char * kwnames
[] = {
38333 (char *) "self",(char *) "palette", NULL
38336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38338 if (!SWIG_IsOK(res1
)) {
38339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38341 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38343 if (!SWIG_IsOK(res2
)) {
38344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38349 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38352 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38356 resultobj
= SWIG_Py_Void();
38363 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38364 PyObject
*resultobj
= 0;
38365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38366 wxColour
*arg2
= 0 ;
38370 PyObject
* obj0
= 0 ;
38371 PyObject
* obj1
= 0 ;
38372 char * kwnames
[] = {
38373 (char *) "self",(char *) "colour", NULL
38376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38378 if (!SWIG_IsOK(res1
)) {
38379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38381 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38388 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38392 resultobj
= SWIG_Py_Void();
38399 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38400 PyObject
*resultobj
= 0;
38401 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38402 wxColour
*arg2
= 0 ;
38406 PyObject
* obj0
= 0 ;
38407 PyObject
* obj1
= 0 ;
38408 char * kwnames
[] = {
38409 (char *) "self",(char *) "colour", NULL
38412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38414 if (!SWIG_IsOK(res1
)) {
38415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38417 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38425 wxPyEndAllowThreads(__tstate
);
38426 if (PyErr_Occurred()) SWIG_fail
;
38428 resultobj
= SWIG_Py_Void();
38435 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38436 PyObject
*resultobj
= 0;
38437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38443 PyObject
* obj0
= 0 ;
38444 PyObject
* obj1
= 0 ;
38445 char * kwnames
[] = {
38446 (char *) "self",(char *) "function", NULL
38449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38451 if (!SWIG_IsOK(res1
)) {
38452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38454 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38456 if (!SWIG_IsOK(ecode2
)) {
38457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38459 arg2
= static_cast< int >(val2
);
38461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38462 (arg1
)->SetLogicalFunction(arg2
);
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38466 resultobj
= SWIG_Py_Void();
38473 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38476 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38477 return SWIG_Py_Void();
38480 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38481 return SWIG_Python_InitShadowInstance(args
);
38484 static PyMethodDef SwigMethods
[] = {
38485 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38486 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38487 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38488 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38489 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38490 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38494 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38495 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38496 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38497 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38498 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38499 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38504 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38508 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38509 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38510 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38512 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38515 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38516 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38517 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38518 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38520 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38521 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38522 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38523 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38524 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38525 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38526 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38533 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38537 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38538 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38541 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38545 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38546 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38547 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38548 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38549 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38550 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38552 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38553 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38555 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38561 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38562 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38563 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38564 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38565 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38566 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38567 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38573 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38583 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38584 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38588 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38589 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38590 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38591 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38592 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38593 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38594 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38595 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38596 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38597 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38598 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38599 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38600 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38601 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38602 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38604 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38605 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38611 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38612 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38613 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38614 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38615 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38616 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38617 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38618 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38619 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38620 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38621 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38622 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38624 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38625 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38631 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38632 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38633 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38635 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38636 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38637 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38639 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38640 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38644 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38645 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38646 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38647 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38652 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38653 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38655 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38656 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38658 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38660 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38661 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38662 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38663 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38666 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38670 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38671 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38673 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38676 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38677 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38678 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38683 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38684 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38690 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38694 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38705 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38708 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38709 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38711 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38712 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38713 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38714 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38715 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38716 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38717 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38718 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38719 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38720 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38721 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38722 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38723 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38724 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38725 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38726 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38727 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38729 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38730 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38731 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38732 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38733 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38734 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38735 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38744 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38745 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38747 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38748 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38749 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38750 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38751 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38752 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38753 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38754 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38755 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38757 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38758 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38759 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38762 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38763 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38764 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38767 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38773 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38778 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38779 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38781 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38787 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38790 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38791 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38792 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38793 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38794 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38795 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38796 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38797 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38798 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38799 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38800 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38801 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38802 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38814 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38815 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38816 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38818 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38819 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38821 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38822 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38823 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38824 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38828 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38829 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38831 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38832 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38833 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38834 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38835 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38836 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38837 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38838 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38839 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38841 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38844 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38845 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38846 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38847 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38848 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38849 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38850 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38851 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38861 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38862 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38863 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38865 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38869 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38870 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38871 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38872 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38873 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38874 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38880 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38881 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38882 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38932 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38934 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38935 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38936 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38943 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38944 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38945 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38946 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38947 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38952 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38953 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38954 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38955 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38964 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38965 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38966 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38967 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38968 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38969 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38970 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38971 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38972 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38973 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38974 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38975 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38978 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38980 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38982 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38984 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38985 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38988 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38989 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38993 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38995 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38998 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38999 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39000 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39001 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39002 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39003 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39004 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39012 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39014 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39015 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39016 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39018 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39019 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39020 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39022 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39023 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39024 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39025 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39026 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39029 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39032 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39033 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39034 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39036 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39037 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39039 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39040 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39042 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39043 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39048 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39049 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39050 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39051 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39052 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39054 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39055 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39056 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39058 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39059 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39061 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39062 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39065 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39066 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39068 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39071 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39072 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39073 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39075 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39076 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39078 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39079 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39080 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39081 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39082 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39084 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39085 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39086 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39088 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39089 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39091 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39092 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39093 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39094 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39095 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39096 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39097 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39098 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39099 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39100 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39101 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39102 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39103 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39104 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39105 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39106 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39107 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39108 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39109 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39112 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39114 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39120 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39121 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39122 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39123 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39124 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39125 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39126 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39127 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39129 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39130 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39131 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39138 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39141 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39142 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39143 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39144 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39145 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39146 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39147 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39150 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39157 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39158 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39161 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39162 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39168 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39169 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39170 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39171 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39189 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39190 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39191 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39192 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39193 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39194 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39197 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39204 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39205 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39206 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39207 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39209 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39210 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39211 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39212 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39213 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39214 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39215 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39216 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39217 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39218 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39219 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39220 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39222 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39230 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39232 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39234 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39235 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39236 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39237 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39238 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39239 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39245 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39246 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39247 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39248 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39249 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39250 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39254 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39258 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39262 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39263 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39264 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39269 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39270 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39271 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39272 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39273 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39274 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39275 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39276 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39277 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39278 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39279 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39280 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39289 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39290 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39292 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39293 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39294 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39295 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39296 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39297 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39298 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39299 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39300 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39301 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39302 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39303 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39304 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39305 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39306 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39307 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39308 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39309 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39310 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39311 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39312 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39313 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39314 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39315 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39317 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39319 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39320 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39321 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39322 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39335 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39336 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39337 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39339 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39340 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39341 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39342 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39343 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39344 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39345 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39346 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39399 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39409 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39410 { NULL
, NULL
, 0, NULL
}
39414 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39416 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39417 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39419 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39420 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39422 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39423 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39425 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39426 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39428 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39429 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39431 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39432 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39434 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39435 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39437 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39438 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39440 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39441 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39443 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39444 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39446 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39447 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39449 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39450 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39452 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39453 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39455 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39456 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39458 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39459 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39461 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39462 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39464 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39465 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39467 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39468 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39470 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39471 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39473 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39474 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39476 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39477 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39479 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39480 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39482 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39483 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39485 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39486 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39488 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39489 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39491 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39492 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39494 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39495 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39497 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39498 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39500 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39501 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39503 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39504 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39506 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39507 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39509 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39510 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39512 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39513 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39515 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39516 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39518 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39519 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39521 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39522 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39524 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39525 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39527 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39528 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39530 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39531 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39533 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39534 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39536 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39539 static void *_p_wxPenTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39542 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39545 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39548 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39551 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39554 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39557 static void *_p_wxIconTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39560 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39563 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39566 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) ((wxSizer
*) x
));
39569 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39572 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39575 static void *_p_wxEventTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) ((wxEvent
*) x
));
39578 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39581 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39584 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39587 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39590 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39593 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39596 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39599 static void *_p_wxDCTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) ((wxDC
*) x
));
39602 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39605 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39608 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39611 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39614 static void *_p_wxControlTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39617 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39620 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39623 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39626 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39629 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39632 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39635 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39638 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39641 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39644 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39647 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39650 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) ((wxEffects
*) x
));
39653 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39654 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39656 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39659 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39660 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39662 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39663 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39665 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39666 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39668 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39669 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39671 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39674 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39675 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39677 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39680 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39681 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39683 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39684 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39686 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39687 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39689 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39690 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39692 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39693 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39695 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39696 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39698 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39701 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39704 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39707 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39710 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39713 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39716 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39719 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39722 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39725 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39728 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39731 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39734 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39737 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39740 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39743 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39746 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39749 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39752 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39755 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39758 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39761 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39764 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39767 static void *_p_wxImageTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) ((wxImage
*) x
));
39770 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39773 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39776 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39779 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39782 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39785 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) ((wxImageList
*) x
));
39788 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39791 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39794 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39797 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39800 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39803 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39806 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39809 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39812 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39813 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39815 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39816 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39818 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39821 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39822 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39824 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39825 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39827 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39828 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39830 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39831 return (void *)((wxObject
*) ((wxMask
*) x
));
39833 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39834 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39836 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39839 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39840 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39842 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39843 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39845 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39846 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39848 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39849 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39851 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39852 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39854 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39857 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39858 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39860 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39861 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39863 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39864 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39866 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39869 static void *_p_wxFontTo_p_wxObject(void *x
) {
39870 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39872 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39873 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39875 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39876 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39878 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39881 static void *_p_wxColourTo_p_wxObject(void *x
) {
39882 return (void *)((wxObject
*) ((wxColour
*) x
));
39884 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39887 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39888 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39890 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39891 return (void *)((wxWindow
*) ((wxControl
*) x
));
39893 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39894 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39896 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39897 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39899 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39900 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39902 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39903 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39905 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39908 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};
39909 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39916 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39917 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39925 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39926 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39927 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39928 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39929 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39930 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39931 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39932 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39933 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39934 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39935 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39936 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39937 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39938 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39939 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39940 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39941 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39942 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39943 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39944 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39945 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39946 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39947 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39948 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39949 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39950 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39951 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39952 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39953 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39954 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39955 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39956 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39957 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39958 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39959 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39960 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39961 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39962 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39963 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39964 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39965 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39966 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39967 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39968 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39969 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39970 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39993 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39994 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39995 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39996 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39997 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39998 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39999 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40000 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40001 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40002 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40003 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40004 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40005 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40006 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40007 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40008 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40009 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40010 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40011 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40012 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40013 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40014 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40015 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40016 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40017 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40018 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40019 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40020 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40021 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40022 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40023 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40024 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40025 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40026 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40027 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40028 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40029 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40030 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40031 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40032 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40033 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40034 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40035 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40036 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40037 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40038 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40039 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40040 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40041 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40042 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40043 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40044 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40045 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40046 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40047 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40048 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40049 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40050 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40051 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40052 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40053 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40054 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40055 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40056 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40057 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40058 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40059 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40060 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40061 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40062 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40063 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40064 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40065 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40066 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40067 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40068 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40069 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40070 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40071 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40072 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40073 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40074 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40075 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40077 static swig_type_info
*swig_type_initial
[] = {
40081 &_swigt__p_form_ops_t
,
40083 &_swigt__p_unsigned_char
,
40084 &_swigt__p_unsigned_int
,
40085 &_swigt__p_unsigned_long
,
40087 &_swigt__p_wxANIHandler
,
40088 &_swigt__p_wxAcceleratorTable
,
40089 &_swigt__p_wxActivateEvent
,
40090 &_swigt__p_wxAlphaPixelData
,
40091 &_swigt__p_wxAlphaPixelData_Accessor
,
40092 &_swigt__p_wxAutoBufferedPaintDC
,
40093 &_swigt__p_wxBMPHandler
,
40094 &_swigt__p_wxBitmap
,
40095 &_swigt__p_wxBoxSizer
,
40096 &_swigt__p_wxBrush
,
40097 &_swigt__p_wxBrushList
,
40098 &_swigt__p_wxBufferedDC
,
40099 &_swigt__p_wxBufferedPaintDC
,
40100 &_swigt__p_wxCURHandler
,
40102 &_swigt__p_wxChildFocusEvent
,
40103 &_swigt__p_wxClientDC
,
40104 &_swigt__p_wxClipboardTextEvent
,
40105 &_swigt__p_wxCloseEvent
,
40106 &_swigt__p_wxColor
,
40107 &_swigt__p_wxColour
,
40108 &_swigt__p_wxColourDatabase
,
40109 &_swigt__p_wxCommandEvent
,
40110 &_swigt__p_wxContextMenuEvent
,
40111 &_swigt__p_wxControl
,
40112 &_swigt__p_wxControlWithItems
,
40113 &_swigt__p_wxCursor
,
40115 &_swigt__p_wxDCBrushChanger
,
40116 &_swigt__p_wxDCClipper
,
40117 &_swigt__p_wxDCOverlay
,
40118 &_swigt__p_wxDCPenChanger
,
40119 &_swigt__p_wxDCTextColourChanger
,
40121 &_swigt__p_wxDateEvent
,
40122 &_swigt__p_wxDisplayChangedEvent
,
40123 &_swigt__p_wxDropFilesEvent
,
40124 &_swigt__p_wxDuplexMode
,
40125 &_swigt__p_wxEffects
,
40126 &_swigt__p_wxEncodingConverter
,
40127 &_swigt__p_wxEraseEvent
,
40128 &_swigt__p_wxEvent
,
40129 &_swigt__p_wxEvtHandler
,
40130 &_swigt__p_wxFSFile
,
40131 &_swigt__p_wxFileSystem
,
40132 &_swigt__p_wxFlexGridSizer
,
40133 &_swigt__p_wxFocusEvent
,
40135 &_swigt__p_wxFontList
,
40136 &_swigt__p_wxFontMapper
,
40137 &_swigt__p_wxGBSizerItem
,
40139 &_swigt__p_wxGDIObjListBase
,
40140 &_swigt__p_wxGDIObject
,
40141 &_swigt__p_wxGIFHandler
,
40142 &_swigt__p_wxGraphicsBrush
,
40143 &_swigt__p_wxGraphicsContext
,
40144 &_swigt__p_wxGraphicsFont
,
40145 &_swigt__p_wxGraphicsMatrix
,
40146 &_swigt__p_wxGraphicsObject
,
40147 &_swigt__p_wxGraphicsPath
,
40148 &_swigt__p_wxGraphicsPen
,
40149 &_swigt__p_wxGraphicsRenderer
,
40150 &_swigt__p_wxGridBagSizer
,
40151 &_swigt__p_wxGridSizer
,
40152 &_swigt__p_wxHeaderButtonParams
,
40153 &_swigt__p_wxICOHandler
,
40155 &_swigt__p_wxIconBundle
,
40156 &_swigt__p_wxIconLocation
,
40157 &_swigt__p_wxIconizeEvent
,
40158 &_swigt__p_wxIdleEvent
,
40159 &_swigt__p_wxImage
,
40160 &_swigt__p_wxImageHandler
,
40161 &_swigt__p_wxImageList
,
40162 &_swigt__p_wxIndividualLayoutConstraint
,
40163 &_swigt__p_wxInitDialogEvent
,
40164 &_swigt__p_wxJPEGHandler
,
40165 &_swigt__p_wxKeyEvent
,
40166 &_swigt__p_wxLanguageInfo
,
40167 &_swigt__p_wxLayoutConstraints
,
40168 &_swigt__p_wxLocale
,
40170 &_swigt__p_wxMaximizeEvent
,
40171 &_swigt__p_wxMemoryDC
,
40173 &_swigt__p_wxMenuBar
,
40174 &_swigt__p_wxMenuEvent
,
40175 &_swigt__p_wxMenuItem
,
40176 &_swigt__p_wxMetaFile
,
40177 &_swigt__p_wxMetaFileDC
,
40178 &_swigt__p_wxMirrorDC
,
40179 &_swigt__p_wxMouseCaptureChangedEvent
,
40180 &_swigt__p_wxMouseCaptureLostEvent
,
40181 &_swigt__p_wxMouseEvent
,
40182 &_swigt__p_wxMoveEvent
,
40183 &_swigt__p_wxNativeEncodingInfo
,
40184 &_swigt__p_wxNativeFontInfo
,
40185 &_swigt__p_wxNativePixelData
,
40186 &_swigt__p_wxNativePixelData_Accessor
,
40187 &_swigt__p_wxNavigationKeyEvent
,
40188 &_swigt__p_wxNcPaintEvent
,
40189 &_swigt__p_wxNotifyEvent
,
40190 &_swigt__p_wxObject
,
40191 &_swigt__p_wxOverlay
,
40192 &_swigt__p_wxPCXHandler
,
40193 &_swigt__p_wxPNGHandler
,
40194 &_swigt__p_wxPNMHandler
,
40195 &_swigt__p_wxPaintDC
,
40196 &_swigt__p_wxPaintEvent
,
40197 &_swigt__p_wxPalette
,
40198 &_swigt__p_wxPaletteChangedEvent
,
40199 &_swigt__p_wxPaperSize
,
40201 &_swigt__p_wxPenList
,
40202 &_swigt__p_wxPixelDataBase
,
40203 &_swigt__p_wxPoint
,
40204 &_swigt__p_wxPoint2D
,
40205 &_swigt__p_wxPoint2DDouble
,
40206 &_swigt__p_wxPostScriptDC
,
40207 &_swigt__p_wxPrintData
,
40208 &_swigt__p_wxPrinterDC
,
40209 &_swigt__p_wxPseudoDC
,
40210 &_swigt__p_wxPyApp
,
40211 &_swigt__p_wxPyCommandEvent
,
40212 &_swigt__p_wxPyEvent
,
40213 &_swigt__p_wxPyFontEnumerator
,
40214 &_swigt__p_wxPyImageHandler
,
40215 &_swigt__p_wxPyLocale
,
40216 &_swigt__p_wxPySizer
,
40217 &_swigt__p_wxPyValidator
,
40218 &_swigt__p_wxQueryNewPaletteEvent
,
40220 &_swigt__p_wxRect2DDouble
,
40221 &_swigt__p_wxRegion
,
40222 &_swigt__p_wxRegionIterator
,
40223 &_swigt__p_wxRendererNative
,
40224 &_swigt__p_wxRendererVersion
,
40225 &_swigt__p_wxScreenDC
,
40226 &_swigt__p_wxScrollEvent
,
40227 &_swigt__p_wxScrollWinEvent
,
40228 &_swigt__p_wxSetCursorEvent
,
40229 &_swigt__p_wxShowEvent
,
40231 &_swigt__p_wxSizeEvent
,
40232 &_swigt__p_wxSizer
,
40233 &_swigt__p_wxSizerItem
,
40234 &_swigt__p_wxSplitterRenderParams
,
40235 &_swigt__p_wxStaticBoxSizer
,
40236 &_swigt__p_wxStdDialogButtonSizer
,
40237 &_swigt__p_wxStockGDI
,
40238 &_swigt__p_wxString
,
40239 &_swigt__p_wxSysColourChangedEvent
,
40240 &_swigt__p_wxTGAHandler
,
40241 &_swigt__p_wxTIFFHandler
,
40242 &_swigt__p_wxUpdateUIEvent
,
40243 &_swigt__p_wxValidator
,
40244 &_swigt__p_wxWindow
,
40245 &_swigt__p_wxWindowCreateEvent
,
40246 &_swigt__p_wxWindowDC
,
40247 &_swigt__p_wxWindowDestroyEvent
,
40248 &_swigt__p_wxXPMHandler
,
40251 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40266 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}};
40267 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40269 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}};
40270 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40274 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}};
40275 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40288 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}};
40289 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}};
40290 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40294 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}};
40295 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40305 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}};
40306 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40307 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}};
40308 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40359 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40365 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40366 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40367 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40368 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40369 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40370 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40371 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40372 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40373 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40374 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40375 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40376 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40377 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40378 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40379 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40380 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40381 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40382 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40383 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40384 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40385 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40386 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40387 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40388 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40389 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40390 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40391 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40392 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}};
40393 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40394 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40395 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40396 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40397 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40398 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40399 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}};
40400 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40401 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40402 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40403 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40404 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40405 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40406 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40407 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40408 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40409 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40410 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40411 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40412 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40413 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40414 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40415 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40416 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40417 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40418 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40419 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40420 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}};
40421 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}};
40423 static swig_cast_info
*swig_cast_initial
[] = {
40427 _swigc__p_form_ops_t
,
40429 _swigc__p_unsigned_char
,
40430 _swigc__p_unsigned_int
,
40431 _swigc__p_unsigned_long
,
40433 _swigc__p_wxANIHandler
,
40434 _swigc__p_wxAcceleratorTable
,
40435 _swigc__p_wxActivateEvent
,
40436 _swigc__p_wxAlphaPixelData
,
40437 _swigc__p_wxAlphaPixelData_Accessor
,
40438 _swigc__p_wxAutoBufferedPaintDC
,
40439 _swigc__p_wxBMPHandler
,
40440 _swigc__p_wxBitmap
,
40441 _swigc__p_wxBoxSizer
,
40443 _swigc__p_wxBrushList
,
40444 _swigc__p_wxBufferedDC
,
40445 _swigc__p_wxBufferedPaintDC
,
40446 _swigc__p_wxCURHandler
,
40448 _swigc__p_wxChildFocusEvent
,
40449 _swigc__p_wxClientDC
,
40450 _swigc__p_wxClipboardTextEvent
,
40451 _swigc__p_wxCloseEvent
,
40453 _swigc__p_wxColour
,
40454 _swigc__p_wxColourDatabase
,
40455 _swigc__p_wxCommandEvent
,
40456 _swigc__p_wxContextMenuEvent
,
40457 _swigc__p_wxControl
,
40458 _swigc__p_wxControlWithItems
,
40459 _swigc__p_wxCursor
,
40461 _swigc__p_wxDCBrushChanger
,
40462 _swigc__p_wxDCClipper
,
40463 _swigc__p_wxDCOverlay
,
40464 _swigc__p_wxDCPenChanger
,
40465 _swigc__p_wxDCTextColourChanger
,
40467 _swigc__p_wxDateEvent
,
40468 _swigc__p_wxDisplayChangedEvent
,
40469 _swigc__p_wxDropFilesEvent
,
40470 _swigc__p_wxDuplexMode
,
40471 _swigc__p_wxEffects
,
40472 _swigc__p_wxEncodingConverter
,
40473 _swigc__p_wxEraseEvent
,
40475 _swigc__p_wxEvtHandler
,
40476 _swigc__p_wxFSFile
,
40477 _swigc__p_wxFileSystem
,
40478 _swigc__p_wxFlexGridSizer
,
40479 _swigc__p_wxFocusEvent
,
40481 _swigc__p_wxFontList
,
40482 _swigc__p_wxFontMapper
,
40483 _swigc__p_wxGBSizerItem
,
40485 _swigc__p_wxGDIObjListBase
,
40486 _swigc__p_wxGDIObject
,
40487 _swigc__p_wxGIFHandler
,
40488 _swigc__p_wxGraphicsBrush
,
40489 _swigc__p_wxGraphicsContext
,
40490 _swigc__p_wxGraphicsFont
,
40491 _swigc__p_wxGraphicsMatrix
,
40492 _swigc__p_wxGraphicsObject
,
40493 _swigc__p_wxGraphicsPath
,
40494 _swigc__p_wxGraphicsPen
,
40495 _swigc__p_wxGraphicsRenderer
,
40496 _swigc__p_wxGridBagSizer
,
40497 _swigc__p_wxGridSizer
,
40498 _swigc__p_wxHeaderButtonParams
,
40499 _swigc__p_wxICOHandler
,
40501 _swigc__p_wxIconBundle
,
40502 _swigc__p_wxIconLocation
,
40503 _swigc__p_wxIconizeEvent
,
40504 _swigc__p_wxIdleEvent
,
40506 _swigc__p_wxImageHandler
,
40507 _swigc__p_wxImageList
,
40508 _swigc__p_wxIndividualLayoutConstraint
,
40509 _swigc__p_wxInitDialogEvent
,
40510 _swigc__p_wxJPEGHandler
,
40511 _swigc__p_wxKeyEvent
,
40512 _swigc__p_wxLanguageInfo
,
40513 _swigc__p_wxLayoutConstraints
,
40514 _swigc__p_wxLocale
,
40516 _swigc__p_wxMaximizeEvent
,
40517 _swigc__p_wxMemoryDC
,
40519 _swigc__p_wxMenuBar
,
40520 _swigc__p_wxMenuEvent
,
40521 _swigc__p_wxMenuItem
,
40522 _swigc__p_wxMetaFile
,
40523 _swigc__p_wxMetaFileDC
,
40524 _swigc__p_wxMirrorDC
,
40525 _swigc__p_wxMouseCaptureChangedEvent
,
40526 _swigc__p_wxMouseCaptureLostEvent
,
40527 _swigc__p_wxMouseEvent
,
40528 _swigc__p_wxMoveEvent
,
40529 _swigc__p_wxNativeEncodingInfo
,
40530 _swigc__p_wxNativeFontInfo
,
40531 _swigc__p_wxNativePixelData
,
40532 _swigc__p_wxNativePixelData_Accessor
,
40533 _swigc__p_wxNavigationKeyEvent
,
40534 _swigc__p_wxNcPaintEvent
,
40535 _swigc__p_wxNotifyEvent
,
40536 _swigc__p_wxObject
,
40537 _swigc__p_wxOverlay
,
40538 _swigc__p_wxPCXHandler
,
40539 _swigc__p_wxPNGHandler
,
40540 _swigc__p_wxPNMHandler
,
40541 _swigc__p_wxPaintDC
,
40542 _swigc__p_wxPaintEvent
,
40543 _swigc__p_wxPalette
,
40544 _swigc__p_wxPaletteChangedEvent
,
40545 _swigc__p_wxPaperSize
,
40547 _swigc__p_wxPenList
,
40548 _swigc__p_wxPixelDataBase
,
40550 _swigc__p_wxPoint2D
,
40551 _swigc__p_wxPoint2DDouble
,
40552 _swigc__p_wxPostScriptDC
,
40553 _swigc__p_wxPrintData
,
40554 _swigc__p_wxPrinterDC
,
40555 _swigc__p_wxPseudoDC
,
40557 _swigc__p_wxPyCommandEvent
,
40558 _swigc__p_wxPyEvent
,
40559 _swigc__p_wxPyFontEnumerator
,
40560 _swigc__p_wxPyImageHandler
,
40561 _swigc__p_wxPyLocale
,
40562 _swigc__p_wxPySizer
,
40563 _swigc__p_wxPyValidator
,
40564 _swigc__p_wxQueryNewPaletteEvent
,
40566 _swigc__p_wxRect2DDouble
,
40567 _swigc__p_wxRegion
,
40568 _swigc__p_wxRegionIterator
,
40569 _swigc__p_wxRendererNative
,
40570 _swigc__p_wxRendererVersion
,
40571 _swigc__p_wxScreenDC
,
40572 _swigc__p_wxScrollEvent
,
40573 _swigc__p_wxScrollWinEvent
,
40574 _swigc__p_wxSetCursorEvent
,
40575 _swigc__p_wxShowEvent
,
40577 _swigc__p_wxSizeEvent
,
40579 _swigc__p_wxSizerItem
,
40580 _swigc__p_wxSplitterRenderParams
,
40581 _swigc__p_wxStaticBoxSizer
,
40582 _swigc__p_wxStdDialogButtonSizer
,
40583 _swigc__p_wxStockGDI
,
40584 _swigc__p_wxString
,
40585 _swigc__p_wxSysColourChangedEvent
,
40586 _swigc__p_wxTGAHandler
,
40587 _swigc__p_wxTIFFHandler
,
40588 _swigc__p_wxUpdateUIEvent
,
40589 _swigc__p_wxValidator
,
40590 _swigc__p_wxWindow
,
40591 _swigc__p_wxWindowCreateEvent
,
40592 _swigc__p_wxWindowDC
,
40593 _swigc__p_wxWindowDestroyEvent
,
40594 _swigc__p_wxXPMHandler
,
40598 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40600 static swig_const_info swig_const_table
[] = {
40601 {0, 0, 0, 0.0, 0, 0}};
40606 /* -----------------------------------------------------------------------------
40607 * Type initialization:
40608 * This problem is tough by the requirement that no dynamic
40609 * memory is used. Also, since swig_type_info structures store pointers to
40610 * swig_cast_info structures and swig_cast_info structures store pointers back
40611 * to swig_type_info structures, we need some lookup code at initialization.
40612 * The idea is that swig generates all the structures that are needed.
40613 * The runtime then collects these partially filled structures.
40614 * The SWIG_InitializeModule function takes these initial arrays out of
40615 * swig_module, and does all the lookup, filling in the swig_module.types
40616 * array with the correct data and linking the correct swig_cast_info
40617 * structures together.
40619 * The generated swig_type_info structures are assigned staticly to an initial
40620 * array. We just loop though that array, and handle each type individually.
40621 * First we lookup if this type has been already loaded, and if so, use the
40622 * loaded structure instead of the generated one. Then we have to fill in the
40623 * cast linked list. The cast data is initially stored in something like a
40624 * two-dimensional array. Each row corresponds to a type (there are the same
40625 * number of rows as there are in the swig_type_initial array). Each entry in
40626 * a column is one of the swig_cast_info structures for that type.
40627 * The cast_initial array is actually an array of arrays, because each row has
40628 * a variable number of columns. So to actually build the cast linked list,
40629 * we find the array of casts associated with the type, and loop through it
40630 * adding the casts to the list. The one last trick we need to do is making
40631 * sure the type pointer in the swig_cast_info struct is correct.
40633 * First off, we lookup the cast->type name to see if it is already loaded.
40634 * There are three cases to handle:
40635 * 1) If the cast->type has already been loaded AND the type we are adding
40636 * casting info to has not been loaded (it is in this module), THEN we
40637 * replace the cast->type pointer with the type pointer that has already
40639 * 2) If BOTH types (the one we are adding casting info to, and the
40640 * cast->type) are loaded, THEN the cast info has already been loaded by
40641 * the previous module so we just ignore it.
40642 * 3) Finally, if cast->type has not already been loaded, then we add that
40643 * swig_cast_info to the linked list (because the cast->type) pointer will
40645 * ----------------------------------------------------------------------------- */
40655 #define SWIGRUNTIME_DEBUG
40659 SWIG_InitializeModule(void *clientdata
) {
40661 swig_module_info
*module_head
;
40662 static int init_run
= 0;
40664 clientdata
= clientdata
;
40666 if (init_run
) return;
40669 /* Initialize the swig_module */
40670 swig_module
.type_initial
= swig_type_initial
;
40671 swig_module
.cast_initial
= swig_cast_initial
;
40673 /* Try and load any already created modules */
40674 module_head
= SWIG_GetModule(clientdata
);
40676 swig_module
.next
= module_head
->next
;
40677 module_head
->next
= &swig_module
;
40679 /* This is the first module loaded */
40680 swig_module
.next
= &swig_module
;
40681 SWIG_SetModule(clientdata
, &swig_module
);
40684 /* Now work on filling in swig_module.types */
40685 #ifdef SWIGRUNTIME_DEBUG
40686 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40688 for (i
= 0; i
< swig_module
.size
; ++i
) {
40689 swig_type_info
*type
= 0;
40690 swig_type_info
*ret
;
40691 swig_cast_info
*cast
;
40693 #ifdef SWIGRUNTIME_DEBUG
40694 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40697 /* if there is another module already loaded */
40698 if (swig_module
.next
!= &swig_module
) {
40699 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40702 /* Overwrite clientdata field */
40703 #ifdef SWIGRUNTIME_DEBUG
40704 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40706 if (swig_module
.type_initial
[i
]->clientdata
) {
40707 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40708 #ifdef SWIGRUNTIME_DEBUG
40709 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40713 type
= swig_module
.type_initial
[i
];
40716 /* Insert casting types */
40717 cast
= swig_module
.cast_initial
[i
];
40718 while (cast
->type
) {
40719 /* Don't need to add information already in the list */
40721 #ifdef SWIGRUNTIME_DEBUG
40722 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40724 if (swig_module
.next
!= &swig_module
) {
40725 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40726 #ifdef SWIGRUNTIME_DEBUG
40727 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40731 if (type
== swig_module
.type_initial
[i
]) {
40732 #ifdef SWIGRUNTIME_DEBUG
40733 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40738 /* Check for casting already in the list */
40739 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40740 #ifdef SWIGRUNTIME_DEBUG
40741 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40743 if (!ocast
) ret
= 0;
40748 #ifdef SWIGRUNTIME_DEBUG
40749 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40752 type
->cast
->prev
= cast
;
40753 cast
->next
= type
->cast
;
40759 /* Set entry in modules->types array equal to the type */
40760 swig_module
.types
[i
] = type
;
40762 swig_module
.types
[i
] = 0;
40764 #ifdef SWIGRUNTIME_DEBUG
40765 printf("**** SWIG_InitializeModule: Cast List ******\n");
40766 for (i
= 0; i
< swig_module
.size
; ++i
) {
40768 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40769 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40770 while (cast
->type
) {
40771 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40775 printf("---- Total casts: %d\n",j
);
40777 printf("**** SWIG_InitializeModule: Cast List ******\n");
40781 /* This function will propagate the clientdata field of type to
40782 * any new swig_type_info structures that have been added into the list
40783 * of equivalent types. It is like calling
40784 * SWIG_TypeClientData(type, clientdata) a second time.
40787 SWIG_PropagateClientData(void) {
40789 swig_cast_info
*equiv
;
40790 static int init_run
= 0;
40792 if (init_run
) return;
40795 for (i
= 0; i
< swig_module
.size
; i
++) {
40796 if (swig_module
.types
[i
]->clientdata
) {
40797 equiv
= swig_module
.types
[i
]->cast
;
40799 if (!equiv
->converter
) {
40800 if (equiv
->type
&& !equiv
->type
->clientdata
)
40801 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40803 equiv
= equiv
->next
;
40823 /* Python-specific SWIG API */
40824 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40825 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40826 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40828 /* -----------------------------------------------------------------------------
40829 * global variable support code.
40830 * ----------------------------------------------------------------------------- */
40832 typedef struct swig_globalvar
{
40833 char *name
; /* Name of global variable */
40834 PyObject
*(*get_attr
)(void); /* Return the current value */
40835 int (*set_attr
)(PyObject
*); /* Set the value */
40836 struct swig_globalvar
*next
;
40839 typedef struct swig_varlinkobject
{
40841 swig_globalvar
*vars
;
40842 } swig_varlinkobject
;
40844 SWIGINTERN PyObject
*
40845 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40846 return PyString_FromString("<Swig global variables>");
40849 SWIGINTERN PyObject
*
40850 swig_varlink_str(swig_varlinkobject
*v
) {
40851 PyObject
*str
= PyString_FromString("(");
40852 swig_globalvar
*var
;
40853 for (var
= v
->vars
; var
; var
=var
->next
) {
40854 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40855 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40857 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40862 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40863 PyObject
*str
= swig_varlink_str(v
);
40864 fprintf(fp
,"Swig global variables ");
40865 fprintf(fp
,"%s\n", PyString_AsString(str
));
40871 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40872 swig_globalvar
*var
= v
->vars
;
40874 swig_globalvar
*n
= var
->next
;
40881 SWIGINTERN PyObject
*
40882 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40883 PyObject
*res
= NULL
;
40884 swig_globalvar
*var
= v
->vars
;
40886 if (strcmp(var
->name
,n
) == 0) {
40887 res
= (*var
->get_attr
)();
40892 if (res
== NULL
&& !PyErr_Occurred()) {
40893 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40899 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40901 swig_globalvar
*var
= v
->vars
;
40903 if (strcmp(var
->name
,n
) == 0) {
40904 res
= (*var
->set_attr
)(p
);
40909 if (res
== 1 && !PyErr_Occurred()) {
40910 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40915 SWIGINTERN PyTypeObject
*
40916 swig_varlink_type(void) {
40917 static char varlink__doc__
[] = "Swig var link object";
40918 static PyTypeObject varlink_type
;
40919 static int type_init
= 0;
40921 const PyTypeObject tmp
40923 PyObject_HEAD_INIT(NULL
)
40924 0, /* Number of items in variable part (ob_size) */
40925 (char *)"swigvarlink", /* Type name (tp_name) */
40926 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40927 0, /* Itemsize (tp_itemsize) */
40928 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40929 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40930 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40931 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40932 0, /* tp_compare */
40933 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40934 0, /* tp_as_number */
40935 0, /* tp_as_sequence */
40936 0, /* tp_as_mapping */
40939 (reprfunc
)swig_varlink_str
, /* tp_str */
40940 0, /* tp_getattro */
40941 0, /* tp_setattro */
40942 0, /* tp_as_buffer */
40944 varlink__doc__
, /* tp_doc */
40945 0, /* tp_traverse */
40947 0, /* tp_richcompare */
40948 0, /* tp_weaklistoffset */
40949 #if PY_VERSION_HEX >= 0x02020000
40950 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40952 #if PY_VERSION_HEX >= 0x02030000
40955 #ifdef COUNT_ALLOCS
40956 0,0,0,0 /* tp_alloc -> tp_next */
40959 varlink_type
= tmp
;
40960 varlink_type
.ob_type
= &PyType_Type
;
40963 return &varlink_type
;
40966 /* Create a variable linking object for use later */
40967 SWIGINTERN PyObject
*
40968 SWIG_Python_newvarlink(void) {
40969 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40973 return ((PyObject
*) result
);
40977 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40978 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40979 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40981 size_t size
= strlen(name
)+1;
40982 gv
->name
= (char *)malloc(size
);
40984 strncpy(gv
->name
,name
,size
);
40985 gv
->get_attr
= get_attr
;
40986 gv
->set_attr
= set_attr
;
40987 gv
->next
= v
->vars
;
40993 SWIGINTERN PyObject
*
40995 static PyObject
*_SWIG_globals
= 0;
40996 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40997 return _SWIG_globals
;
41000 /* -----------------------------------------------------------------------------
41001 * constants/methods manipulation
41002 * ----------------------------------------------------------------------------- */
41004 /* Install Constants */
41006 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41009 for (i
= 0; constants
[i
].type
; ++i
) {
41010 switch(constants
[i
].type
) {
41011 case SWIG_PY_POINTER
:
41012 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41014 case SWIG_PY_BINARY
:
41015 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41022 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41028 /* -----------------------------------------------------------------------------*/
41029 /* Fix SwigMethods to carry the callback ptrs when needed */
41030 /* -----------------------------------------------------------------------------*/
41033 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41034 swig_const_info
*const_table
,
41035 swig_type_info
**types
,
41036 swig_type_info
**types_initial
) {
41038 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41039 const char *c
= methods
[i
].ml_doc
;
41040 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41042 swig_const_info
*ci
= 0;
41043 const char *name
= c
+ 10;
41044 for (j
= 0; const_table
[j
].type
; ++j
) {
41045 if (strncmp(const_table
[j
].name
, name
,
41046 strlen(const_table
[j
].name
)) == 0) {
41047 ci
= &(const_table
[j
]);
41052 size_t shift
= (ci
->ptype
) - types
;
41053 swig_type_info
*ty
= types_initial
[shift
];
41054 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41055 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41056 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41059 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41061 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41063 strncpy(buff
, "swig_ptr: ", 10);
41065 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41066 methods
[i
].ml_doc
= ndoc
;
41078 /* -----------------------------------------------------------------------------*
41079 * Partial Init method
41080 * -----------------------------------------------------------------------------*/
41085 SWIGEXPORT
void SWIG_init(void) {
41088 /* Fix SwigMethods to carry the callback ptrs when needed */
41089 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41091 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41092 d
= PyModule_GetDict(m
);
41094 SWIG_InitializeModule(0);
41095 SWIG_InstallConstants(d
,swig_const_table
);
41098 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41099 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41100 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41101 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41102 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41103 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41104 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41105 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41106 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41107 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41108 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41109 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41110 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41111 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41112 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41113 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41114 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41115 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41116 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41117 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41118 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41119 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41120 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41121 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41122 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41123 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41124 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41125 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41126 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41127 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41128 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41129 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41130 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41131 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41132 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41175 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41176 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41177 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41178 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41179 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41180 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41181 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41182 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41183 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41184 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41185 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41186 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41187 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41188 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41189 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41190 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41191 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41192 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41193 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41194 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41195 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41196 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41197 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41198 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41199 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41200 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41201 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41202 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41203 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41204 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41205 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41206 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41207 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41208 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41209 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41210 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41211 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41212 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41213 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41214 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41215 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41216 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41217 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41218 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41219 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41220 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41221 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41222 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41223 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41224 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41225 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41226 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41227 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41228 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41229 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41231 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41464 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41465 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41466 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41467 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41468 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41469 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41470 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41471 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41472 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41473 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41474 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41475 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41476 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41477 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41478 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41479 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41480 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41481 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41482 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41483 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41484 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41485 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41486 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41487 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41488 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41489 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41490 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41491 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41492 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41493 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41494 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41495 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41496 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41497 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41498 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41499 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41500 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41501 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41502 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41503 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41504 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41505 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41506 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41507 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41508 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41509 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41510 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41511 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41512 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41513 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41514 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41515 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41516 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41517 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41518 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41519 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41520 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41521 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41522 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41523 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41524 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41525 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41526 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41527 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41528 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41529 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41530 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41531 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41532 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41533 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41534 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41535 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41536 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41537 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41538 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41539 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41540 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41541 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41542 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41543 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41544 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41545 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41546 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41547 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41548 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41549 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41550 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41551 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41552 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41553 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41554 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41555 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41556 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41558 // Work around a chicken/egg problem in drawlist.cpp
41559 wxPyDrawList_SetAPIPtr();