1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCBrushChanger swig_types[36]
2503 #define SWIGTYPE_p_wxDCClipper swig_types[37]
2504 #define SWIGTYPE_p_wxDCOverlay swig_types[38]
2505 #define SWIGTYPE_p_wxDCPenChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDash swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512 #define SWIGTYPE_p_wxEffects swig_types[46]
2513 #define SWIGTYPE_p_wxEncodingConverter swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
, num
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3236 self
->SetIndex(num
);
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3243 return self
->GetIndex();
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3258 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3261 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3264 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3265 return self
->operator bool();
3268 #include <wx/fontutil.h>
3269 #include <wx/fontmap.h>
3270 #include <wx/fontenum.h>
3272 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3273 return self
->ToString();
3276 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3277 { wxPyRaiseNotImplemented(); return NULL
; }
3279 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3280 { wxPyRaiseNotImplemented(); return false; }
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxChar
*szName
, // name (for messages)
3399 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3400 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3410 const wxChar
*szDomain
= NULL
) const;
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
= NULL
) const;
3415 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3418 const wxChar
*szOrigString2
, size_t n
,
3419 const wxChar
*szDomain
= NULL
) const;
3423 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3426 wxPyLocale::wxPyLocale() : wxLocale()
3430 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3431 const wxChar
*szShort
, // dir prefix (for msg files)
3432 const wxChar
*szLocale
, // locale (for setlocale)
3433 bool bLoadDefault
, // preload wxstd.mo?
3434 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3435 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3439 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3440 int flags
) : wxLocale(language
, flags
)
3444 wxPyLocale::~wxPyLocale()
3448 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3449 const wxChar
*szDomain
) const
3451 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3452 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3455 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3456 const wxChar
*szOrigString2
, size_t n
,
3457 const wxChar
*szDomain
) const
3459 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3460 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3463 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3464 const wxChar
*szDomain
) const
3467 static wxString str
;
3468 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.
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(szOrigString
);
3472 PyObject
* param2
= wx2PyString(szDomain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? (wxChar
*)str
.c_str() : NULL
);
3485 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3486 const wxChar
*szOrigString2
, size_t n
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 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.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szOrigString2
);
3496 PyObject
* param4
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3502 str
= Py2wxString(ret
);
3506 wxPyEndBlockThreads(blocked
);
3507 return (found
? (wxChar
*)str
.c_str() : NULL
);
3510 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3513 loc
= new wxPyLocale();
3515 loc
= new wxPyLocale(language
, flags
);
3516 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3517 // for the floating point conversions and such to work right.
3518 #if PY_VERSION_HEX < 0x02040000
3519 setlocale(LC_NUMERIC
, "C");
3524 #include "wx/wxPython/pydrawxxx.h"
3526 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3528 self
->GetPixel(x
, y
, &col
);
3531 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3533 self
->GetPixel(pt
, &col
);
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3547 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3549 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3552 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3554 self
->GetClippingBox(rect
);
3557 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3559 self
->GetPartialTextExtents(text
, widths
);
3563 #define SWIG_From_double PyFloat_FromDouble
3565 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3566 self
->SetLogicalOrigin(point
.x
, point
.y
);
3568 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetDeviceOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->CalcBoundingBox(point
.x
, point
.y
);
3574 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3575 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3577 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3590 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3593 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3601 #include <wx/dcbuffer.h>
3604 #include <wx/dcps.h>
3607 #include <wx/metafile.h>
3610 #include <wx/graphics.h>
3613 #if !wxUSE_GRAPHICS_CONTEXT
3614 // C++ stub classes for platforms or build configurations that don't have
3615 // wxGraphicsContext yet.
3617 class wxGraphicsRenderer
;
3618 class wxGraphicsMatrix
;
3621 class wxGraphicsObject
: public wxObject
3624 wxGraphicsObject() {}
3625 wxGraphicsObject( wxGraphicsRenderer
* ) {
3626 PyErr_SetString(PyExc_NotImplementedError
,
3627 "wx.GraphicsObject is not available on this platform.");
3629 wxGraphicsObject( const wxGraphicsObject
& ) {}
3630 virtual ~wxGraphicsObject() {}
3631 bool IsNull() const { return false; }
3632 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3637 class wxGraphicsPen
: public wxGraphicsObject
3641 virtual ~wxGraphicsPen() {}
3643 wxGraphicsPen wxNullGraphicsPen
;
3647 class wxGraphicsBrush
: public wxGraphicsObject
3650 wxGraphicsBrush() {}
3651 virtual ~wxGraphicsBrush() {}
3653 wxGraphicsBrush wxNullGraphicsBrush
;
3657 class wxGraphicsFont
: public wxGraphicsObject
3661 virtual ~wxGraphicsFont() {}
3663 wxGraphicsFont wxNullGraphicsFont
;
3667 class wxGraphicsPath
: public wxGraphicsObject
3670 wxGraphicsPath() { }
3671 wxGraphicsPath(wxGraphicsRenderer
* ) {
3672 PyErr_SetString(PyExc_NotImplementedError
,
3673 "wx.GraphicsPath is not available on this platform.");
3675 virtual ~wxGraphicsPath() {}
3677 void MoveToPoint( wxDouble
, wxDouble
) {}
3678 void MoveToPoint( const wxPoint2DDouble
& ) {}
3679 void AddLineToPoint( wxDouble
, wxDouble
) {}
3680 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3681 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3682 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3683 void AddPath( const wxGraphicsPath
& ) {}
3684 void CloseSubpath() {}
3685 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3686 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3687 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3688 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3690 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3693 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3697 void * GetNativePath() const { return NULL
; }
3698 void UnGetNativePath(void *) const {}
3699 void Transform( const wxGraphicsMatrix
& ) {}
3700 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3701 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3703 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3704 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3706 wxGraphicsPath wxNullGraphicsPath
;
3709 class wxGraphicsMatrix
: public wxGraphicsObject
3712 wxGraphicsMatrix() { }
3713 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3714 PyErr_SetString(PyExc_NotImplementedError
,
3715 "wx.GraphicsMatrix is not available on this platform.");
3717 virtual ~wxGraphicsMatrix() {}
3718 virtual void Concat( const wxGraphicsMatrix
& ) {}
3719 virtual void Copy( const wxGraphicsMatrix
& ) {}
3720 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3721 wxDouble
, wxDouble
) {}
3722 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3723 wxDouble
*, wxDouble
*, wxDouble
*) {}
3724 virtual void Invert() {}
3725 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3726 virtual bool IsIdentity() const { return false; }
3727 virtual void Translate( wxDouble
, wxDouble
) {}
3728 virtual void Scale( wxDouble
, wxDouble
) {}
3729 virtual void Rotate( wxDouble
) {}
3730 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3731 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3732 virtual void * GetNativeMatrix() const { return NULL
; }
3734 wxGraphicsMatrix wxNullGraphicsMatrix
;
3737 class wxGraphicsContext
: public wxGraphicsObject
3741 wxGraphicsContext(wxGraphicsRenderer
* ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 virtual ~wxGraphicsContext() {}
3748 static wxGraphicsContext
* Create() {
3749 PyErr_SetString(PyExc_NotImplementedError
,
3750 "wx.GraphicsContext is not available on this platform.");
3753 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3754 PyErr_SetString(PyExc_NotImplementedError
,
3755 "wx.GraphicsContext is not available on this platform.");
3759 static wxGraphicsContext
* CreateFromNative( void * ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3765 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3766 PyErr_SetString(PyExc_NotImplementedError
,
3767 "wx.GraphicsContext is not available on this platform.");
3771 static wxGraphicsContext
* Create( wxWindow
* ) {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3777 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3779 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3781 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3783 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3784 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3786 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3787 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3788 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3790 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3792 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3793 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3795 virtual void PushState() {}
3796 virtual void PopState() {}
3797 virtual void Clip( const wxRegion
& ) {}
3798 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3799 virtual void ResetClip() {}
3800 virtual void * GetNativeContext() { return NULL
; }
3801 virtual int GetLogicalFunction() const { return 0; }
3802 virtual bool SetLogicalFunction(int ) {}
3803 virtual void Translate( wxDouble
, wxDouble
) {}
3804 virtual void Scale( wxDouble
, wxDouble
) {}
3805 virtual void Rotate( wxDouble
) {}
3806 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3807 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3808 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3810 virtual void SetPen( const wxGraphicsPen
& ) {}
3811 void SetPen( const wxPen
& ) {}
3813 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3814 void SetBrush( const wxBrush
& ) {}
3816 virtual void SetFont( const wxGraphicsFont
& ) {}
3817 void SetFont( const wxFont
&, const wxColour
& ) {}
3819 virtual void StrokePath( const wxGraphicsPath
& ) {}
3820 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3821 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3825 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3827 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3828 wxDouble
*, wxDouble
* ) const {}
3829 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3831 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3834 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3836 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3837 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3838 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3840 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual bool ShouldOffset() const { return false; }
3845 class wxGraphicsRenderer
: public wxObject
3848 wxGraphicsRenderer() {
3849 PyErr_SetString(PyExc_NotImplementedError
,
3850 "wx.GraphicsRenderer is not available on this platform.");
3853 virtual ~wxGraphicsRenderer() {}
3855 static wxGraphicsRenderer
* GetDefaultRenderer() {
3856 PyErr_SetString(PyExc_NotImplementedError
,
3857 "wx.GraphicsRenderer is not available on this platform.");
3861 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3862 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3867 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3869 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3870 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3872 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3873 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3874 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3875 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3876 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3878 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3883 class wxGCDC
: public wxWindowDC
3886 wxGCDC(const wxWindowDC
&) {
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 PyErr_SetString(PyExc_NotImplementedError
,
3889 "wxGCDC is not available on this platform.");
3890 wxPyEndBlockThreads(blocked
);
3893 wxGCDC(const wxWindow
*) {
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 PyErr_SetString(PyExc_NotImplementedError
,
3896 "wxGCDC is not available on this platform.");
3897 wxPyEndBlockThreads(blocked
);
3901 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3902 PyErr_SetString(PyExc_NotImplementedError
,
3903 "wxGCDC is not available on this platform.");
3904 wxPyEndBlockThreads(blocked
);
3907 virtual ~wxGCDC() {}
3909 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3910 void SetGraphicsContext( wxGraphicsContext
* ) {}
3915 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3916 if ( !backgroundBrush
.IsNull() )
3917 self
->DrawText(str
, x
, y
, backgroundBrush
);
3919 self
->DrawText(str
, x
, y
);
3921 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3922 if ( !backgroundBrush
.IsNull() )
3923 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3925 self
->DrawText(str
, x
, y
, angle
);
3927 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3928 wxDouble width
= 0.0,
3930 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3931 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3932 PyObject
* rv
= PyTuple_New(2);
3933 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3934 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3937 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3938 wxArrayDouble widths
;
3939 self
->GetPartialTextExtents(text
, widths
);
3942 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3943 size_t c1
, c2
, count
;
3944 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3945 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3947 if ( beginP
!= NULL
&& endP
!= NULL
)
3949 count
= wxMin(c1
, c2
);
3950 self
->StrokeLines(count
, beginP
, endP
);
3956 #include "wx/dcgraph.h"
3959 #include <wx/overlay.h>
3963 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3964 self
->AddColour(name
, wxColour(red
, green
, blue
));
3967 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3968 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3969 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3970 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3973 #include <wx/effects.h>
3976 #include "wx/renderer.h"
3979 SWIGINTERNINLINE PyObject
*
3980 SWIG_From_bool (bool value
)
3982 return PyBool_FromLong(value
? 1 : 0);
3986 #include "wx/wxPython/pseudodc.h"
3988 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3990 self
->GetIdBounds(id
, rect
);
3996 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3997 PyObject
*resultobj
= 0;
3998 wxGDIObject
*result
= 0 ;
4000 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4002 if (!wxPyCheckForApp()) SWIG_fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 result
= (wxGDIObject
*)new wxGDIObject();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4015 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 PyObject
*resultobj
= 0;
4017 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4028 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_Py_Void();
4043 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4044 PyObject
*resultobj
= 0;
4045 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4049 PyObject
*swig_obj
[1] ;
4051 if (!args
) SWIG_fail
;
4053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4054 if (!SWIG_IsOK(res1
)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4057 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (bool)(arg1
)->IsNull();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4073 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4076 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4077 return SWIG_Py_Void();
4080 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4081 return SWIG_Python_InitShadowInstance(args
);
4084 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
= 0;
4086 byte arg1
= (byte
) 0 ;
4087 byte arg2
= (byte
) 0 ;
4088 byte arg3
= (byte
) 0 ;
4089 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4090 wxColour
*result
= 0 ;
4091 unsigned char val1
;
4093 unsigned char val2
;
4095 unsigned char val3
;
4097 unsigned char val4
;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4101 PyObject
* obj2
= 0 ;
4102 PyObject
* obj3
= 0 ;
4103 char * kwnames
[] = {
4104 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4109 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4110 if (!SWIG_IsOK(ecode1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4113 arg1
= static_cast< byte
>(val1
);
4116 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4117 if (!SWIG_IsOK(ecode2
)) {
4118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4120 arg2
= static_cast< byte
>(val2
);
4123 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4124 if (!SWIG_IsOK(ecode3
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4127 arg3
= static_cast< byte
>(val3
);
4130 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4131 if (!SWIG_IsOK(ecode4
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4134 arg4
= static_cast< byte
>(val4
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4149 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= 0;
4151 wxString
*arg1
= 0 ;
4152 wxColour
*result
= 0 ;
4153 bool temp1
= false ;
4154 PyObject
* obj0
= 0 ;
4155 char * kwnames
[] = {
4156 (char *) "colorName", NULL
4159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4161 arg1
= wxString_in_helper(obj0
);
4162 if (arg1
== NULL
) SWIG_fail
;
4166 if (!wxPyCheckForApp()) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4187 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
= 0;
4189 unsigned long arg1
;
4190 wxColour
*result
= 0 ;
4191 unsigned long val1
;
4193 PyObject
* obj0
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "colRGB", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4199 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4200 if (!SWIG_IsOK(ecode1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4203 arg1
= static_cast< unsigned long >(val1
);
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (wxColour
*)new wxColour(arg1
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4217 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4218 PyObject
*resultobj
= 0;
4219 wxColour
*arg1
= (wxColour
*) 0 ;
4222 PyObject
*swig_obj
[1] ;
4224 if (!args
) SWIG_fail
;
4226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4227 if (!SWIG_IsOK(res1
)) {
4228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4230 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_Py_Void();
4245 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4246 PyObject
*resultobj
= 0;
4247 wxColour
*arg1
= (wxColour
*) 0 ;
4251 PyObject
*swig_obj
[1] ;
4253 if (!args
) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4259 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (byte
)(arg1
)->Red();
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4273 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4274 PyObject
*resultobj
= 0;
4275 wxColour
*arg1
= (wxColour
*) 0 ;
4279 PyObject
*swig_obj
[1] ;
4281 if (!args
) SWIG_fail
;
4283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4284 if (!SWIG_IsOK(res1
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4287 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (byte
)(arg1
)->Green();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4301 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4302 PyObject
*resultobj
= 0;
4303 wxColour
*arg1
= (wxColour
*) 0 ;
4307 PyObject
*swig_obj
[1] ;
4309 if (!args
) SWIG_fail
;
4311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4312 if (!SWIG_IsOK(res1
)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4315 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (byte
)(arg1
)->Blue();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4329 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4330 PyObject
*resultobj
= 0;
4331 wxColour
*arg1
= (wxColour
*) 0 ;
4335 PyObject
*swig_obj
[1] ;
4337 if (!args
) SWIG_fail
;
4339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4340 if (!SWIG_IsOK(res1
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4343 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (byte
)(arg1
)->Alpha();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4357 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4358 PyObject
*resultobj
= 0;
4359 wxColour
*arg1
= (wxColour
*) 0 ;
4363 PyObject
*swig_obj
[1] ;
4365 if (!args
) SWIG_fail
;
4367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4368 if (!SWIG_IsOK(res1
)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4371 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (bool)(arg1
)->IsOk();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4387 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= 0;
4389 wxColour
*arg1
= (wxColour
*) 0 ;
4393 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4396 unsigned char val2
;
4398 unsigned char val3
;
4400 unsigned char val4
;
4402 unsigned char val5
;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4406 PyObject
* obj2
= 0 ;
4407 PyObject
* obj3
= 0 ;
4408 PyObject
* obj4
= 0 ;
4409 char * kwnames
[] = {
4410 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4418 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4419 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4420 if (!SWIG_IsOK(ecode2
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4423 arg2
= static_cast< byte
>(val2
);
4424 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4425 if (!SWIG_IsOK(ecode3
)) {
4426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4428 arg3
= static_cast< byte
>(val3
);
4429 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4430 if (!SWIG_IsOK(ecode4
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4433 arg4
= static_cast< byte
>(val4
);
4435 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4436 if (!SWIG_IsOK(ecode5
)) {
4437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4439 arg5
= static_cast< byte
>(val5
);
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_Py_Void();
4454 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
= 0;
4456 wxColour
*arg1
= (wxColour
*) 0 ;
4457 unsigned long arg2
;
4460 unsigned long val2
;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4464 char * kwnames
[] = {
4465 (char *) "self",(char *) "colRGB", NULL
4468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4470 if (!SWIG_IsOK(res1
)) {
4471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4473 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4474 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4475 if (!SWIG_IsOK(ecode2
)) {
4476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4478 arg2
= static_cast< unsigned long >(val2
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_Py_Void();
4492 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= 0;
4494 wxColour
*arg1
= (wxColour
*) 0 ;
4495 wxString
*arg2
= 0 ;
4498 bool temp2
= false ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4501 char * kwnames
[] = {
4502 (char *) "self",(char *) "colourName", NULL
4505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4507 if (!SWIG_IsOK(res1
)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4510 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4512 arg2
= wxString_in_helper(obj1
);
4513 if (arg2
== NULL
) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->Set((wxString
const &)*arg2
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= SWIG_Py_Void();
4537 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= 0;
4539 wxColour
*arg1
= (wxColour
*) 0 ;
4540 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 char * kwnames
[] = {
4549 (char *) "self",(char *) "flags", NULL
4552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4554 if (!SWIG_IsOK(res1
)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4557 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4559 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4560 if (!SWIG_IsOK(ecode2
)) {
4561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4563 arg2
= static_cast< long >(val2
);
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4584 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4585 PyObject
*resultobj
= 0;
4586 wxColour
*arg1
= (wxColour
*) 0 ;
4590 PyObject
*swig_obj
[1] ;
4592 if (!args
) SWIG_fail
;
4594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4595 if (!SWIG_IsOK(res1
)) {
4596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4598 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_From_long(static_cast< long >(result
));
4612 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
= 0;
4614 wxColour
*arg1
= (wxColour
*) 0 ;
4615 PyObject
*arg2
= (PyObject
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4620 PyObject
* obj1
= 0 ;
4621 char * kwnames
[] = {
4622 (char *) "self",(char *) "other", NULL
4625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4627 if (!SWIG_IsOK(res1
)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4630 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4633 result
= (bool)wxColour___eq__(arg1
,arg2
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4645 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= 0;
4647 wxColour
*arg1
= (wxColour
*) 0 ;
4648 PyObject
*arg2
= (PyObject
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4654 char * kwnames
[] = {
4655 (char *) "self",(char *) "other", NULL
4658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4660 if (!SWIG_IsOK(res1
)) {
4661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4663 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4666 result
= (bool)wxColour___ne__(arg1
,arg2
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4678 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
= 0;
4680 wxColour
*arg1
= (wxColour
*) 0 ;
4681 bool arg2
= (bool) false ;
4682 PyObject
*result
= 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 char * kwnames
[] = {
4690 (char *) "self",(char *) "includeAlpha", NULL
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4698 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4701 if (!SWIG_IsOK(ecode2
)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4704 arg2
= static_cast< bool >(val2
);
4707 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4717 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4718 PyObject
*resultobj
= 0;
4719 wxColour
*arg1
= (wxColour
*) 0 ;
4720 unsigned long result
;
4723 PyObject
*swig_obj
[1] ;
4725 if (!args
) SWIG_fail
;
4727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4728 if (!SWIG_IsOK(res1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4731 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4733 result
= (unsigned long)wxColour_GetRGB(arg1
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4743 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4746 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4747 return SWIG_Py_Void();
4750 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4751 return SWIG_Python_InitShadowInstance(args
);
4754 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
= 0;
4757 unsigned char *arg2
= (unsigned char *) 0 ;
4758 unsigned char *arg3
= (unsigned char *) 0 ;
4759 unsigned char *arg4
= (unsigned char *) 0 ;
4760 wxPalette
*result
= 0 ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 PyObject
* obj2
= 0 ;
4772 PyObject
* obj3
= 0 ;
4773 char * kwnames
[] = {
4774 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4779 if (!SWIG_IsOK(ecode1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4782 arg1
= static_cast< int >(val1
);
4783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4784 if (!SWIG_IsOK(res2
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4787 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4788 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4789 if (!SWIG_IsOK(res3
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4792 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4793 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4794 if (!SWIG_IsOK(res4
)) {
4795 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4797 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4799 if (!wxPyCheckForApp()) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4812 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4813 PyObject
*resultobj
= 0;
4814 wxPalette
*arg1
= (wxPalette
*) 0 ;
4817 PyObject
*swig_obj
[1] ;
4819 if (!args
) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4825 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_Py_Void();
4840 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
= 0;
4842 wxPalette
*arg1
= (wxPalette
*) 0 ;
4849 unsigned char val2
;
4851 unsigned char val3
;
4853 unsigned char val4
;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4857 PyObject
* obj2
= 0 ;
4858 PyObject
* obj3
= 0 ;
4859 char * kwnames
[] = {
4860 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4865 if (!SWIG_IsOK(res1
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4868 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4869 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4870 if (!SWIG_IsOK(ecode2
)) {
4871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4873 arg2
= static_cast< byte
>(val2
);
4874 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4875 if (!SWIG_IsOK(ecode3
)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4878 arg3
= static_cast< byte
>(val3
);
4879 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4880 if (!SWIG_IsOK(ecode4
)) {
4881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4883 arg4
= static_cast< byte
>(val4
);
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_From_int(static_cast< int >(result
));
4897 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
= 0;
4899 wxPalette
*arg1
= (wxPalette
*) 0 ;
4901 byte
*arg3
= (byte
*) 0 ;
4902 byte
*arg4
= (byte
*) 0 ;
4903 byte
*arg5
= (byte
*) 0 ;
4910 int res3
= SWIG_TMPOBJ
;
4912 int res4
= SWIG_TMPOBJ
;
4914 int res5
= SWIG_TMPOBJ
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "self",(char *) "pixel", NULL
4924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4929 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4931 if (!SWIG_IsOK(ecode2
)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4934 arg2
= static_cast< int >(val2
);
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4944 if (SWIG_IsTmpObj(res3
)) {
4945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4947 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4950 if (SWIG_IsTmpObj(res4
)) {
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4953 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4956 if (SWIG_IsTmpObj(res5
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4959 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4968 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxPalette
*arg1
= (wxPalette
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4982 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_From_int(static_cast< int >(result
));
4996 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4997 PyObject
*resultobj
= 0;
4998 wxPalette
*arg1
= (wxPalette
*) 0 ;
5002 PyObject
*swig_obj
[1] ;
5004 if (!args
) SWIG_fail
;
5006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5007 if (!SWIG_IsOK(res1
)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5010 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (bool)(arg1
)->IsOk();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5026 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5030 return SWIG_Py_Void();
5033 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 return SWIG_Python_InitShadowInstance(args
);
5037 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= 0;
5039 wxColour
*arg1
= 0 ;
5040 int arg2
= (int) 1 ;
5041 int arg3
= (int) wxSOLID
;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5050 PyObject
* obj2
= 0 ;
5051 char * kwnames
[] = {
5052 (char *) "colour",(char *) "width",(char *) "style", NULL
5055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5058 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5062 if (!SWIG_IsOK(ecode2
)) {
5063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5065 arg2
= static_cast< int >(val2
);
5068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5069 if (!SWIG_IsOK(ecode3
)) {
5070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5072 arg3
= static_cast< int >(val3
);
5075 if (!wxPyCheckForApp()) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5088 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5089 PyObject
*resultobj
= 0;
5090 wxPen
*arg1
= (wxPen
*) 0 ;
5093 PyObject
*swig_obj
[1] ;
5095 if (!args
) SWIG_fail
;
5097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5098 if (!SWIG_IsOK(res1
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5101 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_Py_Void();
5116 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5118 wxPen
*arg1
= (wxPen
*) 0 ;
5122 PyObject
*swig_obj
[1] ;
5124 if (!args
) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5130 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (int)(arg1
)->GetCap();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_From_int(static_cast< int >(result
));
5144 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5145 PyObject
*resultobj
= 0;
5146 wxPen
*arg1
= (wxPen
*) 0 ;
5150 PyObject
*swig_obj
[1] ;
5152 if (!args
) SWIG_fail
;
5154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5155 if (!SWIG_IsOK(res1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5158 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (arg1
)->GetColour();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5172 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5173 PyObject
*resultobj
= 0;
5174 wxPen
*arg1
= (wxPen
*) 0 ;
5178 PyObject
*swig_obj
[1] ;
5180 if (!args
) SWIG_fail
;
5182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5183 if (!SWIG_IsOK(res1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5186 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (int)(arg1
)->GetJoin();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_From_int(static_cast< int >(result
));
5200 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5201 PyObject
*resultobj
= 0;
5202 wxPen
*arg1
= (wxPen
*) 0 ;
5206 PyObject
*swig_obj
[1] ;
5208 if (!args
) SWIG_fail
;
5210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5211 if (!SWIG_IsOK(res1
)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5214 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= (int)(arg1
)->GetStyle();
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= SWIG_From_int(static_cast< int >(result
));
5228 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxPen
*arg1
= (wxPen
*) 0 ;
5234 PyObject
*swig_obj
[1] ;
5236 if (!args
) SWIG_fail
;
5238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5239 if (!SWIG_IsOK(res1
)) {
5240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5242 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (int)(arg1
)->GetWidth();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_From_int(static_cast< int >(result
));
5256 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5257 PyObject
*resultobj
= 0;
5258 wxPen
*arg1
= (wxPen
*) 0 ;
5262 PyObject
*swig_obj
[1] ;
5264 if (!args
) SWIG_fail
;
5266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5267 if (!SWIG_IsOK(res1
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5270 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)(arg1
)->IsOk();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5286 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxPen
*arg1
= (wxPen
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 char * kwnames
[] = {
5297 (char *) "self",(char *) "cap_style", NULL
5300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5302 if (!SWIG_IsOK(res1
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5305 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5307 if (!SWIG_IsOK(ecode2
)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5310 arg2
= static_cast< int >(val2
);
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 (arg1
)->SetCap(arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_Py_Void();
5324 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
= 0;
5326 wxPen
*arg1
= (wxPen
*) 0 ;
5327 wxColour
*arg2
= 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 char * kwnames
[] = {
5334 (char *) "self",(char *) "colour", NULL
5337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5339 if (!SWIG_IsOK(res1
)) {
5340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5342 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetColour(*arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxPen
*arg1
= (wxPen
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "join_style", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5379 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5384 arg2
= static_cast< int >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetJoin(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxPen
*arg1
= (wxPen
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 char * kwnames
[] = {
5409 (char *) "self",(char *) "style", NULL
5412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5417 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5419 if (!SWIG_IsOK(ecode2
)) {
5420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5422 arg2
= static_cast< int >(val2
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->SetStyle(arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
= 0;
5438 wxPen
*arg1
= (wxPen
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 char * kwnames
[] = {
5447 (char *) "self",(char *) "width", NULL
5450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5455 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5457 if (!SWIG_IsOK(ecode2
)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5460 arg2
= static_cast< int >(val2
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->SetWidth(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_Py_Void();
5474 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxPen
*arg1
= (wxPen
*) 0 ;
5478 wxDash
*arg3
= (wxDash
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5483 char * kwnames
[] = {
5484 (char *) "self",(char *) "dashes", NULL
5487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5492 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5494 arg2
= PyList_Size(obj1
);
5495 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5496 if (arg3
== NULL
) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 (arg1
)->SetDashes(arg2
,arg3
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_Py_Void();
5506 if (arg3
) delete [] arg3
;
5511 if (arg3
) delete [] arg3
;
5517 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5518 PyObject
*resultobj
= 0;
5519 wxPen
*arg1
= (wxPen
*) 0 ;
5520 PyObject
*result
= 0 ;
5523 PyObject
*swig_obj
[1] ;
5525 if (!args
) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5531 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5545 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= 0;
5547 wxPen
*arg1
= (wxPen
*) 0 ;
5548 PyObject
*arg2
= (PyObject
*) 0 ;
5549 PyObject
*arg3
= (PyObject
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 PyObject
* obj2
= 0 ;
5555 char * kwnames
[] = {
5556 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5561 if (!SWIG_IsOK(res1
)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5564 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxPen__SetDashes(arg1
,arg2
,arg3
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_Py_Void();
5580 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5581 PyObject
*resultobj
= 0;
5582 wxPen
*arg1
= (wxPen
*) 0 ;
5586 PyObject
*swig_obj
[1] ;
5588 if (!args
) SWIG_fail
;
5590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5591 if (!SWIG_IsOK(res1
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5594 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= SWIG_From_int(static_cast< int >(result
));
5608 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5609 PyObject
*resultobj
= 0;
5610 wxPen
*arg1
= (wxPen
*) 0 ;
5611 wxBitmap
*result
= 0 ;
5614 PyObject
*swig_obj
[1] ;
5616 if (!args
) SWIG_fail
;
5618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5619 if (!SWIG_IsOK(res1
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5622 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (wxBitmap
*)(arg1
)->GetStipple();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5636 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
= 0;
5638 wxPen
*arg1
= (wxPen
*) 0 ;
5639 wxBitmap
*arg2
= 0 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5646 char * kwnames
[] = {
5647 (char *) "self",(char *) "stipple", NULL
5650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5652 if (!SWIG_IsOK(res1
)) {
5653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5655 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5657 if (!SWIG_IsOK(res2
)) {
5658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5663 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 (arg1
)->SetStipple(*arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_Py_Void();
5677 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
= 0;
5679 wxPen
*arg1
= (wxPen
*) 0 ;
5680 wxPen
*arg2
= (wxPen
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 char * kwnames
[] = {
5689 (char *) "self",(char *) "other", NULL
5692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5697 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5699 if (!SWIG_IsOK(res2
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5702 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 wxPen
*arg1
= (wxPen
*) 0 ;
5721 wxPen
*arg2
= (wxPen
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5729 char * kwnames
[] = {
5730 (char *) "self",(char *) "other", NULL
5733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5735 if (!SWIG_IsOK(res1
)) {
5736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5738 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5740 if (!SWIG_IsOK(res2
)) {
5741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5743 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5759 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5762 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5763 return SWIG_Py_Void();
5766 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5767 return SWIG_Python_InitShadowInstance(args
);
5770 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= 0;
5772 wxColour
*arg1
= 0 ;
5773 int arg2
= (int) wxSOLID
;
5774 wxBrush
*result
= 0 ;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5780 char * kwnames
[] = {
5781 (char *) "colour",(char *) "style", NULL
5784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5787 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5791 if (!SWIG_IsOK(ecode2
)) {
5792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5794 arg2
= static_cast< int >(val2
);
5797 if (!wxPyCheckForApp()) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5810 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
= 0;
5812 wxBitmap
*arg1
= 0 ;
5813 wxBrush
*result
= 0 ;
5816 PyObject
* obj0
= 0 ;
5817 char * kwnames
[] = {
5818 (char *) "stippleBitmap", NULL
5821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5822 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5823 if (!SWIG_IsOK(res1
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5829 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5831 if (!wxPyCheckForApp()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5844 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5845 PyObject
*resultobj
= 0;
5846 wxBrush
*arg1
= (wxBrush
*) 0 ;
5849 PyObject
*swig_obj
[1] ;
5851 if (!args
) SWIG_fail
;
5853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5854 if (!SWIG_IsOK(res1
)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5857 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_Py_Void();
5872 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
= 0;
5874 wxBrush
*arg1
= (wxBrush
*) 0 ;
5875 wxColour
*arg2
= 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "col", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5890 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5893 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 (arg1
)->SetColour((wxColour
const &)*arg2
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_Py_Void();
5908 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5910 wxBrush
*arg1
= (wxBrush
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "style", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5927 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5929 if (!SWIG_IsOK(ecode2
)) {
5930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5932 arg2
= static_cast< int >(val2
);
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetStyle(arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_Py_Void();
5946 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
= 0;
5948 wxBrush
*arg1
= (wxBrush
*) 0 ;
5949 wxBitmap
*arg2
= 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 char * kwnames
[] = {
5957 (char *) "self",(char *) "stipple", NULL
5960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5965 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5967 if (!SWIG_IsOK(res2
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5973 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= SWIG_Py_Void();
5987 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5988 PyObject
*resultobj
= 0;
5989 wxBrush
*arg1
= (wxBrush
*) 0 ;
5993 PyObject
*swig_obj
[1] ;
5995 if (!args
) SWIG_fail
;
5997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5998 if (!SWIG_IsOK(res1
)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6001 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= ((wxBrush
const *)arg1
)->GetColour();
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6015 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6016 PyObject
*resultobj
= 0;
6017 wxBrush
*arg1
= (wxBrush
*) 0 ;
6021 PyObject
*swig_obj
[1] ;
6023 if (!args
) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6029 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_From_int(static_cast< int >(result
));
6043 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 PyObject
*resultobj
= 0;
6045 wxBrush
*arg1
= (wxBrush
*) 0 ;
6046 wxBitmap
*result
= 0 ;
6049 PyObject
*swig_obj
[1] ;
6051 if (!args
) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6057 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6071 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6072 PyObject
*resultobj
= 0;
6073 wxBrush
*arg1
= (wxBrush
*) 0 ;
6077 PyObject
*swig_obj
[1] ;
6079 if (!args
) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6085 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6101 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxBrush
*arg1
= (wxBrush
*) 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6115 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (bool)(arg1
)->IsOk();
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6131 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6134 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6135 return SWIG_Py_Void();
6138 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6139 return SWIG_Python_InitShadowInstance(args
);
6142 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
= 0;
6144 wxString
*arg1
= 0 ;
6145 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6146 wxBitmap
*result
= 0 ;
6147 bool temp1
= false ;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "name",(char *) "type", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6158 arg1
= wxString_in_helper(obj0
);
6159 if (arg1
== NULL
) SWIG_fail
;
6163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6164 if (!SWIG_IsOK(ecode2
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6167 arg2
= static_cast< wxBitmapType
>(val2
);
6170 if (!wxPyCheckForApp()) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6191 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6192 PyObject
*resultobj
= 0;
6193 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6196 PyObject
*swig_obj
[1] ;
6198 if (!args
) SWIG_fail
;
6200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6201 if (!SWIG_IsOK(res1
)) {
6202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6204 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_Py_Void();
6217 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
= 0;
6221 int arg3
= (int) -1 ;
6222 wxBitmap
*result
= 0 ;
6229 PyObject
* obj0
= 0 ;
6230 PyObject
* obj1
= 0 ;
6231 PyObject
* obj2
= 0 ;
6232 char * kwnames
[] = {
6233 (char *) "width",(char *) "height",(char *) "depth", NULL
6236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6238 if (!SWIG_IsOK(ecode1
)) {
6239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6241 arg1
= static_cast< int >(val1
);
6242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6243 if (!SWIG_IsOK(ecode2
)) {
6244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6246 arg2
= static_cast< int >(val2
);
6248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6249 if (!SWIG_IsOK(ecode3
)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6252 arg3
= static_cast< int >(val3
);
6255 if (!wxPyCheckForApp()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6268 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
= 0;
6271 wxBitmap
*result
= 0 ;
6274 PyObject
* obj0
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "icon", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6287 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6289 if (!wxPyCheckForApp()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6302 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
= 0;
6305 int arg2
= (int) -1 ;
6306 wxBitmap
*result
= 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6313 char * kwnames
[] = {
6314 (char *) "image",(char *) "depth", NULL
6317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6318 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6319 if (!SWIG_IsOK(res1
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6325 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6328 if (!SWIG_IsOK(ecode2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6331 arg2
= static_cast< int >(val2
);
6334 if (!wxPyCheckForApp()) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6347 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
= 0;
6349 PyObject
*arg1
= (PyObject
*) 0 ;
6350 wxBitmap
*result
= 0 ;
6351 PyObject
* obj0
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "listOfStrings", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6359 if (!wxPyCheckForApp()) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6372 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
= 0;
6374 PyObject
*arg1
= (PyObject
*) 0 ;
6377 int arg4
= (int) 1 ;
6378 wxBitmap
*result
= 0 ;
6385 PyObject
* obj0
= 0 ;
6386 PyObject
* obj1
= 0 ;
6387 PyObject
* obj2
= 0 ;
6388 PyObject
* obj3
= 0 ;
6389 char * kwnames
[] = {
6390 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6396 if (!SWIG_IsOK(ecode2
)) {
6397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6399 arg2
= static_cast< int >(val2
);
6400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6401 if (!SWIG_IsOK(ecode3
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6404 arg3
= static_cast< int >(val3
);
6406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6407 if (!SWIG_IsOK(ecode4
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6410 arg4
= static_cast< int >(val4
);
6413 if (!wxPyCheckForApp()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6426 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6432 PyObject
*swig_obj
[1] ;
6434 if (!args
) SWIG_fail
;
6436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6437 if (!SWIG_IsOK(res1
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6440 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6442 result
= (long)(arg1
)->GetHandle();
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_From_long(static_cast< long >(result
));
6452 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= 0;
6454 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 char * kwnames
[] = {
6463 (char *) "self",(char *) "handle", NULL
6466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6471 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6473 if (!SWIG_IsOK(ecode2
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6476 arg2
= static_cast< long >(val2
);
6478 wxBitmap_SetHandle(arg1
,arg2
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_Py_Void();
6488 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 PyObject
*resultobj
= 0;
6490 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6502 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6504 result
= (bool)(arg1
)->IsOk();
6505 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6516 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6517 PyObject
*resultobj
= 0;
6518 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6522 PyObject
*swig_obj
[1] ;
6524 if (!args
) SWIG_fail
;
6526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6527 if (!SWIG_IsOK(res1
)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6530 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6532 result
= (int)(arg1
)->GetWidth();
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= SWIG_From_int(static_cast< int >(result
));
6542 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6543 PyObject
*resultobj
= 0;
6544 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6548 PyObject
*swig_obj
[1] ;
6550 if (!args
) SWIG_fail
;
6552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6553 if (!SWIG_IsOK(res1
)) {
6554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6556 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6558 result
= (int)(arg1
)->GetHeight();
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_From_int(static_cast< int >(result
));
6568 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6582 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6584 result
= (int)(arg1
)->GetDepth();
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_From_int(static_cast< int >(result
));
6594 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6595 PyObject
*resultobj
= 0;
6596 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6600 PyObject
*swig_obj
[1] ;
6602 if (!args
) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6608 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6610 result
= wxBitmap_GetSize(arg1
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6620 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6621 PyObject
*resultobj
= 0;
6622 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6623 SwigValueWrapper
<wxImage
> result
;
6626 PyObject
*swig_obj
[1] ;
6628 if (!args
) SWIG_fail
;
6630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6631 if (!SWIG_IsOK(res1
)) {
6632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6636 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6646 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6647 PyObject
*resultobj
= 0;
6648 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6649 wxMask
*result
= 0 ;
6652 PyObject
*swig_obj
[1] ;
6654 if (!args
) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6660 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6662 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6672 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6675 wxMask
*arg2
= (wxMask
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "mask", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6690 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6691 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6692 if (!SWIG_IsOK(res2
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6696 (arg1
)->SetMask(arg2
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_Py_Void();
6706 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6708 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6709 wxColour
*arg2
= 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "self",(char *) "colour", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6721 if (!SWIG_IsOK(res1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6724 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6730 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_Py_Void();
6740 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
= 0;
6742 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6744 SwigValueWrapper
<wxBitmap
> result
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 char * kwnames
[] = {
6751 (char *) "self",(char *) "rect", NULL
6754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6756 if (!SWIG_IsOK(res1
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6759 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6765 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6775 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6778 wxString
*arg2
= 0 ;
6780 wxPalette
*arg4
= (wxPalette
*) NULL
;
6784 bool temp2
= false ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6792 PyObject
* obj3
= 0 ;
6793 char * kwnames
[] = {
6794 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6799 if (!SWIG_IsOK(res1
)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6802 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6804 arg2
= wxString_in_helper(obj1
);
6805 if (arg2
== NULL
) SWIG_fail
;
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6812 arg3
= static_cast< wxBitmapType
>(val3
);
6814 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6815 if (!SWIG_IsOK(res4
)) {
6816 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6818 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6821 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6841 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
= 0;
6843 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6844 wxString
*arg2
= 0 ;
6849 bool temp2
= false ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6854 PyObject
* obj2
= 0 ;
6855 char * kwnames
[] = {
6856 (char *) "self",(char *) "name",(char *) "type", NULL
6859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6861 if (!SWIG_IsOK(res1
)) {
6862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6864 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6866 arg2
= wxString_in_helper(obj1
);
6867 if (arg2
== NULL
) SWIG_fail
;
6870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6871 if (!SWIG_IsOK(ecode3
)) {
6872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6874 arg3
= static_cast< wxBitmapType
>(val3
);
6876 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6896 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6897 PyObject
*resultobj
= 0;
6898 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6899 wxPalette
*result
= 0 ;
6902 PyObject
*swig_obj
[1] ;
6904 if (!args
) SWIG_fail
;
6906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6907 if (!SWIG_IsOK(res1
)) {
6908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6910 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6912 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6922 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= 0;
6924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6925 wxPalette
*arg2
= 0 ;
6930 PyObject
* obj0
= 0 ;
6931 PyObject
* obj1
= 0 ;
6932 char * kwnames
[] = {
6933 (char *) "self",(char *) "palette", NULL
6936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6941 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6943 if (!SWIG_IsOK(res2
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6949 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6951 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_Py_Void();
6961 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
= 0;
6963 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "icon", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6981 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6983 if (!SWIG_IsOK(res2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6989 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6991 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7003 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
= 0;
7005 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7013 char * kwnames
[] = {
7014 (char *) "self",(char *) "height", NULL
7017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7022 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7024 if (!SWIG_IsOK(ecode2
)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7027 arg2
= static_cast< int >(val2
);
7029 (arg1
)->SetHeight(arg2
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_Py_Void();
7039 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
= 0;
7041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7049 char * kwnames
[] = {
7050 (char *) "self",(char *) "width", NULL
7053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7055 if (!SWIG_IsOK(res1
)) {
7056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7058 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7060 if (!SWIG_IsOK(ecode2
)) {
7061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7063 arg2
= static_cast< int >(val2
);
7065 (arg1
)->SetWidth(arg2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_Py_Void();
7075 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
= 0;
7077 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 char * kwnames
[] = {
7086 (char *) "self",(char *) "depth", NULL
7089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7091 if (!SWIG_IsOK(res1
)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7094 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7096 if (!SWIG_IsOK(ecode2
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7099 arg2
= static_cast< int >(val2
);
7101 (arg1
)->SetDepth(arg2
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_Py_Void();
7111 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
= 0;
7113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 char * kwnames
[] = {
7121 (char *) "self",(char *) "size", NULL
7124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7126 if (!SWIG_IsOK(res1
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7129 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7132 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7135 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_Py_Void();
7145 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
= 0;
7147 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7148 wxCursor
*arg2
= 0 ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7156 char * kwnames
[] = {
7157 (char *) "self",(char *) "cursor", NULL
7160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7167 if (!SWIG_IsOK(res2
)) {
7168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7173 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7175 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7187 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
= 0;
7189 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7197 char * kwnames
[] = {
7198 (char *) "self",(char *) "data", NULL
7201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7203 if (!SWIG_IsOK(res1
)) {
7204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7206 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7208 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7212 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7222 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7232 char * kwnames
[] = {
7233 (char *) "self",(char *) "data", NULL
7236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7241 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7243 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7247 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_Py_Void();
7257 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
= 0;
7259 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7260 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "self",(char *) "other", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7277 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7279 if (!SWIG_IsOK(res2
)) {
7280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7282 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7284 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7296 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7298 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7299 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7306 PyObject
* obj1
= 0 ;
7307 char * kwnames
[] = {
7308 (char *) "self",(char *) "other", NULL
7311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7313 if (!SWIG_IsOK(res1
)) {
7314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7316 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7318 if (!SWIG_IsOK(res2
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7321 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7323 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7335 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7338 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7339 return SWIG_Py_Void();
7342 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7343 return SWIG_Python_InitShadowInstance(args
);
7346 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
= 0;
7354 wxBitmap
*result
= 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7363 PyObject
* obj2
= 0 ;
7364 PyObject
* obj3
= 0 ;
7365 char * kwnames
[] = {
7366 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7371 if (!SWIG_IsOK(ecode1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7374 arg1
= static_cast< int >(val1
);
7375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7376 if (!SWIG_IsOK(ecode2
)) {
7377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7379 arg2
= static_cast< int >(val2
);
7381 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7385 if (obj3
!= Py_None
) {
7386 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7391 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7401 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
= 0;
7407 wxBitmap
*result
= 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7416 char * kwnames
[] = {
7417 (char *) "width",(char *) "height",(char *) "data", NULL
7420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7422 if (!SWIG_IsOK(ecode1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7425 arg1
= static_cast< int >(val1
);
7426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7427 if (!SWIG_IsOK(ecode2
)) {
7428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7430 arg2
= static_cast< int >(val2
);
7432 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7436 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7446 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
= 0;
7452 wxBitmap
*result
= 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7460 PyObject
* obj2
= 0 ;
7461 char * kwnames
[] = {
7462 (char *) "width",(char *) "height",(char *) "data", NULL
7465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7467 if (!SWIG_IsOK(ecode1
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7470 arg1
= static_cast< int >(val1
);
7471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7472 if (!SWIG_IsOK(ecode2
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7475 arg2
= static_cast< int >(val2
);
7477 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7481 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7491 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7492 PyObject
*resultobj
= 0;
7493 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7497 PyObject
*swig_obj
[1] ;
7499 if (!args
) SWIG_fail
;
7501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7502 if (!SWIG_IsOK(res1
)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7505 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7507 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7517 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 PyObject
*resultobj
= 0;
7519 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7523 PyObject
*swig_obj
[1] ;
7525 if (!args
) SWIG_fail
;
7527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7528 if (!SWIG_IsOK(res1
)) {
7529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7531 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7533 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_From_int(static_cast< int >(result
));
7543 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7557 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7559 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_From_int(static_cast< int >(result
));
7569 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7570 PyObject
*resultobj
= 0;
7571 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7575 PyObject
*swig_obj
[1] ;
7577 if (!args
) SWIG_fail
;
7579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7580 if (!SWIG_IsOK(res1
)) {
7581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7583 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7585 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7595 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7596 PyObject
*resultobj
= 0;
7597 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7601 PyObject
*swig_obj
[1] ;
7603 if (!args
) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7609 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7611 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_From_int(static_cast< int >(result
));
7621 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7624 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7625 return SWIG_Py_Void();
7628 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7629 PyObject
*resultobj
= 0;
7630 wxBitmap
*arg1
= 0 ;
7631 wxNativePixelData
*result
= 0 ;
7635 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7643 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7645 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7655 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7656 PyObject
*resultobj
= 0;
7657 wxBitmap
*arg1
= 0 ;
7659 wxNativePixelData
*result
= 0 ;
7664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7672 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7675 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7678 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7688 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7689 PyObject
*resultobj
= 0;
7690 wxBitmap
*arg1
= 0 ;
7693 wxNativePixelData
*result
= 0 ;
7699 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7707 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7710 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7714 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7717 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7727 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7731 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7734 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7737 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7740 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7744 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7749 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 PyObject
*resultobj
= 0;
7751 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7754 PyObject
*swig_obj
[1] ;
7756 if (!args
) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7762 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= SWIG_Py_Void();
7775 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7776 PyObject
*resultobj
= 0;
7777 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7778 wxNativePixelData_Accessor result
;
7781 PyObject
*swig_obj
[1] ;
7783 if (!args
) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7789 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7791 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7806 PyObject
*swig_obj
[1] ;
7808 if (!args
) SWIG_fail
;
7810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7811 if (!SWIG_IsOK(res1
)) {
7812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7814 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_Py_Void();
7826 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7832 PyObject
*swig_obj
[1] ;
7834 if (!args
) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7840 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7842 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7854 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7857 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7858 return SWIG_Py_Void();
7861 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7862 return SWIG_Python_InitShadowInstance(args
);
7865 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7866 PyObject
*resultobj
= 0;
7867 wxNativePixelData
*arg1
= 0 ;
7868 wxNativePixelData_Accessor
*result
= 0 ;
7872 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7880 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7882 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7892 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7893 PyObject
*resultobj
= 0;
7894 wxBitmap
*arg1
= 0 ;
7895 wxNativePixelData
*arg2
= 0 ;
7896 wxNativePixelData_Accessor
*result
= 0 ;
7902 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7904 if (!SWIG_IsOK(res1
)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7910 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7911 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7912 if (!SWIG_IsOK(res2
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7918 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7920 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7930 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7931 PyObject
*resultobj
= 0;
7932 wxNativePixelData_Accessor
*result
= 0 ;
7934 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7936 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7946 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7950 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7953 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7956 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7959 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7963 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7968 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7969 PyObject
*resultobj
= 0;
7970 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7973 PyObject
*swig_obj
[1] ;
7975 if (!args
) SWIG_fail
;
7977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7978 if (!SWIG_IsOK(res1
)) {
7979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7981 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_Py_Void();
7994 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7997 wxNativePixelData
*arg2
= 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 char * kwnames
[] = {
8005 (char *) "self",(char *) "data", NULL
8008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) 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_Reset" "', 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_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8021 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8023 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_Py_Void();
8033 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8035 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8039 PyObject
*swig_obj
[1] ;
8041 if (!args
) SWIG_fail
;
8043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8044 if (!SWIG_IsOK(res1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8047 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8049 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8061 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 PyObject
*resultobj
= 0;
8063 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8066 PyObject
*swig_obj
[1] ;
8068 if (!args
) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8074 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8076 wxNativePixelData_Accessor_nextPixel(arg1
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_Py_Void();
8086 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(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_Offset",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_Offset" "', 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_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', 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_Offset" "', 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_Offset" "', expected argument " "4"" of type '" "int""'");
8131 arg4
= static_cast< int >(val4
);
8133 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_Py_Void();
8143 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
= 0;
8145 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8146 wxNativePixelData
*arg2
= 0 ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8156 PyObject
* obj2
= 0 ;
8157 char * kwnames
[] = {
8158 (char *) "self",(char *) "data",(char *) "x", NULL
8161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8163 if (!SWIG_IsOK(res1
)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8166 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8168 if (!SWIG_IsOK(res2
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8174 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8176 if (!SWIG_IsOK(ecode3
)) {
8177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8179 arg3
= static_cast< int >(val3
);
8181 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_Py_Void();
8191 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= 0;
8193 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8194 wxNativePixelData
*arg2
= 0 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8204 PyObject
* obj2
= 0 ;
8205 char * kwnames
[] = {
8206 (char *) "self",(char *) "data",(char *) "y", NULL
8209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8211 if (!SWIG_IsOK(res1
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8214 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8216 if (!SWIG_IsOK(res2
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8222 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8229 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_Py_Void();
8239 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8242 wxNativePixelData
*arg2
= 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8256 PyObject
* obj3
= 0 ;
8257 char * kwnames
[] = {
8258 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8263 if (!SWIG_IsOK(res1
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8266 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8268 if (!SWIG_IsOK(res2
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8274 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8276 if (!SWIG_IsOK(ecode3
)) {
8277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8279 arg3
= static_cast< int >(val3
);
8280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8281 if (!SWIG_IsOK(ecode4
)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8284 arg4
= static_cast< int >(val4
);
8286 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8304 unsigned char val2
;
8306 unsigned char val3
;
8308 unsigned char val4
;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8313 PyObject
* obj3
= 0 ;
8314 char * kwnames
[] = {
8315 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8323 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8324 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8325 if (!SWIG_IsOK(ecode2
)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8328 arg2
= static_cast< byte
>(val2
);
8329 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8330 if (!SWIG_IsOK(ecode3
)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8333 arg3
= static_cast< byte
>(val3
);
8334 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8335 if (!SWIG_IsOK(ecode4
)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8338 arg4
= static_cast< byte
>(val4
);
8340 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_Py_Void();
8350 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8351 PyObject
*resultobj
= 0;
8352 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8353 PyObject
*result
= 0 ;
8356 PyObject
*swig_obj
[1] ;
8358 if (!args
) SWIG_fail
;
8360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8361 if (!SWIG_IsOK(res1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8364 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8366 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8376 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8379 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8380 return SWIG_Py_Void();
8383 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 return SWIG_Python_InitShadowInstance(args
);
8387 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8388 PyObject
*resultobj
= 0;
8389 wxBitmap
*arg1
= 0 ;
8390 wxAlphaPixelData
*result
= 0 ;
8394 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8396 if (!SWIG_IsOK(res1
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8404 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8414 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8415 PyObject
*resultobj
= 0;
8416 wxBitmap
*arg1
= 0 ;
8418 wxAlphaPixelData
*result
= 0 ;
8423 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8425 if (!SWIG_IsOK(res1
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8431 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8434 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8437 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8447 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8448 PyObject
*resultobj
= 0;
8449 wxBitmap
*arg1
= 0 ;
8452 wxAlphaPixelData
*result
= 0 ;
8458 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8466 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8469 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8473 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8476 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8486 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8490 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8493 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8496 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8499 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8503 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8508 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8509 PyObject
*resultobj
= 0;
8510 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8513 PyObject
*swig_obj
[1] ;
8515 if (!args
) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8521 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= SWIG_Py_Void();
8534 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8535 PyObject
*resultobj
= 0;
8536 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8537 wxAlphaPixelData_Accessor result
;
8540 PyObject
*swig_obj
[1] ;
8542 if (!args
) SWIG_fail
;
8544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8545 if (!SWIG_IsOK(res1
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8548 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8550 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8560 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8561 PyObject
*resultobj
= 0;
8562 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8565 PyObject
*swig_obj
[1] ;
8567 if (!args
) SWIG_fail
;
8569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8570 if (!SWIG_IsOK(res1
)) {
8571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8573 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= SWIG_Py_Void();
8585 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8586 PyObject
*resultobj
= 0;
8587 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8591 PyObject
*swig_obj
[1] ;
8593 if (!args
) SWIG_fail
;
8595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8596 if (!SWIG_IsOK(res1
)) {
8597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8599 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8601 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8613 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8616 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8617 return SWIG_Py_Void();
8620 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8621 return SWIG_Python_InitShadowInstance(args
);
8624 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8625 PyObject
*resultobj
= 0;
8626 wxAlphaPixelData
*arg1
= 0 ;
8627 wxAlphaPixelData_Accessor
*result
= 0 ;
8631 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8633 if (!SWIG_IsOK(res1
)) {
8634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8639 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8641 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8651 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8652 PyObject
*resultobj
= 0;
8653 wxBitmap
*arg1
= 0 ;
8654 wxAlphaPixelData
*arg2
= 0 ;
8655 wxAlphaPixelData_Accessor
*result
= 0 ;
8661 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8663 if (!SWIG_IsOK(res1
)) {
8664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8670 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8671 if (!SWIG_IsOK(res2
)) {
8672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8677 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8679 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8689 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8690 PyObject
*resultobj
= 0;
8691 wxAlphaPixelData_Accessor
*result
= 0 ;
8693 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8695 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8705 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8709 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8712 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8715 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8718 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8722 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8727 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8728 PyObject
*resultobj
= 0;
8729 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8732 PyObject
*swig_obj
[1] ;
8734 if (!args
) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8740 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8756 wxAlphaPixelData
*arg2
= 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "data", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) 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_Reset" "', 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_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8780 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8782 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_Py_Void();
8792 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8793 PyObject
*resultobj
= 0;
8794 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8798 PyObject
*swig_obj
[1] ;
8800 if (!args
) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8806 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8808 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8820 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8821 PyObject
*resultobj
= 0;
8822 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8825 PyObject
*swig_obj
[1] ;
8827 if (!args
) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8833 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8835 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_Py_Void();
8845 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(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_Offset",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_Offset" "', 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_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', 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_Offset" "', 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_Offset" "', expected argument " "4"" of type '" "int""'");
8890 arg4
= static_cast< int >(val4
);
8892 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_Py_Void();
8902 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
= 0;
8904 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8905 wxAlphaPixelData
*arg2
= 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 PyObject
* obj2
= 0 ;
8916 char * kwnames
[] = {
8917 (char *) "self",(char *) "data",(char *) "x", NULL
8920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8922 if (!SWIG_IsOK(res1
)) {
8923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8925 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8927 if (!SWIG_IsOK(res2
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8933 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8935 if (!SWIG_IsOK(ecode3
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8938 arg3
= static_cast< int >(val3
);
8940 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_Py_Void();
8950 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= 0;
8952 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8953 wxAlphaPixelData
*arg2
= 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8964 char * kwnames
[] = {
8965 (char *) "self",(char *) "data",(char *) "y", NULL
8968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8970 if (!SWIG_IsOK(res1
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8973 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8975 if (!SWIG_IsOK(res2
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8981 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8983 if (!SWIG_IsOK(ecode3
)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8986 arg3
= static_cast< int >(val3
);
8988 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= SWIG_Py_Void();
8998 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
= 0;
9000 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9001 wxAlphaPixelData
*arg2
= 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9014 PyObject
* obj2
= 0 ;
9015 PyObject
* obj3
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9025 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9027 if (!SWIG_IsOK(res2
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9033 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9035 if (!SWIG_IsOK(ecode3
)) {
9036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9038 arg3
= static_cast< int >(val3
);
9039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9040 if (!SWIG_IsOK(ecode4
)) {
9041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9043 arg4
= static_cast< int >(val4
);
9045 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= SWIG_Py_Void();
9055 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
= 0;
9057 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9064 unsigned char val2
;
9066 unsigned char val3
;
9068 unsigned char val4
;
9070 unsigned char val5
;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9074 PyObject
* obj2
= 0 ;
9075 PyObject
* obj3
= 0 ;
9076 PyObject
* obj4
= 0 ;
9077 char * kwnames
[] = {
9078 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9086 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9087 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9088 if (!SWIG_IsOK(ecode2
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9091 arg2
= static_cast< byte
>(val2
);
9092 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9093 if (!SWIG_IsOK(ecode3
)) {
9094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9096 arg3
= static_cast< byte
>(val3
);
9097 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9098 if (!SWIG_IsOK(ecode4
)) {
9099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9101 arg4
= static_cast< byte
>(val4
);
9102 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9103 if (!SWIG_IsOK(ecode5
)) {
9104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9106 arg5
= static_cast< byte
>(val5
);
9108 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_Py_Void();
9118 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9119 PyObject
*resultobj
= 0;
9120 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9121 PyObject
*result
= 0 ;
9124 PyObject
*swig_obj
[1] ;
9126 if (!args
) SWIG_fail
;
9128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9129 if (!SWIG_IsOK(res1
)) {
9130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9132 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9134 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9144 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9147 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9148 return SWIG_Py_Void();
9151 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9152 return SWIG_Python_InitShadowInstance(args
);
9155 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
= 0;
9157 wxBitmap
*arg1
= 0 ;
9158 wxColour
const &arg2_defvalue
= wxNullColour
;
9159 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9160 wxMask
*result
= 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 char * kwnames
[] = {
9167 (char *) "bitmap",(char *) "colour", NULL
9170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9171 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9172 if (!SWIG_IsOK(res1
)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9178 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9186 if (!wxPyCheckForApp()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9199 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9200 PyObject
*resultobj
= 0;
9201 wxMask
*arg1
= (wxMask
*) 0 ;
9204 PyObject
*swig_obj
[1] ;
9206 if (!args
) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9212 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_Py_Void();
9225 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9228 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9229 return SWIG_Py_Void();
9232 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9233 return SWIG_Python_InitShadowInstance(args
);
9236 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxString
*arg1
= 0 ;
9240 int arg3
= (int) -1 ;
9241 int arg4
= (int) -1 ;
9242 wxIcon
*result
= 0 ;
9243 bool temp1
= false ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9253 PyObject
* obj3
= 0 ;
9254 char * kwnames
[] = {
9255 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9260 arg1
= wxString_in_helper(obj0
);
9261 if (arg1
== NULL
) SWIG_fail
;
9264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9265 if (!SWIG_IsOK(ecode2
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9268 arg2
= static_cast< wxBitmapType
>(val2
);
9270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9271 if (!SWIG_IsOK(ecode3
)) {
9272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9274 arg3
= static_cast< int >(val3
);
9277 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9278 if (!SWIG_IsOK(ecode4
)) {
9279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9281 arg4
= static_cast< int >(val4
);
9284 if (!wxPyCheckForApp()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9305 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9306 PyObject
*resultobj
= 0;
9307 wxIcon
*arg1
= (wxIcon
*) 0 ;
9310 PyObject
*swig_obj
[1] ;
9312 if (!args
) SWIG_fail
;
9314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9315 if (!SWIG_IsOK(res1
)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9318 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_Py_Void();
9333 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9334 PyObject
*resultobj
= 0;
9335 wxIcon
*result
= 0 ;
9337 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9339 if (!wxPyCheckForApp()) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (wxIcon
*)new wxIcon();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9352 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
= 0;
9354 wxIconLocation
*arg1
= 0 ;
9355 wxIcon
*result
= 0 ;
9358 PyObject
* obj0
= 0 ;
9359 char * kwnames
[] = {
9360 (char *) "loc", NULL
9363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9371 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9373 if (!wxPyCheckForApp()) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9386 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
= 0;
9388 wxBitmap
*arg1
= 0 ;
9389 wxIcon
*result
= 0 ;
9392 PyObject
* obj0
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "bmp", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9407 if (!wxPyCheckForApp()) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9420 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
= 0;
9422 PyObject
*arg1
= (PyObject
*) 0 ;
9423 wxIcon
*result
= 0 ;
9424 PyObject
* obj0
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "listOfStrings", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9432 if (!wxPyCheckForApp()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (wxIcon
*)new_wxIcon(arg1
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9445 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= 0;
9447 wxIcon
*arg1
= (wxIcon
*) 0 ;
9448 wxString
*arg2
= 0 ;
9453 bool temp2
= false ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 PyObject
* obj2
= 0 ;
9459 char * kwnames
[] = {
9460 (char *) "self",(char *) "name",(char *) "type", NULL
9463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9465 if (!SWIG_IsOK(res1
)) {
9466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9468 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9470 arg2
= wxString_in_helper(obj1
);
9471 if (arg2
== NULL
) SWIG_fail
;
9474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9475 if (!SWIG_IsOK(ecode3
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9478 arg3
= static_cast< wxBitmapType
>(val3
);
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9502 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9503 PyObject
*resultobj
= 0;
9504 wxIcon
*arg1
= (wxIcon
*) 0 ;
9508 PyObject
*swig_obj
[1] ;
9510 if (!args
) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9516 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (long)(arg1
)->GetHandle();
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_From_long(static_cast< long >(result
));
9530 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
= 0;
9532 wxIcon
*arg1
= (wxIcon
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 char * kwnames
[] = {
9541 (char *) "self",(char *) "handle", NULL
9544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9546 if (!SWIG_IsOK(res1
)) {
9547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9549 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9551 if (!SWIG_IsOK(ecode2
)) {
9552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9554 arg2
= static_cast< long >(val2
);
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 wxIcon_SetHandle(arg1
,arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_Py_Void();
9568 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9569 PyObject
*resultobj
= 0;
9570 wxIcon
*arg1
= (wxIcon
*) 0 ;
9574 PyObject
*swig_obj
[1] ;
9576 if (!args
) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9582 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (bool)(arg1
)->IsOk();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9598 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9599 PyObject
*resultobj
= 0;
9600 wxIcon
*arg1
= (wxIcon
*) 0 ;
9604 PyObject
*swig_obj
[1] ;
9606 if (!args
) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9612 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (int)(arg1
)->GetWidth();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_From_int(static_cast< int >(result
));
9626 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxIcon
*arg1
= (wxIcon
*) 0 ;
9632 PyObject
*swig_obj
[1] ;
9634 if (!args
) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9640 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (int)(arg1
)->GetHeight();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_From_int(static_cast< int >(result
));
9654 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 PyObject
*resultobj
= 0;
9656 wxIcon
*arg1
= (wxIcon
*) 0 ;
9660 PyObject
*swig_obj
[1] ;
9662 if (!args
) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9668 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (int)(arg1
)->GetDepth();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_From_int(static_cast< int >(result
));
9682 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxIcon
*arg1
= (wxIcon
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 char * kwnames
[] = {
9693 (char *) "self",(char *) "w", NULL
9696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9701 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9703 if (!SWIG_IsOK(ecode2
)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9706 arg2
= static_cast< int >(val2
);
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetWidth(arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxIcon
*arg1
= (wxIcon
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "h", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9739 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9741 if (!SWIG_IsOK(ecode2
)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9744 arg2
= static_cast< int >(val2
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetHeight(arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_Py_Void();
9758 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxIcon
*arg1
= (wxIcon
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 char * kwnames
[] = {
9769 (char *) "self",(char *) "d", NULL
9772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9774 if (!SWIG_IsOK(res1
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9777 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9779 if (!SWIG_IsOK(ecode2
)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9782 arg2
= static_cast< int >(val2
);
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 (arg1
)->SetDepth(arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_Py_Void();
9796 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
= 0;
9798 wxIcon
*arg1
= (wxIcon
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 char * kwnames
[] = {
9806 (char *) "self",(char *) "size", NULL
9809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9811 if (!SWIG_IsOK(res1
)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9814 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 (arg1
)->SetSize((wxSize
const &)*arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
= 0;
9834 wxIcon
*arg1
= (wxIcon
*) 0 ;
9835 wxBitmap
*arg2
= 0 ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9842 char * kwnames
[] = {
9843 (char *) "self",(char *) "bmp", NULL
9846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9848 if (!SWIG_IsOK(res1
)) {
9849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9851 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9853 if (!SWIG_IsOK(res2
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9859 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_Py_Void();
9873 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9876 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9877 return SWIG_Py_Void();
9880 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9881 return SWIG_Python_InitShadowInstance(args
);
9884 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= 0;
9886 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9887 int arg2
= (int) 0 ;
9888 wxIconLocation
*result
= 0 ;
9889 bool temp1
= false ;
9892 PyObject
* obj0
= 0 ;
9893 PyObject
* obj1
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "filename",(char *) "num", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9901 arg1
= wxString_in_helper(obj0
);
9902 if (arg1
== NULL
) SWIG_fail
;
9907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9908 if (!SWIG_IsOK(ecode2
)) {
9909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9911 arg2
= static_cast< int >(val2
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9934 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9935 PyObject
*resultobj
= 0;
9936 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9947 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_Py_Void();
9962 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9963 PyObject
*resultobj
= 0;
9964 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9968 PyObject
*swig_obj
[1] ;
9970 if (!args
) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9976 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9992 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
= 0;
9994 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9995 wxString
*arg2
= 0 ;
9998 bool temp2
= false ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char * kwnames
[] = {
10002 (char *) "self",(char *) "filename", NULL
10005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10007 if (!SWIG_IsOK(res1
)) {
10008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10010 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10012 arg2
= wxString_in_helper(obj1
);
10013 if (arg2
== NULL
) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 (arg1
)->SetFileName((wxString
const &)*arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10037 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10038 PyObject
*resultobj
= 0;
10039 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10040 wxString
*result
= 0 ;
10043 PyObject
*swig_obj
[1] ;
10045 if (!args
) SWIG_fail
;
10046 swig_obj
[0] = args
;
10047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10051 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10056 result
= (wxString
*) &_result_ref
;
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10074 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "num", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10093 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 wxIconLocation_SetIndex(arg1
,arg2
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_Py_Void();
10112 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10118 PyObject
*swig_obj
[1] ;
10120 if (!args
) SWIG_fail
;
10121 swig_obj
[0] = args
;
10122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10126 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (int)wxIconLocation_GetIndex(arg1
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_From_int(static_cast< int >(result
));
10140 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10143 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10144 return SWIG_Py_Void();
10147 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10148 return SWIG_Python_InitShadowInstance(args
);
10151 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 PyObject
*resultobj
= 0;
10153 wxIconBundle
*result
= 0 ;
10155 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxIconBundle
*)new wxIconBundle();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10169 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
= 0;
10171 wxString
*arg1
= 0 ;
10173 wxIconBundle
*result
= 0 ;
10174 bool temp1
= false ;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 char * kwnames
[] = {
10180 (char *) "file",(char *) "type", NULL
10183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10185 arg1
= wxString_in_helper(obj0
);
10186 if (arg1
== NULL
) SWIG_fail
;
10189 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10190 if (!SWIG_IsOK(ecode2
)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10193 arg2
= static_cast< long >(val2
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10215 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10218 wxIconBundle
*result
= 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char * kwnames
[] = {
10223 (char *) "icon", NULL
10226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10227 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10228 if (!SWIG_IsOK(res1
)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10234 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10248 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10249 PyObject
*resultobj
= 0;
10250 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10253 PyObject
*swig_obj
[1] ;
10255 if (!args
) SWIG_fail
;
10256 swig_obj
[0] = args
;
10257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10258 if (!SWIG_IsOK(res1
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10261 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_Py_Void();
10276 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char * kwnames
[] = {
10287 (char *) "self",(char *) "icon", NULL
10290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10292 if (!SWIG_IsOK(res1
)) {
10293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10295 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10297 if (!SWIG_IsOK(res2
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10303 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_Py_Void();
10317 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= 0;
10319 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10320 wxString
*arg2
= 0 ;
10324 bool temp2
= false ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "file",(char *) "type", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10339 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10341 arg2
= wxString_in_helper(obj1
);
10342 if (arg2
== NULL
) SWIG_fail
;
10345 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10346 if (!SWIG_IsOK(ecode3
)) {
10347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10349 arg3
= static_cast< long >(val3
);
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= SWIG_Py_Void();
10371 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
= 0;
10373 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10375 wxIcon
*result
= 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char * kwnames
[] = {
10382 (char *) "self",(char *) "size", NULL
10385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10387 if (!SWIG_IsOK(res1
)) {
10388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10390 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10399 result
= (wxIcon
*) &_result_ref
;
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 wxIcon
* resultptr
= new wxIcon(*result
);
10406 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10414 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10417 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10418 return SWIG_Py_Void();
10421 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10422 return SWIG_Python_InitShadowInstance(args
);
10425 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxString
*arg1
= 0 ;
10429 int arg3
= (int) 0 ;
10430 int arg4
= (int) 0 ;
10431 wxCursor
*result
= 0 ;
10432 bool temp1
= false ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10449 arg1
= wxString_in_helper(obj0
);
10450 if (arg1
== NULL
) SWIG_fail
;
10453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10454 if (!SWIG_IsOK(ecode2
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10457 arg2
= static_cast< long >(val2
);
10459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10460 if (!SWIG_IsOK(ecode3
)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10463 arg3
= static_cast< int >(val3
);
10466 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10467 if (!SWIG_IsOK(ecode4
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10470 arg4
= static_cast< int >(val4
);
10473 if (!wxPyCheckForApp()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10494 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10495 PyObject
*resultobj
= 0;
10496 wxCursor
*arg1
= (wxCursor
*) 0 ;
10499 PyObject
*swig_obj
[1] ;
10501 if (!args
) SWIG_fail
;
10502 swig_obj
[0] = args
;
10503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10507 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_Py_Void();
10522 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
= 0;
10525 wxCursor
*result
= 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char * kwnames
[] = {
10530 (char *) "id", NULL
10533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10535 if (!SWIG_IsOK(ecode1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10538 arg1
= static_cast< int >(val1
);
10540 if (!wxPyCheckForApp()) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (wxCursor
*)new wxCursor(arg1
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10553 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
= 0;
10555 wxImage
*arg1
= 0 ;
10556 wxCursor
*result
= 0 ;
10559 PyObject
* obj0
= 0 ;
10560 char * kwnames
[] = {
10561 (char *) "image", NULL
10564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10565 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10566 if (!SWIG_IsOK(res1
)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10572 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10574 if (!wxPyCheckForApp()) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10587 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10588 PyObject
*resultobj
= 0;
10589 wxCursor
*arg1
= (wxCursor
*) 0 ;
10593 PyObject
*swig_obj
[1] ;
10595 if (!args
) SWIG_fail
;
10596 swig_obj
[0] = args
;
10597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10598 if (!SWIG_IsOK(res1
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10601 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (long)(arg1
)->GetHandle();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_From_long(static_cast< long >(result
));
10615 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxCursor
*arg1
= (wxCursor
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char * kwnames
[] = {
10626 (char *) "self",(char *) "handle", NULL
10629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10631 if (!SWIG_IsOK(res1
)) {
10632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10634 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10636 if (!SWIG_IsOK(ecode2
)) {
10637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10639 arg2
= static_cast< long >(val2
);
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 wxCursor_SetHandle(arg1
,arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_Py_Void();
10653 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10654 PyObject
*resultobj
= 0;
10655 wxCursor
*arg1
= (wxCursor
*) 0 ;
10659 PyObject
*swig_obj
[1] ;
10661 if (!args
) SWIG_fail
;
10662 swig_obj
[0] = args
;
10663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10664 if (!SWIG_IsOK(res1
)) {
10665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10667 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (bool)(arg1
)->IsOk();
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10683 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10684 PyObject
*resultobj
= 0;
10685 wxCursor
*arg1
= (wxCursor
*) 0 ;
10689 PyObject
*swig_obj
[1] ;
10691 if (!args
) SWIG_fail
;
10692 swig_obj
[0] = args
;
10693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10697 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= (int)(arg1
)->GetWidth();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= SWIG_From_int(static_cast< int >(result
));
10711 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10712 PyObject
*resultobj
= 0;
10713 wxCursor
*arg1
= (wxCursor
*) 0 ;
10717 PyObject
*swig_obj
[1] ;
10719 if (!args
) SWIG_fail
;
10720 swig_obj
[0] = args
;
10721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10722 if (!SWIG_IsOK(res1
)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10725 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (int)(arg1
)->GetHeight();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_From_int(static_cast< int >(result
));
10739 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10740 PyObject
*resultobj
= 0;
10741 wxCursor
*arg1
= (wxCursor
*) 0 ;
10745 PyObject
*swig_obj
[1] ;
10747 if (!args
) SWIG_fail
;
10748 swig_obj
[0] = args
;
10749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10753 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (int)(arg1
)->GetDepth();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_From_int(static_cast< int >(result
));
10767 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
= 0;
10769 wxCursor
*arg1
= (wxCursor
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char * kwnames
[] = {
10778 (char *) "self",(char *) "w", NULL
10781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10783 if (!SWIG_IsOK(res1
)) {
10784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10786 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10788 if (!SWIG_IsOK(ecode2
)) {
10789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10791 arg2
= static_cast< int >(val2
);
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->SetWidth(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_Py_Void();
10805 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxCursor
*arg1
= (wxCursor
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "h", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10824 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10829 arg2
= static_cast< int >(val2
);
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetHeight(arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_Py_Void();
10843 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
= 0;
10845 wxCursor
*arg1
= (wxCursor
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char * kwnames
[] = {
10854 (char *) "self",(char *) "d", NULL
10857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10859 if (!SWIG_IsOK(res1
)) {
10860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10862 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10864 if (!SWIG_IsOK(ecode2
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10867 arg2
= static_cast< int >(val2
);
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->SetDepth(arg2
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= SWIG_Py_Void();
10881 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= 0;
10883 wxCursor
*arg1
= (wxCursor
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char * kwnames
[] = {
10891 (char *) "self",(char *) "size", NULL
10894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10896 if (!SWIG_IsOK(res1
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10899 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetSize((wxSize
const &)*arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10920 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10921 return SWIG_Py_Void();
10924 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10925 return SWIG_Python_InitShadowInstance(args
);
10928 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= 0;
10930 int arg1
= (int) 0 ;
10931 int arg2
= (int) 0 ;
10932 int arg3
= (int) 0 ;
10933 int arg4
= (int) 0 ;
10934 wxRegion
*result
= 0 ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 PyObject
* obj2
= 0 ;
10946 PyObject
* obj3
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10954 if (!SWIG_IsOK(ecode1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10957 arg1
= static_cast< int >(val1
);
10960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10961 if (!SWIG_IsOK(ecode2
)) {
10962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10964 arg2
= static_cast< int >(val2
);
10967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10968 if (!SWIG_IsOK(ecode3
)) {
10969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10971 arg3
= static_cast< int >(val3
);
10974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10975 if (!SWIG_IsOK(ecode4
)) {
10976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10978 arg4
= static_cast< int >(val4
);
10981 if (!wxPyCheckForApp()) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10994 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxBitmap
*arg1
= 0 ;
10997 wxRegion
*result
= 0 ;
11000 PyObject
* obj0
= 0 ;
11001 char * kwnames
[] = {
11002 (char *) "bmp", NULL
11005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11006 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11013 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11015 if (!wxPyCheckForApp()) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11028 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxBitmap
*arg1
= 0 ;
11031 wxColour
*arg2
= 0 ;
11032 int arg3
= (int) 0 ;
11033 wxRegion
*result
= 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 char * kwnames
[] = {
11043 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11047 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11057 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11061 if (!SWIG_IsOK(ecode3
)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11064 arg3
= static_cast< int >(val3
);
11067 if (!wxPyCheckForApp()) SWIG_fail
;
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11080 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
= 0;
11083 wxPoint
*arg2
= (wxPoint
*) 0 ;
11084 int arg3
= (int) wxWINDING_RULE
;
11085 wxRegion
*result
= 0 ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 char * kwnames
[] = {
11091 (char *) "points",(char *) "fillStyle", NULL
11094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11096 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11097 if (arg2
== NULL
) SWIG_fail
;
11100 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11101 if (!SWIG_IsOK(ecode3
)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11104 arg3
= static_cast< int >(val3
);
11107 if (!wxPyCheckForApp()) SWIG_fail
;
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11115 if (arg2
) delete [] arg2
;
11120 if (arg2
) delete [] arg2
;
11126 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11127 PyObject
*resultobj
= 0;
11128 wxRegion
*arg1
= (wxRegion
*) 0 ;
11131 PyObject
*swig_obj
[1] ;
11133 if (!args
) SWIG_fail
;
11134 swig_obj
[0] = args
;
11135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11139 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_Py_Void();
11154 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 PyObject
*resultobj
= 0;
11156 wxRegion
*arg1
= (wxRegion
*) 0 ;
11159 PyObject
*swig_obj
[1] ;
11161 if (!args
) SWIG_fail
;
11162 swig_obj
[0] = args
;
11163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11167 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= SWIG_Py_Void();
11181 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
= 0;
11183 wxRegion
*arg1
= (wxRegion
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 PyObject
* obj2
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "x",(char *) "y", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11205 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11207 if (!SWIG_IsOK(ecode2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11210 arg2
= static_cast< int >(val2
);
11211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11212 if (!SWIG_IsOK(ecode3
)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11215 arg3
= static_cast< int >(val3
);
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11231 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxRegion
*arg1
= (wxRegion
*) 0 ;
11236 wxRegionContain result
;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 char * kwnames
[] = {
11247 (char *) "self",(char *) "x",(char *) "y", NULL
11250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11255 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11257 if (!SWIG_IsOK(ecode2
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11260 arg2
= static_cast< int >(val2
);
11261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11262 if (!SWIG_IsOK(ecode3
)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11265 arg3
= static_cast< int >(val3
);
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_From_int(static_cast< int >(result
));
11279 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= 0;
11281 wxRegion
*arg1
= (wxRegion
*) 0 ;
11282 wxPoint
*arg2
= 0 ;
11283 wxRegionContain result
;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "self",(char *) "pt", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",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_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11298 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_From_int(static_cast< int >(result
));
11316 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
= 0;
11318 wxRegion
*arg1
= (wxRegion
*) 0 ;
11320 wxRegionContain result
;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 char * kwnames
[] = {
11327 (char *) "self",(char *) "rect", NULL
11330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11332 if (!SWIG_IsOK(res1
)) {
11333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11335 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11338 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxRegion
*arg1
= (wxRegion
*) 0 ;
11360 wxRegionContain result
;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 PyObject
* obj2
= 0 ;
11374 PyObject
* obj3
= 0 ;
11375 PyObject
* obj4
= 0 ;
11376 char * kwnames
[] = {
11377 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11385 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11387 if (!SWIG_IsOK(ecode2
)) {
11388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11390 arg2
= static_cast< int >(val2
);
11391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11392 if (!SWIG_IsOK(ecode3
)) {
11393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11395 arg3
= static_cast< int >(val3
);
11396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11397 if (!SWIG_IsOK(ecode4
)) {
11398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11400 arg4
= static_cast< int >(val4
);
11401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11402 if (!SWIG_IsOK(ecode5
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11405 arg5
= static_cast< int >(val5
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_From_int(static_cast< int >(result
));
11419 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11420 PyObject
*resultobj
= 0;
11421 wxRegion
*arg1
= (wxRegion
*) 0 ;
11425 PyObject
*swig_obj
[1] ;
11427 if (!args
) SWIG_fail
;
11428 swig_obj
[0] = args
;
11429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11433 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (arg1
)->GetBox();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11447 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxRegion
*arg1
= (wxRegion
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 PyObject
* obj2
= 0 ;
11468 PyObject
* obj3
= 0 ;
11469 PyObject
* obj4
= 0 ;
11470 char * kwnames
[] = {
11471 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11479 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11481 if (!SWIG_IsOK(ecode2
)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11484 arg2
= static_cast< int >(val2
);
11485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11486 if (!SWIG_IsOK(ecode3
)) {
11487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11489 arg3
= static_cast< int >(val3
);
11490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11491 if (!SWIG_IsOK(ecode4
)) {
11492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11494 arg4
= static_cast< int >(val4
);
11495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11496 if (!SWIG_IsOK(ecode5
)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11499 arg5
= static_cast< int >(val5
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11515 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
= 0;
11517 wxRegion
*arg1
= (wxRegion
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 char * kwnames
[] = {
11526 (char *) "self",(char *) "rect", NULL
11529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11531 if (!SWIG_IsOK(res1
)) {
11532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11534 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11554 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
= 0;
11556 wxRegion
*arg1
= (wxRegion
*) 0 ;
11557 wxRegion
*arg2
= 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char * kwnames
[] = {
11566 (char *) "self",(char *) "region", NULL
11569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11571 if (!SWIG_IsOK(res1
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11576 if (!SWIG_IsOK(res2
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11582 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11598 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11599 PyObject
*resultobj
= 0;
11600 wxRegion
*arg1
= (wxRegion
*) 0 ;
11604 PyObject
*swig_obj
[1] ;
11606 if (!args
) SWIG_fail
;
11607 swig_obj
[0] = args
;
11608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11609 if (!SWIG_IsOK(res1
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11612 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (bool)(arg1
)->IsEmpty();
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11628 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
= 0;
11630 wxRegion
*arg1
= (wxRegion
*) 0 ;
11631 wxRegion
*arg2
= 0 ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char * kwnames
[] = {
11640 (char *) "self",(char *) "region", NULL
11643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11645 if (!SWIG_IsOK(res1
)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11648 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11650 if (!SWIG_IsOK(res2
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11656 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11672 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
= 0;
11674 wxRegion
*arg1
= (wxRegion
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 PyObject
* obj2
= 0 ;
11693 PyObject
* obj3
= 0 ;
11694 PyObject
* obj4
= 0 ;
11695 char * kwnames
[] = {
11696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11701 if (!SWIG_IsOK(res1
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11704 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11706 if (!SWIG_IsOK(ecode2
)) {
11707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11709 arg2
= static_cast< int >(val2
);
11710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11711 if (!SWIG_IsOK(ecode3
)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11714 arg3
= static_cast< int >(val3
);
11715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11716 if (!SWIG_IsOK(ecode4
)) {
11717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11719 arg4
= static_cast< int >(val4
);
11720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11721 if (!SWIG_IsOK(ecode5
)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11724 arg5
= static_cast< int >(val5
);
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
= 0;
11742 wxRegion
*arg1
= (wxRegion
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 char * kwnames
[] = {
11751 (char *) "self",(char *) "rect", NULL
11754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11756 if (!SWIG_IsOK(res1
)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11759 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11779 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
= 0;
11781 wxRegion
*arg1
= (wxRegion
*) 0 ;
11782 wxRegion
*arg2
= 0 ;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 char * kwnames
[] = {
11791 (char *) "self",(char *) "region", NULL
11794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11801 if (!SWIG_IsOK(res2
)) {
11802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11807 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11823 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxRegion
*arg1
= (wxRegion
*) 0 ;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 PyObject
* obj2
= 0 ;
11844 PyObject
* obj3
= 0 ;
11845 PyObject
* obj4
= 0 ;
11846 char * kwnames
[] = {
11847 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11852 if (!SWIG_IsOK(res1
)) {
11853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11855 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11857 if (!SWIG_IsOK(ecode2
)) {
11858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11860 arg2
= static_cast< int >(val2
);
11861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11862 if (!SWIG_IsOK(ecode3
)) {
11863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11865 arg3
= static_cast< int >(val3
);
11866 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11867 if (!SWIG_IsOK(ecode4
)) {
11868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11870 arg4
= static_cast< int >(val4
);
11871 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11872 if (!SWIG_IsOK(ecode5
)) {
11873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11875 arg5
= static_cast< int >(val5
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11891 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxRegion
*arg1
= (wxRegion
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 char * kwnames
[] = {
11902 (char *) "self",(char *) "rect", NULL
11905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11910 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
= 0;
11932 wxRegion
*arg1
= (wxRegion
*) 0 ;
11933 wxRegion
*arg2
= 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char * kwnames
[] = {
11942 (char *) "self",(char *) "region", NULL
11945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11947 if (!SWIG_IsOK(res1
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11950 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11952 if (!SWIG_IsOK(res2
)) {
11953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11958 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11974 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
= 0;
11976 wxRegion
*arg1
= (wxRegion
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 PyObject
* obj1
= 0 ;
11994 PyObject
* obj2
= 0 ;
11995 PyObject
* obj3
= 0 ;
11996 PyObject
* obj4
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12006 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12008 if (!SWIG_IsOK(ecode2
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12011 arg2
= static_cast< int >(val2
);
12012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12013 if (!SWIG_IsOK(ecode3
)) {
12014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12016 arg3
= static_cast< int >(val3
);
12017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12018 if (!SWIG_IsOK(ecode4
)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12021 arg4
= static_cast< int >(val4
);
12022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12023 if (!SWIG_IsOK(ecode5
)) {
12024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12026 arg5
= static_cast< int >(val5
);
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12042 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
= 0;
12044 wxRegion
*arg1
= (wxRegion
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char * kwnames
[] = {
12053 (char *) "self",(char *) "rect", NULL
12056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12061 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12081 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
= 0;
12083 wxRegion
*arg1
= (wxRegion
*) 0 ;
12084 wxRegion
*arg2
= 0 ;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char * kwnames
[] = {
12093 (char *) "self",(char *) "region", NULL
12096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12101 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12103 if (!SWIG_IsOK(res2
)) {
12104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12109 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12125 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12126 PyObject
*resultobj
= 0;
12127 wxRegion
*arg1
= (wxRegion
*) 0 ;
12128 SwigValueWrapper
<wxBitmap
> result
;
12131 PyObject
*swig_obj
[1] ;
12133 if (!args
) SWIG_fail
;
12134 swig_obj
[0] = args
;
12135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12136 if (!SWIG_IsOK(res1
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12139 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (arg1
)->ConvertToBitmap();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12153 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= 0;
12155 wxRegion
*arg1
= (wxRegion
*) 0 ;
12156 wxBitmap
*arg2
= 0 ;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "self",(char *) "bmp", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12173 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12175 if (!SWIG_IsOK(res2
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12181 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12197 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxRegion
*arg1
= (wxRegion
*) 0 ;
12200 wxBitmap
*arg2
= 0 ;
12201 wxColour
*arg3
= 0 ;
12202 int arg4
= (int) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 PyObject
* obj2
= 0 ;
12214 PyObject
* obj3
= 0 ;
12215 char * kwnames
[] = {
12216 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12224 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12226 if (!SWIG_IsOK(res2
)) {
12227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12232 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12235 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12239 if (!SWIG_IsOK(ecode4
)) {
12240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12242 arg4
= static_cast< int >(val4
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12259 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12262 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12263 return SWIG_Py_Void();
12266 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 return SWIG_Python_InitShadowInstance(args
);
12270 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= 0;
12272 wxRegion
*arg1
= 0 ;
12273 wxRegionIterator
*result
= 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char * kwnames
[] = {
12278 (char *) "region", NULL
12281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12289 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12291 if (!wxPyCheckForApp()) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12304 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12305 PyObject
*resultobj
= 0;
12306 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
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_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12317 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_Py_Void();
12332 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12338 PyObject
*swig_obj
[1] ;
12340 if (!args
) SWIG_fail
;
12341 swig_obj
[0] = args
;
12342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12346 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (int)(arg1
)->GetX();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_From_int(static_cast< int >(result
));
12360 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12361 PyObject
*resultobj
= 0;
12362 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12366 PyObject
*swig_obj
[1] ;
12368 if (!args
) SWIG_fail
;
12369 swig_obj
[0] = args
;
12370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12371 if (!SWIG_IsOK(res1
)) {
12372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12374 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (int)(arg1
)->GetY();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_From_int(static_cast< int >(result
));
12388 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12390 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12394 PyObject
*swig_obj
[1] ;
12396 if (!args
) SWIG_fail
;
12397 swig_obj
[0] = args
;
12398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12402 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (int)(arg1
)->GetW();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_From_int(static_cast< int >(result
));
12416 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12417 PyObject
*resultobj
= 0;
12418 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12422 PyObject
*swig_obj
[1] ;
12424 if (!args
) SWIG_fail
;
12425 swig_obj
[0] = args
;
12426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12427 if (!SWIG_IsOK(res1
)) {
12428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12430 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (int)(arg1
)->GetWidth();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_From_int(static_cast< int >(result
));
12444 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12445 PyObject
*resultobj
= 0;
12446 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12450 PyObject
*swig_obj
[1] ;
12452 if (!args
) SWIG_fail
;
12453 swig_obj
[0] = args
;
12454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12458 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (int)(arg1
)->GetH();
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_From_int(static_cast< int >(result
));
12472 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 PyObject
*resultobj
= 0;
12474 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12486 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (int)(arg1
)->GetHeight();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_From_int(static_cast< int >(result
));
12500 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12501 PyObject
*resultobj
= 0;
12502 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12506 PyObject
*swig_obj
[1] ;
12508 if (!args
) SWIG_fail
;
12509 swig_obj
[0] = args
;
12510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12514 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (arg1
)->GetRect();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12528 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12529 PyObject
*resultobj
= 0;
12530 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12534 PyObject
*swig_obj
[1] ;
12536 if (!args
) SWIG_fail
;
12537 swig_obj
[0] = args
;
12538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12539 if (!SWIG_IsOK(res1
)) {
12540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12542 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (bool)(arg1
)->HaveRects();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12558 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12559 PyObject
*resultobj
= 0;
12560 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12563 PyObject
*swig_obj
[1] ;
12565 if (!args
) SWIG_fail
;
12566 swig_obj
[0] = args
;
12567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12571 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_Py_Void();
12585 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12586 PyObject
*resultobj
= 0;
12587 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12590 PyObject
*swig_obj
[1] ;
12592 if (!args
) SWIG_fail
;
12593 swig_obj
[0] = args
;
12594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12595 if (!SWIG_IsOK(res1
)) {
12596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12598 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 wxRegionIterator_Next(arg1
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_Py_Void();
12612 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12618 PyObject
*swig_obj
[1] ;
12620 if (!args
) SWIG_fail
;
12621 swig_obj
[0] = args
;
12622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12626 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12642 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12645 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12646 return SWIG_Py_Void();
12649 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12650 return SWIG_Python_InitShadowInstance(args
);
12653 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxNativeFontInfo
*result
= 0 ;
12657 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12671 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12672 PyObject
*resultobj
= 0;
12673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12676 PyObject
*swig_obj
[1] ;
12678 if (!args
) SWIG_fail
;
12679 swig_obj
[0] = args
;
12680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12681 if (!SWIG_IsOK(res1
)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12684 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_Py_Void();
12699 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12700 PyObject
*resultobj
= 0;
12701 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12704 PyObject
*swig_obj
[1] ;
12706 if (!args
) SWIG_fail
;
12707 swig_obj
[0] = args
;
12708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12712 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_Py_Void();
12726 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
= 0;
12728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 char * kwnames
[] = {
12737 (char *) "self",(char *) "font", NULL
12740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12742 if (!SWIG_IsOK(res1
)) {
12743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12745 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12747 if (!SWIG_IsOK(res2
)) {
12748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12753 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_Py_Void();
12767 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12768 PyObject
*resultobj
= 0;
12769 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12773 PyObject
*swig_obj
[1] ;
12775 if (!args
) SWIG_fail
;
12776 swig_obj
[0] = args
;
12777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12778 if (!SWIG_IsOK(res1
)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12781 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_From_int(static_cast< int >(result
));
12795 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12796 PyObject
*resultobj
= 0;
12797 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12801 PyObject
*swig_obj
[1] ;
12803 if (!args
) SWIG_fail
;
12804 swig_obj
[0] = args
;
12805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12809 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12823 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12824 PyObject
*resultobj
= 0;
12825 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12826 wxFontStyle result
;
12829 PyObject
*swig_obj
[1] ;
12831 if (!args
) SWIG_fail
;
12832 swig_obj
[0] = args
;
12833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12834 if (!SWIG_IsOK(res1
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12837 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_From_int(static_cast< int >(result
));
12851 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12854 wxFontWeight result
;
12857 PyObject
*swig_obj
[1] ;
12859 if (!args
) SWIG_fail
;
12860 swig_obj
[0] = args
;
12861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12865 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_From_int(static_cast< int >(result
));
12879 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12880 PyObject
*resultobj
= 0;
12881 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12885 PyObject
*swig_obj
[1] ;
12887 if (!args
) SWIG_fail
;
12888 swig_obj
[0] = args
;
12889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12890 if (!SWIG_IsOK(res1
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12893 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 PyObject
*resultobj
= 0;
12911 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12915 PyObject
*swig_obj
[1] ;
12917 if (!args
) SWIG_fail
;
12918 swig_obj
[0] = args
;
12919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12923 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12943 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12944 PyObject
*resultobj
= 0;
12945 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12946 wxFontFamily result
;
12949 PyObject
*swig_obj
[1] ;
12951 if (!args
) SWIG_fail
;
12952 swig_obj
[0] = args
;
12953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12954 if (!SWIG_IsOK(res1
)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12957 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_From_int(static_cast< int >(result
));
12971 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 PyObject
*resultobj
= 0;
12973 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12974 wxFontEncoding result
;
12977 PyObject
*swig_obj
[1] ;
12979 if (!args
) SWIG_fail
;
12980 swig_obj
[0] = args
;
12981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12982 if (!SWIG_IsOK(res1
)) {
12983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12985 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_From_int(static_cast< int >(result
));
12999 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 char * kwnames
[] = {
13010 (char *) "self",(char *) "pointsize", NULL
13013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13015 if (!SWIG_IsOK(res1
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13018 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13020 if (!SWIG_IsOK(ecode2
)) {
13021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13023 arg2
= static_cast< int >(val2
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 (arg1
)->SetPointSize(arg2
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= SWIG_Py_Void();
13037 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
= 0;
13039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 char * kwnames
[] = {
13047 (char *) "self",(char *) "pixelSize", NULL
13050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13052 if (!SWIG_IsOK(res1
)) {
13053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13055 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_Py_Void();
13073 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
= 0;
13075 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char * kwnames
[] = {
13084 (char *) "self",(char *) "style", NULL
13087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13092 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13094 if (!SWIG_IsOK(ecode2
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13097 arg2
= static_cast< wxFontStyle
>(val2
);
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 (arg1
)->SetStyle(arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_Py_Void();
13111 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13114 wxFontWeight arg2
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char * kwnames
[] = {
13122 (char *) "self",(char *) "weight", NULL
13125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13127 if (!SWIG_IsOK(res1
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13132 if (!SWIG_IsOK(ecode2
)) {
13133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13135 arg2
= static_cast< wxFontWeight
>(val2
);
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetWeight(arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_Py_Void();
13149 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
= 0;
13151 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char * kwnames
[] = {
13160 (char *) "self",(char *) "underlined", NULL
13163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13168 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13170 if (!SWIG_IsOK(ecode2
)) {
13171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13173 arg2
= static_cast< bool >(val2
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->SetUnderlined(arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_Py_Void();
13187 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
= 0;
13189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "self",(char *) "facename", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13205 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13207 wxString
* sptr
= wxString_in_helper(obj1
);
13208 if (sptr
== NULL
) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (bool)(arg1
)->SetFaceName(arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13227 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13230 wxFontFamily arg2
;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char * kwnames
[] = {
13238 (char *) "self",(char *) "family", NULL
13241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13246 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13248 if (!SWIG_IsOK(ecode2
)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13251 arg2
= static_cast< wxFontFamily
>(val2
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->SetFamily(arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_Py_Void();
13265 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13268 wxFontEncoding arg2
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "encoding", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13284 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13286 if (!SWIG_IsOK(ecode2
)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13289 arg2
= static_cast< wxFontEncoding
>(val2
);
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 (arg1
)->SetEncoding(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_Py_Void();
13303 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
= 0;
13305 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13306 wxString
*arg2
= 0 ;
13310 bool temp2
= false ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 char * kwnames
[] = {
13314 (char *) "self",(char *) "s", NULL
13317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13319 if (!SWIG_IsOK(res1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13322 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13324 arg2
= wxString_in_helper(obj1
);
13325 if (arg2
== NULL
) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13351 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13352 PyObject
*resultobj
= 0;
13353 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13357 PyObject
*swig_obj
[1] ;
13359 if (!args
) SWIG_fail
;
13360 swig_obj
[0] = args
;
13361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13365 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13385 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 PyObject
*resultobj
= 0;
13387 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13391 PyObject
*swig_obj
[1] ;
13393 if (!args
) SWIG_fail
;
13394 swig_obj
[0] = args
;
13395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13399 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= wxNativeFontInfo___str__(arg1
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13419 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
= 0;
13421 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13422 wxString
*arg2
= 0 ;
13426 bool temp2
= false ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char * kwnames
[] = {
13430 (char *) "self",(char *) "s", NULL
13433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13438 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13440 arg2
= wxString_in_helper(obj1
);
13441 if (arg2
== NULL
) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13468 PyObject
*resultobj
= 0;
13469 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13473 PyObject
*swig_obj
[1] ;
13475 if (!args
) SWIG_fail
;
13476 swig_obj
[0] = args
;
13477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13478 if (!SWIG_IsOK(res1
)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13481 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13501 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13504 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13505 return SWIG_Py_Void();
13508 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13509 return SWIG_Python_InitShadowInstance(args
);
13512 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13514 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13515 wxString
*arg2
= (wxString
*) 0 ;
13518 bool temp2
= false ;
13519 PyObject
*swig_obj
[2] ;
13521 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13526 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13528 arg2
= wxString_in_helper(swig_obj
[1]);
13529 if (arg2
== NULL
) SWIG_fail
;
13532 if (arg1
) (arg1
)->facename
= *arg2
;
13534 resultobj
= SWIG_Py_Void();
13549 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13550 PyObject
*resultobj
= 0;
13551 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13552 wxString
*result
= 0 ;
13555 PyObject
*swig_obj
[1] ;
13557 if (!args
) SWIG_fail
;
13558 swig_obj
[0] = args
;
13559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13560 if (!SWIG_IsOK(res1
)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13563 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13564 result
= (wxString
*)& ((arg1
)->facename
);
13567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13578 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13579 PyObject
*resultobj
= 0;
13580 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13581 wxFontEncoding arg2
;
13586 PyObject
*swig_obj
[2] ;
13588 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13590 if (!SWIG_IsOK(res1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13593 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13594 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13595 if (!SWIG_IsOK(ecode2
)) {
13596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13598 arg2
= static_cast< wxFontEncoding
>(val2
);
13599 if (arg1
) (arg1
)->encoding
= arg2
;
13601 resultobj
= SWIG_Py_Void();
13608 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13609 PyObject
*resultobj
= 0;
13610 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13611 wxFontEncoding result
;
13614 PyObject
*swig_obj
[1] ;
13616 if (!args
) SWIG_fail
;
13617 swig_obj
[0] = args
;
13618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13619 if (!SWIG_IsOK(res1
)) {
13620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13622 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13623 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13624 resultobj
= SWIG_From_int(static_cast< int >(result
));
13631 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13632 PyObject
*resultobj
= 0;
13633 wxNativeEncodingInfo
*result
= 0 ;
13635 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13649 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13650 PyObject
*resultobj
= 0;
13651 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13654 PyObject
*swig_obj
[1] ;
13656 if (!args
) SWIG_fail
;
13657 swig_obj
[0] = args
;
13658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13659 if (!SWIG_IsOK(res1
)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13662 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_Py_Void();
13677 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= 0;
13679 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13680 wxString
*arg2
= 0 ;
13684 bool temp2
= false ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 char * kwnames
[] = {
13688 (char *) "self",(char *) "s", NULL
13691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13696 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13698 arg2
= wxString_in_helper(obj1
);
13699 if (arg2
== NULL
) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13725 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13726 PyObject
*resultobj
= 0;
13727 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13731 PyObject
*swig_obj
[1] ;
13733 if (!args
) SWIG_fail
;
13734 swig_obj
[0] = args
;
13735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13739 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13759 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13762 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13763 return SWIG_Py_Void();
13766 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13767 return SWIG_Python_InitShadowInstance(args
);
13770 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= 0;
13772 wxFontEncoding arg1
;
13773 wxNativeEncodingInfo
*result
= 0 ;
13776 PyObject
* obj0
= 0 ;
13777 char * kwnames
[] = {
13778 (char *) "encoding", NULL
13781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13783 if (!SWIG_IsOK(ecode1
)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13786 arg1
= static_cast< wxFontEncoding
>(val1
);
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13800 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
= 0;
13802 wxNativeEncodingInfo
*arg1
= 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "info", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13819 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13835 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13836 PyObject
*resultobj
= 0;
13837 wxFontMapper
*result
= 0 ;
13839 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (wxFontMapper
*)new wxFontMapper();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13853 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13854 PyObject
*resultobj
= 0;
13855 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13858 PyObject
*swig_obj
[1] ;
13860 if (!args
) SWIG_fail
;
13861 swig_obj
[0] = args
;
13862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13866 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13882 PyObject
*resultobj
= 0;
13883 wxFontMapper
*result
= 0 ;
13885 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxFontMapper
*)wxFontMapper::Get();
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13899 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
= 0;
13901 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13902 wxFontMapper
*result
= 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "mapper", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13915 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13929 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13932 wxString
*arg2
= 0 ;
13933 bool arg3
= (bool) true ;
13934 wxFontEncoding result
;
13937 bool temp2
= false ;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 PyObject
* obj2
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13952 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13954 arg2
= wxString_in_helper(obj1
);
13955 if (arg2
== NULL
) SWIG_fail
;
13959 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13960 if (!SWIG_IsOK(ecode3
)) {
13961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13963 arg3
= static_cast< bool >(val3
);
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_From_int(static_cast< int >(result
));
13986 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 PyObject
*resultobj
= 0;
13990 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14004 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= 0;
14007 wxFontEncoding result
;
14010 PyObject
* obj0
= 0 ;
14011 char * kwnames
[] = {
14015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14016 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14017 if (!SWIG_IsOK(ecode1
)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14020 arg1
= static_cast< size_t >(val1
);
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_From_int(static_cast< int >(result
));
14034 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
= 0;
14036 wxFontEncoding arg1
;
14040 PyObject
* obj0
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "encoding", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14047 if (!SWIG_IsOK(ecode1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14050 arg1
= static_cast< wxFontEncoding
>(val1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= wxFontMapper::GetEncodingName(arg1
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14070 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
= 0;
14072 wxFontEncoding arg1
;
14076 PyObject
* obj0
= 0 ;
14077 char * kwnames
[] = {
14078 (char *) "encoding", NULL
14081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14083 if (!SWIG_IsOK(ecode1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14086 arg1
= static_cast< wxFontEncoding
>(val1
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= wxFontMapper::GetEncodingDescription(arg1
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14106 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
= 0;
14108 wxString
*arg1
= 0 ;
14109 wxFontEncoding result
;
14110 bool temp1
= false ;
14111 PyObject
* obj0
= 0 ;
14112 char * kwnames
[] = {
14113 (char *) "name", NULL
14116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14118 arg1
= wxString_in_helper(obj0
);
14119 if (arg1
== NULL
) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= SWIG_From_int(static_cast< int >(result
));
14143 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
= 0;
14145 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14146 wxString
*arg2
= 0 ;
14149 bool temp2
= false ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 char * kwnames
[] = {
14153 (char *) "self",(char *) "prefix", NULL
14156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14158 if (!SWIG_IsOK(res1
)) {
14159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14161 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14163 arg2
= wxString_in_helper(obj1
);
14164 if (arg2
== NULL
) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= SWIG_Py_Void();
14188 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14192 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= wxFontMapper::GetDefaultConfigPath();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14212 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
= 0;
14214 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14215 wxFontEncoding arg2
;
14216 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14217 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14218 bool arg4
= (bool) true ;
14219 PyObject
*result
= 0 ;
14224 bool temp3
= false ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 PyObject
* obj3
= 0 ;
14231 char * kwnames
[] = {
14232 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14240 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14242 if (!SWIG_IsOK(ecode2
)) {
14243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14245 arg2
= static_cast< wxFontEncoding
>(val2
);
14248 arg3
= wxString_in_helper(obj2
);
14249 if (arg3
== NULL
) SWIG_fail
;
14254 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14255 if (!SWIG_IsOK(ecode4
)) {
14256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14258 arg4
= static_cast< bool >(val4
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
;
14281 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
= 0;
14283 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14284 wxFontEncoding arg2
;
14285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14292 bool temp3
= false ;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj1
= 0 ;
14295 PyObject
* obj2
= 0 ;
14296 char * kwnames
[] = {
14297 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14302 if (!SWIG_IsOK(res1
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14305 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14307 if (!SWIG_IsOK(ecode2
)) {
14308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14310 arg2
= static_cast< wxFontEncoding
>(val2
);
14313 arg3
= wxString_in_helper(obj2
);
14314 if (arg3
== NULL
) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14341 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= 0;
14343 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14344 wxWindow
*arg2
= (wxWindow
*) 0 ;
14349 PyObject
* obj0
= 0 ;
14350 PyObject
* obj1
= 0 ;
14351 char * kwnames
[] = {
14352 (char *) "self",(char *) "parent", NULL
14355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14360 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14362 if (!SWIG_IsOK(res2
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14365 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 (arg1
)->SetDialogParent(arg2
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_Py_Void();
14379 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
= 0;
14381 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14382 wxString
*arg2
= 0 ;
14385 bool temp2
= false ;
14386 PyObject
* obj0
= 0 ;
14387 PyObject
* obj1
= 0 ;
14388 char * kwnames
[] = {
14389 (char *) "self",(char *) "title", NULL
14392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14394 if (!SWIG_IsOK(res1
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14397 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14399 arg2
= wxString_in_helper(obj1
);
14400 if (arg2
== NULL
) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_Py_Void();
14424 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14427 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14428 return SWIG_Py_Void();
14431 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 return SWIG_Python_InitShadowInstance(args
);
14435 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
= 0;
14441 bool arg5
= (bool) false ;
14442 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14443 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14444 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14445 wxFont
*result
= 0 ;
14456 bool temp6
= false ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 PyObject
* obj2
= 0 ;
14462 PyObject
* obj3
= 0 ;
14463 PyObject
* obj4
= 0 ;
14464 PyObject
* obj5
= 0 ;
14465 PyObject
* obj6
= 0 ;
14466 char * kwnames
[] = {
14467 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14472 if (!SWIG_IsOK(ecode1
)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14475 arg1
= static_cast< int >(val1
);
14476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14477 if (!SWIG_IsOK(ecode2
)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14480 arg2
= static_cast< int >(val2
);
14481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14482 if (!SWIG_IsOK(ecode3
)) {
14483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14485 arg3
= static_cast< int >(val3
);
14486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14487 if (!SWIG_IsOK(ecode4
)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14490 arg4
= static_cast< int >(val4
);
14492 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14493 if (!SWIG_IsOK(ecode5
)) {
14494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14496 arg5
= static_cast< bool >(val5
);
14500 arg6
= wxString_in_helper(obj5
);
14501 if (arg6
== NULL
) SWIG_fail
;
14506 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14507 if (!SWIG_IsOK(ecode7
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14510 arg7
= static_cast< wxFontEncoding
>(val7
);
14513 if (!wxPyCheckForApp()) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14534 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14535 PyObject
*resultobj
= 0;
14536 wxFont
*arg1
= (wxFont
*) 0 ;
14539 PyObject
*swig_obj
[1] ;
14541 if (!args
) SWIG_fail
;
14542 swig_obj
[0] = args
;
14543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14544 if (!SWIG_IsOK(res1
)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14547 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= SWIG_Py_Void();
14562 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
= 0;
14564 wxNativeFontInfo
*arg1
= 0 ;
14565 wxFont
*result
= 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char * kwnames
[] = {
14570 (char *) "info", NULL
14573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14574 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14581 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14583 if (!wxPyCheckForApp()) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14596 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
= 0;
14598 wxString
*arg1
= 0 ;
14599 wxFont
*result
= 0 ;
14600 bool temp1
= false ;
14601 PyObject
* obj0
= 0 ;
14602 char * kwnames
[] = {
14603 (char *) "info", NULL
14606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14608 arg1
= wxString_in_helper(obj0
);
14609 if (arg1
== NULL
) SWIG_fail
;
14613 if (!wxPyCheckForApp()) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14634 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= 0;
14637 wxFontFamily arg2
;
14638 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14641 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14642 wxFont
*result
= 0 ;
14649 bool temp4
= false ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 PyObject
* obj3
= 0 ;
14656 PyObject
* obj4
= 0 ;
14657 char * kwnames
[] = {
14658 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14662 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14663 if (!SWIG_IsOK(ecode1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14666 arg1
= static_cast< int >(val1
);
14667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14668 if (!SWIG_IsOK(ecode2
)) {
14669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14671 arg2
= static_cast< wxFontFamily
>(val2
);
14673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14674 if (!SWIG_IsOK(ecode3
)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14677 arg3
= static_cast< int >(val3
);
14681 arg4
= wxString_in_helper(obj3
);
14682 if (arg4
== NULL
) SWIG_fail
;
14687 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14688 if (!SWIG_IsOK(ecode5
)) {
14689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14691 arg5
= static_cast< wxFontEncoding
>(val5
);
14694 if (!wxPyCheckForApp()) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14715 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
= 0;
14721 bool arg5
= (bool) false ;
14722 wxString
const &arg6_defvalue
= wxEmptyString
;
14723 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14724 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14725 wxFont
*result
= 0 ;
14735 bool temp6
= false ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 PyObject
* obj2
= 0 ;
14741 PyObject
* obj3
= 0 ;
14742 PyObject
* obj4
= 0 ;
14743 PyObject
* obj5
= 0 ;
14744 PyObject
* obj6
= 0 ;
14745 char * kwnames
[] = {
14746 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14752 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14755 if (!SWIG_IsOK(ecode2
)) {
14756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14758 arg2
= static_cast< int >(val2
);
14759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14760 if (!SWIG_IsOK(ecode3
)) {
14761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14763 arg3
= static_cast< int >(val3
);
14764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14765 if (!SWIG_IsOK(ecode4
)) {
14766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14768 arg4
= static_cast< int >(val4
);
14770 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14771 if (!SWIG_IsOK(ecode5
)) {
14772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14774 arg5
= static_cast< bool >(val5
);
14778 arg6
= wxString_in_helper(obj5
);
14779 if (arg6
== NULL
) SWIG_fail
;
14784 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14785 if (!SWIG_IsOK(ecode7
)) {
14786 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14788 arg7
= static_cast< wxFontEncoding
>(val7
);
14791 if (!wxPyCheckForApp()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14812 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
= 0;
14815 wxFontFamily arg2
;
14816 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14817 wxString
const &arg4_defvalue
= wxEmptyString
;
14818 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14819 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14820 wxFont
*result
= 0 ;
14826 bool temp4
= false ;
14829 PyObject
* obj0
= 0 ;
14830 PyObject
* obj1
= 0 ;
14831 PyObject
* obj2
= 0 ;
14832 PyObject
* obj3
= 0 ;
14833 PyObject
* obj4
= 0 ;
14834 char * kwnames
[] = {
14835 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14841 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14844 if (!SWIG_IsOK(ecode2
)) {
14845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14847 arg2
= static_cast< wxFontFamily
>(val2
);
14849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14850 if (!SWIG_IsOK(ecode3
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14853 arg3
= static_cast< int >(val3
);
14857 arg4
= wxString_in_helper(obj3
);
14858 if (arg4
== NULL
) SWIG_fail
;
14863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14864 if (!SWIG_IsOK(ecode5
)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14867 arg5
= static_cast< wxFontEncoding
>(val5
);
14870 if (!wxPyCheckForApp()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14891 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14892 PyObject
*resultobj
= 0;
14893 wxFont
*arg1
= (wxFont
*) 0 ;
14897 PyObject
*swig_obj
[1] ;
14899 if (!args
) SWIG_fail
;
14900 swig_obj
[0] = args
;
14901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14902 if (!SWIG_IsOK(res1
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14905 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
= 0;
14923 wxFont
*arg1
= (wxFont
*) 0 ;
14924 wxFont
*arg2
= (wxFont
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "other", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14941 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14943 if (!SWIG_IsOK(res2
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14946 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14962 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
= 0;
14964 wxFont
*arg1
= (wxFont
*) 0 ;
14965 wxFont
*arg2
= (wxFont
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 char * kwnames
[] = {
14974 (char *) "self",(char *) "other", NULL
14977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14984 if (!SWIG_IsOK(res2
)) {
14985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14987 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15003 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15004 PyObject
*resultobj
= 0;
15005 wxFont
*arg1
= (wxFont
*) 0 ;
15009 PyObject
*swig_obj
[1] ;
15011 if (!args
) SWIG_fail
;
15012 swig_obj
[0] = args
;
15013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15014 if (!SWIG_IsOK(res1
)) {
15015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15017 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_From_int(static_cast< int >(result
));
15031 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15037 PyObject
*swig_obj
[1] ;
15039 if (!args
) SWIG_fail
;
15040 swig_obj
[0] = args
;
15041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15042 if (!SWIG_IsOK(res1
)) {
15043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15045 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15059 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15060 PyObject
*resultobj
= 0;
15061 wxFont
*arg1
= (wxFont
*) 0 ;
15065 PyObject
*swig_obj
[1] ;
15067 if (!args
) SWIG_fail
;
15068 swig_obj
[0] = args
;
15069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15073 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15089 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15090 PyObject
*resultobj
= 0;
15091 wxFont
*arg1
= (wxFont
*) 0 ;
15095 PyObject
*swig_obj
[1] ;
15097 if (!args
) SWIG_fail
;
15098 swig_obj
[0] = args
;
15099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15100 if (!SWIG_IsOK(res1
)) {
15101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15103 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_From_int(static_cast< int >(result
));
15117 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15118 PyObject
*resultobj
= 0;
15119 wxFont
*arg1
= (wxFont
*) 0 ;
15123 PyObject
*swig_obj
[1] ;
15125 if (!args
) SWIG_fail
;
15126 swig_obj
[0] = args
;
15127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15128 if (!SWIG_IsOK(res1
)) {
15129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15131 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_int(static_cast< int >(result
));
15145 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15146 PyObject
*resultobj
= 0;
15147 wxFont
*arg1
= (wxFont
*) 0 ;
15151 PyObject
*swig_obj
[1] ;
15153 if (!args
) SWIG_fail
;
15154 swig_obj
[0] = args
;
15155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15159 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_From_int(static_cast< int >(result
));
15173 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15174 PyObject
*resultobj
= 0;
15175 wxFont
*arg1
= (wxFont
*) 0 ;
15179 PyObject
*swig_obj
[1] ;
15181 if (!args
) SWIG_fail
;
15182 swig_obj
[0] = args
;
15183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15184 if (!SWIG_IsOK(res1
)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15187 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15203 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 PyObject
*resultobj
= 0;
15205 wxFont
*arg1
= (wxFont
*) 0 ;
15209 PyObject
*swig_obj
[1] ;
15211 if (!args
) SWIG_fail
;
15212 swig_obj
[0] = args
;
15213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15214 if (!SWIG_IsOK(res1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15217 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= ((wxFont
const *)arg1
)->GetFaceName();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15237 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15238 PyObject
*resultobj
= 0;
15239 wxFont
*arg1
= (wxFont
*) 0 ;
15240 wxFontEncoding result
;
15243 PyObject
*swig_obj
[1] ;
15245 if (!args
) SWIG_fail
;
15246 swig_obj
[0] = args
;
15247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15248 if (!SWIG_IsOK(res1
)) {
15249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15251 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= SWIG_From_int(static_cast< int >(result
));
15265 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15266 PyObject
*resultobj
= 0;
15267 wxFont
*arg1
= (wxFont
*) 0 ;
15268 wxNativeFontInfo
*result
= 0 ;
15271 PyObject
*swig_obj
[1] ;
15273 if (!args
) SWIG_fail
;
15274 swig_obj
[0] = args
;
15275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15276 if (!SWIG_IsOK(res1
)) {
15277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15279 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15293 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15294 PyObject
*resultobj
= 0;
15295 wxFont
*arg1
= (wxFont
*) 0 ;
15299 PyObject
*swig_obj
[1] ;
15301 if (!args
) SWIG_fail
;
15302 swig_obj
[0] = args
;
15303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15304 if (!SWIG_IsOK(res1
)) {
15305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15307 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15324 PyObject
*resultobj
= 0;
15325 wxFont
*arg1
= (wxFont
*) 0 ;
15329 PyObject
*swig_obj
[1] ;
15331 if (!args
) SWIG_fail
;
15332 swig_obj
[0] = args
;
15333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15334 if (!SWIG_IsOK(res1
)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15337 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15357 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15358 PyObject
*resultobj
= 0;
15359 wxFont
*arg1
= (wxFont
*) 0 ;
15363 PyObject
*swig_obj
[1] ;
15365 if (!args
) SWIG_fail
;
15366 swig_obj
[0] = args
;
15367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15368 if (!SWIG_IsOK(res1
)) {
15369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15371 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15391 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxFont
*arg1
= (wxFont
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char * kwnames
[] = {
15402 (char *) "self",(char *) "pointSize", NULL
15405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15407 if (!SWIG_IsOK(res1
)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15410 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15412 if (!SWIG_IsOK(ecode2
)) {
15413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15415 arg2
= static_cast< int >(val2
);
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->SetPointSize(arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_Py_Void();
15429 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
= 0;
15431 wxFont
*arg1
= (wxFont
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char * kwnames
[] = {
15439 (char *) "self",(char *) "pixelSize", NULL
15442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15447 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15450 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxFont
*arg1
= (wxFont
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char * kwnames
[] = {
15476 (char *) "self",(char *) "family", NULL
15479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15484 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15486 if (!SWIG_IsOK(ecode2
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15489 arg2
= static_cast< int >(val2
);
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetFamily(arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_Py_Void();
15503 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxFont
*arg1
= (wxFont
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "self",(char *) "style", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15522 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15524 if (!SWIG_IsOK(ecode2
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15527 arg2
= static_cast< int >(val2
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetStyle(arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= 0;
15543 wxFont
*arg1
= (wxFont
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char * kwnames
[] = {
15552 (char *) "self",(char *) "weight", NULL
15555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15560 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15562 if (!SWIG_IsOK(ecode2
)) {
15563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15565 arg2
= static_cast< int >(val2
);
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 (arg1
)->SetWeight(arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_Py_Void();
15579 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
= 0;
15581 wxFont
*arg1
= (wxFont
*) 0 ;
15582 wxString
*arg2
= 0 ;
15586 bool temp2
= false ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char * kwnames
[] = {
15590 (char *) "self",(char *) "faceName", NULL
15593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15598 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15600 arg2
= wxString_in_helper(obj1
);
15601 if (arg2
== NULL
) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15627 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
= 0;
15629 wxFont
*arg1
= (wxFont
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char * kwnames
[] = {
15638 (char *) "self",(char *) "underlined", NULL
15641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15643 if (!SWIG_IsOK(res1
)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15646 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15647 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15648 if (!SWIG_IsOK(ecode2
)) {
15649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15651 arg2
= static_cast< bool >(val2
);
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->SetUnderlined(arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= SWIG_Py_Void();
15665 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
= 0;
15667 wxFont
*arg1
= (wxFont
*) 0 ;
15668 wxFontEncoding arg2
;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char * kwnames
[] = {
15676 (char *) "self",(char *) "encoding", NULL
15679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15684 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15686 if (!SWIG_IsOK(ecode2
)) {
15687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15689 arg2
= static_cast< wxFontEncoding
>(val2
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetEncoding(arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= 0;
15705 wxFont
*arg1
= (wxFont
*) 0 ;
15706 wxNativeFontInfo
*arg2
= 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char * kwnames
[] = {
15714 (char *) "self",(char *) "info", NULL
15717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15722 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15724 if (!SWIG_IsOK(res2
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15730 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_Py_Void();
15744 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
= 0;
15746 wxFont
*arg1
= (wxFont
*) 0 ;
15747 wxString
*arg2
= 0 ;
15751 bool temp2
= false ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 char * kwnames
[] = {
15755 (char *) "self",(char *) "info", NULL
15758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15763 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15765 arg2
= wxString_in_helper(obj1
);
15766 if (arg2
== NULL
) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15792 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
= 0;
15794 wxFont
*arg1
= (wxFont
*) 0 ;
15795 wxString
*arg2
= 0 ;
15799 bool temp2
= false ;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 char * kwnames
[] = {
15803 (char *) "self",(char *) "info", NULL
15806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15811 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15813 arg2
= wxString_in_helper(obj1
);
15814 if (arg2
== NULL
) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15841 PyObject
*resultobj
= 0;
15842 wxFont
*arg1
= (wxFont
*) 0 ;
15846 PyObject
*swig_obj
[1] ;
15848 if (!args
) SWIG_fail
;
15849 swig_obj
[0] = args
;
15850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15851 if (!SWIG_IsOK(res1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15854 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15874 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15875 PyObject
*resultobj
= 0;
15876 wxFont
*arg1
= (wxFont
*) 0 ;
15880 PyObject
*swig_obj
[1] ;
15882 if (!args
) SWIG_fail
;
15883 swig_obj
[0] = args
;
15884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15888 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= ((wxFont
const *)arg1
)->GetStyleString();
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15908 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15909 PyObject
*resultobj
= 0;
15910 wxFont
*arg1
= (wxFont
*) 0 ;
15914 PyObject
*swig_obj
[1] ;
15916 if (!args
) SWIG_fail
;
15917 swig_obj
[0] = args
;
15918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15919 if (!SWIG_IsOK(res1
)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15922 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= ((wxFont
const *)arg1
)->GetWeightString();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15942 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
= 0;
15944 wxFont
*arg1
= (wxFont
*) 0 ;
15945 bool arg2
= (bool) true ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char * kwnames
[] = {
15953 (char *) "self",(char *) "no", NULL
15956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15958 if (!SWIG_IsOK(res1
)) {
15959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15961 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15964 if (!SWIG_IsOK(ecode2
)) {
15965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15967 arg2
= static_cast< bool >(val2
);
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 (arg1
)->SetNoAntiAliasing(arg2
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_Py_Void();
15982 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15983 PyObject
*resultobj
= 0;
15984 wxFont
*arg1
= (wxFont
*) 0 ;
15988 PyObject
*swig_obj
[1] ;
15990 if (!args
) SWIG_fail
;
15991 swig_obj
[0] = args
;
15992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15996 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16012 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16013 PyObject
*resultobj
= 0;
16014 wxFontEncoding result
;
16016 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16018 if (!wxPyCheckForApp()) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= SWIG_From_int(static_cast< int >(result
));
16031 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
= 0;
16033 wxFontEncoding arg1
;
16036 PyObject
* obj0
= 0 ;
16037 char * kwnames
[] = {
16038 (char *) "encoding", NULL
16041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16043 if (!SWIG_IsOK(ecode1
)) {
16044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16046 arg1
= static_cast< wxFontEncoding
>(val1
);
16048 if (!wxPyCheckForApp()) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 wxFont::SetDefaultEncoding(arg1
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_Py_Void();
16061 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16064 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16065 return SWIG_Py_Void();
16068 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16069 return SWIG_Python_InitShadowInstance(args
);
16072 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16073 PyObject
*resultobj
= 0;
16074 wxPyFontEnumerator
*result
= 0 ;
16076 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16078 if (!wxPyCheckForApp()) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16091 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16092 PyObject
*resultobj
= 0;
16093 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16096 PyObject
*swig_obj
[1] ;
16098 if (!args
) SWIG_fail
;
16099 swig_obj
[0] = args
;
16100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16104 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_Py_Void();
16119 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
= 0;
16121 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16122 PyObject
*arg2
= (PyObject
*) 0 ;
16123 PyObject
*arg3
= (PyObject
*) 0 ;
16124 int arg4
= (int) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 PyObject
* obj2
= 0 ;
16132 PyObject
* obj3
= 0 ;
16133 char * kwnames
[] = {
16134 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16139 if (!SWIG_IsOK(res1
)) {
16140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16142 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16147 if (!SWIG_IsOK(ecode4
)) {
16148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16150 arg4
= static_cast< int >(val4
);
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= SWIG_Py_Void();
16165 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
= 0;
16167 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16168 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16169 bool arg3
= (bool) false ;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 PyObject
* obj2
= 0 ;
16180 char * kwnames
[] = {
16181 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16186 if (!SWIG_IsOK(res1
)) {
16187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16189 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16192 if (!SWIG_IsOK(ecode2
)) {
16193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16195 arg2
= static_cast< wxFontEncoding
>(val2
);
16198 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16199 if (!SWIG_IsOK(ecode3
)) {
16200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16202 arg3
= static_cast< bool >(val3
);
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16219 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
= 0;
16221 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16222 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16223 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16227 bool temp2
= false ;
16228 PyObject
* obj0
= 0 ;
16229 PyObject
* obj1
= 0 ;
16230 char * kwnames
[] = {
16231 (char *) "self",(char *) "facename", NULL
16234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16236 if (!SWIG_IsOK(res1
)) {
16237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16239 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16242 arg2
= wxString_in_helper(obj1
);
16243 if (arg2
== NULL
) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16270 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16271 PyObject
*resultobj
= 0;
16272 PyObject
*result
= 0 ;
16274 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= result
;
16288 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16289 PyObject
*resultobj
= 0;
16290 PyObject
*result
= 0 ;
16292 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= result
;
16306 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
= 0;
16308 wxString
*arg1
= 0 ;
16310 bool temp1
= false ;
16311 PyObject
* obj0
= 0 ;
16312 char * kwnames
[] = {
16313 (char *) "str", NULL
16316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16318 arg1
= wxString_in_helper(obj0
);
16319 if (arg1
== NULL
) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16345 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16349 return SWIG_Py_Void();
16352 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16353 return SWIG_Python_InitShadowInstance(args
);
16356 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16357 PyObject
*resultobj
= 0;
16358 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16364 PyObject
*swig_obj
[2] ;
16366 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16371 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16372 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16373 if (!SWIG_IsOK(ecode2
)) {
16374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16376 arg2
= static_cast< int >(val2
);
16377 if (arg1
) (arg1
)->Language
= arg2
;
16379 resultobj
= SWIG_Py_Void();
16386 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16387 PyObject
*resultobj
= 0;
16388 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16392 PyObject
*swig_obj
[1] ;
16394 if (!args
) SWIG_fail
;
16395 swig_obj
[0] = args
;
16396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16397 if (!SWIG_IsOK(res1
)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16400 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16401 result
= (int) ((arg1
)->Language
);
16402 resultobj
= SWIG_From_int(static_cast< int >(result
));
16409 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16410 PyObject
*resultobj
= 0;
16411 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16412 wxString
*arg2
= (wxString
*) 0 ;
16415 bool temp2
= false ;
16416 PyObject
*swig_obj
[2] ;
16418 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16420 if (!SWIG_IsOK(res1
)) {
16421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16423 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16425 arg2
= wxString_in_helper(swig_obj
[1]);
16426 if (arg2
== NULL
) SWIG_fail
;
16429 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16431 resultobj
= SWIG_Py_Void();
16446 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16447 PyObject
*resultobj
= 0;
16448 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16449 wxString
*result
= 0 ;
16452 PyObject
*swig_obj
[1] ;
16454 if (!args
) SWIG_fail
;
16455 swig_obj
[0] = args
;
16456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16460 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16461 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16464 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16466 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16475 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16476 PyObject
*resultobj
= 0;
16477 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16478 wxString
*arg2
= (wxString
*) 0 ;
16481 bool temp2
= false ;
16482 PyObject
*swig_obj
[2] ;
16484 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16486 if (!SWIG_IsOK(res1
)) {
16487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16489 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16491 arg2
= wxString_in_helper(swig_obj
[1]);
16492 if (arg2
== NULL
) SWIG_fail
;
16495 if (arg1
) (arg1
)->Description
= *arg2
;
16497 resultobj
= SWIG_Py_Void();
16512 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16513 PyObject
*resultobj
= 0;
16514 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16515 wxString
*result
= 0 ;
16518 PyObject
*swig_obj
[1] ;
16520 if (!args
) SWIG_fail
;
16521 swig_obj
[0] = args
;
16522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16523 if (!SWIG_IsOK(res1
)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16526 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16527 result
= (wxString
*)& ((arg1
)->Description
);
16530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16541 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16544 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16545 return SWIG_Py_Void();
16548 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
= 0;
16550 int arg1
= (int) -1 ;
16551 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16552 wxLocale
*result
= 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char * kwnames
[] = {
16560 (char *) "language",(char *) "flags", NULL
16563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16565 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16566 if (!SWIG_IsOK(ecode1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16569 arg1
= static_cast< int >(val1
);
16572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16573 if (!SWIG_IsOK(ecode2
)) {
16574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16576 arg2
= static_cast< int >(val2
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16591 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16592 PyObject
*resultobj
= 0;
16593 wxLocale
*arg1
= (wxLocale
*) 0 ;
16596 PyObject
*swig_obj
[1] ;
16598 if (!args
) SWIG_fail
;
16599 swig_obj
[0] = args
;
16600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16601 if (!SWIG_IsOK(res1
)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16604 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= SWIG_Py_Void();
16619 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
= 0;
16621 wxLocale
*arg1
= (wxLocale
*) 0 ;
16622 wxString
*arg2
= 0 ;
16623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16627 bool arg5
= (bool) true ;
16628 bool arg6
= (bool) false ;
16632 bool temp2
= false ;
16633 bool temp3
= false ;
16634 bool temp4
= false ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 PyObject
* obj2
= 0 ;
16642 PyObject
* obj3
= 0 ;
16643 PyObject
* obj4
= 0 ;
16644 PyObject
* obj5
= 0 ;
16645 char * kwnames
[] = {
16646 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16651 if (!SWIG_IsOK(res1
)) {
16652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16654 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16656 arg2
= wxString_in_helper(obj1
);
16657 if (arg2
== NULL
) SWIG_fail
;
16662 arg3
= wxString_in_helper(obj2
);
16663 if (arg3
== NULL
) SWIG_fail
;
16669 arg4
= wxString_in_helper(obj3
);
16670 if (arg4
== NULL
) SWIG_fail
;
16675 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16676 if (!SWIG_IsOK(ecode5
)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16679 arg5
= static_cast< bool >(val5
);
16682 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16683 if (!SWIG_IsOK(ecode6
)) {
16684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16686 arg6
= static_cast< bool >(val6
);
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16727 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
= 0;
16729 wxLocale
*arg1
= (wxLocale
*) 0 ;
16730 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16731 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 PyObject
* obj2
= 0 ;
16742 char * kwnames
[] = {
16743 (char *) "self",(char *) "language",(char *) "flags", NULL
16746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16748 if (!SWIG_IsOK(res1
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16751 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16754 if (!SWIG_IsOK(ecode2
)) {
16755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16757 arg2
= static_cast< int >(val2
);
16760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16761 if (!SWIG_IsOK(ecode3
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16764 arg3
= static_cast< int >(val3
);
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16782 PyObject
*resultobj
= 0;
16785 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (int)wxLocale::GetSystemLanguage();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_From_int(static_cast< int >(result
));
16799 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16800 PyObject
*resultobj
= 0;
16801 wxFontEncoding result
;
16803 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= SWIG_From_int(static_cast< int >(result
));
16817 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16818 PyObject
*resultobj
= 0;
16821 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= wxLocale::GetSystemEncodingName();
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16841 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16842 PyObject
*resultobj
= 0;
16843 wxLocale
*arg1
= (wxLocale
*) 0 ;
16847 PyObject
*swig_obj
[1] ;
16849 if (!args
) SWIG_fail
;
16850 swig_obj
[0] = args
;
16851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16855 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16871 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16872 PyObject
*resultobj
= 0;
16873 wxLocale
*arg1
= (wxLocale
*) 0 ;
16877 PyObject
*swig_obj
[1] ;
16879 if (!args
) SWIG_fail
;
16880 swig_obj
[0] = args
;
16881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16882 if (!SWIG_IsOK(res1
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16885 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= ((wxLocale
const *)arg1
)->GetLocale();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16905 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16906 PyObject
*resultobj
= 0;
16907 wxLocale
*arg1
= (wxLocale
*) 0 ;
16911 PyObject
*swig_obj
[1] ;
16913 if (!args
) SWIG_fail
;
16914 swig_obj
[0] = args
;
16915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16916 if (!SWIG_IsOK(res1
)) {
16917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16919 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_From_int(static_cast< int >(result
));
16933 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16934 PyObject
*resultobj
= 0;
16935 wxLocale
*arg1
= (wxLocale
*) 0 ;
16939 PyObject
*swig_obj
[1] ;
16941 if (!args
) SWIG_fail
;
16942 swig_obj
[0] = args
;
16943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16944 if (!SWIG_IsOK(res1
)) {
16945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16947 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= ((wxLocale
const *)arg1
)->GetSysName();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16967 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16968 PyObject
*resultobj
= 0;
16969 wxLocale
*arg1
= (wxLocale
*) 0 ;
16973 PyObject
*swig_obj
[1] ;
16975 if (!args
) SWIG_fail
;
16976 swig_obj
[0] = args
;
16977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16981 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17001 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
= 0;
17003 wxString
*arg1
= 0 ;
17004 bool temp1
= false ;
17005 PyObject
* obj0
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "prefix", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17012 arg1
= wxString_in_helper(obj0
);
17013 if (arg1
== NULL
) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= SWIG_Py_Void();
17037 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
= 0;
17039 wxLocale
*arg1
= (wxLocale
*) 0 ;
17040 wxString
*arg2
= 0 ;
17044 bool temp2
= false ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 char * kwnames
[] = {
17048 (char *) "self",(char *) "szDomain", NULL
17051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17053 if (!SWIG_IsOK(res1
)) {
17054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17056 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17058 arg2
= wxString_in_helper(obj1
);
17059 if (arg2
== NULL
) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17085 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
= 0;
17091 PyObject
* obj0
= 0 ;
17092 char * kwnames
[] = {
17093 (char *) "lang", NULL
17096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17098 if (!SWIG_IsOK(ecode1
)) {
17099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17101 arg1
= static_cast< int >(val1
);
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (bool)wxLocale::IsAvailable(arg1
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17117 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
= 0;
17119 wxLocale
*arg1
= (wxLocale
*) 0 ;
17120 wxString
*arg2
= 0 ;
17124 bool temp2
= false ;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 char * kwnames
[] = {
17128 (char *) "self",(char *) "szDomain", NULL
17131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17133 if (!SWIG_IsOK(res1
)) {
17134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17136 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17138 arg2
= wxString_in_helper(obj1
);
17139 if (arg2
== NULL
) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17165 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
= 0;
17168 wxLanguageInfo
*result
= 0 ;
17171 PyObject
* obj0
= 0 ;
17172 char * kwnames
[] = {
17173 (char *) "lang", NULL
17176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17178 if (!SWIG_IsOK(ecode1
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17181 arg1
= static_cast< int >(val1
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17195 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
= 0;
17201 PyObject
* obj0
= 0 ;
17202 char * kwnames
[] = {
17203 (char *) "lang", NULL
17206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17207 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17208 if (!SWIG_IsOK(ecode1
)) {
17209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17211 arg1
= static_cast< int >(val1
);
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= wxLocale::GetLanguageName(arg1
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17231 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
= 0;
17233 wxString
*arg1
= 0 ;
17234 wxLanguageInfo
*result
= 0 ;
17235 bool temp1
= false ;
17236 PyObject
* obj0
= 0 ;
17237 char * kwnames
[] = {
17238 (char *) "locale", NULL
17241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17243 arg1
= wxString_in_helper(obj0
);
17244 if (arg1
== NULL
) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17268 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
= 0;
17270 wxLanguageInfo
*arg1
= 0 ;
17273 PyObject
* obj0
= 0 ;
17274 char * kwnames
[] = {
17275 (char *) "info", NULL
17278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17279 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17280 if (!SWIG_IsOK(res1
)) {
17281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17286 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_Py_Void();
17300 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxLocale
*arg1
= (wxLocale
*) 0 ;
17303 wxString
*arg2
= 0 ;
17304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17309 bool temp2
= false ;
17310 bool temp3
= false ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 PyObject
* obj2
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17323 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17325 arg2
= wxString_in_helper(obj1
);
17326 if (arg2
== NULL
) SWIG_fail
;
17331 arg3
= wxString_in_helper(obj2
);
17332 if (arg3
== NULL
) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17371 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17372 PyObject
*resultobj
= 0;
17373 wxLocale
*arg1
= (wxLocale
*) 0 ;
17374 wxString
*result
= 0 ;
17377 PyObject
*swig_obj
[1] ;
17379 if (!args
) SWIG_fail
;
17380 swig_obj
[0] = args
;
17381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17382 if (!SWIG_IsOK(res1
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17385 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17390 result
= (wxString
*) &_result_ref
;
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17399 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17408 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17411 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17412 return SWIG_Py_Void();
17415 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17416 return SWIG_Python_InitShadowInstance(args
);
17419 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= 0;
17421 int arg1
= (int) -1 ;
17422 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17423 wxPyLocale
*result
= 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char * kwnames
[] = {
17431 (char *) "language",(char *) "flags", NULL
17434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17437 if (!SWIG_IsOK(ecode1
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17440 arg1
= static_cast< int >(val1
);
17443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17444 if (!SWIG_IsOK(ecode2
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17447 arg2
= static_cast< int >(val2
);
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17462 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 PyObject
*resultobj
= 0;
17464 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17467 PyObject
*swig_obj
[1] ;
17469 if (!args
) SWIG_fail
;
17470 swig_obj
[0] = args
;
17471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17472 if (!SWIG_IsOK(res1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17475 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= SWIG_Py_Void();
17490 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17493 PyObject
*arg2
= (PyObject
*) 0 ;
17494 PyObject
*arg3
= (PyObject
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "self",(char *) "_class", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17509 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_Py_Void();
17525 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
= 0;
17527 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17528 wxChar
*arg2
= (wxChar
*) 0 ;
17529 wxChar
*arg3
= (wxChar
*) NULL
;
17530 wxChar
*result
= 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 char * kwnames
[] = {
17541 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17546 if (!SWIG_IsOK(res1
)) {
17547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17549 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17551 if (!SWIG_IsOK(res2
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17554 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17556 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17557 if (!SWIG_IsOK(res3
)) {
17558 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17560 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17575 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
= 0;
17577 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17578 wxChar
*arg2
= (wxChar
*) 0 ;
17579 wxChar
*arg3
= (wxChar
*) 0 ;
17581 wxChar
*arg5
= (wxChar
*) NULL
;
17582 wxChar
*result
= 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 PyObject
* obj2
= 0 ;
17596 PyObject
* obj3
= 0 ;
17597 PyObject
* obj4
= 0 ;
17598 char * kwnames
[] = {
17599 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17604 if (!SWIG_IsOK(res1
)) {
17605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17607 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17609 if (!SWIG_IsOK(res2
)) {
17610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17612 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17613 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17614 if (!SWIG_IsOK(res3
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17617 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17618 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17619 if (!SWIG_IsOK(ecode4
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17622 arg4
= static_cast< size_t >(val4
);
17624 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17625 if (!SWIG_IsOK(res5
)) {
17626 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17628 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17643 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17646 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17647 return SWIG_Py_Void();
17650 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17651 return SWIG_Python_InitShadowInstance(args
);
17654 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17655 PyObject
*resultobj
= 0;
17656 wxLocale
*result
= 0 ;
17658 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (wxLocale
*)wxGetLocale();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17672 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17673 PyObject
*resultobj
= 0;
17674 wxString
*arg1
= 0 ;
17676 bool temp1
= false ;
17678 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17680 arg1
= wxString_in_helper(swig_obj
[0]);
17681 if (arg1
== NULL
) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= wxGetTranslation((wxString
const &)*arg1
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17711 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17712 PyObject
*resultobj
= 0;
17713 wxString
*arg1
= 0 ;
17714 wxString
*arg2
= 0 ;
17716 bool temp1
= false ;
17717 bool temp2
= false ;
17719 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17721 arg1
= wxString_in_helper(swig_obj
[0]);
17722 if (arg1
== NULL
) SWIG_fail
;
17726 arg2
= wxString_in_helper(swig_obj
[1]);
17727 if (arg2
== NULL
) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17765 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17766 PyObject
*resultobj
= 0;
17767 wxString
*arg1
= 0 ;
17768 wxString
*arg2
= 0 ;
17771 bool temp1
= false ;
17772 bool temp2
= false ;
17776 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17778 arg1
= wxString_in_helper(swig_obj
[0]);
17779 if (arg1
== NULL
) SWIG_fail
;
17783 arg2
= wxString_in_helper(swig_obj
[1]);
17784 if (arg2
== NULL
) SWIG_fail
;
17787 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17788 if (!SWIG_IsOK(ecode3
)) {
17789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17791 arg3
= static_cast< size_t >(val3
);
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17827 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17828 PyObject
*resultobj
= 0;
17829 wxString
*arg1
= 0 ;
17830 wxString
*arg2
= 0 ;
17832 wxString
*arg4
= 0 ;
17834 bool temp1
= false ;
17835 bool temp2
= false ;
17838 bool temp4
= false ;
17840 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17842 arg1
= wxString_in_helper(swig_obj
[0]);
17843 if (arg1
== NULL
) SWIG_fail
;
17847 arg2
= wxString_in_helper(swig_obj
[1]);
17848 if (arg2
== NULL
) SWIG_fail
;
17851 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17852 if (!SWIG_IsOK(ecode3
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17855 arg3
= static_cast< size_t >(val3
);
17857 arg4
= wxString_in_helper(swig_obj
[3]);
17858 if (arg4
== NULL
) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17904 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17908 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17911 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17914 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17917 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17920 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17924 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17929 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17930 PyObject
*resultobj
= 0;
17931 wxEncodingConverter
*result
= 0 ;
17933 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17947 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17948 PyObject
*resultobj
= 0;
17949 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17952 PyObject
*swig_obj
[1] ;
17954 if (!args
) SWIG_fail
;
17955 swig_obj
[0] = args
;
17956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17960 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_Py_Void();
17975 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
= 0;
17977 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17978 wxFontEncoding arg2
;
17979 wxFontEncoding arg3
;
17980 int arg4
= (int) wxCONVERT_STRICT
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 PyObject
* obj3
= 0 ;
17994 char * kwnames
[] = {
17995 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18000 if (!SWIG_IsOK(res1
)) {
18001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18003 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18005 if (!SWIG_IsOK(ecode2
)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18008 arg2
= static_cast< wxFontEncoding
>(val2
);
18009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18010 if (!SWIG_IsOK(ecode3
)) {
18011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18013 arg3
= static_cast< wxFontEncoding
>(val3
);
18015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18016 if (!SWIG_IsOK(ecode4
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18019 arg4
= static_cast< int >(val4
);
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18036 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18039 wxString
*arg2
= 0 ;
18043 bool temp2
= false ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 char * kwnames
[] = {
18047 (char *) "self",(char *) "input", NULL
18050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18052 if (!SWIG_IsOK(res1
)) {
18053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18055 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18057 arg2
= wxString_in_helper(obj1
);
18058 if (arg2
== NULL
) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18088 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
= 0;
18090 wxFontEncoding arg1
;
18091 int arg2
= (int) wxPLATFORM_CURRENT
;
18092 wxFontEncodingArray result
;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 char * kwnames
[] = {
18100 (char *) "enc",(char *) "platform", NULL
18103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18105 if (!SWIG_IsOK(ecode1
)) {
18106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18108 arg1
= static_cast< wxFontEncoding
>(val1
);
18110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18111 if (!SWIG_IsOK(ecode2
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18114 arg2
= static_cast< int >(val2
);
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= PyList_New(0);
18124 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18125 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18126 PyList_Append(resultobj
, number
);
18136 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
= 0;
18138 wxFontEncoding arg1
;
18139 wxFontEncodingArray result
;
18142 PyObject
* obj0
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "enc", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18149 if (!SWIG_IsOK(ecode1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18152 arg1
= static_cast< wxFontEncoding
>(val1
);
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= PyList_New(0);
18161 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18162 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18163 PyList_Append(resultobj
, number
);
18173 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
= 0;
18175 wxFontEncoding arg1
;
18176 wxFontEncoding arg2
;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char * kwnames
[] = {
18185 (char *) "encIn",(char *) "encOut", NULL
18188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18190 if (!SWIG_IsOK(ecode1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18193 arg1
= static_cast< wxFontEncoding
>(val1
);
18194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18195 if (!SWIG_IsOK(ecode2
)) {
18196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18198 arg2
= static_cast< wxFontEncoding
>(val2
);
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18214 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18217 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18218 return SWIG_Py_Void();
18221 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18222 return SWIG_Python_InitShadowInstance(args
);
18225 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18226 PyObject
*resultobj
= 0;
18227 wxDC
*arg1
= (wxDC
*) 0 ;
18230 PyObject
*swig_obj
[1] ;
18232 if (!args
) SWIG_fail
;
18233 swig_obj
[0] = args
;
18234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18235 if (!SWIG_IsOK(res1
)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
= 0;
18255 wxDC
*arg1
= (wxDC
*) 0 ;
18258 wxColour
*arg4
= 0 ;
18259 int arg5
= (int) wxFLOOD_SURFACE
;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 PyObject
* obj2
= 0 ;
18273 PyObject
* obj3
= 0 ;
18274 PyObject
* obj4
= 0 ;
18275 char * kwnames
[] = {
18276 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18281 if (!SWIG_IsOK(res1
)) {
18282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18286 if (!SWIG_IsOK(ecode2
)) {
18287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18289 arg2
= static_cast< int >(val2
);
18290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18291 if (!SWIG_IsOK(ecode3
)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18294 arg3
= static_cast< int >(val3
);
18297 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18300 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18301 if (!SWIG_IsOK(ecode5
)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18304 arg5
= static_cast< int >(val5
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18321 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
= 0;
18323 wxDC
*arg1
= (wxDC
*) 0 ;
18324 wxPoint
*arg2
= 0 ;
18325 wxColour
*arg3
= 0 ;
18326 int arg4
= (int) wxFLOOD_SURFACE
;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 PyObject
* obj2
= 0 ;
18337 PyObject
* obj3
= 0 ;
18338 char * kwnames
[] = {
18339 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18344 if (!SWIG_IsOK(res1
)) {
18345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18354 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18358 if (!SWIG_IsOK(ecode4
)) {
18359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18361 arg4
= static_cast< int >(val4
);
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
= 0;
18380 wxDC
*arg1
= (wxDC
*) 0 ;
18382 wxColour
*arg3
= 0 ;
18383 wxColour
*arg4
= 0 ;
18384 wxPoint
*arg5
= 0 ;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 PyObject
* obj2
= 0 ;
18394 PyObject
* obj3
= 0 ;
18395 PyObject
* obj4
= 0 ;
18396 char * kwnames
[] = {
18397 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18402 if (!SWIG_IsOK(res1
)) {
18403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18408 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18416 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18420 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= SWIG_Py_Void();
18435 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= 0;
18437 wxDC
*arg1
= (wxDC
*) 0 ;
18439 wxColour
*arg3
= 0 ;
18440 wxColour
*arg4
= 0 ;
18441 wxDirection arg5
= (wxDirection
) wxEAST
;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 PyObject
* obj3
= 0 ;
18453 PyObject
* obj4
= 0 ;
18454 char * kwnames
[] = {
18455 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18460 if (!SWIG_IsOK(res1
)) {
18461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18470 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18474 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18477 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18478 if (!SWIG_IsOK(ecode5
)) {
18479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18481 arg5
= static_cast< wxDirection
>(val5
);
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_Py_Void();
18496 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= 0;
18498 wxDC
*arg1
= (wxDC
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 PyObject
* obj2
= 0 ;
18511 char * kwnames
[] = {
18512 (char *) "self",(char *) "x",(char *) "y", NULL
18515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18517 if (!SWIG_IsOK(res1
)) {
18518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18522 if (!SWIG_IsOK(ecode2
)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18525 arg2
= static_cast< int >(val2
);
18526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18527 if (!SWIG_IsOK(ecode3
)) {
18528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18530 arg3
= static_cast< int >(val3
);
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18544 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
= 0;
18546 wxDC
*arg1
= (wxDC
*) 0 ;
18547 wxPoint
*arg2
= 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "self",(char *) "pt", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18581 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
= 0;
18583 wxDC
*arg1
= (wxDC
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18600 PyObject
* obj2
= 0 ;
18601 PyObject
* obj3
= 0 ;
18602 PyObject
* obj4
= 0 ;
18603 char * kwnames
[] = {
18604 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18609 if (!SWIG_IsOK(res1
)) {
18610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18614 if (!SWIG_IsOK(ecode2
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18617 arg2
= static_cast< int >(val2
);
18618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18619 if (!SWIG_IsOK(ecode3
)) {
18620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18622 arg3
= static_cast< int >(val3
);
18623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18624 if (!SWIG_IsOK(ecode4
)) {
18625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18627 arg4
= static_cast< int >(val4
);
18628 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18629 if (!SWIG_IsOK(ecode5
)) {
18630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18632 arg5
= static_cast< int >(val5
);
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_Py_Void();
18646 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
= 0;
18648 wxDC
*arg1
= (wxDC
*) 0 ;
18649 wxPoint
*arg2
= 0 ;
18650 wxPoint
*arg3
= 0 ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 PyObject
* obj2
= 0 ;
18658 char * kwnames
[] = {
18659 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18664 if (!SWIG_IsOK(res1
)) {
18665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18674 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_Py_Void();
18689 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxDC
*arg1
= (wxDC
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 PyObject
* obj2
= 0 ;
18703 char * kwnames
[] = {
18704 (char *) "self",(char *) "x",(char *) "y", NULL
18707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18714 if (!SWIG_IsOK(ecode2
)) {
18715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18717 arg2
= static_cast< int >(val2
);
18718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18719 if (!SWIG_IsOK(ecode3
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18722 arg3
= static_cast< int >(val3
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->CrossHair(arg2
,arg3
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_Py_Void();
18736 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
= 0;
18738 wxDC
*arg1
= (wxDC
*) 0 ;
18739 wxPoint
*arg2
= 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "self",(char *) "pt", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_Py_Void();
18772 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
= 0;
18774 wxDC
*arg1
= (wxDC
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 PyObject
* obj3
= 0 ;
18799 PyObject
* obj4
= 0 ;
18800 PyObject
* obj5
= 0 ;
18801 PyObject
* obj6
= 0 ;
18802 char * kwnames
[] = {
18803 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18813 if (!SWIG_IsOK(ecode2
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18816 arg2
= static_cast< int >(val2
);
18817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18818 if (!SWIG_IsOK(ecode3
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18821 arg3
= static_cast< int >(val3
);
18822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18823 if (!SWIG_IsOK(ecode4
)) {
18824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18826 arg4
= static_cast< int >(val4
);
18827 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18828 if (!SWIG_IsOK(ecode5
)) {
18829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18831 arg5
= static_cast< int >(val5
);
18832 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18833 if (!SWIG_IsOK(ecode6
)) {
18834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18836 arg6
= static_cast< int >(val6
);
18837 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18838 if (!SWIG_IsOK(ecode7
)) {
18839 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18841 arg7
= static_cast< int >(val7
);
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_Py_Void();
18855 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
= 0;
18857 wxDC
*arg1
= (wxDC
*) 0 ;
18858 wxPoint
*arg2
= 0 ;
18859 wxPoint
*arg3
= 0 ;
18860 wxPoint
*arg4
= 0 ;
18866 PyObject
* obj0
= 0 ;
18867 PyObject
* obj1
= 0 ;
18868 PyObject
* obj2
= 0 ;
18869 PyObject
* obj3
= 0 ;
18870 char * kwnames
[] = {
18871 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18876 if (!SWIG_IsOK(res1
)) {
18877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_Py_Void();
18905 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
= 0;
18907 wxDC
*arg1
= (wxDC
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 PyObject
* obj2
= 0 ;
18925 PyObject
* obj3
= 0 ;
18926 PyObject
* obj4
= 0 ;
18927 char * kwnames
[] = {
18928 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18933 if (!SWIG_IsOK(res1
)) {
18934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18938 if (!SWIG_IsOK(ecode2
)) {
18939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18941 arg2
= static_cast< int >(val2
);
18942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18943 if (!SWIG_IsOK(ecode3
)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18946 arg3
= static_cast< int >(val3
);
18947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18948 if (!SWIG_IsOK(ecode4
)) {
18949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18951 arg4
= static_cast< int >(val4
);
18952 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18953 if (!SWIG_IsOK(ecode5
)) {
18954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18956 arg5
= static_cast< int >(val5
);
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_Py_Void();
18970 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
= 0;
18972 wxDC
*arg1
= (wxDC
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char * kwnames
[] = {
18980 (char *) "self",(char *) "rect", NULL
18983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18985 if (!SWIG_IsOK(res1
)) {
18986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18988 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_Py_Void();
19006 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
= 0;
19008 wxDC
*arg1
= (wxDC
*) 0 ;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 PyObject
* obj2
= 0 ;
19032 PyObject
* obj3
= 0 ;
19033 PyObject
* obj4
= 0 ;
19034 PyObject
* obj5
= 0 ;
19035 PyObject
* obj6
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19047 if (!SWIG_IsOK(ecode2
)) {
19048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19050 arg2
= static_cast< int >(val2
);
19051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19052 if (!SWIG_IsOK(ecode3
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19055 arg3
= static_cast< int >(val3
);
19056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19057 if (!SWIG_IsOK(ecode4
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19060 arg4
= static_cast< int >(val4
);
19061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19062 if (!SWIG_IsOK(ecode5
)) {
19063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19065 arg5
= static_cast< int >(val5
);
19066 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19067 if (!SWIG_IsOK(ecode6
)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19070 arg6
= static_cast< double >(val6
);
19071 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19072 if (!SWIG_IsOK(ecode7
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19075 arg7
= static_cast< double >(val7
);
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
= 0;
19091 wxDC
*arg1
= (wxDC
*) 0 ;
19092 wxPoint
*arg2
= 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 PyObject
* obj2
= 0 ;
19107 PyObject
* obj3
= 0 ;
19108 PyObject
* obj4
= 0 ;
19109 char * kwnames
[] = {
19110 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19115 if (!SWIG_IsOK(res1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19125 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19127 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19128 if (!SWIG_IsOK(ecode4
)) {
19129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19131 arg4
= static_cast< double >(val4
);
19132 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19133 if (!SWIG_IsOK(ecode5
)) {
19134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19136 arg5
= static_cast< double >(val5
);
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_Py_Void();
19150 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxDC
*arg1
= (wxDC
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char * kwnames
[] = {
19165 (char *) "self",(char *) "x",(char *) "y", NULL
19168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19175 if (!SWIG_IsOK(ecode2
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19178 arg2
= static_cast< int >(val2
);
19179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19180 if (!SWIG_IsOK(ecode3
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19183 arg3
= static_cast< int >(val3
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->DrawPoint(arg2
,arg3
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxDC
*arg1
= (wxDC
*) 0 ;
19200 wxPoint
*arg2
= 0 ;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 char * kwnames
[] = {
19207 (char *) "self",(char *) "pt", NULL
19210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19212 if (!SWIG_IsOK(res1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_Py_Void();
19233 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
= 0;
19235 wxDC
*arg1
= (wxDC
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 PyObject
* obj2
= 0 ;
19253 PyObject
* obj3
= 0 ;
19254 PyObject
* obj4
= 0 ;
19255 char * kwnames
[] = {
19256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19261 if (!SWIG_IsOK(res1
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19266 if (!SWIG_IsOK(ecode2
)) {
19267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19269 arg2
= static_cast< int >(val2
);
19270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19271 if (!SWIG_IsOK(ecode3
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19274 arg3
= static_cast< int >(val3
);
19275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19276 if (!SWIG_IsOK(ecode4
)) {
19277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19279 arg4
= static_cast< int >(val4
);
19280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19281 if (!SWIG_IsOK(ecode5
)) {
19282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19284 arg5
= static_cast< int >(val5
);
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= SWIG_Py_Void();
19298 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
= 0;
19300 wxDC
*arg1
= (wxDC
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 char * kwnames
[] = {
19308 (char *) "self",(char *) "rect", NULL
19311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19313 if (!SWIG_IsOK(res1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_Py_Void();
19334 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
= 0;
19336 wxDC
*arg1
= (wxDC
*) 0 ;
19337 wxPoint
*arg2
= 0 ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 PyObject
* obj2
= 0 ;
19346 char * kwnames
[] = {
19347 (char *) "self",(char *) "pt",(char *) "sz", NULL
19350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19352 if (!SWIG_IsOK(res1
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19362 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_Py_Void();
19377 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
= 0;
19379 wxDC
*arg1
= (wxDC
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 PyObject
* obj3
= 0 ;
19401 PyObject
* obj4
= 0 ;
19402 PyObject
* obj5
= 0 ;
19403 char * kwnames
[] = {
19404 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19409 if (!SWIG_IsOK(res1
)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19414 if (!SWIG_IsOK(ecode2
)) {
19415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19417 arg2
= static_cast< int >(val2
);
19418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19419 if (!SWIG_IsOK(ecode3
)) {
19420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19422 arg3
= static_cast< int >(val3
);
19423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19424 if (!SWIG_IsOK(ecode4
)) {
19425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19427 arg4
= static_cast< int >(val4
);
19428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19429 if (!SWIG_IsOK(ecode5
)) {
19430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19432 arg5
= static_cast< int >(val5
);
19433 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19434 if (!SWIG_IsOK(ecode6
)) {
19435 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19437 arg6
= static_cast< double >(val6
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_Py_Void();
19451 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxDC
*arg1
= (wxDC
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 PyObject
* obj2
= 0 ;
19464 char * kwnames
[] = {
19465 (char *) "self",(char *) "r",(char *) "radius", NULL
19468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19470 if (!SWIG_IsOK(res1
)) {
19471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19476 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19478 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19479 if (!SWIG_IsOK(ecode3
)) {
19480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19482 arg3
= static_cast< double >(val3
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19496 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
= 0;
19498 wxDC
*arg1
= (wxDC
*) 0 ;
19499 wxPoint
*arg2
= 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 PyObject
* obj2
= 0 ;
19511 PyObject
* obj3
= 0 ;
19512 char * kwnames
[] = {
19513 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19518 if (!SWIG_IsOK(res1
)) {
19519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19528 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19530 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19531 if (!SWIG_IsOK(ecode4
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19534 arg4
= static_cast< double >(val4
);
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 resultobj
= SWIG_Py_Void();
19548 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
= 0;
19550 wxDC
*arg1
= (wxDC
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 PyObject
* obj2
= 0 ;
19565 PyObject
* obj3
= 0 ;
19566 char * kwnames
[] = {
19567 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19572 if (!SWIG_IsOK(res1
)) {
19573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19577 if (!SWIG_IsOK(ecode2
)) {
19578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19580 arg2
= static_cast< int >(val2
);
19581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19582 if (!SWIG_IsOK(ecode3
)) {
19583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19585 arg3
= static_cast< int >(val3
);
19586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19587 if (!SWIG_IsOK(ecode4
)) {
19588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19590 arg4
= static_cast< int >(val4
);
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_Py_Void();
19604 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
= 0;
19606 wxDC
*arg1
= (wxDC
*) 0 ;
19607 wxPoint
*arg2
= 0 ;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 PyObject
* obj2
= 0 ;
19617 char * kwnames
[] = {
19618 (char *) "self",(char *) "pt",(char *) "radius", NULL
19621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19623 if (!SWIG_IsOK(res1
)) {
19624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19632 if (!SWIG_IsOK(ecode3
)) {
19633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19635 arg3
= static_cast< int >(val3
);
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= SWIG_Py_Void();
19649 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
= 0;
19651 wxDC
*arg1
= (wxDC
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 PyObject
* obj2
= 0 ;
19669 PyObject
* obj3
= 0 ;
19670 PyObject
* obj4
= 0 ;
19671 char * kwnames
[] = {
19672 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19677 if (!SWIG_IsOK(res1
)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19682 if (!SWIG_IsOK(ecode2
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19685 arg2
= static_cast< int >(val2
);
19686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19687 if (!SWIG_IsOK(ecode3
)) {
19688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19690 arg3
= static_cast< int >(val3
);
19691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19692 if (!SWIG_IsOK(ecode4
)) {
19693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19695 arg4
= static_cast< int >(val4
);
19696 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19697 if (!SWIG_IsOK(ecode5
)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19700 arg5
= static_cast< int >(val5
);
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= SWIG_Py_Void();
19714 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
= 0;
19716 wxDC
*arg1
= (wxDC
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char * kwnames
[] = {
19724 (char *) "self",(char *) "rect", NULL
19727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19735 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_Py_Void();
19750 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
= 0;
19752 wxDC
*arg1
= (wxDC
*) 0 ;
19753 wxPoint
*arg2
= 0 ;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 PyObject
* obj2
= 0 ;
19762 char * kwnames
[] = {
19763 (char *) "self",(char *) "pt",(char *) "sz", NULL
19766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19768 if (!SWIG_IsOK(res1
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19778 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_Py_Void();
19793 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
= 0;
19795 wxDC
*arg1
= (wxDC
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 PyObject
* obj2
= 0 ;
19810 PyObject
* obj3
= 0 ;
19811 char * kwnames
[] = {
19812 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19817 if (!SWIG_IsOK(res1
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19822 if (!SWIG_IsOK(res2
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19828 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19830 if (!SWIG_IsOK(ecode3
)) {
19831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19833 arg3
= static_cast< int >(val3
);
19834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19835 if (!SWIG_IsOK(ecode4
)) {
19836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19838 arg4
= static_cast< int >(val4
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_Py_Void();
19852 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxDC
*arg1
= (wxDC
*) 0 ;
19856 wxPoint
*arg3
= 0 ;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 PyObject
* obj2
= 0 ;
19865 char * kwnames
[] = {
19866 (char *) "self",(char *) "icon",(char *) "pt", NULL
19869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19871 if (!SWIG_IsOK(res1
)) {
19872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19876 if (!SWIG_IsOK(res2
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19882 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_Py_Void();
19900 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
= 0;
19902 wxDC
*arg1
= (wxDC
*) 0 ;
19903 wxBitmap
*arg2
= 0 ;
19906 bool arg5
= (bool) false ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 PyObject
* obj2
= 0 ;
19920 PyObject
* obj3
= 0 ;
19921 PyObject
* obj4
= 0 ;
19922 char * kwnames
[] = {
19923 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19928 if (!SWIG_IsOK(res1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19933 if (!SWIG_IsOK(res2
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19939 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19941 if (!SWIG_IsOK(ecode3
)) {
19942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19944 arg3
= static_cast< int >(val3
);
19945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19946 if (!SWIG_IsOK(ecode4
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19949 arg4
= static_cast< int >(val4
);
19951 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19952 if (!SWIG_IsOK(ecode5
)) {
19953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19955 arg5
= static_cast< bool >(val5
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_Py_Void();
19970 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
= 0;
19972 wxDC
*arg1
= (wxDC
*) 0 ;
19973 wxBitmap
*arg2
= 0 ;
19974 wxPoint
*arg3
= 0 ;
19975 bool arg4
= (bool) false ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 PyObject
* obj2
= 0 ;
19986 PyObject
* obj3
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19998 if (!SWIG_IsOK(res2
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20004 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20010 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20011 if (!SWIG_IsOK(ecode4
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20014 arg4
= static_cast< bool >(val4
);
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_Py_Void();
20029 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxDC
*arg1
= (wxDC
*) 0 ;
20032 wxString
*arg2
= 0 ;
20037 bool temp2
= false ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 PyObject
* obj2
= 0 ;
20045 PyObject
* obj3
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20057 arg2
= wxString_in_helper(obj1
);
20058 if (arg2
== NULL
) SWIG_fail
;
20061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20062 if (!SWIG_IsOK(ecode3
)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20065 arg3
= static_cast< int >(val3
);
20066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20067 if (!SWIG_IsOK(ecode4
)) {
20068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20070 arg4
= static_cast< int >(val4
);
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20077 resultobj
= SWIG_Py_Void();
20092 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
= 0;
20094 wxDC
*arg1
= (wxDC
*) 0 ;
20095 wxString
*arg2
= 0 ;
20096 wxPoint
*arg3
= 0 ;
20099 bool temp2
= false ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 PyObject
* obj2
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "text",(char *) "pt", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20115 arg2
= wxString_in_helper(obj1
);
20116 if (arg2
== NULL
) SWIG_fail
;
20121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_Py_Void();
20144 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
= 0;
20146 wxDC
*arg1
= (wxDC
*) 0 ;
20147 wxString
*arg2
= 0 ;
20153 bool temp2
= false ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 PyObject
* obj2
= 0 ;
20163 PyObject
* obj3
= 0 ;
20164 PyObject
* obj4
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20176 arg2
= wxString_in_helper(obj1
);
20177 if (arg2
== NULL
) SWIG_fail
;
20180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20181 if (!SWIG_IsOK(ecode3
)) {
20182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20184 arg3
= static_cast< int >(val3
);
20185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20186 if (!SWIG_IsOK(ecode4
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20189 arg4
= static_cast< int >(val4
);
20190 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20191 if (!SWIG_IsOK(ecode5
)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20194 arg5
= static_cast< double >(val5
);
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_Py_Void();
20216 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
= 0;
20218 wxDC
*arg1
= (wxDC
*) 0 ;
20219 wxString
*arg2
= 0 ;
20220 wxPoint
*arg3
= 0 ;
20224 bool temp2
= false ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 PyObject
* obj2
= 0 ;
20231 PyObject
* obj3
= 0 ;
20232 char * kwnames
[] = {
20233 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20243 arg2
= wxString_in_helper(obj1
);
20244 if (arg2
== NULL
) SWIG_fail
;
20249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20251 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20252 if (!SWIG_IsOK(ecode4
)) {
20253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20255 arg4
= static_cast< double >(val4
);
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_Py_Void();
20277 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxDC
*arg1
= (wxDC
*) 0 ;
20284 wxDC
*arg6
= (wxDC
*) 0 ;
20287 int arg9
= (int) wxCOPY
;
20288 bool arg10
= (bool) false ;
20289 int arg11
= (int) -1 ;
20290 int arg12
= (int) -1 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 PyObject
* obj2
= 0 ;
20319 PyObject
* obj3
= 0 ;
20320 PyObject
* obj4
= 0 ;
20321 PyObject
* obj5
= 0 ;
20322 PyObject
* obj6
= 0 ;
20323 PyObject
* obj7
= 0 ;
20324 PyObject
* obj8
= 0 ;
20325 PyObject
* obj9
= 0 ;
20326 PyObject
* obj10
= 0 ;
20327 PyObject
* obj11
= 0 ;
20328 char * kwnames
[] = {
20329 (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
20332 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
;
20333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20339 if (!SWIG_IsOK(ecode2
)) {
20340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20342 arg2
= static_cast< int >(val2
);
20343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20344 if (!SWIG_IsOK(ecode3
)) {
20345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20347 arg3
= static_cast< int >(val3
);
20348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20349 if (!SWIG_IsOK(ecode4
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20352 arg4
= static_cast< int >(val4
);
20353 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20354 if (!SWIG_IsOK(ecode5
)) {
20355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20357 arg5
= static_cast< int >(val5
);
20358 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20359 if (!SWIG_IsOK(res6
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20362 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20363 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20364 if (!SWIG_IsOK(ecode7
)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20367 arg7
= static_cast< int >(val7
);
20368 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20369 if (!SWIG_IsOK(ecode8
)) {
20370 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20372 arg8
= static_cast< int >(val8
);
20374 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20375 if (!SWIG_IsOK(ecode9
)) {
20376 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20378 arg9
= static_cast< int >(val9
);
20381 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20382 if (!SWIG_IsOK(ecode10
)) {
20383 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20385 arg10
= static_cast< bool >(val10
);
20388 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20389 if (!SWIG_IsOK(ecode11
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20392 arg11
= static_cast< int >(val11
);
20395 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20396 if (!SWIG_IsOK(ecode12
)) {
20397 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20399 arg12
= static_cast< int >(val12
);
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20416 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= 0;
20418 wxDC
*arg1
= (wxDC
*) 0 ;
20419 wxPoint
*arg2
= 0 ;
20421 wxDC
*arg4
= (wxDC
*) 0 ;
20422 wxPoint
*arg5
= 0 ;
20423 int arg6
= (int) wxCOPY
;
20424 bool arg7
= (bool) false ;
20425 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20426 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 PyObject
* obj2
= 0 ;
20443 PyObject
* obj3
= 0 ;
20444 PyObject
* obj4
= 0 ;
20445 PyObject
* obj5
= 0 ;
20446 PyObject
* obj6
= 0 ;
20447 PyObject
* obj7
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20464 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20466 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20467 if (!SWIG_IsOK(res4
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20470 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20473 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20476 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20477 if (!SWIG_IsOK(ecode6
)) {
20478 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20480 arg6
= static_cast< int >(val6
);
20483 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20484 if (!SWIG_IsOK(ecode7
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20487 arg7
= static_cast< bool >(val7
);
20492 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20510 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
= 0;
20512 wxDC
*arg1
= (wxDC
*) 0 ;
20513 wxRect
*arg2
= (wxRect
*) NULL
;
20514 SwigValueWrapper
<wxBitmap
> result
;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 char * kwnames
[] = {
20522 (char *) "self",(char *) "subrect", NULL
20525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20533 if (!SWIG_IsOK(res2
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20536 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20551 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxDC
*arg1
= (wxDC
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 PyObject
* obj2
= 0 ;
20571 PyObject
* obj3
= 0 ;
20572 PyObject
* obj4
= 0 ;
20573 char * kwnames
[] = {
20574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20579 if (!SWIG_IsOK(res1
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20584 if (!SWIG_IsOK(ecode2
)) {
20585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20587 arg2
= static_cast< int >(val2
);
20588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20589 if (!SWIG_IsOK(ecode3
)) {
20590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20592 arg3
= static_cast< int >(val3
);
20593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20594 if (!SWIG_IsOK(ecode4
)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20597 arg4
= static_cast< int >(val4
);
20598 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20599 if (!SWIG_IsOK(ecode5
)) {
20600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20602 arg5
= static_cast< int >(val5
);
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_Py_Void();
20616 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxDC
*arg1
= (wxDC
*) 0 ;
20619 wxPoint
*arg2
= 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 PyObject
* obj2
= 0 ;
20628 char * kwnames
[] = {
20629 (char *) "self",(char *) "pt",(char *) "sz", NULL
20632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20644 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_Py_Void();
20659 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
= 0;
20661 wxDC
*arg1
= (wxDC
*) 0 ;
20662 wxRegion
*arg2
= 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "self",(char *) "region", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20680 if (!SWIG_IsOK(res2
)) {
20681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20686 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_Py_Void();
20700 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
= 0;
20702 wxDC
*arg1
= (wxDC
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "rect", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20721 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_Py_Void();
20736 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxDC
*arg1
= (wxDC
*) 0 ;
20740 wxPoint
*arg3
= (wxPoint
*) 0 ;
20741 int arg4
= (int) 0 ;
20742 int arg5
= (int) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 PyObject
* obj2
= 0 ;
20752 PyObject
* obj3
= 0 ;
20753 char * kwnames
[] = {
20754 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20759 if (!SWIG_IsOK(res1
)) {
20760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20764 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20765 if (arg3
== NULL
) SWIG_fail
;
20768 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20769 if (!SWIG_IsOK(ecode4
)) {
20770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20772 arg4
= static_cast< int >(val4
);
20775 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20776 if (!SWIG_IsOK(ecode5
)) {
20777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20779 arg5
= static_cast< int >(val5
);
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_Py_Void();
20789 if (arg3
) delete [] arg3
;
20794 if (arg3
) delete [] arg3
;
20800 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
= 0;
20802 wxDC
*arg1
= (wxDC
*) 0 ;
20804 wxPoint
*arg3
= (wxPoint
*) 0 ;
20805 int arg4
= (int) 0 ;
20806 int arg5
= (int) 0 ;
20807 int arg6
= (int) wxODDEVEN_RULE
;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 PyObject
* obj2
= 0 ;
20819 PyObject
* obj3
= 0 ;
20820 PyObject
* obj4
= 0 ;
20821 char * kwnames
[] = {
20822 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20832 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20833 if (arg3
== NULL
) SWIG_fail
;
20836 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20837 if (!SWIG_IsOK(ecode4
)) {
20838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20840 arg4
= static_cast< int >(val4
);
20843 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20844 if (!SWIG_IsOK(ecode5
)) {
20845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20847 arg5
= static_cast< int >(val5
);
20850 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20851 if (!SWIG_IsOK(ecode6
)) {
20852 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20854 arg6
= static_cast< int >(val6
);
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_Py_Void();
20864 if (arg3
) delete [] arg3
;
20869 if (arg3
) delete [] arg3
;
20875 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= 0;
20877 wxDC
*arg1
= (wxDC
*) 0 ;
20878 wxString
*arg2
= 0 ;
20880 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20881 int arg5
= (int) -1 ;
20884 bool temp2
= false ;
20890 PyObject
* obj0
= 0 ;
20891 PyObject
* obj1
= 0 ;
20892 PyObject
* obj2
= 0 ;
20893 PyObject
* obj3
= 0 ;
20894 PyObject
* obj4
= 0 ;
20895 char * kwnames
[] = {
20896 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20906 arg2
= wxString_in_helper(obj1
);
20907 if (arg2
== NULL
) SWIG_fail
;
20912 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20916 if (!SWIG_IsOK(ecode4
)) {
20917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20919 arg4
= static_cast< int >(val4
);
20922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20923 if (!SWIG_IsOK(ecode5
)) {
20924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20926 arg5
= static_cast< int >(val5
);
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_Py_Void();
20949 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
= 0;
20951 wxDC
*arg1
= (wxDC
*) 0 ;
20952 wxString
*arg2
= 0 ;
20953 wxBitmap
*arg3
= 0 ;
20955 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20956 int arg6
= (int) -1 ;
20960 bool temp2
= false ;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 PyObject
* obj2
= 0 ;
20971 PyObject
* obj3
= 0 ;
20972 PyObject
* obj4
= 0 ;
20973 PyObject
* obj5
= 0 ;
20974 char * kwnames
[] = {
20975 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20985 arg2
= wxString_in_helper(obj1
);
20986 if (arg2
== NULL
) SWIG_fail
;
20989 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20990 if (!SWIG_IsOK(res3
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20996 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20999 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21002 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21003 if (!SWIG_IsOK(ecode5
)) {
21004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21006 arg5
= static_cast< int >(val5
);
21009 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21010 if (!SWIG_IsOK(ecode6
)) {
21011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21013 arg6
= static_cast< int >(val6
);
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21036 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= 0;
21038 wxDC
*arg1
= (wxDC
*) 0 ;
21040 wxPoint
*arg3
= (wxPoint
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "self",(char *) "points", NULL
21049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21051 if (!SWIG_IsOK(res1
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21056 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21057 if (arg3
== NULL
) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 (arg1
)->DrawSpline(arg2
,arg3
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_Py_Void();
21067 if (arg3
) delete [] arg3
;
21072 if (arg3
) delete [] arg3
;
21078 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21079 PyObject
*resultobj
= 0;
21080 wxDC
*arg1
= (wxDC
*) 0 ;
21083 PyObject
*swig_obj
[1] ;
21085 if (!args
) SWIG_fail
;
21086 swig_obj
[0] = args
;
21087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21088 if (!SWIG_IsOK(res1
)) {
21089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_Py_Void();
21105 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
= 0;
21107 wxDC
*arg1
= (wxDC
*) 0 ;
21108 wxString
*arg2
= 0 ;
21112 bool temp2
= false ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "message", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21126 arg2
= wxString_in_helper(obj1
);
21127 if (arg2
== NULL
) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21153 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 PyObject
*resultobj
= 0;
21155 wxDC
*arg1
= (wxDC
*) 0 ;
21158 PyObject
*swig_obj
[1] ;
21160 if (!args
) SWIG_fail
;
21161 swig_obj
[0] = args
;
21162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_Py_Void();
21180 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21181 PyObject
*resultobj
= 0;
21182 wxDC
*arg1
= (wxDC
*) 0 ;
21185 PyObject
*swig_obj
[1] ;
21187 if (!args
) SWIG_fail
;
21188 swig_obj
[0] = args
;
21189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21190 if (!SWIG_IsOK(res1
)) {
21191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 (arg1
)->StartPage();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= SWIG_Py_Void();
21207 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21208 PyObject
*resultobj
= 0;
21209 wxDC
*arg1
= (wxDC
*) 0 ;
21212 PyObject
*swig_obj
[1] ;
21214 if (!args
) SWIG_fail
;
21215 swig_obj
[0] = args
;
21216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21217 if (!SWIG_IsOK(res1
)) {
21218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_Py_Void();
21234 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= 0;
21236 wxDC
*arg1
= (wxDC
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "self",(char *) "font", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21255 if (!SWIG_IsOK(res2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21261 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 (arg1
)->SetFont((wxFont
const &)*arg2
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_Py_Void();
21275 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= 0;
21277 wxDC
*arg1
= (wxDC
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char * kwnames
[] = {
21286 (char *) "self",(char *) "pen", NULL
21289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21291 if (!SWIG_IsOK(res1
)) {
21292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21296 if (!SWIG_IsOK(res2
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21302 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 (arg1
)->SetPen((wxPen
const &)*arg2
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_Py_Void();
21316 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
= 0;
21318 wxDC
*arg1
= (wxDC
*) 0 ;
21319 wxBrush
*arg2
= 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char * kwnames
[] = {
21327 (char *) "self",(char *) "brush", NULL
21330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21337 if (!SWIG_IsOK(res2
)) {
21338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21343 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= SWIG_Py_Void();
21357 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
= 0;
21359 wxDC
*arg1
= (wxDC
*) 0 ;
21360 wxBrush
*arg2
= 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char * kwnames
[] = {
21368 (char *) "self",(char *) "brush", NULL
21371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21378 if (!SWIG_IsOK(res2
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21384 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_Py_Void();
21398 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
= 0;
21400 wxDC
*arg1
= (wxDC
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 char * kwnames
[] = {
21409 (char *) "self",(char *) "mode", NULL
21412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21419 if (!SWIG_IsOK(ecode2
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21422 arg2
= static_cast< int >(val2
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 (arg1
)->SetBackgroundMode(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_Py_Void();
21436 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
= 0;
21438 wxDC
*arg1
= (wxDC
*) 0 ;
21439 wxPalette
*arg2
= 0 ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 char * kwnames
[] = {
21447 (char *) "self",(char *) "palette", NULL
21450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21452 if (!SWIG_IsOK(res1
)) {
21453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21457 if (!SWIG_IsOK(res2
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21463 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_Py_Void();
21477 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21478 PyObject
*resultobj
= 0;
21479 wxDC
*arg1
= (wxDC
*) 0 ;
21482 PyObject
*swig_obj
[1] ;
21484 if (!args
) SWIG_fail
;
21485 swig_obj
[0] = args
;
21486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21487 if (!SWIG_IsOK(res1
)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 (arg1
)->DestroyClippingRegion();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_Py_Void();
21504 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21505 PyObject
*resultobj
= 0;
21506 wxDC
*arg1
= (wxDC
*) 0 ;
21507 int *arg2
= (int *) 0 ;
21508 int *arg3
= (int *) 0 ;
21509 int *arg4
= (int *) 0 ;
21510 int *arg5
= (int *) 0 ;
21514 int res2
= SWIG_TMPOBJ
;
21516 int res3
= SWIG_TMPOBJ
;
21518 int res4
= SWIG_TMPOBJ
;
21520 int res5
= SWIG_TMPOBJ
;
21521 PyObject
*swig_obj
[1] ;
21527 if (!args
) SWIG_fail
;
21528 swig_obj
[0] = args
;
21529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21530 if (!SWIG_IsOK(res1
)) {
21531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= SWIG_Py_Void();
21541 if (SWIG_IsTmpObj(res2
)) {
21542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21544 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21547 if (SWIG_IsTmpObj(res3
)) {
21548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21550 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21553 if (SWIG_IsTmpObj(res4
)) {
21554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21556 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21559 if (SWIG_IsTmpObj(res5
)) {
21560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21562 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21571 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21572 PyObject
*resultobj
= 0;
21573 wxDC
*arg1
= (wxDC
*) 0 ;
21577 PyObject
*swig_obj
[1] ;
21579 if (!args
) SWIG_fail
;
21580 swig_obj
[0] = args
;
21581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21582 if (!SWIG_IsOK(res1
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= wxDC_GetClippingRect(arg1
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21599 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21600 PyObject
*resultobj
= 0;
21601 wxDC
*arg1
= (wxDC
*) 0 ;
21605 PyObject
*swig_obj
[1] ;
21607 if (!args
) SWIG_fail
;
21608 swig_obj
[0] = args
;
21609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_From_int(static_cast< int >(result
));
21627 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21628 PyObject
*resultobj
= 0;
21629 wxDC
*arg1
= (wxDC
*) 0 ;
21633 PyObject
*swig_obj
[1] ;
21635 if (!args
) SWIG_fail
;
21636 swig_obj
[0] = args
;
21637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_From_int(static_cast< int >(result
));
21655 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
= 0;
21657 wxDC
*arg1
= (wxDC
*) 0 ;
21658 wxString
*arg2
= 0 ;
21659 int *arg3
= (int *) 0 ;
21660 int *arg4
= (int *) 0 ;
21663 bool temp2
= false ;
21665 int res3
= SWIG_TMPOBJ
;
21667 int res4
= SWIG_TMPOBJ
;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char * kwnames
[] = {
21671 (char *) "self",(char *) "string", NULL
21676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21678 if (!SWIG_IsOK(res1
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21683 arg2
= wxString_in_helper(obj1
);
21684 if (arg2
== NULL
) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_Py_Void();
21694 if (SWIG_IsTmpObj(res3
)) {
21695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21697 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21700 if (SWIG_IsTmpObj(res4
)) {
21701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21703 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21720 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
= 0;
21722 wxDC
*arg1
= (wxDC
*) 0 ;
21723 wxString
*arg2
= 0 ;
21724 int *arg3
= (int *) 0 ;
21725 int *arg4
= (int *) 0 ;
21726 int *arg5
= (int *) 0 ;
21727 int *arg6
= (int *) 0 ;
21728 wxFont
*arg7
= (wxFont
*) NULL
;
21731 bool temp2
= false ;
21733 int res3
= SWIG_TMPOBJ
;
21735 int res4
= SWIG_TMPOBJ
;
21737 int res5
= SWIG_TMPOBJ
;
21739 int res6
= SWIG_TMPOBJ
;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 PyObject
* obj2
= 0 ;
21745 char * kwnames
[] = {
21746 (char *) "self",(char *) "string",(char *) "font", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21760 arg2
= wxString_in_helper(obj1
);
21761 if (arg2
== NULL
) SWIG_fail
;
21765 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21766 if (!SWIG_IsOK(res7
)) {
21767 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21769 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= SWIG_Py_Void();
21778 if (SWIG_IsTmpObj(res3
)) {
21779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21781 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21784 if (SWIG_IsTmpObj(res4
)) {
21785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21787 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21790 if (SWIG_IsTmpObj(res5
)) {
21791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21793 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21796 if (SWIG_IsTmpObj(res6
)) {
21797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21799 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21816 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
= 0;
21818 wxDC
*arg1
= (wxDC
*) 0 ;
21819 wxString
*arg2
= 0 ;
21820 int *arg3
= (int *) 0 ;
21821 int *arg4
= (int *) 0 ;
21822 int *arg5
= (int *) 0 ;
21823 wxFont
*arg6
= (wxFont
*) NULL
;
21826 bool temp2
= false ;
21828 int res3
= SWIG_TMPOBJ
;
21830 int res4
= SWIG_TMPOBJ
;
21832 int res5
= SWIG_TMPOBJ
;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 PyObject
* obj2
= 0 ;
21838 char * kwnames
[] = {
21839 (char *) "self",(char *) "text",(char *) "font", NULL
21845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21847 if (!SWIG_IsOK(res1
)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21852 arg2
= wxString_in_helper(obj1
);
21853 if (arg2
== NULL
) SWIG_fail
;
21857 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21858 if (!SWIG_IsOK(res6
)) {
21859 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21861 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= SWIG_Py_Void();
21870 if (SWIG_IsTmpObj(res3
)) {
21871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21873 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21876 if (SWIG_IsTmpObj(res4
)) {
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21879 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21882 if (SWIG_IsTmpObj(res5
)) {
21883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21885 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21886 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21902 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
= 0;
21904 wxDC
*arg1
= (wxDC
*) 0 ;
21905 wxString
*arg2
= 0 ;
21909 bool temp2
= false ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char * kwnames
[] = {
21913 (char *) "self",(char *) "text", NULL
21916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21918 if (!SWIG_IsOK(res1
)) {
21919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21923 arg2
= wxString_in_helper(obj1
);
21924 if (arg2
== NULL
) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= wxArrayInt2PyList_helper(result
);
21950 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21951 PyObject
*resultobj
= 0;
21952 wxDC
*arg1
= (wxDC
*) 0 ;
21956 PyObject
*swig_obj
[1] ;
21958 if (!args
) SWIG_fail
;
21959 swig_obj
[0] = args
;
21960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21961 if (!SWIG_IsOK(res1
)) {
21962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 result
= (arg1
)->GetSize();
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21978 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 PyObject
*resultobj
= 0;
21980 wxDC
*arg1
= (wxDC
*) 0 ;
21981 int *arg2
= (int *) 0 ;
21982 int *arg3
= (int *) 0 ;
21986 int res2
= SWIG_TMPOBJ
;
21988 int res3
= SWIG_TMPOBJ
;
21989 PyObject
*swig_obj
[1] ;
21993 if (!args
) SWIG_fail
;
21994 swig_obj
[0] = args
;
21995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->GetSize(arg2
,arg3
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_Py_Void();
22007 if (SWIG_IsTmpObj(res2
)) {
22008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22010 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22013 if (SWIG_IsTmpObj(res3
)) {
22014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22016 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22025 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22026 PyObject
*resultobj
= 0;
22027 wxDC
*arg1
= (wxDC
*) 0 ;
22031 PyObject
*swig_obj
[1] ;
22033 if (!args
) SWIG_fail
;
22034 swig_obj
[0] = args
;
22035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22036 if (!SWIG_IsOK(res1
)) {
22037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22053 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22054 PyObject
*resultobj
= 0;
22055 wxDC
*arg1
= (wxDC
*) 0 ;
22056 int *arg2
= (int *) 0 ;
22057 int *arg3
= (int *) 0 ;
22061 int res2
= SWIG_TMPOBJ
;
22063 int res3
= SWIG_TMPOBJ
;
22064 PyObject
*swig_obj
[1] ;
22068 if (!args
) SWIG_fail
;
22069 swig_obj
[0] = args
;
22070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_Py_Void();
22082 if (SWIG_IsTmpObj(res2
)) {
22083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22085 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22088 if (SWIG_IsTmpObj(res3
)) {
22089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22091 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22100 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
= 0;
22102 wxDC
*arg1
= (wxDC
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char * kwnames
[] = {
22112 (char *) "self",(char *) "x", NULL
22115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22122 if (!SWIG_IsOK(ecode2
)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22125 arg2
= static_cast< int >(val2
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_From_int(static_cast< int >(result
));
22139 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxDC
*arg1
= (wxDC
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "self",(char *) "y", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22156 if (!SWIG_IsOK(res1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22161 if (!SWIG_IsOK(ecode2
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22164 arg2
= static_cast< int >(val2
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_int(static_cast< int >(result
));
22178 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= 0;
22180 wxDC
*arg1
= (wxDC
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char * kwnames
[] = {
22190 (char *) "self",(char *) "x", NULL
22193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22200 if (!SWIG_IsOK(ecode2
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22203 arg2
= static_cast< int >(val2
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_From_int(static_cast< int >(result
));
22217 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
= 0;
22219 wxDC
*arg1
= (wxDC
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 char * kwnames
[] = {
22229 (char *) "self",(char *) "y", NULL
22232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22234 if (!SWIG_IsOK(res1
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22239 if (!SWIG_IsOK(ecode2
)) {
22240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22242 arg2
= static_cast< int >(val2
);
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_From_int(static_cast< int >(result
));
22256 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
= 0;
22258 wxDC
*arg1
= (wxDC
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 char * kwnames
[] = {
22268 (char *) "self",(char *) "x", NULL
22271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22278 if (!SWIG_IsOK(ecode2
)) {
22279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22281 arg2
= static_cast< int >(val2
);
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= SWIG_From_int(static_cast< int >(result
));
22295 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= 0;
22297 wxDC
*arg1
= (wxDC
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char * kwnames
[] = {
22307 (char *) "self",(char *) "y", NULL
22310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22317 if (!SWIG_IsOK(ecode2
)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22320 arg2
= static_cast< int >(val2
);
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= SWIG_From_int(static_cast< int >(result
));
22334 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
= 0;
22336 wxDC
*arg1
= (wxDC
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char * kwnames
[] = {
22346 (char *) "self",(char *) "x", NULL
22349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22351 if (!SWIG_IsOK(res1
)) {
22352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22356 if (!SWIG_IsOK(ecode2
)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22359 arg2
= static_cast< int >(val2
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_From_int(static_cast< int >(result
));
22373 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
= 0;
22375 wxDC
*arg1
= (wxDC
*) 0 ;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 char * kwnames
[] = {
22385 (char *) "self",(char *) "y", NULL
22388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22390 if (!SWIG_IsOK(res1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22395 if (!SWIG_IsOK(ecode2
)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22398 arg2
= static_cast< int >(val2
);
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_From_int(static_cast< int >(result
));
22412 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22413 PyObject
*resultobj
= 0;
22414 wxDC
*arg1
= (wxDC
*) 0 ;
22418 PyObject
*swig_obj
[1] ;
22420 if (!args
) SWIG_fail
;
22421 swig_obj
[0] = args
;
22422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22423 if (!SWIG_IsOK(res1
)) {
22424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22442 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 PyObject
*resultobj
= 0;
22444 wxDC
*arg1
= (wxDC
*) 0 ;
22448 PyObject
*swig_obj
[1] ;
22450 if (!args
) SWIG_fail
;
22451 swig_obj
[0] = args
;
22452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22453 if (!SWIG_IsOK(res1
)) {
22454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22472 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 PyObject
*resultobj
= 0;
22474 wxDC
*arg1
= (wxDC
*) 0 ;
22478 PyObject
*swig_obj
[1] ;
22480 if (!args
) SWIG_fail
;
22481 swig_obj
[0] = args
;
22482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_From_int(static_cast< int >(result
));
22500 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22501 PyObject
*resultobj
= 0;
22502 wxDC
*arg1
= (wxDC
*) 0 ;
22506 PyObject
*swig_obj
[1] ;
22508 if (!args
) SWIG_fail
;
22509 swig_obj
[0] = args
;
22510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22511 if (!SWIG_IsOK(res1
)) {
22512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= ((wxDC
const *)arg1
)->GetPPI();
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22528 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22529 PyObject
*resultobj
= 0;
22530 wxDC
*arg1
= (wxDC
*) 0 ;
22534 PyObject
*swig_obj
[1] ;
22536 if (!args
) SWIG_fail
;
22537 swig_obj
[0] = args
;
22538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22558 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22559 PyObject
*resultobj
= 0;
22560 wxDC
*arg1
= (wxDC
*) 0 ;
22564 PyObject
*swig_obj
[1] ;
22566 if (!args
) SWIG_fail
;
22567 swig_obj
[0] = args
;
22568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= SWIG_From_int(static_cast< int >(result
));
22586 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22587 PyObject
*resultobj
= 0;
22588 wxDC
*arg1
= (wxDC
*) 0 ;
22589 wxBrush
*result
= 0 ;
22592 PyObject
*swig_obj
[1] ;
22594 if (!args
) SWIG_fail
;
22595 swig_obj
[0] = args
;
22596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22597 if (!SWIG_IsOK(res1
)) {
22598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22605 result
= (wxBrush
*) &_result_ref
;
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22611 wxBrush
* resultptr
= new wxBrush(*result
);
22612 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22620 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22621 PyObject
*resultobj
= 0;
22622 wxDC
*arg1
= (wxDC
*) 0 ;
22623 wxBrush
*result
= 0 ;
22626 PyObject
*swig_obj
[1] ;
22628 if (!args
) SWIG_fail
;
22629 swig_obj
[0] = args
;
22630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22631 if (!SWIG_IsOK(res1
)) {
22632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22639 result
= (wxBrush
*) &_result_ref
;
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 wxBrush
* resultptr
= new wxBrush(*result
);
22646 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22654 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22655 PyObject
*resultobj
= 0;
22656 wxDC
*arg1
= (wxDC
*) 0 ;
22657 wxFont
*result
= 0 ;
22660 PyObject
*swig_obj
[1] ;
22662 if (!args
) SWIG_fail
;
22663 swig_obj
[0] = args
;
22664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22673 result
= (wxFont
*) &_result_ref
;
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22679 wxFont
* resultptr
= new wxFont(*result
);
22680 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22688 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22689 PyObject
*resultobj
= 0;
22690 wxDC
*arg1
= (wxDC
*) 0 ;
22691 wxPen
*result
= 0 ;
22694 PyObject
*swig_obj
[1] ;
22696 if (!args
) SWIG_fail
;
22697 swig_obj
[0] = args
;
22698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22707 result
= (wxPen
*) &_result_ref
;
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 wxPen
* resultptr
= new wxPen(*result
);
22714 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22722 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxDC
*arg1
= (wxDC
*) 0 ;
22725 wxColour
*result
= 0 ;
22728 PyObject
*swig_obj
[1] ;
22730 if (!args
) SWIG_fail
;
22731 swig_obj
[0] = args
;
22732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22741 result
= (wxColour
*) &_result_ref
;
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22753 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 PyObject
*resultobj
= 0;
22755 wxDC
*arg1
= (wxDC
*) 0 ;
22756 wxColour
*result
= 0 ;
22759 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22772 result
= (wxColour
*) &_result_ref
;
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22784 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
= 0;
22786 wxDC
*arg1
= (wxDC
*) 0 ;
22787 wxColour
*arg2
= 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char * kwnames
[] = {
22794 (char *) "self",(char *) "colour", NULL
22797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_Py_Void();
22820 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
= 0;
22822 wxDC
*arg1
= (wxDC
*) 0 ;
22823 wxColour
*arg2
= 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char * kwnames
[] = {
22830 (char *) "self",(char *) "colour", NULL
22833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22835 if (!SWIG_IsOK(res1
)) {
22836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_Py_Void();
22856 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22857 PyObject
*resultobj
= 0;
22858 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
*swig_obj
[1] ;
22864 if (!args
) SWIG_fail
;
22865 swig_obj
[0] = args
;
22866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22867 if (!SWIG_IsOK(res1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_From_int(static_cast< int >(result
));
22884 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
= 0;
22886 wxDC
*arg1
= (wxDC
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 char * kwnames
[] = {
22895 (char *) "self",(char *) "mode", NULL
22898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22905 if (!SWIG_IsOK(ecode2
)) {
22906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22908 arg2
= static_cast< int >(val2
);
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->SetMapMode(arg2
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= SWIG_Py_Void();
22922 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 PyObject
*resultobj
= 0;
22924 wxDC
*arg1
= (wxDC
*) 0 ;
22925 double *arg2
= (double *) 0 ;
22926 double *arg3
= (double *) 0 ;
22930 int res2
= SWIG_TMPOBJ
;
22932 int res3
= SWIG_TMPOBJ
;
22933 PyObject
*swig_obj
[1] ;
22937 if (!args
) SWIG_fail
;
22938 swig_obj
[0] = args
;
22939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22940 if (!SWIG_IsOK(res1
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= SWIG_Py_Void();
22951 if (SWIG_IsTmpObj(res2
)) {
22952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22954 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22957 if (SWIG_IsTmpObj(res3
)) {
22958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22960 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22969 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
= 0;
22971 wxDC
*arg1
= (wxDC
*) 0 ;
22980 PyObject
* obj0
= 0 ;
22981 PyObject
* obj1
= 0 ;
22982 PyObject
* obj2
= 0 ;
22983 char * kwnames
[] = {
22984 (char *) "self",(char *) "x",(char *) "y", NULL
22987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22993 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22994 if (!SWIG_IsOK(ecode2
)) {
22995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22997 arg2
= static_cast< double >(val2
);
22998 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22999 if (!SWIG_IsOK(ecode3
)) {
23000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23002 arg3
= static_cast< double >(val3
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 (arg1
)->SetUserScale(arg2
,arg3
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_Py_Void();
23016 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 PyObject
*resultobj
= 0;
23018 wxDC
*arg1
= (wxDC
*) 0 ;
23019 double *arg2
= (double *) 0 ;
23020 double *arg3
= (double *) 0 ;
23024 int res2
= SWIG_TMPOBJ
;
23026 int res3
= SWIG_TMPOBJ
;
23027 PyObject
*swig_obj
[1] ;
23031 if (!args
) SWIG_fail
;
23032 swig_obj
[0] = args
;
23033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23034 if (!SWIG_IsOK(res1
)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 (arg1
)->GetLogicalScale(arg2
,arg3
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_Py_Void();
23045 if (SWIG_IsTmpObj(res2
)) {
23046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23048 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23051 if (SWIG_IsTmpObj(res3
)) {
23052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23054 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23063 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
= 0;
23065 wxDC
*arg1
= (wxDC
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 PyObject
* obj2
= 0 ;
23077 char * kwnames
[] = {
23078 (char *) "self",(char *) "x",(char *) "y", NULL
23081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23083 if (!SWIG_IsOK(res1
)) {
23084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23087 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23088 if (!SWIG_IsOK(ecode2
)) {
23089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23091 arg2
= static_cast< double >(val2
);
23092 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23093 if (!SWIG_IsOK(ecode3
)) {
23094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23096 arg3
= static_cast< double >(val3
);
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 (arg1
)->SetLogicalScale(arg2
,arg3
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_Py_Void();
23110 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23111 PyObject
*resultobj
= 0;
23112 wxDC
*arg1
= (wxDC
*) 0 ;
23116 PyObject
*swig_obj
[1] ;
23118 if (!args
) SWIG_fail
;
23119 swig_obj
[0] = args
;
23120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23121 if (!SWIG_IsOK(res1
)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23138 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxDC
*arg1
= (wxDC
*) 0 ;
23141 int *arg2
= (int *) 0 ;
23142 int *arg3
= (int *) 0 ;
23146 int res2
= SWIG_TMPOBJ
;
23148 int res3
= SWIG_TMPOBJ
;
23149 PyObject
*swig_obj
[1] ;
23153 if (!args
) SWIG_fail
;
23154 swig_obj
[0] = args
;
23155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23156 if (!SWIG_IsOK(res1
)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23167 if (SWIG_IsTmpObj(res2
)) {
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23170 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23173 if (SWIG_IsTmpObj(res3
)) {
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23176 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23185 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
= 0;
23187 wxDC
*arg1
= (wxDC
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 PyObject
* obj2
= 0 ;
23199 char * kwnames
[] = {
23200 (char *) "self",(char *) "x",(char *) "y", NULL
23203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23210 if (!SWIG_IsOK(ecode2
)) {
23211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23213 arg2
= static_cast< int >(val2
);
23214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23215 if (!SWIG_IsOK(ecode3
)) {
23216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23218 arg3
= static_cast< int >(val3
);
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_Py_Void();
23232 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
= 0;
23234 wxDC
*arg1
= (wxDC
*) 0 ;
23235 wxPoint
*arg2
= 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 char * kwnames
[] = {
23242 (char *) "self",(char *) "point", NULL
23245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23247 if (!SWIG_IsOK(res1
)) {
23248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= SWIG_Py_Void();
23268 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23269 PyObject
*resultobj
= 0;
23270 wxDC
*arg1
= (wxDC
*) 0 ;
23274 PyObject
*swig_obj
[1] ;
23276 if (!args
) SWIG_fail
;
23277 swig_obj
[0] = args
;
23278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23296 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23297 PyObject
*resultobj
= 0;
23298 wxDC
*arg1
= (wxDC
*) 0 ;
23299 int *arg2
= (int *) 0 ;
23300 int *arg3
= (int *) 0 ;
23304 int res2
= SWIG_TMPOBJ
;
23306 int res3
= SWIG_TMPOBJ
;
23307 PyObject
*swig_obj
[1] ;
23311 if (!args
) SWIG_fail
;
23312 swig_obj
[0] = args
;
23313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_Py_Void();
23325 if (SWIG_IsTmpObj(res2
)) {
23326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23328 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23331 if (SWIG_IsTmpObj(res3
)) {
23332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23334 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23343 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
= 0;
23345 wxDC
*arg1
= (wxDC
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 PyObject
* obj2
= 0 ;
23357 char * kwnames
[] = {
23358 (char *) "self",(char *) "x",(char *) "y", NULL
23361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23363 if (!SWIG_IsOK(res1
)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23368 if (!SWIG_IsOK(ecode2
)) {
23369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23371 arg2
= static_cast< int >(val2
);
23372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23373 if (!SWIG_IsOK(ecode3
)) {
23374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23376 arg3
= static_cast< int >(val3
);
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_Py_Void();
23390 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
= 0;
23392 wxDC
*arg1
= (wxDC
*) 0 ;
23393 wxPoint
*arg2
= 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 char * kwnames
[] = {
23400 (char *) "self",(char *) "point", NULL
23403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23405 if (!SWIG_IsOK(res1
)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_Py_Void();
23426 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
= 0;
23428 wxDC
*arg1
= (wxDC
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 PyObject
* obj2
= 0 ;
23440 char * kwnames
[] = {
23441 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23446 if (!SWIG_IsOK(res1
)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23450 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23451 if (!SWIG_IsOK(ecode2
)) {
23452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23454 arg2
= static_cast< bool >(val2
);
23455 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23456 if (!SWIG_IsOK(ecode3
)) {
23457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23459 arg3
= static_cast< bool >(val3
);
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_Py_Void();
23473 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23474 PyObject
*resultobj
= 0;
23475 wxDC
*arg1
= (wxDC
*) 0 ;
23479 PyObject
*swig_obj
[1] ;
23481 if (!args
) SWIG_fail
;
23482 swig_obj
[0] = args
;
23483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_From_int(static_cast< int >(result
));
23501 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
= 0;
23503 wxDC
*arg1
= (wxDC
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char * kwnames
[] = {
23512 (char *) "self",(char *) "function", NULL
23515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23517 if (!SWIG_IsOK(res1
)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23522 if (!SWIG_IsOK(ecode2
)) {
23523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23525 arg2
= static_cast< int >(val2
);
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 (arg1
)->SetLogicalFunction(arg2
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_Py_Void();
23539 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23540 PyObject
*resultobj
= 0;
23541 wxDC
*arg1
= (wxDC
*) 0 ;
23544 PyObject
*swig_obj
[1] ;
23546 if (!args
) SWIG_fail
;
23547 swig_obj
[0] = args
;
23548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23549 if (!SWIG_IsOK(res1
)) {
23550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->ComputeScaleAndOrigin();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_Py_Void();
23566 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
= 0;
23568 wxDC
*arg1
= (wxDC
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 PyObject
* obj2
= 0 ;
23580 char * kwnames
[] = {
23581 (char *) "self",(char *) "x",(char *) "y", NULL
23584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23586 if (!SWIG_IsOK(res1
)) {
23587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23591 if (!SWIG_IsOK(ecode2
)) {
23592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23594 arg2
= static_cast< int >(val2
);
23595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23596 if (!SWIG_IsOK(ecode3
)) {
23597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23599 arg3
= static_cast< int >(val3
);
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_Py_Void();
23613 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= 0;
23615 wxDC
*arg1
= (wxDC
*) 0 ;
23616 wxPoint
*arg2
= 0 ;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 char * kwnames
[] = {
23623 (char *) "self",(char *) "point", NULL
23626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_Py_Void();
23649 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23650 PyObject
*resultobj
= 0;
23651 wxDC
*arg1
= (wxDC
*) 0 ;
23654 PyObject
*swig_obj
[1] ;
23656 if (!args
) SWIG_fail
;
23657 swig_obj
[0] = args
;
23658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23659 if (!SWIG_IsOK(res1
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 (arg1
)->ResetBoundingBox();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_Py_Void();
23676 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23677 PyObject
*resultobj
= 0;
23678 wxDC
*arg1
= (wxDC
*) 0 ;
23682 PyObject
*swig_obj
[1] ;
23684 if (!args
) SWIG_fail
;
23685 swig_obj
[0] = args
;
23686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (int)((wxDC
const *)arg1
)->MinX();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_From_int(static_cast< int >(result
));
23704 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23705 PyObject
*resultobj
= 0;
23706 wxDC
*arg1
= (wxDC
*) 0 ;
23710 PyObject
*swig_obj
[1] ;
23712 if (!args
) SWIG_fail
;
23713 swig_obj
[0] = args
;
23714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23715 if (!SWIG_IsOK(res1
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (int)((wxDC
const *)arg1
)->MaxX();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_From_int(static_cast< int >(result
));
23732 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23733 PyObject
*resultobj
= 0;
23734 wxDC
*arg1
= (wxDC
*) 0 ;
23738 PyObject
*swig_obj
[1] ;
23740 if (!args
) SWIG_fail
;
23741 swig_obj
[0] = args
;
23742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= (int)((wxDC
const *)arg1
)->MinY();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_From_int(static_cast< int >(result
));
23760 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23761 PyObject
*resultobj
= 0;
23762 wxDC
*arg1
= (wxDC
*) 0 ;
23766 PyObject
*swig_obj
[1] ;
23768 if (!args
) SWIG_fail
;
23769 swig_obj
[0] = args
;
23770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23771 if (!SWIG_IsOK(res1
)) {
23772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (int)((wxDC
const *)arg1
)->MaxY();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_From_int(static_cast< int >(result
));
23788 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23789 PyObject
*resultobj
= 0;
23790 wxDC
*arg1
= (wxDC
*) 0 ;
23791 int *arg2
= (int *) 0 ;
23792 int *arg3
= (int *) 0 ;
23793 int *arg4
= (int *) 0 ;
23794 int *arg5
= (int *) 0 ;
23798 int res2
= SWIG_TMPOBJ
;
23800 int res3
= SWIG_TMPOBJ
;
23802 int res4
= SWIG_TMPOBJ
;
23804 int res5
= SWIG_TMPOBJ
;
23805 PyObject
*swig_obj
[1] ;
23811 if (!args
) SWIG_fail
;
23812 swig_obj
[0] = args
;
23813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23814 if (!SWIG_IsOK(res1
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_Py_Void();
23825 if (SWIG_IsTmpObj(res2
)) {
23826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23828 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23831 if (SWIG_IsTmpObj(res3
)) {
23832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23837 if (SWIG_IsTmpObj(res4
)) {
23838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23840 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23843 if (SWIG_IsTmpObj(res5
)) {
23844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23846 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23855 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23856 PyObject
*resultobj
= 0;
23857 wxDC
*arg1
= (wxDC
*) 0 ;
23858 wxLayoutDirection result
;
23861 PyObject
*swig_obj
[1] ;
23863 if (!args
) SWIG_fail
;
23864 swig_obj
[0] = args
;
23865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23866 if (!SWIG_IsOK(res1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_From_int(static_cast< int >(result
));
23883 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
= 0;
23885 wxDC
*arg1
= (wxDC
*) 0 ;
23886 wxLayoutDirection arg2
;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "self",(char *) "dir", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23904 if (!SWIG_IsOK(ecode2
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23907 arg2
= static_cast< wxLayoutDirection
>(val2
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 (arg1
)->SetLayoutDirection(arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_Py_Void();
23921 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23922 PyObject
*resultobj
= 0;
23923 wxDC
*arg1
= (wxDC
*) 0 ;
23927 PyObject
*swig_obj
[1] ;
23929 if (!args
) SWIG_fail
;
23930 swig_obj
[0] = args
;
23931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (long)(arg1
)->GetHDC();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_From_long(static_cast< long >(result
));
23949 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
= 0;
23951 wxDC
*arg1
= (wxDC
*) 0 ;
23952 PyObject
*arg2
= (PyObject
*) 0 ;
23953 PyObject
*arg3
= (PyObject
*) 0 ;
23954 PyObject
*arg4
= (PyObject
*) 0 ;
23955 PyObject
*result
= 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 PyObject
* obj2
= 0 ;
23961 PyObject
* obj3
= 0 ;
23962 char * kwnames
[] = {
23963 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23968 if (!SWIG_IsOK(res1
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= result
;
23988 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
= 0;
23990 wxDC
*arg1
= (wxDC
*) 0 ;
23991 PyObject
*arg2
= (PyObject
*) 0 ;
23992 PyObject
*arg3
= (PyObject
*) 0 ;
23993 PyObject
*arg4
= (PyObject
*) 0 ;
23994 PyObject
*result
= 0 ;
23997 PyObject
* obj0
= 0 ;
23998 PyObject
* obj1
= 0 ;
23999 PyObject
* obj2
= 0 ;
24000 PyObject
* obj3
= 0 ;
24001 char * kwnames
[] = {
24002 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24007 if (!SWIG_IsOK(res1
)) {
24008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= result
;
24027 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
= 0;
24029 wxDC
*arg1
= (wxDC
*) 0 ;
24030 PyObject
*arg2
= (PyObject
*) 0 ;
24031 PyObject
*arg3
= (PyObject
*) 0 ;
24032 PyObject
*arg4
= (PyObject
*) 0 ;
24033 PyObject
*result
= 0 ;
24036 PyObject
* obj0
= 0 ;
24037 PyObject
* obj1
= 0 ;
24038 PyObject
* obj2
= 0 ;
24039 PyObject
* obj3
= 0 ;
24040 char * kwnames
[] = {
24041 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24046 if (!SWIG_IsOK(res1
)) {
24047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= result
;
24066 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
= 0;
24068 wxDC
*arg1
= (wxDC
*) 0 ;
24069 PyObject
*arg2
= (PyObject
*) 0 ;
24070 PyObject
*arg3
= (PyObject
*) 0 ;
24071 PyObject
*arg4
= (PyObject
*) 0 ;
24072 PyObject
*result
= 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 PyObject
* obj2
= 0 ;
24078 PyObject
* obj3
= 0 ;
24079 char * kwnames
[] = {
24080 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24085 if (!SWIG_IsOK(res1
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= result
;
24105 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
= 0;
24107 wxDC
*arg1
= (wxDC
*) 0 ;
24108 PyObject
*arg2
= (PyObject
*) 0 ;
24109 PyObject
*arg3
= (PyObject
*) 0 ;
24110 PyObject
*arg4
= (PyObject
*) 0 ;
24111 PyObject
*result
= 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 PyObject
* obj3
= 0 ;
24118 char * kwnames
[] = {
24119 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24124 if (!SWIG_IsOK(res1
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= result
;
24144 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24146 wxDC
*arg1
= (wxDC
*) 0 ;
24147 PyObject
*arg2
= (PyObject
*) 0 ;
24148 PyObject
*arg3
= (PyObject
*) 0 ;
24149 PyObject
*arg4
= (PyObject
*) 0 ;
24150 PyObject
*arg5
= (PyObject
*) 0 ;
24151 PyObject
*result
= 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 PyObject
* obj3
= 0 ;
24158 PyObject
* obj4
= 0 ;
24159 char * kwnames
[] = {
24160 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24165 if (!SWIG_IsOK(res1
)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= result
;
24186 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24189 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24190 return SWIG_Py_Void();
24193 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
= 0;
24196 wxColour
*arg2
= 0 ;
24197 wxDCTextColourChanger
*result
= 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 char * kwnames
[] = {
24204 (char *) "dc",(char *) "col", NULL
24207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24208 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24209 if (!SWIG_IsOK(res1
)) {
24210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24233 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24234 PyObject
*resultobj
= 0;
24235 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24238 PyObject
*swig_obj
[1] ;
24240 if (!args
) SWIG_fail
;
24241 swig_obj
[0] = args
;
24242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24243 if (!SWIG_IsOK(res1
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24246 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_Py_Void();
24261 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24264 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24265 return SWIG_Py_Void();
24268 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24269 return SWIG_Python_InitShadowInstance(args
);
24272 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
= 0;
24276 wxDCPenChanger
*result
= 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char * kwnames
[] = {
24284 (char *) "dc",(char *) "pen", NULL
24287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24288 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24289 if (!SWIG_IsOK(res1
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24297 if (!SWIG_IsOK(res2
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24303 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24317 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 PyObject
*resultobj
= 0;
24319 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24322 PyObject
*swig_obj
[1] ;
24324 if (!args
) SWIG_fail
;
24325 swig_obj
[0] = args
;
24326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24327 if (!SWIG_IsOK(res1
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24330 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= SWIG_Py_Void();
24345 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24348 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24349 return SWIG_Py_Void();
24352 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24353 return SWIG_Python_InitShadowInstance(args
);
24356 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24359 wxBrush
*arg2
= 0 ;
24360 wxDCBrushChanger
*result
= 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char * kwnames
[] = {
24368 (char *) "dc",(char *) "brush", NULL
24371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24372 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24373 if (!SWIG_IsOK(res1
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24381 if (!SWIG_IsOK(res2
)) {
24382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24387 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24401 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24402 PyObject
*resultobj
= 0;
24403 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24406 PyObject
*swig_obj
[1] ;
24408 if (!args
) SWIG_fail
;
24409 swig_obj
[0] = args
;
24410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24411 if (!SWIG_IsOK(res1
)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24414 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= SWIG_Py_Void();
24429 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24432 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24433 return SWIG_Py_Void();
24436 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24437 return SWIG_Python_InitShadowInstance(args
);
24440 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24441 PyObject
*resultobj
= 0;
24443 wxRegion
*arg2
= 0 ;
24444 wxDCClipper
*result
= 0 ;
24450 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24459 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24460 if (!SWIG_IsOK(res2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24466 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24480 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24481 PyObject
*resultobj
= 0;
24484 wxDCClipper
*result
= 0 ;
24489 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24500 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24515 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24516 PyObject
*resultobj
= 0;
24522 wxDCClipper
*result
= 0 ;
24534 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24543 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24544 if (!SWIG_IsOK(ecode2
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24547 arg2
= static_cast< int >(val2
);
24548 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24549 if (!SWIG_IsOK(ecode3
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24552 arg3
= static_cast< int >(val3
);
24553 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24554 if (!SWIG_IsOK(ecode4
)) {
24555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24557 arg4
= static_cast< int >(val4
);
24558 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24559 if (!SWIG_IsOK(ecode5
)) {
24560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24562 arg5
= static_cast< int >(val5
);
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24576 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24580 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24585 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24586 _v
= SWIG_CheckState(res
);
24588 if (!_v
) goto check_1
;
24589 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24594 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24597 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24601 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24606 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24607 PyObject
*resultobj
= 0;
24608 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24611 PyObject
*swig_obj
[1] ;
24613 if (!args
) SWIG_fail
;
24614 swig_obj
[0] = args
;
24615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24616 if (!SWIG_IsOK(res1
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24619 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_Py_Void();
24634 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24637 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24638 return SWIG_Py_Void();
24641 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 return SWIG_Python_InitShadowInstance(args
);
24645 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24646 PyObject
*resultobj
= 0;
24647 wxScreenDC
*result
= 0 ;
24649 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24651 if (!wxPyCheckForApp()) SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (wxScreenDC
*)new wxScreenDC();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24664 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
= 0;
24666 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24667 wxWindow
*arg2
= (wxWindow
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char * kwnames
[] = {
24676 (char *) "self",(char *) "window", NULL
24679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24681 if (!SWIG_IsOK(res1
)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24684 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24686 if (!SWIG_IsOK(res2
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24689 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24705 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
= 0;
24707 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24708 wxRect
*arg2
= (wxRect
*) NULL
;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 char * kwnames
[] = {
24717 (char *) "self",(char *) "rect", NULL
24720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24725 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24728 if (!SWIG_IsOK(res2
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24731 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24748 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 PyObject
*resultobj
= 0;
24750 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24754 PyObject
*swig_obj
[1] ;
24756 if (!args
) SWIG_fail
;
24757 swig_obj
[0] = args
;
24758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24762 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)(arg1
)->EndDrawingOnTop();
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24778 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24781 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24782 return SWIG_Py_Void();
24785 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24786 return SWIG_Python_InitShadowInstance(args
);
24789 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
= 0;
24791 wxWindow
*arg1
= (wxWindow
*) 0 ;
24792 wxWindowDC
*result
= 0 ;
24795 PyObject
* obj0
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "win", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24807 if (!wxPyCheckForApp()) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24820 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24823 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24824 return SWIG_Py_Void();
24827 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24828 return SWIG_Python_InitShadowInstance(args
);
24831 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
= 0;
24833 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 wxClientDC
*result
= 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char * kwnames
[] = {
24839 (char *) "win", NULL
24842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24844 if (!SWIG_IsOK(res1
)) {
24845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24849 if (!wxPyCheckForApp()) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (wxClientDC
*)new wxClientDC(arg1
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24862 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24865 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24866 return SWIG_Py_Void();
24869 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24870 return SWIG_Python_InitShadowInstance(args
);
24873 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
= 0;
24875 wxWindow
*arg1
= (wxWindow
*) 0 ;
24876 wxPaintDC
*result
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 char * kwnames
[] = {
24881 (char *) "win", NULL
24884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24886 if (!SWIG_IsOK(res1
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24891 if (!wxPyCheckForApp()) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24904 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24908 return SWIG_Py_Void();
24911 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24912 return SWIG_Python_InitShadowInstance(args
);
24915 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24916 PyObject
*resultobj
= 0;
24917 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24918 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24919 wxMemoryDC
*result
= 0 ;
24922 PyObject
* obj0
= 0 ;
24923 char * kwnames
[] = {
24924 (char *) "bitmap", NULL
24927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24929 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24930 if (!SWIG_IsOK(res1
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24936 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24939 if (!wxPyCheckForApp()) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24952 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
= 0;
24954 wxDC
*arg1
= (wxDC
*) 0 ;
24955 wxMemoryDC
*result
= 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char * kwnames
[] = {
24960 (char *) "oldDC", NULL
24963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24965 if (!SWIG_IsOK(res1
)) {
24966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24970 if (!wxPyCheckForApp()) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24983 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
= 0;
24985 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24986 wxBitmap
*arg2
= 0 ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 char * kwnames
[] = {
24994 (char *) "self",(char *) "bitmap", NULL
24997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24999 if (!SWIG_IsOK(res1
)) {
25000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25002 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25004 if (!SWIG_IsOK(res2
)) {
25005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25010 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->SelectObject(*arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_Py_Void();
25024 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25027 wxBitmap
*arg2
= 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "bmp", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25043 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25045 if (!SWIG_IsOK(res2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25051 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_Py_Void();
25065 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25068 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25069 return SWIG_Py_Void();
25072 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25073 return SWIG_Python_InitShadowInstance(args
);
25076 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25077 PyObject
*resultobj
= 0;
25078 wxDC
*arg1
= (wxDC
*) 0 ;
25079 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25080 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25081 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25082 wxBufferedDC
*result
= 0 ;
25090 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25092 if (!SWIG_IsOK(res1
)) {
25093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25097 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25098 if (!SWIG_IsOK(res2
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25104 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25107 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25108 if (!SWIG_IsOK(ecode3
)) {
25109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25111 arg3
= static_cast< int >(val3
);
25114 if (!wxPyCheckForApp()) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25127 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25128 PyObject
*resultobj
= 0;
25129 wxDC
*arg1
= (wxDC
*) 0 ;
25131 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25132 wxBufferedDC
*result
= 0 ;
25139 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25141 if (!SWIG_IsOK(res1
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25147 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25150 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25151 if (!SWIG_IsOK(ecode3
)) {
25152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25154 arg3
= static_cast< int >(val3
);
25157 if (!wxPyCheckForApp()) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25170 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25174 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25176 if ((argc
>= 1) && (argc
<= 3)) {
25181 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25182 _v
= SWIG_CheckState(res
);
25184 if (!_v
) goto check_1
;
25186 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25190 if ((argc
>= 2) && (argc
<= 3)) {
25191 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25195 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25200 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25201 PyObject
*resultobj
= 0;
25202 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25213 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_Py_Void();
25228 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25229 PyObject
*resultobj
= 0;
25230 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25241 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_Py_Void();
25255 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
= 0;
25257 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 char * kwnames
[] = {
25266 (char *) "self",(char *) "style", NULL
25269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25271 if (!SWIG_IsOK(res1
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25274 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25276 if (!SWIG_IsOK(ecode2
)) {
25277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25279 arg2
= static_cast< int >(val2
);
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->SetStyle(arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_Py_Void();
25293 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25294 PyObject
*resultobj
= 0;
25295 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25299 PyObject
*swig_obj
[1] ;
25301 if (!args
) SWIG_fail
;
25302 swig_obj
[0] = args
;
25303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25304 if (!SWIG_IsOK(res1
)) {
25305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25307 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= SWIG_From_int(static_cast< int >(result
));
25321 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25324 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25325 return SWIG_Py_Void();
25328 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25329 return SWIG_Python_InitShadowInstance(args
);
25332 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
= 0;
25334 wxWindow
*arg1
= (wxWindow
*) 0 ;
25335 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25336 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25337 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25338 wxBufferedPaintDC
*result
= 0 ;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 PyObject
* obj2
= 0 ;
25348 char * kwnames
[] = {
25349 (char *) "window",(char *) "buffer",(char *) "style", NULL
25352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25360 if (!SWIG_IsOK(res2
)) {
25361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25366 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25370 if (!SWIG_IsOK(ecode3
)) {
25371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25373 arg3
= static_cast< int >(val3
);
25376 if (!wxPyCheckForApp()) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25389 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25392 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25393 return SWIG_Py_Void();
25396 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 return SWIG_Python_InitShadowInstance(args
);
25400 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
= 0;
25402 wxWindow
*arg1
= (wxWindow
*) 0 ;
25403 wxAutoBufferedPaintDC
*result
= 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char * kwnames
[] = {
25408 (char *) "win", NULL
25411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25430 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25433 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25434 return SWIG_Py_Void();
25437 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25438 return SWIG_Python_InitShadowInstance(args
);
25441 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
= 0;
25443 wxWindow
*arg1
= (wxWindow
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 char * kwnames
[] = {
25449 (char *) "window", NULL
25452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25454 if (!SWIG_IsOK(res1
)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25457 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25473 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
= 0;
25477 wxMirrorDC
*result
= 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char * kwnames
[] = {
25485 (char *) "dc",(char *) "mirror", NULL
25488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25489 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25490 if (!SWIG_IsOK(res1
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25497 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25498 if (!SWIG_IsOK(ecode2
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25501 arg2
= static_cast< bool >(val2
);
25503 if (!wxPyCheckForApp()) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25516 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25519 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25520 return SWIG_Py_Void();
25523 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25524 return SWIG_Python_InitShadowInstance(args
);
25527 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= 0;
25529 wxPrintData
*arg1
= 0 ;
25530 wxPostScriptDC
*result
= 0 ;
25533 PyObject
* obj0
= 0 ;
25534 char * kwnames
[] = {
25535 (char *) "printData", NULL
25538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25539 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25540 if (!SWIG_IsOK(res1
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25546 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25548 if (!wxPyCheckForApp()) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25561 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25562 PyObject
*resultobj
= 0;
25563 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25564 wxPrintData
*result
= 0 ;
25567 PyObject
*swig_obj
[1] ;
25569 if (!args
) SWIG_fail
;
25570 swig_obj
[0] = args
;
25571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25575 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25580 result
= (wxPrintData
*) &_result_ref
;
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25592 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
= 0;
25594 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25595 wxPrintData
*arg2
= 0 ;
25600 PyObject
* obj0
= 0 ;
25601 PyObject
* obj1
= 0 ;
25602 char * kwnames
[] = {
25603 (char *) "self",(char *) "data", NULL
25606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25608 if (!SWIG_IsOK(res1
)) {
25609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25611 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25613 if (!SWIG_IsOK(res2
)) {
25614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25619 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_Py_Void();
25633 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25638 PyObject
* obj0
= 0 ;
25639 char * kwnames
[] = {
25640 (char *) "ppi", NULL
25643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25644 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25645 if (!SWIG_IsOK(ecode1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25648 arg1
= static_cast< int >(val1
);
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 wxPostScriptDC::SetResolution(arg1
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_Py_Void();
25662 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25663 PyObject
*resultobj
= 0;
25666 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (int)wxPostScriptDC::GetResolution();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= SWIG_From_int(static_cast< int >(result
));
25680 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25683 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25684 return SWIG_Py_Void();
25687 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25688 return SWIG_Python_InitShadowInstance(args
);
25691 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
= 0;
25693 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25694 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25695 wxMetaFile
*result
= 0 ;
25696 bool temp1
= false ;
25697 PyObject
* obj0
= 0 ;
25698 char * kwnames
[] = {
25699 (char *) "filename", NULL
25702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25705 arg1
= wxString_in_helper(obj0
);
25706 if (arg1
== NULL
) SWIG_fail
;
25711 if (!wxPyCheckForApp()) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25732 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25733 PyObject
*resultobj
= 0;
25734 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25737 PyObject
*swig_obj
[1] ;
25739 if (!args
) SWIG_fail
;
25740 swig_obj
[0] = args
;
25741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25745 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_Py_Void();
25760 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25761 PyObject
*resultobj
= 0;
25762 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25766 PyObject
*swig_obj
[1] ;
25768 if (!args
) SWIG_fail
;
25769 swig_obj
[0] = args
;
25770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25774 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (bool)(arg1
)->IsOk();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25790 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
= 0;
25792 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25793 int arg2
= (int) 0 ;
25794 int arg3
= (int) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 PyObject
* obj2
= 0 ;
25805 char * kwnames
[] = {
25806 (char *) "self",(char *) "width",(char *) "height", NULL
25809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25811 if (!SWIG_IsOK(res1
)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25814 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25817 if (!SWIG_IsOK(ecode2
)) {
25818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25820 arg2
= static_cast< int >(val2
);
25823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25824 if (!SWIG_IsOK(ecode3
)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25827 arg3
= static_cast< int >(val3
);
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25844 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25845 PyObject
*resultobj
= 0;
25846 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25850 PyObject
*swig_obj
[1] ;
25852 if (!args
) SWIG_fail
;
25853 swig_obj
[0] = args
;
25854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25855 if (!SWIG_IsOK(res1
)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25858 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 result
= (arg1
)->GetSize();
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25872 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25873 PyObject
*resultobj
= 0;
25874 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25878 PyObject
*swig_obj
[1] ;
25880 if (!args
) SWIG_fail
;
25881 swig_obj
[0] = args
;
25882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25883 if (!SWIG_IsOK(res1
)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25886 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (int)(arg1
)->GetWidth();
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_From_int(static_cast< int >(result
));
25900 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25906 PyObject
*swig_obj
[1] ;
25908 if (!args
) SWIG_fail
;
25909 swig_obj
[0] = args
;
25910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25914 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (int)(arg1
)->GetHeight();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_From_int(static_cast< int >(result
));
25928 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25929 PyObject
*resultobj
= 0;
25930 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25931 wxString
*result
= 0 ;
25934 PyObject
*swig_obj
[1] ;
25936 if (!args
) SWIG_fail
;
25937 swig_obj
[0] = args
;
25938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25942 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25947 result
= (wxString
*) &_result_ref
;
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25965 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25968 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25969 return SWIG_Py_Void();
25972 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25973 return SWIG_Python_InitShadowInstance(args
);
25976 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
= 0;
25978 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25979 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25980 int arg2
= (int) 0 ;
25981 int arg3
= (int) 0 ;
25982 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25983 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25984 wxMetaFileDC
*result
= 0 ;
25985 bool temp1
= false ;
25990 bool temp4
= false ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 PyObject
* obj2
= 0 ;
25994 PyObject
* obj3
= 0 ;
25995 char * kwnames
[] = {
25996 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26002 arg1
= wxString_in_helper(obj0
);
26003 if (arg1
== NULL
) SWIG_fail
;
26008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26009 if (!SWIG_IsOK(ecode2
)) {
26010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26012 arg2
= static_cast< int >(val2
);
26015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26016 if (!SWIG_IsOK(ecode3
)) {
26017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26019 arg3
= static_cast< int >(val3
);
26023 arg4
= wxString_in_helper(obj3
);
26024 if (arg4
== NULL
) SWIG_fail
;
26029 if (!wxPyCheckForApp()) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26058 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26059 PyObject
*resultobj
= 0;
26060 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26061 wxMetaFile
*result
= 0 ;
26064 PyObject
*swig_obj
[1] ;
26066 if (!args
) SWIG_fail
;
26067 swig_obj
[0] = args
;
26068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26069 if (!SWIG_IsOK(res1
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26072 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= (wxMetaFile
*)(arg1
)->Close();
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26086 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26089 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26090 return SWIG_Py_Void();
26093 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26094 return SWIG_Python_InitShadowInstance(args
);
26097 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
= 0;
26099 wxPrintData
*arg1
= 0 ;
26100 wxPrinterDC
*result
= 0 ;
26103 PyObject
* obj0
= 0 ;
26104 char * kwnames
[] = {
26105 (char *) "printData", NULL
26108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26109 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26110 if (!SWIG_IsOK(res1
)) {
26111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26116 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26118 if (!wxPyCheckForApp()) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26131 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26134 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26135 return SWIG_Py_Void();
26138 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26139 return SWIG_Python_InitShadowInstance(args
);
26142 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
= 0;
26144 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26145 wxGraphicsObject
*result
= 0 ;
26148 PyObject
* obj0
= 0 ;
26149 char * kwnames
[] = {
26150 (char *) "renderer", NULL
26153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26159 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26162 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26172 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26173 PyObject
*resultobj
= 0;
26174 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26177 PyObject
*swig_obj
[1] ;
26179 if (!args
) SWIG_fail
;
26180 swig_obj
[0] = args
;
26181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26185 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26199 PyObject
*resultobj
= 0;
26200 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26204 PyObject
*swig_obj
[1] ;
26206 if (!args
) SWIG_fail
;
26207 swig_obj
[0] = args
;
26208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26209 if (!SWIG_IsOK(res1
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26212 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26214 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26215 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26226 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26227 PyObject
*resultobj
= 0;
26228 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26229 wxGraphicsRenderer
*result
= 0 ;
26232 PyObject
*swig_obj
[1] ;
26234 if (!args
) SWIG_fail
;
26235 swig_obj
[0] = args
;
26236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26240 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26242 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26252 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26255 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26256 return SWIG_Py_Void();
26259 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26260 return SWIG_Python_InitShadowInstance(args
);
26263 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26264 PyObject
*resultobj
= 0;
26265 wxGraphicsPen
*result
= 0 ;
26267 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26269 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26279 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26280 PyObject
*resultobj
= 0;
26281 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26284 PyObject
*swig_obj
[1] ;
26286 if (!args
) SWIG_fail
;
26287 swig_obj
[0] = args
;
26288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26289 if (!SWIG_IsOK(res1
)) {
26290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26292 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26308 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26309 return SWIG_Py_Void();
26312 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26313 return SWIG_Python_InitShadowInstance(args
);
26316 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 PyObject
*resultobj
= 0;
26318 wxGraphicsBrush
*result
= 0 ;
26320 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26322 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26332 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 PyObject
*resultobj
= 0;
26334 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26337 PyObject
*swig_obj
[1] ;
26339 if (!args
) SWIG_fail
;
26340 swig_obj
[0] = args
;
26341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26345 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_Py_Void();
26358 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26361 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26362 return SWIG_Py_Void();
26365 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26366 return SWIG_Python_InitShadowInstance(args
);
26369 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26370 PyObject
*resultobj
= 0;
26371 wxGraphicsFont
*result
= 0 ;
26373 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26375 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26385 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26386 PyObject
*resultobj
= 0;
26387 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26390 PyObject
*swig_obj
[1] ;
26392 if (!args
) SWIG_fail
;
26393 swig_obj
[0] = args
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26398 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_Py_Void();
26411 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26414 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26415 return SWIG_Py_Void();
26418 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26419 return SWIG_Python_InitShadowInstance(args
);
26422 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26423 PyObject
*resultobj
= 0;
26424 wxGraphicsMatrix
*result
= 0 ;
26426 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26428 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26438 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26439 PyObject
*resultobj
= 0;
26440 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26443 PyObject
*swig_obj
[1] ;
26445 if (!args
) SWIG_fail
;
26446 swig_obj
[0] = args
;
26447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26448 if (!SWIG_IsOK(res1
)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26451 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_Py_Void();
26464 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
= 0;
26466 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26467 wxGraphicsMatrix
*arg2
= 0 ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char * kwnames
[] = {
26475 (char *) "self",(char *) "t", NULL
26478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26483 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26485 if (!SWIG_IsOK(res2
)) {
26486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26491 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26493 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_Py_Void();
26503 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
= 0;
26505 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26506 wxDouble arg2
= (wxDouble
) 1.0 ;
26507 wxDouble arg3
= (wxDouble
) 0.0 ;
26508 wxDouble arg4
= (wxDouble
) 0.0 ;
26509 wxDouble arg5
= (wxDouble
) 1.0 ;
26510 wxDouble arg6
= (wxDouble
) 0.0 ;
26511 wxDouble arg7
= (wxDouble
) 0.0 ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 PyObject
* obj2
= 0 ;
26529 PyObject
* obj3
= 0 ;
26530 PyObject
* obj4
= 0 ;
26531 PyObject
* obj5
= 0 ;
26532 PyObject
* obj6
= 0 ;
26533 char * kwnames
[] = {
26534 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26542 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26544 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26545 if (!SWIG_IsOK(ecode2
)) {
26546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26548 arg2
= static_cast< wxDouble
>(val2
);
26551 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26552 if (!SWIG_IsOK(ecode3
)) {
26553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26555 arg3
= static_cast< wxDouble
>(val3
);
26558 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26559 if (!SWIG_IsOK(ecode4
)) {
26560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26562 arg4
= static_cast< wxDouble
>(val4
);
26565 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26566 if (!SWIG_IsOK(ecode5
)) {
26567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26569 arg5
= static_cast< wxDouble
>(val5
);
26572 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26573 if (!SWIG_IsOK(ecode6
)) {
26574 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26576 arg6
= static_cast< wxDouble
>(val6
);
26579 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26580 if (!SWIG_IsOK(ecode7
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26583 arg7
= static_cast< wxDouble
>(val7
);
26586 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_Py_Void();
26596 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26597 PyObject
*resultobj
= 0;
26598 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26599 wxDouble
*arg2
= (wxDouble
*) 0 ;
26600 wxDouble
*arg3
= (wxDouble
*) 0 ;
26601 wxDouble
*arg4
= (wxDouble
*) 0 ;
26602 wxDouble
*arg5
= (wxDouble
*) 0 ;
26603 wxDouble
*arg6
= (wxDouble
*) 0 ;
26604 wxDouble
*arg7
= (wxDouble
*) 0 ;
26608 int res2
= SWIG_TMPOBJ
;
26610 int res3
= SWIG_TMPOBJ
;
26612 int res4
= SWIG_TMPOBJ
;
26614 int res5
= SWIG_TMPOBJ
;
26616 int res6
= SWIG_TMPOBJ
;
26618 int res7
= SWIG_TMPOBJ
;
26619 PyObject
*swig_obj
[1] ;
26627 if (!args
) SWIG_fail
;
26628 swig_obj
[0] = args
;
26629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26630 if (!SWIG_IsOK(res1
)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26633 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26635 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_Py_Void();
26639 if (SWIG_IsTmpObj(res2
)) {
26640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26645 if (SWIG_IsTmpObj(res3
)) {
26646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26651 if (SWIG_IsTmpObj(res4
)) {
26652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26654 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26657 if (SWIG_IsTmpObj(res5
)) {
26658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26660 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26663 if (SWIG_IsTmpObj(res6
)) {
26664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26666 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26669 if (SWIG_IsTmpObj(res7
)) {
26670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26672 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26681 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26682 PyObject
*resultobj
= 0;
26683 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26686 PyObject
*swig_obj
[1] ;
26688 if (!args
) SWIG_fail
;
26689 swig_obj
[0] = args
;
26690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26691 if (!SWIG_IsOK(res1
)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26694 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_Py_Void();
26706 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
= 0;
26708 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26709 wxGraphicsMatrix
*arg2
= 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char * kwnames
[] = {
26718 (char *) "self",(char *) "t", NULL
26721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26726 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26728 if (!SWIG_IsOK(res2
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26734 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26736 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26748 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26749 PyObject
*resultobj
= 0;
26750 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26754 PyObject
*swig_obj
[1] ;
26756 if (!args
) SWIG_fail
;
26757 swig_obj
[0] = args
;
26758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26759 if (!SWIG_IsOK(res1
)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26762 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26764 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26776 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
= 0;
26778 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 PyObject
* obj2
= 0 ;
26790 char * kwnames
[] = {
26791 (char *) "self",(char *) "dx",(char *) "dy", NULL
26794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26799 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26800 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26801 if (!SWIG_IsOK(ecode2
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26804 arg2
= static_cast< wxDouble
>(val2
);
26805 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26806 if (!SWIG_IsOK(ecode3
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26809 arg3
= static_cast< wxDouble
>(val3
);
26811 (arg1
)->Translate(arg2
,arg3
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= SWIG_Py_Void();
26821 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
= 0;
26823 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 PyObject
* obj2
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26844 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26845 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26846 if (!SWIG_IsOK(ecode2
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26849 arg2
= static_cast< wxDouble
>(val2
);
26850 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26851 if (!SWIG_IsOK(ecode3
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26854 arg3
= static_cast< wxDouble
>(val3
);
26856 (arg1
)->Scale(arg2
,arg3
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_Py_Void();
26866 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
= 0;
26868 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char * kwnames
[] = {
26877 (char *) "self",(char *) "angle", NULL
26880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26882 if (!SWIG_IsOK(res1
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26885 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26886 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26887 if (!SWIG_IsOK(ecode2
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26890 arg2
= static_cast< wxDouble
>(val2
);
26892 (arg1
)->Rotate(arg2
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= 0;
26904 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26905 wxDouble
*arg2
= (wxDouble
*) 0 ;
26906 wxDouble
*arg3
= (wxDouble
*) 0 ;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 PyObject
* obj2
= 0 ;
26916 char * kwnames
[] = {
26917 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26922 if (!SWIG_IsOK(res1
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26925 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26926 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26928 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26929 if (!SWIG_IsOK(ecode
)) {
26930 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26932 temp2
= static_cast< wxDouble
>(val
);
26934 res2
= SWIG_AddTmpMask(ecode
);
26936 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26938 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26939 if (!SWIG_IsOK(ecode
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26942 temp3
= static_cast< wxDouble
>(val
);
26944 res3
= SWIG_AddTmpMask(ecode
);
26947 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= SWIG_Py_Void();
26951 if (SWIG_IsTmpObj(res2
)) {
26952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26954 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26957 if (SWIG_IsTmpObj(res3
)) {
26958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26960 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26969 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
= 0;
26971 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26972 wxDouble
*arg2
= (wxDouble
*) 0 ;
26973 wxDouble
*arg3
= (wxDouble
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 PyObject
* obj2
= 0 ;
26983 char * kwnames
[] = {
26984 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26992 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26993 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26995 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26996 if (!SWIG_IsOK(ecode
)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26999 temp2
= static_cast< wxDouble
>(val
);
27001 res2
= SWIG_AddTmpMask(ecode
);
27003 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27005 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27006 if (!SWIG_IsOK(ecode
)) {
27007 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27009 temp3
= static_cast< wxDouble
>(val
);
27011 res3
= SWIG_AddTmpMask(ecode
);
27014 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_Py_Void();
27018 if (SWIG_IsTmpObj(res2
)) {
27019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27021 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27024 if (SWIG_IsTmpObj(res3
)) {
27025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27027 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27036 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27037 PyObject
*resultobj
= 0;
27038 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27042 PyObject
*swig_obj
[1] ;
27044 if (!args
) SWIG_fail
;
27045 swig_obj
[0] = args
;
27046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27047 if (!SWIG_IsOK(res1
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27050 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27052 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27062 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27065 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27066 return SWIG_Py_Void();
27069 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27070 return SWIG_Python_InitShadowInstance(args
);
27073 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27074 PyObject
*resultobj
= 0;
27075 wxGraphicsPath
*result
= 0 ;
27077 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
27079 if (!wxPyCheckForApp()) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (wxGraphicsPath
*)new wxGraphicsPath();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27092 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27093 PyObject
*resultobj
= 0;
27094 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27097 PyObject
*swig_obj
[1] ;
27099 if (!args
) SWIG_fail
;
27100 swig_obj
[0] = args
;
27101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27105 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= SWIG_Py_Void();
27118 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27119 PyObject
*resultobj
= 0;
27120 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27130 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27132 if (!SWIG_IsOK(res1
)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27135 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27136 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27137 if (!SWIG_IsOK(ecode2
)) {
27138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27140 arg2
= static_cast< wxDouble
>(val2
);
27141 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27142 if (!SWIG_IsOK(ecode3
)) {
27143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27145 arg3
= static_cast< wxDouble
>(val3
);
27147 (arg1
)->MoveToPoint(arg2
,arg3
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_Py_Void();
27157 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27158 PyObject
*resultobj
= 0;
27159 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27160 wxPoint2D
*arg2
= 0 ;
27165 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27170 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27173 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27176 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27190 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27193 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27196 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27200 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27205 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27206 PyObject
*resultobj
= 0;
27207 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27217 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27219 if (!SWIG_IsOK(res1
)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27222 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27223 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27224 if (!SWIG_IsOK(ecode2
)) {
27225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27227 arg2
= static_cast< wxDouble
>(val2
);
27228 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27229 if (!SWIG_IsOK(ecode3
)) {
27230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27232 arg3
= static_cast< wxDouble
>(val3
);
27234 (arg1
)->AddLineToPoint(arg2
,arg3
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_Py_Void();
27244 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27245 PyObject
*resultobj
= 0;
27246 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27247 wxPoint2D
*arg2
= 0 ;
27252 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27257 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27260 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27263 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= SWIG_Py_Void();
27273 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27277 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27280 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27283 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27287 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27292 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27293 PyObject
*resultobj
= 0;
27294 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27316 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27318 if (!SWIG_IsOK(res1
)) {
27319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27321 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27322 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27323 if (!SWIG_IsOK(ecode2
)) {
27324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27326 arg2
= static_cast< wxDouble
>(val2
);
27327 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27328 if (!SWIG_IsOK(ecode3
)) {
27329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27331 arg3
= static_cast< wxDouble
>(val3
);
27332 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27333 if (!SWIG_IsOK(ecode4
)) {
27334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27336 arg4
= static_cast< wxDouble
>(val4
);
27337 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27338 if (!SWIG_IsOK(ecode5
)) {
27339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27341 arg5
= static_cast< wxDouble
>(val5
);
27342 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27343 if (!SWIG_IsOK(ecode6
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27346 arg6
= static_cast< wxDouble
>(val6
);
27347 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27348 if (!SWIG_IsOK(ecode7
)) {
27349 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27351 arg7
= static_cast< wxDouble
>(val7
);
27353 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= SWIG_Py_Void();
27363 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27364 PyObject
*resultobj
= 0;
27365 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27366 wxPoint2D
*arg2
= 0 ;
27367 wxPoint2D
*arg3
= 0 ;
27368 wxPoint2D
*arg4
= 0 ;
27375 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27377 if (!SWIG_IsOK(res1
)) {
27378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27380 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27383 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27387 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27391 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27394 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_Py_Void();
27404 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27408 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27411 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27414 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27418 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27423 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
= 0;
27425 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27426 wxGraphicsPath
*arg2
= 0 ;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 char * kwnames
[] = {
27434 (char *) "self",(char *) "path", NULL
27437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27439 if (!SWIG_IsOK(res1
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27442 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27444 if (!SWIG_IsOK(res2
)) {
27445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27450 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27452 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= SWIG_Py_Void();
27462 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27463 PyObject
*resultobj
= 0;
27464 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27467 PyObject
*swig_obj
[1] ;
27469 if (!args
) SWIG_fail
;
27470 swig_obj
[0] = args
;
27471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27472 if (!SWIG_IsOK(res1
)) {
27473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27475 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27477 (arg1
)->CloseSubpath();
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_Py_Void();
27487 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 PyObject
*resultobj
= 0;
27489 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27493 PyObject
*swig_obj
[1] ;
27495 if (!args
) SWIG_fail
;
27496 swig_obj
[0] = args
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27501 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27503 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27513 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27514 PyObject
*resultobj
= 0;
27515 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27521 bool arg7
= (bool) true ;
27537 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27539 if (!SWIG_IsOK(res1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27542 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27543 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27544 if (!SWIG_IsOK(ecode2
)) {
27545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27547 arg2
= static_cast< wxDouble
>(val2
);
27548 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27549 if (!SWIG_IsOK(ecode3
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27552 arg3
= static_cast< wxDouble
>(val3
);
27553 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27554 if (!SWIG_IsOK(ecode4
)) {
27555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27557 arg4
= static_cast< wxDouble
>(val4
);
27558 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27559 if (!SWIG_IsOK(ecode5
)) {
27560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27562 arg5
= static_cast< wxDouble
>(val5
);
27563 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27564 if (!SWIG_IsOK(ecode6
)) {
27565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27567 arg6
= static_cast< wxDouble
>(val6
);
27569 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27570 if (!SWIG_IsOK(ecode7
)) {
27571 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27573 arg7
= static_cast< bool >(val7
);
27576 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_Py_Void();
27586 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27587 PyObject
*resultobj
= 0;
27588 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27589 wxPoint2D
*arg2
= 0 ;
27593 bool arg6
= (bool) true ;
27606 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27608 if (!SWIG_IsOK(res1
)) {
27609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27611 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27614 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27616 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27617 if (!SWIG_IsOK(ecode3
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27620 arg3
= static_cast< wxDouble
>(val3
);
27621 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27622 if (!SWIG_IsOK(ecode4
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27625 arg4
= static_cast< wxDouble
>(val4
);
27626 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27627 if (!SWIG_IsOK(ecode5
)) {
27628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27630 arg5
= static_cast< wxDouble
>(val5
);
27632 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27633 if (!SWIG_IsOK(ecode6
)) {
27634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27636 arg6
= static_cast< bool >(val6
);
27639 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= SWIG_Py_Void();
27649 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27653 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27655 if ((argc
>= 5) && (argc
<= 6)) {
27659 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27662 if (!_v
) goto check_1
;
27666 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27667 _v
= SWIG_CheckState(res
);
27670 if (!_v
) goto check_1
;
27672 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27676 if ((argc
>= 6) && (argc
<= 7)) {
27677 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27686 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
= 0;
27688 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 PyObject
* obj2
= 0 ;
27706 PyObject
* obj3
= 0 ;
27707 PyObject
* obj4
= 0 ;
27708 char * kwnames
[] = {
27709 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27717 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27718 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27719 if (!SWIG_IsOK(ecode2
)) {
27720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27722 arg2
= static_cast< wxDouble
>(val2
);
27723 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27724 if (!SWIG_IsOK(ecode3
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27727 arg3
= static_cast< wxDouble
>(val3
);
27728 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27729 if (!SWIG_IsOK(ecode4
)) {
27730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27732 arg4
= static_cast< wxDouble
>(val4
);
27733 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27734 if (!SWIG_IsOK(ecode5
)) {
27735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27737 arg5
= static_cast< wxDouble
>(val5
);
27739 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_Py_Void();
27749 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
= 0;
27751 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 PyObject
* obj3
= 0 ;
27770 PyObject
* obj4
= 0 ;
27771 char * kwnames
[] = {
27772 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27780 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27781 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27782 if (!SWIG_IsOK(ecode2
)) {
27783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27785 arg2
= static_cast< wxDouble
>(val2
);
27786 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27787 if (!SWIG_IsOK(ecode3
)) {
27788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27790 arg3
= static_cast< wxDouble
>(val3
);
27791 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27792 if (!SWIG_IsOK(ecode4
)) {
27793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27795 arg4
= static_cast< wxDouble
>(val4
);
27796 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27797 if (!SWIG_IsOK(ecode5
)) {
27798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27800 arg5
= static_cast< wxDouble
>(val5
);
27802 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_Py_Void();
27812 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
= 0;
27814 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 PyObject
* obj2
= 0 ;
27829 PyObject
* obj3
= 0 ;
27830 char * kwnames
[] = {
27831 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27836 if (!SWIG_IsOK(res1
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27839 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27840 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27841 if (!SWIG_IsOK(ecode2
)) {
27842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27844 arg2
= static_cast< wxDouble
>(val2
);
27845 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27846 if (!SWIG_IsOK(ecode3
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27849 arg3
= static_cast< wxDouble
>(val3
);
27850 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27851 if (!SWIG_IsOK(ecode4
)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27854 arg4
= static_cast< wxDouble
>(val4
);
27856 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= SWIG_Py_Void();
27866 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
= 0;
27868 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 PyObject
* obj1
= 0 ;
27888 PyObject
* obj2
= 0 ;
27889 PyObject
* obj3
= 0 ;
27890 PyObject
* obj4
= 0 ;
27891 PyObject
* obj5
= 0 ;
27892 char * kwnames
[] = {
27893 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27898 if (!SWIG_IsOK(res1
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27901 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27902 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27903 if (!SWIG_IsOK(ecode2
)) {
27904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27906 arg2
= static_cast< wxDouble
>(val2
);
27907 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27908 if (!SWIG_IsOK(ecode3
)) {
27909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27911 arg3
= static_cast< wxDouble
>(val3
);
27912 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27913 if (!SWIG_IsOK(ecode4
)) {
27914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27916 arg4
= static_cast< wxDouble
>(val4
);
27917 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27918 if (!SWIG_IsOK(ecode5
)) {
27919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27921 arg5
= static_cast< wxDouble
>(val5
);
27922 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27923 if (!SWIG_IsOK(ecode6
)) {
27924 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27926 arg6
= static_cast< wxDouble
>(val6
);
27928 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= SWIG_Py_Void();
27938 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
= 0;
27940 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 PyObject
* obj2
= 0 ;
27958 PyObject
* obj3
= 0 ;
27959 PyObject
* obj4
= 0 ;
27960 char * kwnames
[] = {
27961 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27966 if (!SWIG_IsOK(res1
)) {
27967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27969 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27970 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27971 if (!SWIG_IsOK(ecode2
)) {
27972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27974 arg2
= static_cast< wxDouble
>(val2
);
27975 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27976 if (!SWIG_IsOK(ecode3
)) {
27977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27979 arg3
= static_cast< wxDouble
>(val3
);
27980 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27981 if (!SWIG_IsOK(ecode4
)) {
27982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27984 arg4
= static_cast< wxDouble
>(val4
);
27985 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27986 if (!SWIG_IsOK(ecode5
)) {
27987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27989 arg5
= static_cast< wxDouble
>(val5
);
27991 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
= 0;
28003 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 PyObject
* obj3
= 0 ;
28025 PyObject
* obj4
= 0 ;
28026 PyObject
* obj5
= 0 ;
28027 char * kwnames
[] = {
28028 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28033 if (!SWIG_IsOK(res1
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28036 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28037 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28038 if (!SWIG_IsOK(ecode2
)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28041 arg2
= static_cast< wxDouble
>(val2
);
28042 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28043 if (!SWIG_IsOK(ecode3
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28046 arg3
= static_cast< wxDouble
>(val3
);
28047 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28048 if (!SWIG_IsOK(ecode4
)) {
28049 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28051 arg4
= static_cast< wxDouble
>(val4
);
28052 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28053 if (!SWIG_IsOK(ecode5
)) {
28054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28056 arg5
= static_cast< wxDouble
>(val5
);
28057 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28058 if (!SWIG_IsOK(ecode6
)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28061 arg6
= static_cast< wxDouble
>(val6
);
28063 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_Py_Void();
28073 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28074 PyObject
*resultobj
= 0;
28075 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28079 PyObject
*swig_obj
[1] ;
28081 if (!args
) SWIG_fail
;
28082 swig_obj
[0] = args
;
28083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28084 if (!SWIG_IsOK(res1
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28087 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28089 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28099 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
= 0;
28101 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28102 void *arg2
= (void *) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char * kwnames
[] = {
28109 (char *) "self",(char *) "p", NULL
28112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28117 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28118 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28119 if (!SWIG_IsOK(res2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28123 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_Py_Void();
28133 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
= 0;
28135 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28136 wxGraphicsMatrix
*arg2
= 0 ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 char * kwnames
[] = {
28144 (char *) "self",(char *) "matrix", NULL
28147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28149 if (!SWIG_IsOK(res1
)) {
28150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28152 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28154 if (!SWIG_IsOK(res2
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28160 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28162 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_Py_Void();
28172 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28173 PyObject
*resultobj
= 0;
28174 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28178 PyObject
*swig_obj
[1] ;
28180 if (!args
) SWIG_fail
;
28181 swig_obj
[0] = args
;
28182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28183 if (!SWIG_IsOK(res1
)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28186 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28188 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28198 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28199 PyObject
*resultobj
= 0;
28200 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28203 int arg4
= (int) wxODDEVEN_RULE
;
28214 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28216 if (!SWIG_IsOK(res1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28219 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28220 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28221 if (!SWIG_IsOK(ecode2
)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28224 arg2
= static_cast< wxDouble
>(val2
);
28225 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28226 if (!SWIG_IsOK(ecode3
)) {
28227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28229 arg3
= static_cast< wxDouble
>(val3
);
28231 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28232 if (!SWIG_IsOK(ecode4
)) {
28233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28235 arg4
= static_cast< int >(val4
);
28238 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28251 PyObject
*resultobj
= 0;
28252 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28253 wxPoint2D
*arg2
= 0 ;
28254 int arg3
= (int) wxODDEVEN_RULE
;
28262 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28267 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28270 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28273 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28274 if (!SWIG_IsOK(ecode3
)) {
28275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28277 arg3
= static_cast< int >(val3
);
28280 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28292 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28296 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28298 if ((argc
>= 2) && (argc
<= 3)) {
28302 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28305 if (!_v
) goto check_1
;
28309 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28310 _v
= SWIG_CheckState(res
);
28313 if (!_v
) goto check_1
;
28315 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28319 if ((argc
>= 3) && (argc
<= 4)) {
28320 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28324 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28329 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28332 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28333 return SWIG_Py_Void();
28336 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 return SWIG_Python_InitShadowInstance(args
);
28340 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28341 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28346 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28347 PyObject
*pyobj
= 0;
28349 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28354 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28355 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28360 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28361 PyObject
*pyobj
= 0;
28363 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28368 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28369 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28374 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28375 PyObject
*pyobj
= 0;
28377 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28382 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28383 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28388 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28389 PyObject
*pyobj
= 0;
28391 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28396 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28397 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28402 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28403 PyObject
*pyobj
= 0;
28405 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28410 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_Py_Void();
28436 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28437 PyObject
*resultobj
= 0;
28438 wxWindowDC
*arg1
= 0 ;
28439 wxGraphicsContext
*result
= 0 ;
28443 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28451 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28453 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28463 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28464 PyObject
*resultobj
= 0;
28465 wxWindow
*arg1
= (wxWindow
*) 0 ;
28466 wxGraphicsContext
*result
= 0 ;
28470 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28472 if (!SWIG_IsOK(res1
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28477 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28487 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28491 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28496 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28497 _v
= SWIG_CheckState(res
);
28499 if (!_v
) goto check_1
;
28500 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28505 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28509 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28514 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 PyObject
*resultobj
= 0;
28516 wxGraphicsContext
*result
= 0 ;
28518 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28520 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28530 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
= 0;
28532 void *arg1
= (void *) 0 ;
28533 wxGraphicsContext
*result
= 0 ;
28535 PyObject
* obj0
= 0 ;
28536 char * kwnames
[] = {
28537 (char *) "context", NULL
28540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28541 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28546 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28556 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
= 0;
28558 void *arg1
= (void *) 0 ;
28559 wxGraphicsContext
*result
= 0 ;
28561 PyObject
* obj0
= 0 ;
28562 char * kwnames
[] = {
28563 (char *) "window", NULL
28566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28567 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28572 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28582 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28585 wxGraphicsPath result
;
28588 PyObject
*swig_obj
[1] ;
28590 if (!args
) SWIG_fail
;
28591 swig_obj
[0] = args
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28596 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28598 result
= (arg1
)->CreatePath();
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28608 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
= 0;
28610 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28612 wxGraphicsPen result
;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "self",(char *) "pen", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28628 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28630 if (!SWIG_IsOK(res2
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28636 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28638 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28648 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
= 0;
28650 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28651 wxBrush
*arg2
= 0 ;
28652 wxGraphicsBrush result
;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 char * kwnames
[] = {
28660 (char *) "self",(char *) "brush", NULL
28663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28665 if (!SWIG_IsOK(res1
)) {
28666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28668 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28670 if (!SWIG_IsOK(res2
)) {
28671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28676 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28678 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28688 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28689 PyObject
*resultobj
= 0;
28690 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28695 wxColour
*arg6
= 0 ;
28696 wxColour
*arg7
= 0 ;
28697 wxGraphicsBrush result
;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 PyObject
* obj2
= 0 ;
28713 PyObject
* obj3
= 0 ;
28714 PyObject
* obj4
= 0 ;
28715 PyObject
* obj5
= 0 ;
28716 PyObject
* obj6
= 0 ;
28717 char * kwnames
[] = {
28718 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28726 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28727 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28728 if (!SWIG_IsOK(ecode2
)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28731 arg2
= static_cast< wxDouble
>(val2
);
28732 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28733 if (!SWIG_IsOK(ecode3
)) {
28734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28736 arg3
= static_cast< wxDouble
>(val3
);
28737 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28738 if (!SWIG_IsOK(ecode4
)) {
28739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28741 arg4
= static_cast< wxDouble
>(val4
);
28742 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28743 if (!SWIG_IsOK(ecode5
)) {
28744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28746 arg5
= static_cast< wxDouble
>(val5
);
28749 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28753 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28756 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28766 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28768 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28774 wxColour
*arg7
= 0 ;
28775 wxColour
*arg8
= 0 ;
28776 wxGraphicsBrush result
;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 PyObject
* obj3
= 0 ;
28795 PyObject
* obj4
= 0 ;
28796 PyObject
* obj5
= 0 ;
28797 PyObject
* obj6
= 0 ;
28798 PyObject
* obj7
= 0 ;
28799 char * kwnames
[] = {
28800 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28808 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28809 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28810 if (!SWIG_IsOK(ecode2
)) {
28811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28813 arg2
= static_cast< wxDouble
>(val2
);
28814 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28815 if (!SWIG_IsOK(ecode3
)) {
28816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28818 arg3
= static_cast< wxDouble
>(val3
);
28819 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28820 if (!SWIG_IsOK(ecode4
)) {
28821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28823 arg4
= static_cast< wxDouble
>(val4
);
28824 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28825 if (!SWIG_IsOK(ecode5
)) {
28826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28828 arg5
= static_cast< wxDouble
>(val5
);
28829 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28830 if (!SWIG_IsOK(ecode6
)) {
28831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28833 arg6
= static_cast< wxDouble
>(val6
);
28836 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28840 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28843 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28853 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
= 0;
28855 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28857 wxColour
const &arg3_defvalue
= *wxBLACK
;
28858 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28859 wxGraphicsFont result
;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 PyObject
* obj2
= 0 ;
28868 char * kwnames
[] = {
28869 (char *) "self",(char *) "font",(char *) "col", NULL
28872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28874 if (!SWIG_IsOK(res1
)) {
28875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28877 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28879 if (!SWIG_IsOK(res2
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28885 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28889 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28893 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28903 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
= 0;
28905 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28906 wxDouble arg2
= (wxDouble
) 1.0 ;
28907 wxDouble arg3
= (wxDouble
) 0.0 ;
28908 wxDouble arg4
= (wxDouble
) 0.0 ;
28909 wxDouble arg5
= (wxDouble
) 1.0 ;
28910 wxDouble arg6
= (wxDouble
) 0.0 ;
28911 wxDouble arg7
= (wxDouble
) 0.0 ;
28912 wxGraphicsMatrix result
;
28927 PyObject
* obj0
= 0 ;
28928 PyObject
* obj1
= 0 ;
28929 PyObject
* obj2
= 0 ;
28930 PyObject
* obj3
= 0 ;
28931 PyObject
* obj4
= 0 ;
28932 PyObject
* obj5
= 0 ;
28933 PyObject
* obj6
= 0 ;
28934 char * kwnames
[] = {
28935 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28943 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28945 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28946 if (!SWIG_IsOK(ecode2
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28949 arg2
= static_cast< wxDouble
>(val2
);
28952 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28953 if (!SWIG_IsOK(ecode3
)) {
28954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28956 arg3
= static_cast< wxDouble
>(val3
);
28959 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28960 if (!SWIG_IsOK(ecode4
)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28963 arg4
= static_cast< wxDouble
>(val4
);
28966 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28967 if (!SWIG_IsOK(ecode5
)) {
28968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28970 arg5
= static_cast< wxDouble
>(val5
);
28973 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28974 if (!SWIG_IsOK(ecode6
)) {
28975 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28977 arg6
= static_cast< wxDouble
>(val6
);
28980 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28981 if (!SWIG_IsOK(ecode7
)) {
28982 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28984 arg7
= static_cast< wxDouble
>(val7
);
28987 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28997 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28998 PyObject
*resultobj
= 0;
28999 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29002 PyObject
*swig_obj
[1] ;
29004 if (!args
) SWIG_fail
;
29005 swig_obj
[0] = args
;
29006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29010 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29012 (arg1
)->PushState();
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_Py_Void();
29022 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29023 PyObject
*resultobj
= 0;
29024 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29027 PyObject
*swig_obj
[1] ;
29029 if (!args
) SWIG_fail
;
29030 swig_obj
[0] = args
;
29031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29035 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29037 (arg1
)->PopState();
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_Py_Void();
29047 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
= 0;
29049 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29050 wxRegion
*arg2
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "region", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29066 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29068 if (!SWIG_IsOK(res2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29074 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29076 (arg1
)->Clip((wxRegion
const &)*arg2
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= SWIG_Py_Void();
29086 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
= 0;
29088 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 PyObject
* obj2
= 0 ;
29106 PyObject
* obj3
= 0 ;
29107 PyObject
* obj4
= 0 ;
29108 char * kwnames
[] = {
29109 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29114 if (!SWIG_IsOK(res1
)) {
29115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29117 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29118 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29119 if (!SWIG_IsOK(ecode2
)) {
29120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29122 arg2
= static_cast< wxDouble
>(val2
);
29123 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29124 if (!SWIG_IsOK(ecode3
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29127 arg3
= static_cast< wxDouble
>(val3
);
29128 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29129 if (!SWIG_IsOK(ecode4
)) {
29130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29132 arg4
= static_cast< wxDouble
>(val4
);
29133 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29134 if (!SWIG_IsOK(ecode5
)) {
29135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29137 arg5
= static_cast< wxDouble
>(val5
);
29139 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_Py_Void();
29149 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29150 PyObject
*resultobj
= 0;
29151 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29154 PyObject
*swig_obj
[1] ;
29156 if (!args
) SWIG_fail
;
29157 swig_obj
[0] = args
;
29158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29159 if (!SWIG_IsOK(res1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29162 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29164 (arg1
)->ResetClip();
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= SWIG_Py_Void();
29174 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29175 PyObject
*resultobj
= 0;
29176 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29180 PyObject
*swig_obj
[1] ;
29182 if (!args
) SWIG_fail
;
29183 swig_obj
[0] = args
;
29184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29185 if (!SWIG_IsOK(res1
)) {
29186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29188 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29190 result
= (void *)(arg1
)->GetNativeContext();
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29200 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29201 PyObject
*resultobj
= 0;
29202 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29206 PyObject
*swig_obj
[1] ;
29208 if (!args
) SWIG_fail
;
29209 swig_obj
[0] = args
;
29210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29214 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29216 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 resultobj
= SWIG_From_int(static_cast< int >(result
));
29226 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
= 0;
29228 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char * kwnames
[] = {
29238 (char *) "self",(char *) "function", NULL
29241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29243 if (!SWIG_IsOK(res1
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29246 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29248 if (!SWIG_IsOK(ecode2
)) {
29249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29251 arg2
= static_cast< int >(val2
);
29253 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29265 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
= 0;
29267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 PyObject
* obj2
= 0 ;
29279 char * kwnames
[] = {
29280 (char *) "self",(char *) "dx",(char *) "dy", NULL
29283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29285 if (!SWIG_IsOK(res1
)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29288 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29289 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29290 if (!SWIG_IsOK(ecode2
)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29293 arg2
= static_cast< wxDouble
>(val2
);
29294 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29295 if (!SWIG_IsOK(ecode3
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29298 arg3
= static_cast< wxDouble
>(val3
);
29300 (arg1
)->Translate(arg2
,arg3
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_Py_Void();
29310 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
= 0;
29312 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29321 PyObject
* obj0
= 0 ;
29322 PyObject
* obj1
= 0 ;
29323 PyObject
* obj2
= 0 ;
29324 char * kwnames
[] = {
29325 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29330 if (!SWIG_IsOK(res1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29333 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29334 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29335 if (!SWIG_IsOK(ecode2
)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29338 arg2
= static_cast< wxDouble
>(val2
);
29339 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29340 if (!SWIG_IsOK(ecode3
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29343 arg3
= static_cast< wxDouble
>(val3
);
29345 (arg1
)->Scale(arg2
,arg3
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 char * kwnames
[] = {
29366 (char *) "self",(char *) "angle", NULL
29369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29374 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29375 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29376 if (!SWIG_IsOK(ecode2
)) {
29377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29379 arg2
= static_cast< wxDouble
>(val2
);
29381 (arg1
)->Rotate(arg2
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_Py_Void();
29391 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
= 0;
29393 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29394 wxGraphicsMatrix
*arg2
= 0 ;
29399 PyObject
* obj0
= 0 ;
29400 PyObject
* obj1
= 0 ;
29401 char * kwnames
[] = {
29402 (char *) "self",(char *) "matrix", NULL
29405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29407 if (!SWIG_IsOK(res1
)) {
29408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29410 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29412 if (!SWIG_IsOK(res2
)) {
29413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29418 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29420 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_Py_Void();
29430 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29433 wxGraphicsMatrix
*arg2
= 0 ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 char * kwnames
[] = {
29441 (char *) "self",(char *) "matrix", NULL
29444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29446 if (!SWIG_IsOK(res1
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29449 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29451 if (!SWIG_IsOK(res2
)) {
29452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29457 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29459 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29462 resultobj
= SWIG_Py_Void();
29469 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29470 PyObject
*resultobj
= 0;
29471 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29472 wxGraphicsMatrix result
;
29475 PyObject
*swig_obj
[1] ;
29477 if (!args
) SWIG_fail
;
29478 swig_obj
[0] = args
;
29479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29483 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29485 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29495 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29496 PyObject
*resultobj
= 0;
29497 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29498 wxGraphicsPen
*arg2
= 0 ;
29504 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29506 if (!SWIG_IsOK(res1
)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29509 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29510 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29511 if (!SWIG_IsOK(res2
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29517 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29519 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_Py_Void();
29529 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29530 PyObject
*resultobj
= 0;
29531 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29538 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29543 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29544 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29545 if (!SWIG_IsOK(res2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29551 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29553 (arg1
)->SetPen((wxPen
const &)*arg2
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= SWIG_Py_Void();
29563 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29567 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29572 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29573 _v
= SWIG_CheckState(res
);
29575 if (!_v
) goto check_1
;
29576 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29581 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29585 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29590 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29591 PyObject
*resultobj
= 0;
29592 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29593 wxGraphicsBrush
*arg2
= 0 ;
29599 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29601 if (!SWIG_IsOK(res1
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29604 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29605 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29606 if (!SWIG_IsOK(res2
)) {
29607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29612 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29614 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= SWIG_Py_Void();
29624 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29625 PyObject
*resultobj
= 0;
29626 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29627 wxBrush
*arg2
= 0 ;
29633 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29635 if (!SWIG_IsOK(res1
)) {
29636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29638 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29639 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29640 if (!SWIG_IsOK(res2
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29646 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29648 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29651 resultobj
= SWIG_Py_Void();
29658 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29662 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29667 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29668 _v
= SWIG_CheckState(res
);
29670 if (!_v
) goto check_1
;
29671 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29676 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29680 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29685 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29686 PyObject
*resultobj
= 0;
29687 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29688 wxGraphicsFont
*arg2
= 0 ;
29694 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29699 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29700 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29701 if (!SWIG_IsOK(res2
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29707 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29709 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_Py_Void();
29719 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29720 PyObject
*resultobj
= 0;
29721 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29723 wxColour
const &arg3_defvalue
= *wxBLACK
;
29724 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29731 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29736 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29737 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29738 if (!SWIG_IsOK(res2
)) {
29739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29744 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29748 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29752 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= SWIG_Py_Void();
29762 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29766 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29771 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29772 _v
= SWIG_CheckState(res
);
29774 if (!_v
) goto check_1
;
29775 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29779 if ((argc
>= 2) && (argc
<= 3)) {
29780 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29784 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29789 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
= 0;
29791 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29792 wxGraphicsPath
*arg2
= 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char * kwnames
[] = {
29800 (char *) "self",(char *) "path", NULL
29803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29805 if (!SWIG_IsOK(res1
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29808 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29810 if (!SWIG_IsOK(res2
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29816 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29818 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_Py_Void();
29828 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
= 0;
29830 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29831 wxGraphicsPath
*arg2
= 0 ;
29832 int arg3
= (int) wxODDEVEN_RULE
;
29839 PyObject
* obj0
= 0 ;
29840 PyObject
* obj1
= 0 ;
29841 PyObject
* obj2
= 0 ;
29842 char * kwnames
[] = {
29843 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29848 if (!SWIG_IsOK(res1
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29851 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29853 if (!SWIG_IsOK(res2
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29859 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29862 if (!SWIG_IsOK(ecode3
)) {
29863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29865 arg3
= static_cast< int >(val3
);
29868 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_Py_Void();
29878 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
= 0;
29880 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29881 wxGraphicsPath
*arg2
= 0 ;
29882 int arg3
= (int) wxODDEVEN_RULE
;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 PyObject
* obj2
= 0 ;
29892 char * kwnames
[] = {
29893 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29901 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29903 if (!SWIG_IsOK(res2
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29909 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29912 if (!SWIG_IsOK(ecode3
)) {
29913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29915 arg3
= static_cast< int >(val3
);
29918 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_Py_Void();
29928 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
= 0;
29930 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29931 wxString
*arg2
= 0 ;
29934 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29935 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29938 bool temp2
= false ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 PyObject
* obj2
= 0 ;
29948 PyObject
* obj3
= 0 ;
29949 PyObject
* obj4
= 0 ;
29950 char * kwnames
[] = {
29951 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29961 arg2
= wxString_in_helper(obj1
);
29962 if (arg2
== NULL
) SWIG_fail
;
29965 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29966 if (!SWIG_IsOK(ecode3
)) {
29967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29969 arg3
= static_cast< wxDouble
>(val3
);
29970 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29971 if (!SWIG_IsOK(ecode4
)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29974 arg4
= static_cast< wxDouble
>(val4
);
29976 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29977 if (!SWIG_IsOK(res5
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29983 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29986 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_Py_Void();
30004 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
= 0;
30006 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30007 wxString
*arg2
= 0 ;
30011 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
30012 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30015 bool temp2
= false ;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 PyObject
* obj2
= 0 ;
30027 PyObject
* obj3
= 0 ;
30028 PyObject
* obj4
= 0 ;
30029 PyObject
* obj5
= 0 ;
30030 char * kwnames
[] = {
30031 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30039 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30041 arg2
= wxString_in_helper(obj1
);
30042 if (arg2
== NULL
) SWIG_fail
;
30045 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30046 if (!SWIG_IsOK(ecode3
)) {
30047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30049 arg3
= static_cast< wxDouble
>(val3
);
30050 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30051 if (!SWIG_IsOK(ecode4
)) {
30052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30054 arg4
= static_cast< wxDouble
>(val4
);
30055 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30056 if (!SWIG_IsOK(ecode5
)) {
30057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30059 arg5
= static_cast< wxDouble
>(val5
);
30061 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30062 if (!SWIG_IsOK(res6
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30068 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30071 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_Py_Void();
30089 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
= 0;
30091 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30092 wxString
*arg2
= 0 ;
30093 wxDouble
*arg3
= (wxDouble
*) 0 ;
30094 wxDouble
*arg4
= (wxDouble
*) 0 ;
30095 wxDouble
*arg5
= (wxDouble
*) 0 ;
30096 wxDouble
*arg6
= (wxDouble
*) 0 ;
30099 bool temp2
= false ;
30101 int res3
= SWIG_TMPOBJ
;
30103 int res4
= SWIG_TMPOBJ
;
30105 int res5
= SWIG_TMPOBJ
;
30107 int res6
= SWIG_TMPOBJ
;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 char * kwnames
[] = {
30111 (char *) "self",(char *) "text", NULL
30118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30123 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30125 arg2
= wxString_in_helper(obj1
);
30126 if (arg2
== NULL
) SWIG_fail
;
30130 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= SWIG_Py_Void();
30134 if (SWIG_IsTmpObj(res3
)) {
30135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30137 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30140 if (SWIG_IsTmpObj(res4
)) {
30141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30143 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30146 if (SWIG_IsTmpObj(res5
)) {
30147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30149 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30152 if (SWIG_IsTmpObj(res6
)) {
30153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30155 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30172 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
= 0;
30174 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30175 wxString
*arg2
= 0 ;
30176 PyObject
*result
= 0 ;
30179 bool temp2
= false ;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 char * kwnames
[] = {
30183 (char *) "self",(char *) "text", NULL
30186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30191 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30193 arg2
= wxString_in_helper(obj1
);
30194 if (arg2
== NULL
) SWIG_fail
;
30198 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= result
;
30216 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30217 PyObject
*resultobj
= 0;
30218 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30219 wxString
*arg2
= 0 ;
30220 wxArrayDouble result
;
30223 bool temp2
= false ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char * kwnames
[] = {
30227 (char *) "self",(char *) "text", NULL
30230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30235 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30237 arg2
= wxString_in_helper(obj1
);
30238 if (arg2
== NULL
) SWIG_fail
;
30242 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= wxArrayDouble2PyList_helper(result
);
30262 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
= 0;
30264 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30265 wxBitmap
*arg2
= 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 PyObject
* obj2
= 0 ;
30285 PyObject
* obj3
= 0 ;
30286 PyObject
* obj4
= 0 ;
30287 PyObject
* obj5
= 0 ;
30288 char * kwnames
[] = {
30289 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30297 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30299 if (!SWIG_IsOK(res2
)) {
30300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30306 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30307 if (!SWIG_IsOK(ecode3
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30310 arg3
= static_cast< wxDouble
>(val3
);
30311 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30312 if (!SWIG_IsOK(ecode4
)) {
30313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30315 arg4
= static_cast< wxDouble
>(val4
);
30316 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30317 if (!SWIG_IsOK(ecode5
)) {
30318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30320 arg5
= static_cast< wxDouble
>(val5
);
30321 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30322 if (!SWIG_IsOK(ecode6
)) {
30323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30325 arg6
= static_cast< wxDouble
>(val6
);
30327 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= SWIG_Py_Void();
30337 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
= 0;
30339 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 PyObject
* obj2
= 0 ;
30360 PyObject
* obj3
= 0 ;
30361 PyObject
* obj4
= 0 ;
30362 PyObject
* obj5
= 0 ;
30363 char * kwnames
[] = {
30364 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30369 if (!SWIG_IsOK(res1
)) {
30370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30372 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30374 if (!SWIG_IsOK(res2
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30380 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30381 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30382 if (!SWIG_IsOK(ecode3
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30385 arg3
= static_cast< wxDouble
>(val3
);
30386 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30387 if (!SWIG_IsOK(ecode4
)) {
30388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30390 arg4
= static_cast< wxDouble
>(val4
);
30391 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30392 if (!SWIG_IsOK(ecode5
)) {
30393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30395 arg5
= static_cast< wxDouble
>(val5
);
30396 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30397 if (!SWIG_IsOK(ecode6
)) {
30398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30400 arg6
= static_cast< wxDouble
>(val6
);
30402 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_Py_Void();
30412 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= 0;
30414 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30429 PyObject
* obj0
= 0 ;
30430 PyObject
* obj1
= 0 ;
30431 PyObject
* obj2
= 0 ;
30432 PyObject
* obj3
= 0 ;
30433 PyObject
* obj4
= 0 ;
30434 char * kwnames
[] = {
30435 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30443 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30444 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30445 if (!SWIG_IsOK(ecode2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30448 arg2
= static_cast< wxDouble
>(val2
);
30449 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30450 if (!SWIG_IsOK(ecode3
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30453 arg3
= static_cast< wxDouble
>(val3
);
30454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30455 if (!SWIG_IsOK(ecode4
)) {
30456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30458 arg4
= static_cast< wxDouble
>(val4
);
30459 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30460 if (!SWIG_IsOK(ecode5
)) {
30461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30463 arg5
= static_cast< wxDouble
>(val5
);
30465 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_Py_Void();
30475 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
= 0;
30477 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30479 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char * kwnames
[] = {
30485 (char *) "self",(char *) "points", NULL
30488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30493 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30495 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30496 if (arg3
== NULL
) SWIG_fail
;
30499 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_Py_Void();
30504 if (arg3
) delete [] arg3
;
30509 if (arg3
) delete [] arg3
;
30515 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
= 0;
30517 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30518 PyObject
*arg2
= (PyObject
*) 0 ;
30519 PyObject
*arg3
= (PyObject
*) 0 ;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 PyObject
* obj2
= 0 ;
30525 char * kwnames
[] = {
30526 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30531 if (!SWIG_IsOK(res1
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30538 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_Py_Void();
30548 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
= 0;
30550 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30552 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30553 int arg4
= (int) wxODDEVEN_RULE
;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 PyObject
* obj2
= 0 ;
30561 char * kwnames
[] = {
30562 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30567 if (!SWIG_IsOK(res1
)) {
30568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30572 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30573 if (arg3
== NULL
) SWIG_fail
;
30576 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30577 if (!SWIG_IsOK(ecode4
)) {
30578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30580 arg4
= static_cast< int >(val4
);
30583 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 resultobj
= SWIG_Py_Void();
30588 if (arg3
) delete [] arg3
;
30593 if (arg3
) delete [] arg3
;
30599 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
= 0;
30601 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 PyObject
* obj2
= 0 ;
30619 PyObject
* obj3
= 0 ;
30620 PyObject
* obj4
= 0 ;
30621 char * kwnames
[] = {
30622 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30627 if (!SWIG_IsOK(res1
)) {
30628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30630 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30631 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30632 if (!SWIG_IsOK(ecode2
)) {
30633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30635 arg2
= static_cast< wxDouble
>(val2
);
30636 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30637 if (!SWIG_IsOK(ecode3
)) {
30638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30640 arg3
= static_cast< wxDouble
>(val3
);
30641 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30642 if (!SWIG_IsOK(ecode4
)) {
30643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30645 arg4
= static_cast< wxDouble
>(val4
);
30646 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30647 if (!SWIG_IsOK(ecode5
)) {
30648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30650 arg5
= static_cast< wxDouble
>(val5
);
30652 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= SWIG_Py_Void();
30662 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
= 0;
30664 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 PyObject
* obj2
= 0 ;
30682 PyObject
* obj3
= 0 ;
30683 PyObject
* obj4
= 0 ;
30684 char * kwnames
[] = {
30685 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30690 if (!SWIG_IsOK(res1
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30693 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30694 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30695 if (!SWIG_IsOK(ecode2
)) {
30696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30698 arg2
= static_cast< wxDouble
>(val2
);
30699 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30700 if (!SWIG_IsOK(ecode3
)) {
30701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30703 arg3
= static_cast< wxDouble
>(val3
);
30704 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30705 if (!SWIG_IsOK(ecode4
)) {
30706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30708 arg4
= static_cast< wxDouble
>(val4
);
30709 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30710 if (!SWIG_IsOK(ecode5
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30713 arg5
= static_cast< wxDouble
>(val5
);
30715 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_Py_Void();
30725 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
= 0;
30727 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 PyObject
* obj2
= 0 ;
30748 PyObject
* obj3
= 0 ;
30749 PyObject
* obj4
= 0 ;
30750 PyObject
* obj5
= 0 ;
30751 char * kwnames
[] = {
30752 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30757 if (!SWIG_IsOK(res1
)) {
30758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30760 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30761 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30762 if (!SWIG_IsOK(ecode2
)) {
30763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30765 arg2
= static_cast< wxDouble
>(val2
);
30766 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30767 if (!SWIG_IsOK(ecode3
)) {
30768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30770 arg3
= static_cast< wxDouble
>(val3
);
30771 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30772 if (!SWIG_IsOK(ecode4
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30775 arg4
= static_cast< wxDouble
>(val4
);
30776 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30777 if (!SWIG_IsOK(ecode5
)) {
30778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30780 arg5
= static_cast< wxDouble
>(val5
);
30781 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30782 if (!SWIG_IsOK(ecode6
)) {
30783 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30785 arg6
= static_cast< wxDouble
>(val6
);
30787 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_Py_Void();
30797 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30798 PyObject
*resultobj
= 0;
30799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30803 PyObject
*swig_obj
[1] ;
30805 if (!args
) SWIG_fail
;
30806 swig_obj
[0] = args
;
30807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30811 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30813 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30814 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30825 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30828 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30829 return SWIG_Py_Void();
30832 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 PyObject
*resultobj
= 0;
30834 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30837 PyObject
*swig_obj
[1] ;
30839 if (!args
) SWIG_fail
;
30840 swig_obj
[0] = args
;
30841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30845 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_Py_Void();
30858 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30859 PyObject
*resultobj
= 0;
30860 wxGraphicsRenderer
*result
= 0 ;
30862 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30864 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30874 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30875 PyObject
*resultobj
= 0;
30876 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30877 wxWindowDC
*arg2
= 0 ;
30878 wxGraphicsContext
*result
= 0 ;
30884 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30886 if (!SWIG_IsOK(res1
)) {
30887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30889 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30890 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30891 if (!SWIG_IsOK(res2
)) {
30892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30897 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30899 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30900 if (PyErr_Occurred()) SWIG_fail
;
30902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30909 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30910 PyObject
*resultobj
= 0;
30911 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30912 wxWindow
*arg2
= (wxWindow
*) 0 ;
30913 wxGraphicsContext
*result
= 0 ;
30919 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30921 if (!SWIG_IsOK(res1
)) {
30922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30924 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30925 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30926 if (!SWIG_IsOK(res2
)) {
30927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30929 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30931 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30941 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30945 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30950 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30951 _v
= SWIG_CheckState(res
);
30953 if (!_v
) goto check_1
;
30954 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30959 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30963 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30968 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30969 PyObject
*resultobj
= 0;
30970 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30971 wxGraphicsContext
*result
= 0 ;
30974 PyObject
*swig_obj
[1] ;
30976 if (!args
) SWIG_fail
;
30977 swig_obj
[0] = args
;
30978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30982 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30984 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30994 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
= 0;
30996 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30997 void *arg2
= (void *) 0 ;
30998 wxGraphicsContext
*result
= 0 ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 char * kwnames
[] = {
31005 (char *) "self",(char *) "context", NULL
31008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31010 if (!SWIG_IsOK(res1
)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31013 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31014 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31015 if (!SWIG_IsOK(res2
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31019 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31029 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
= 0;
31031 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31032 void *arg2
= (void *) 0 ;
31033 wxGraphicsContext
*result
= 0 ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 char * kwnames
[] = {
31040 (char *) "self",(char *) "window", NULL
31043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31045 if (!SWIG_IsOK(res1
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31048 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31049 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31050 if (!SWIG_IsOK(res2
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31054 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31064 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31065 PyObject
*resultobj
= 0;
31066 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31067 wxGraphicsPath result
;
31070 PyObject
*swig_obj
[1] ;
31072 if (!args
) SWIG_fail
;
31073 swig_obj
[0] = args
;
31074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31075 if (!SWIG_IsOK(res1
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31078 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31080 result
= (arg1
)->CreatePath();
31081 if (PyErr_Occurred()) SWIG_fail
;
31083 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31090 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
= 0;
31092 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31093 wxDouble arg2
= (wxDouble
) 1.0 ;
31094 wxDouble arg3
= (wxDouble
) 0.0 ;
31095 wxDouble arg4
= (wxDouble
) 0.0 ;
31096 wxDouble arg5
= (wxDouble
) 1.0 ;
31097 wxDouble arg6
= (wxDouble
) 0.0 ;
31098 wxDouble arg7
= (wxDouble
) 0.0 ;
31099 wxGraphicsMatrix result
;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 PyObject
* obj2
= 0 ;
31117 PyObject
* obj3
= 0 ;
31118 PyObject
* obj4
= 0 ;
31119 PyObject
* obj5
= 0 ;
31120 PyObject
* obj6
= 0 ;
31121 char * kwnames
[] = {
31122 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31127 if (!SWIG_IsOK(res1
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31130 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31132 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31133 if (!SWIG_IsOK(ecode2
)) {
31134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31136 arg2
= static_cast< wxDouble
>(val2
);
31139 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31140 if (!SWIG_IsOK(ecode3
)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31143 arg3
= static_cast< wxDouble
>(val3
);
31146 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31147 if (!SWIG_IsOK(ecode4
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31150 arg4
= static_cast< wxDouble
>(val4
);
31153 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31154 if (!SWIG_IsOK(ecode5
)) {
31155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31157 arg5
= static_cast< wxDouble
>(val5
);
31160 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31161 if (!SWIG_IsOK(ecode6
)) {
31162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31164 arg6
= static_cast< wxDouble
>(val6
);
31167 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31168 if (!SWIG_IsOK(ecode7
)) {
31169 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31171 arg7
= static_cast< wxDouble
>(val7
);
31174 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31184 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31186 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31188 wxGraphicsPen result
;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 char * kwnames
[] = {
31196 (char *) "self",(char *) "pen", NULL
31199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31201 if (!SWIG_IsOK(res1
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31204 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31206 if (!SWIG_IsOK(res2
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31212 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31214 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31224 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
= 0;
31226 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31227 wxBrush
*arg2
= 0 ;
31228 wxGraphicsBrush result
;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 char * kwnames
[] = {
31236 (char *) "self",(char *) "brush", NULL
31239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31241 if (!SWIG_IsOK(res1
)) {
31242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31244 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31246 if (!SWIG_IsOK(res2
)) {
31247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31252 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31254 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31255 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31264 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31271 wxColour
*arg6
= 0 ;
31272 wxColour
*arg7
= 0 ;
31273 wxGraphicsBrush result
;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 PyObject
* obj2
= 0 ;
31289 PyObject
* obj3
= 0 ;
31290 PyObject
* obj4
= 0 ;
31291 PyObject
* obj5
= 0 ;
31292 PyObject
* obj6
= 0 ;
31293 char * kwnames
[] = {
31294 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31299 if (!SWIG_IsOK(res1
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31302 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31303 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31304 if (!SWIG_IsOK(ecode2
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31307 arg2
= static_cast< wxDouble
>(val2
);
31308 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31309 if (!SWIG_IsOK(ecode3
)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31312 arg3
= static_cast< wxDouble
>(val3
);
31313 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31314 if (!SWIG_IsOK(ecode4
)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31317 arg4
= static_cast< wxDouble
>(val4
);
31318 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31319 if (!SWIG_IsOK(ecode5
)) {
31320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31322 arg5
= static_cast< wxDouble
>(val5
);
31325 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31329 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31332 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31342 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
= 0;
31344 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31350 wxColour
*arg7
= 0 ;
31351 wxColour
*arg8
= 0 ;
31352 wxGraphicsBrush result
;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 PyObject
* obj2
= 0 ;
31370 PyObject
* obj3
= 0 ;
31371 PyObject
* obj4
= 0 ;
31372 PyObject
* obj5
= 0 ;
31373 PyObject
* obj6
= 0 ;
31374 PyObject
* obj7
= 0 ;
31375 char * kwnames
[] = {
31376 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31381 if (!SWIG_IsOK(res1
)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31384 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31385 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31386 if (!SWIG_IsOK(ecode2
)) {
31387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31389 arg2
= static_cast< wxDouble
>(val2
);
31390 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31391 if (!SWIG_IsOK(ecode3
)) {
31392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31394 arg3
= static_cast< wxDouble
>(val3
);
31395 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31396 if (!SWIG_IsOK(ecode4
)) {
31397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31399 arg4
= static_cast< wxDouble
>(val4
);
31400 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31401 if (!SWIG_IsOK(ecode5
)) {
31402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31404 arg5
= static_cast< wxDouble
>(val5
);
31405 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31406 if (!SWIG_IsOK(ecode6
)) {
31407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31409 arg6
= static_cast< wxDouble
>(val6
);
31412 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31416 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31419 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31429 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
= 0;
31431 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31433 wxColour
const &arg3_defvalue
= *wxBLACK
;
31434 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31435 wxGraphicsFont result
;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 PyObject
* obj2
= 0 ;
31444 char * kwnames
[] = {
31445 (char *) "self",(char *) "font",(char *) "col", NULL
31448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31450 if (!SWIG_IsOK(res1
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31453 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31455 if (!SWIG_IsOK(res2
)) {
31456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31461 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31465 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31469 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31479 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31482 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31483 return SWIG_Py_Void();
31486 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31487 PyObject
*resultobj
= 0;
31488 wxWindowDC
*arg1
= 0 ;
31489 wxGCDC
*result
= 0 ;
31493 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31495 if (!SWIG_IsOK(res1
)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31501 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31503 if (!wxPyCheckForApp()) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31516 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31517 PyObject
*resultobj
= 0;
31518 wxWindow
*arg1
= (wxWindow
*) 0 ;
31519 wxGCDC
*result
= 0 ;
31523 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31525 if (!SWIG_IsOK(res1
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31530 if (!wxPyCheckForApp()) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 result
= (wxGCDC
*)new wxGCDC(arg1
);
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31543 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31547 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31552 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31553 _v
= SWIG_CheckState(res
);
31555 if (!_v
) goto check_1
;
31556 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31561 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31565 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31570 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31571 PyObject
*resultobj
= 0;
31572 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31575 PyObject
*swig_obj
[1] ;
31577 if (!args
) SWIG_fail
;
31578 swig_obj
[0] = args
;
31579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31580 if (!SWIG_IsOK(res1
)) {
31581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31583 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_Py_Void();
31596 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31597 PyObject
*resultobj
= 0;
31598 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31599 wxGraphicsContext
*result
= 0 ;
31602 PyObject
*swig_obj
[1] ;
31604 if (!args
) SWIG_fail
;
31605 swig_obj
[0] = args
;
31606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31607 if (!SWIG_IsOK(res1
)) {
31608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31610 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31612 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31622 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
= 0;
31624 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31625 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 PyObject
* obj1
= 0 ;
31632 char * kwnames
[] = {
31633 (char *) "self",(char *) "ctx", NULL
31636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31638 if (!SWIG_IsOK(res1
)) {
31639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31641 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31643 if (!SWIG_IsOK(res2
)) {
31644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31646 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31648 (arg1
)->SetGraphicsContext(arg2
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 resultobj
= SWIG_Py_Void();
31658 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31661 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31662 return SWIG_Py_Void();
31665 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31666 return SWIG_Python_InitShadowInstance(args
);
31669 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31670 PyObject
*resultobj
= 0;
31671 wxOverlay
*result
= 0 ;
31673 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (wxOverlay
*)new wxOverlay();
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31687 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31688 PyObject
*resultobj
= 0;
31689 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31692 PyObject
*swig_obj
[1] ;
31694 if (!args
) SWIG_fail
;
31695 swig_obj
[0] = args
;
31696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31697 if (!SWIG_IsOK(res1
)) {
31698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31700 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_Py_Void();
31715 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31716 PyObject
*resultobj
= 0;
31717 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31720 PyObject
*swig_obj
[1] ;
31722 if (!args
) SWIG_fail
;
31723 swig_obj
[0] = args
;
31724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31728 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 resultobj
= SWIG_Py_Void();
31742 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31745 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31746 return SWIG_Py_Void();
31749 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31750 return SWIG_Python_InitShadowInstance(args
);
31753 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31754 PyObject
*resultobj
= 0;
31755 wxOverlay
*arg1
= 0 ;
31756 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31761 wxDCOverlay
*result
= 0 ;
31775 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31777 if (!SWIG_IsOK(res1
)) {
31778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31783 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31784 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31785 if (!SWIG_IsOK(res2
)) {
31786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31788 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31789 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31790 if (!SWIG_IsOK(ecode3
)) {
31791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31793 arg3
= static_cast< int >(val3
);
31794 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31795 if (!SWIG_IsOK(ecode4
)) {
31796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31798 arg4
= static_cast< int >(val4
);
31799 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31800 if (!SWIG_IsOK(ecode5
)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31803 arg5
= static_cast< int >(val5
);
31804 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31805 if (!SWIG_IsOK(ecode6
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31808 arg6
= static_cast< int >(val6
);
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31812 wxPyEndAllowThreads(__tstate
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31822 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31823 PyObject
*resultobj
= 0;
31824 wxOverlay
*arg1
= 0 ;
31825 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31826 wxDCOverlay
*result
= 0 ;
31832 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31834 if (!SWIG_IsOK(res1
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31840 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31841 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31842 if (!SWIG_IsOK(res2
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31845 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31859 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31863 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31866 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31869 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31873 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31878 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31879 PyObject
*resultobj
= 0;
31880 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31883 PyObject
*swig_obj
[1] ;
31885 if (!args
) SWIG_fail
;
31886 swig_obj
[0] = args
;
31887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31891 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31899 resultobj
= SWIG_Py_Void();
31906 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31907 PyObject
*resultobj
= 0;
31908 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31911 PyObject
*swig_obj
[1] ;
31913 if (!args
) SWIG_fail
;
31914 swig_obj
[0] = args
;
31915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31916 if (!SWIG_IsOK(res1
)) {
31917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31919 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_Py_Void();
31933 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31936 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31937 return SWIG_Py_Void();
31940 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31941 return SWIG_Python_InitShadowInstance(args
);
31944 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
= 0;
31948 int arg3
= (int) true ;
31949 int arg4
= (int) 1 ;
31950 wxImageList
*result
= 0 ;
31959 PyObject
* obj0
= 0 ;
31960 PyObject
* obj1
= 0 ;
31961 PyObject
* obj2
= 0 ;
31962 PyObject
* obj3
= 0 ;
31963 char * kwnames
[] = {
31964 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31969 if (!SWIG_IsOK(ecode1
)) {
31970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31972 arg1
= static_cast< int >(val1
);
31973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31974 if (!SWIG_IsOK(ecode2
)) {
31975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31977 arg2
= static_cast< int >(val2
);
31979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31980 if (!SWIG_IsOK(ecode3
)) {
31981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31983 arg3
= static_cast< int >(val3
);
31986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31987 if (!SWIG_IsOK(ecode4
)) {
31988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31990 arg4
= static_cast< int >(val4
);
31993 if (!wxPyCheckForApp()) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
32006 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32007 PyObject
*resultobj
= 0;
32008 wxImageList
*arg1
= (wxImageList
*) 0 ;
32011 PyObject
*swig_obj
[1] ;
32013 if (!args
) SWIG_fail
;
32014 swig_obj
[0] = args
;
32015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32016 if (!SWIG_IsOK(res1
)) {
32017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32019 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
= 0;
32036 wxImageList
*arg1
= (wxImageList
*) 0 ;
32037 wxBitmap
*arg2
= 0 ;
32038 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32039 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 PyObject
* obj2
= 0 ;
32050 char * kwnames
[] = {
32051 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32056 if (!SWIG_IsOK(res1
)) {
32057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32059 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32061 if (!SWIG_IsOK(res2
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32069 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32070 if (!SWIG_IsOK(res3
)) {
32071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32076 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= SWIG_From_int(static_cast< int >(result
));
32091 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
= 0;
32093 wxImageList
*arg1
= (wxImageList
*) 0 ;
32094 wxBitmap
*arg2
= 0 ;
32095 wxColour
*arg3
= 0 ;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 PyObject
* obj2
= 0 ;
32105 char * kwnames
[] = {
32106 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32114 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32116 if (!SWIG_IsOK(res2
)) {
32117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32122 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32125 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_From_int(static_cast< int >(result
));
32140 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
= 0;
32142 wxImageList
*arg1
= (wxImageList
*) 0 ;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 char * kwnames
[] = {
32152 (char *) "self",(char *) "icon", NULL
32155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32157 if (!SWIG_IsOK(res1
)) {
32158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32160 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32162 if (!SWIG_IsOK(res2
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32168 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_From_int(static_cast< int >(result
));
32182 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
= 0;
32184 wxImageList
*arg1
= (wxImageList
*) 0 ;
32186 SwigValueWrapper
<wxBitmap
> result
;
32191 PyObject
* obj0
= 0 ;
32192 PyObject
* obj1
= 0 ;
32193 char * kwnames
[] = {
32194 (char *) "self",(char *) "index", NULL
32197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32199 if (!SWIG_IsOK(res1
)) {
32200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32202 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32204 if (!SWIG_IsOK(ecode2
)) {
32205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32207 arg2
= static_cast< int >(val2
);
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32221 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
= 0;
32223 wxImageList
*arg1
= (wxImageList
*) 0 ;
32230 PyObject
* obj0
= 0 ;
32231 PyObject
* obj1
= 0 ;
32232 char * kwnames
[] = {
32233 (char *) "self",(char *) "index", NULL
32236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32238 if (!SWIG_IsOK(res1
)) {
32239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32241 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32243 if (!SWIG_IsOK(ecode2
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32246 arg2
= static_cast< int >(val2
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32260 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
= 0;
32262 wxImageList
*arg1
= (wxImageList
*) 0 ;
32264 wxBitmap
*arg3
= 0 ;
32265 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32266 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32276 PyObject
* obj0
= 0 ;
32277 PyObject
* obj1
= 0 ;
32278 PyObject
* obj2
= 0 ;
32279 PyObject
* obj3
= 0 ;
32280 char * kwnames
[] = {
32281 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32286 if (!SWIG_IsOK(res1
)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32289 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32291 if (!SWIG_IsOK(ecode2
)) {
32292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32294 arg2
= static_cast< int >(val2
);
32295 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32296 if (!SWIG_IsOK(res3
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32302 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32304 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32305 if (!SWIG_IsOK(res4
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32311 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32316 wxPyEndAllowThreads(__tstate
);
32317 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32328 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxImageList
*arg1
= (wxImageList
*) 0 ;
32335 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32336 bool arg7
= (bool) (bool)false ;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 PyObject
* obj2
= 0 ;
32355 PyObject
* obj3
= 0 ;
32356 PyObject
* obj4
= 0 ;
32357 PyObject
* obj5
= 0 ;
32358 PyObject
* obj6
= 0 ;
32359 char * kwnames
[] = {
32360 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32365 if (!SWIG_IsOK(res1
)) {
32366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32368 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32370 if (!SWIG_IsOK(ecode2
)) {
32371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32373 arg2
= static_cast< int >(val2
);
32374 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32375 if (!SWIG_IsOK(res3
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32381 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32383 if (!SWIG_IsOK(ecode4
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32386 arg4
= static_cast< int >(val4
);
32387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32388 if (!SWIG_IsOK(ecode5
)) {
32389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32391 arg5
= static_cast< int >(val5
);
32393 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32394 if (!SWIG_IsOK(ecode6
)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32397 arg6
= static_cast< int >(val6
);
32400 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32401 if (!SWIG_IsOK(ecode7
)) {
32402 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32404 arg7
= static_cast< bool >(val7
);
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32421 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32422 PyObject
*resultobj
= 0;
32423 wxImageList
*arg1
= (wxImageList
*) 0 ;
32427 PyObject
*swig_obj
[1] ;
32429 if (!args
) SWIG_fail
;
32430 swig_obj
[0] = args
;
32431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32435 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 result
= (int)(arg1
)->GetImageCount();
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32442 resultobj
= SWIG_From_int(static_cast< int >(result
));
32449 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32450 PyObject
*resultobj
= 0;
32451 wxImageList
*arg1
= (wxImageList
*) 0 ;
32458 PyObject
* obj0
= 0 ;
32459 PyObject
* obj1
= 0 ;
32460 char * kwnames
[] = {
32461 (char *) "self",(char *) "index", NULL
32464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32466 if (!SWIG_IsOK(res1
)) {
32467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32469 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32471 if (!SWIG_IsOK(ecode2
)) {
32472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32474 arg2
= static_cast< int >(val2
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 result
= (bool)(arg1
)->Remove(arg2
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32490 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32491 PyObject
*resultobj
= 0;
32492 wxImageList
*arg1
= (wxImageList
*) 0 ;
32496 PyObject
*swig_obj
[1] ;
32498 if (!args
) SWIG_fail
;
32499 swig_obj
[0] = args
;
32500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32501 if (!SWIG_IsOK(res1
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32504 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 result
= (bool)(arg1
)->RemoveAll();
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32520 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32521 PyObject
*resultobj
= 0;
32522 wxImageList
*arg1
= (wxImageList
*) 0 ;
32531 int res3
= SWIG_TMPOBJ
;
32533 int res4
= SWIG_TMPOBJ
;
32534 PyObject
* obj0
= 0 ;
32535 PyObject
* obj1
= 0 ;
32536 char * kwnames
[] = {
32537 (char *) "self",(char *) "index", NULL
32542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32544 if (!SWIG_IsOK(res1
)) {
32545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32547 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32549 if (!SWIG_IsOK(ecode2
)) {
32550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32552 arg2
= static_cast< int >(val2
);
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= SWIG_Py_Void();
32560 if (SWIG_IsTmpObj(res3
)) {
32561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32563 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32566 if (SWIG_IsTmpObj(res4
)) {
32567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32569 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32578 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32581 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32582 return SWIG_Py_Void();
32585 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32586 return SWIG_Python_InitShadowInstance(args
);
32589 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32590 PyObject
*resultobj
= 0;
32591 wxStockGDI
*result
= 0 ;
32593 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= (wxStockGDI
*)new wxStockGDI();
32597 wxPyEndAllowThreads(__tstate
);
32598 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32607 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32608 PyObject
*resultobj
= 0;
32609 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32612 PyObject
*swig_obj
[1] ;
32614 if (!args
) SWIG_fail
;
32615 swig_obj
[0] = args
;
32616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32620 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= SWIG_Py_Void();
32635 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32636 PyObject
*resultobj
= 0;
32638 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 wxStockGDI::DeleteAll();
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= SWIG_Py_Void();
32652 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32653 PyObject
*resultobj
= 0;
32654 wxStockGDI
*result
= 0 ;
32656 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32661 result
= (wxStockGDI
*) &_result_ref
;
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32673 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
= 0;
32675 wxStockGDI::Item arg1
;
32676 wxBrush
*result
= 0 ;
32679 PyObject
* obj0
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "item", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32685 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32686 if (!SWIG_IsOK(ecode1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32689 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32703 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
= 0;
32705 wxStockGDI::Item arg1
;
32706 wxColour
*result
= 0 ;
32709 PyObject
* obj0
= 0 ;
32710 char * kwnames
[] = {
32711 (char *) "item", NULL
32714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32715 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32716 if (!SWIG_IsOK(ecode1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32719 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32733 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
= 0;
32735 wxStockGDI::Item arg1
;
32736 wxCursor
*result
= 0 ;
32739 PyObject
* obj0
= 0 ;
32740 char * kwnames
[] = {
32741 (char *) "item", NULL
32744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32746 if (!SWIG_IsOK(ecode1
)) {
32747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32749 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32763 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxStockGDI::Item arg1
;
32766 wxPen
*result
= 0 ;
32769 PyObject
* obj0
= 0 ;
32770 char * kwnames
[] = {
32771 (char *) "item", NULL
32774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32776 if (!SWIG_IsOK(ecode1
)) {
32777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32779 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32793 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32794 PyObject
*resultobj
= 0;
32795 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32796 wxStockGDI::Item arg2
;
32797 wxFont
*result
= 0 ;
32802 PyObject
* obj0
= 0 ;
32803 PyObject
* obj1
= 0 ;
32804 char * kwnames
[] = {
32805 (char *) "self",(char *) "item", NULL
32808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32810 if (!SWIG_IsOK(res1
)) {
32811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32813 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32815 if (!SWIG_IsOK(ecode2
)) {
32816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32818 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32821 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32822 wxPyEndAllowThreads(__tstate
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32832 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32835 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32836 return SWIG_Py_Void();
32839 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32840 return SWIG_Python_InitShadowInstance(args
);
32843 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32844 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32849 SWIGINTERN PyObject
*NullBitmap_get(void) {
32850 PyObject
*pyobj
= 0;
32852 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32857 SWIGINTERN
int NullIcon_set(PyObject
*) {
32858 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32863 SWIGINTERN PyObject
*NullIcon_get(void) {
32864 PyObject
*pyobj
= 0;
32866 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32871 SWIGINTERN
int NullCursor_set(PyObject
*) {
32872 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32877 SWIGINTERN PyObject
*NullCursor_get(void) {
32878 PyObject
*pyobj
= 0;
32880 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32885 SWIGINTERN
int NullPen_set(PyObject
*) {
32886 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32891 SWIGINTERN PyObject
*NullPen_get(void) {
32892 PyObject
*pyobj
= 0;
32894 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32899 SWIGINTERN
int NullBrush_set(PyObject
*) {
32900 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32905 SWIGINTERN PyObject
*NullBrush_get(void) {
32906 PyObject
*pyobj
= 0;
32908 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32913 SWIGINTERN
int NullPalette_set(PyObject
*) {
32914 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32919 SWIGINTERN PyObject
*NullPalette_get(void) {
32920 PyObject
*pyobj
= 0;
32922 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32927 SWIGINTERN
int NullFont_set(PyObject
*) {
32928 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32933 SWIGINTERN PyObject
*NullFont_get(void) {
32934 PyObject
*pyobj
= 0;
32936 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32941 SWIGINTERN
int NullColour_set(PyObject
*) {
32942 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32947 SWIGINTERN PyObject
*NullColour_get(void) {
32948 PyObject
*pyobj
= 0;
32950 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32955 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32956 PyObject
*resultobj
= 0;
32957 wxGDIObjListBase
*result
= 0 ;
32959 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32973 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 PyObject
*resultobj
= 0;
32975 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32978 PyObject
*swig_obj
[1] ;
32980 if (!args
) SWIG_fail
;
32981 swig_obj
[0] = args
;
32982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32983 if (!SWIG_IsOK(res1
)) {
32984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32986 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32994 resultobj
= SWIG_Py_Void();
33001 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33004 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
33005 return SWIG_Py_Void();
33008 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33009 return SWIG_Python_InitShadowInstance(args
);
33012 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
= 0;
33014 wxPenList
*arg1
= (wxPenList
*) 0 ;
33015 wxColour
*arg2
= 0 ;
33018 wxPen
*result
= 0 ;
33026 PyObject
* obj0
= 0 ;
33027 PyObject
* obj1
= 0 ;
33028 PyObject
* obj2
= 0 ;
33029 PyObject
* obj3
= 0 ;
33030 char * kwnames
[] = {
33031 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33036 if (!SWIG_IsOK(res1
)) {
33037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33039 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33045 if (!SWIG_IsOK(ecode3
)) {
33046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33048 arg3
= static_cast< int >(val3
);
33049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33050 if (!SWIG_IsOK(ecode4
)) {
33051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33053 arg4
= static_cast< int >(val4
);
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33067 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33069 wxPenList
*arg1
= (wxPenList
*) 0 ;
33070 wxPen
*arg2
= (wxPen
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "pen", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
33086 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33088 if (!SWIG_IsOK(res2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
33091 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 (arg1
)->AddPen(arg2
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_Py_Void();
33105 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
= 0;
33107 wxPenList
*arg1
= (wxPenList
*) 0 ;
33108 wxPen
*arg2
= (wxPen
*) 0 ;
33113 PyObject
* obj0
= 0 ;
33114 PyObject
* obj1
= 0 ;
33115 char * kwnames
[] = {
33116 (char *) "self",(char *) "pen", NULL
33119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33124 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33126 if (!SWIG_IsOK(res2
)) {
33127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
33129 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 (arg1
)->RemovePen(arg2
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= SWIG_Py_Void();
33143 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33147 return SWIG_Py_Void();
33150 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
= 0;
33152 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33153 wxColour
*arg2
= 0 ;
33154 int arg3
= (int) wxSOLID
;
33155 wxBrush
*result
= 0 ;
33161 PyObject
* obj0
= 0 ;
33162 PyObject
* obj1
= 0 ;
33163 PyObject
* obj2
= 0 ;
33164 char * kwnames
[] = {
33165 (char *) "self",(char *) "colour",(char *) "style", NULL
33168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33170 if (!SWIG_IsOK(res1
)) {
33171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33173 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33176 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33180 if (!SWIG_IsOK(ecode3
)) {
33181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33183 arg3
= static_cast< int >(val3
);
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33198 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
= 0;
33200 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33201 wxBrush
*arg2
= (wxBrush
*) 0 ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 char * kwnames
[] = {
33209 (char *) "self",(char *) "brush", NULL
33212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33214 if (!SWIG_IsOK(res1
)) {
33215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33217 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33219 if (!SWIG_IsOK(res2
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33222 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 (arg1
)->AddBrush(arg2
);
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33229 resultobj
= SWIG_Py_Void();
33236 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33237 PyObject
*resultobj
= 0;
33238 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33239 wxBrush
*arg2
= (wxBrush
*) 0 ;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 char * kwnames
[] = {
33247 (char *) "self",(char *) "brush", NULL
33250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33255 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33257 if (!SWIG_IsOK(res2
)) {
33258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33260 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->RemoveBrush(arg2
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_Py_Void();
33274 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33277 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33278 return SWIG_Py_Void();
33281 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
= 0;
33283 wxFontList
*arg1
= (wxFontList
*) 0 ;
33288 bool arg6
= (bool) false ;
33289 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33291 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33292 wxFont
*result
= 0 ;
33305 bool temp7
= false ;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 PyObject
* obj2
= 0 ;
33311 PyObject
* obj3
= 0 ;
33312 PyObject
* obj4
= 0 ;
33313 PyObject
* obj5
= 0 ;
33314 PyObject
* obj6
= 0 ;
33315 PyObject
* obj7
= 0 ;
33316 char * kwnames
[] = {
33317 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33325 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33327 if (!SWIG_IsOK(ecode2
)) {
33328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33330 arg2
= static_cast< int >(val2
);
33331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33332 if (!SWIG_IsOK(ecode3
)) {
33333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33335 arg3
= static_cast< int >(val3
);
33336 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33337 if (!SWIG_IsOK(ecode4
)) {
33338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33340 arg4
= static_cast< int >(val4
);
33341 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33342 if (!SWIG_IsOK(ecode5
)) {
33343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33345 arg5
= static_cast< int >(val5
);
33347 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33348 if (!SWIG_IsOK(ecode6
)) {
33349 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33351 arg6
= static_cast< bool >(val6
);
33355 arg7
= wxString_in_helper(obj6
);
33356 if (arg7
== NULL
) SWIG_fail
;
33361 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33362 if (!SWIG_IsOK(ecode8
)) {
33363 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33365 arg8
= static_cast< wxFontEncoding
>(val8
);
33368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33369 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33388 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
= 0;
33390 wxFontList
*arg1
= (wxFontList
*) 0 ;
33391 wxFont
*arg2
= (wxFont
*) 0 ;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 char * kwnames
[] = {
33399 (char *) "self",(char *) "font", NULL
33402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33404 if (!SWIG_IsOK(res1
)) {
33405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33407 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33409 if (!SWIG_IsOK(res2
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33412 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 (arg1
)->AddFont(arg2
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_Py_Void();
33426 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33427 PyObject
*resultobj
= 0;
33428 wxFontList
*arg1
= (wxFontList
*) 0 ;
33429 wxFont
*arg2
= (wxFont
*) 0 ;
33434 PyObject
* obj0
= 0 ;
33435 PyObject
* obj1
= 0 ;
33436 char * kwnames
[] = {
33437 (char *) "self",(char *) "font", NULL
33440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33445 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33447 if (!SWIG_IsOK(res2
)) {
33448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33450 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 (arg1
)->RemoveFont(arg2
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= SWIG_Py_Void();
33464 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33467 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33468 return SWIG_Py_Void();
33471 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33472 PyObject
*resultobj
= 0;
33473 wxColourDatabase
*result
= 0 ;
33475 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33477 if (!wxPyCheckForApp()) SWIG_fail
;
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 result
= (wxColourDatabase
*)new wxColourDatabase();
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33490 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33491 PyObject
*resultobj
= 0;
33492 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33495 PyObject
*swig_obj
[1] ;
33497 if (!args
) SWIG_fail
;
33498 swig_obj
[0] = args
;
33499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33500 if (!SWIG_IsOK(res1
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33503 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= SWIG_Py_Void();
33518 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
= 0;
33520 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33521 wxString
*arg2
= 0 ;
33525 bool temp2
= false ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 char * kwnames
[] = {
33529 (char *) "self",(char *) "name", NULL
33532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33534 if (!SWIG_IsOK(res1
)) {
33535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33537 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33539 arg2
= wxString_in_helper(obj1
);
33540 if (arg2
== NULL
) SWIG_fail
;
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33564 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
= 0;
33566 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33567 wxColour
*arg2
= 0 ;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 char * kwnames
[] = {
33575 (char *) "self",(char *) "colour", NULL
33578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33580 if (!SWIG_IsOK(res1
)) {
33581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33583 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33586 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33607 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
= 0;
33609 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33610 wxString
*arg2
= 0 ;
33611 wxColour
*arg3
= 0 ;
33614 bool temp2
= false ;
33616 PyObject
* obj0
= 0 ;
33617 PyObject
* obj1
= 0 ;
33618 PyObject
* obj2
= 0 ;
33619 char * kwnames
[] = {
33620 (char *) "self",(char *) "name",(char *) "colour", NULL
33623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33628 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33630 arg2
= wxString_in_helper(obj1
);
33631 if (arg2
== NULL
) SWIG_fail
;
33636 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_Py_Void();
33659 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33660 PyObject
*resultobj
= 0;
33661 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33662 wxString
*arg2
= 0 ;
33668 bool temp2
= false ;
33675 PyObject
* obj0
= 0 ;
33676 PyObject
* obj1
= 0 ;
33677 PyObject
* obj2
= 0 ;
33678 PyObject
* obj3
= 0 ;
33679 PyObject
* obj4
= 0 ;
33680 char * kwnames
[] = {
33681 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33689 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33691 arg2
= wxString_in_helper(obj1
);
33692 if (arg2
== NULL
) SWIG_fail
;
33695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33696 if (!SWIG_IsOK(ecode3
)) {
33697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33699 arg3
= static_cast< int >(val3
);
33700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33701 if (!SWIG_IsOK(ecode4
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33704 arg4
= static_cast< int >(val4
);
33705 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33706 if (!SWIG_IsOK(ecode5
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33709 arg5
= static_cast< int >(val5
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_Py_Void();
33731 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33734 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33735 return SWIG_Py_Void();
33738 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33739 return SWIG_Python_InitShadowInstance(args
);
33742 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33743 PyObject
*resultobj
= 0;
33744 wxFontList
*result
= 0 ;
33746 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 result
= (wxFontList
*)_wxPyInitTheFontList();
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33760 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33761 PyObject
*resultobj
= 0;
33762 wxPenList
*result
= 0 ;
33764 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33767 result
= (wxPenList
*)_wxPyInitThePenList();
33768 wxPyEndAllowThreads(__tstate
);
33769 if (PyErr_Occurred()) SWIG_fail
;
33771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33778 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33779 PyObject
*resultobj
= 0;
33780 wxBrushList
*result
= 0 ;
33782 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33796 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33797 PyObject
*resultobj
= 0;
33798 wxColourDatabase
*result
= 0 ;
33800 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33814 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33815 PyObject
*resultobj
= 0;
33816 wxEffects
*result
= 0 ;
33818 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 result
= (wxEffects
*)new wxEffects();
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33832 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33833 PyObject
*resultobj
= 0;
33834 wxEffects
*arg1
= (wxEffects
*) 0 ;
33838 PyObject
*swig_obj
[1] ;
33840 if (!args
) SWIG_fail
;
33841 swig_obj
[0] = args
;
33842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33843 if (!SWIG_IsOK(res1
)) {
33844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33846 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33849 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33853 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33860 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33861 PyObject
*resultobj
= 0;
33862 wxEffects
*arg1
= (wxEffects
*) 0 ;
33866 PyObject
*swig_obj
[1] ;
33868 if (!args
) SWIG_fail
;
33869 swig_obj
[0] = args
;
33870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33874 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33888 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33889 PyObject
*resultobj
= 0;
33890 wxEffects
*arg1
= (wxEffects
*) 0 ;
33894 PyObject
*swig_obj
[1] ;
33896 if (!args
) SWIG_fail
;
33897 swig_obj
[0] = args
;
33898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33899 if (!SWIG_IsOK(res1
)) {
33900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33902 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33916 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33917 PyObject
*resultobj
= 0;
33918 wxEffects
*arg1
= (wxEffects
*) 0 ;
33922 PyObject
*swig_obj
[1] ;
33924 if (!args
) SWIG_fail
;
33925 swig_obj
[0] = args
;
33926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33927 if (!SWIG_IsOK(res1
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33930 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33944 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33945 PyObject
*resultobj
= 0;
33946 wxEffects
*arg1
= (wxEffects
*) 0 ;
33950 PyObject
*swig_obj
[1] ;
33952 if (!args
) SWIG_fail
;
33953 swig_obj
[0] = args
;
33954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33958 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33972 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
= 0;
33974 wxEffects
*arg1
= (wxEffects
*) 0 ;
33975 wxColour
*arg2
= 0 ;
33979 PyObject
* obj0
= 0 ;
33980 PyObject
* obj1
= 0 ;
33981 char * kwnames
[] = {
33982 (char *) "self",(char *) "c", NULL
33985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33987 if (!SWIG_IsOK(res1
)) {
33988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33990 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33997 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33998 wxPyEndAllowThreads(__tstate
);
33999 if (PyErr_Occurred()) SWIG_fail
;
34001 resultobj
= SWIG_Py_Void();
34008 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
= 0;
34010 wxEffects
*arg1
= (wxEffects
*) 0 ;
34011 wxColour
*arg2
= 0 ;
34015 PyObject
* obj0
= 0 ;
34016 PyObject
* obj1
= 0 ;
34017 char * kwnames
[] = {
34018 (char *) "self",(char *) "c", NULL
34021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34023 if (!SWIG_IsOK(res1
)) {
34024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34026 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34037 resultobj
= SWIG_Py_Void();
34044 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
= 0;
34046 wxEffects
*arg1
= (wxEffects
*) 0 ;
34047 wxColour
*arg2
= 0 ;
34051 PyObject
* obj0
= 0 ;
34052 PyObject
* obj1
= 0 ;
34053 char * kwnames
[] = {
34054 (char *) "self",(char *) "c", NULL
34057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34059 if (!SWIG_IsOK(res1
)) {
34060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34062 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34069 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= SWIG_Py_Void();
34080 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
= 0;
34082 wxEffects
*arg1
= (wxEffects
*) 0 ;
34083 wxColour
*arg2
= 0 ;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 char * kwnames
[] = {
34090 (char *) "self",(char *) "c", NULL
34093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34095 if (!SWIG_IsOK(res1
)) {
34096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34098 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_Py_Void();
34116 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
= 0;
34118 wxEffects
*arg1
= (wxEffects
*) 0 ;
34119 wxColour
*arg2
= 0 ;
34123 PyObject
* obj0
= 0 ;
34124 PyObject
* obj1
= 0 ;
34125 char * kwnames
[] = {
34126 (char *) "self",(char *) "c", NULL
34129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34131 if (!SWIG_IsOK(res1
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34134 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34141 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34142 wxPyEndAllowThreads(__tstate
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34145 resultobj
= SWIG_Py_Void();
34152 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34153 PyObject
*resultobj
= 0;
34154 wxEffects
*arg1
= (wxEffects
*) 0 ;
34155 wxColour
*arg2
= 0 ;
34156 wxColour
*arg3
= 0 ;
34157 wxColour
*arg4
= 0 ;
34158 wxColour
*arg5
= 0 ;
34159 wxColour
*arg6
= 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 PyObject
* obj2
= 0 ;
34170 PyObject
* obj3
= 0 ;
34171 PyObject
* obj4
= 0 ;
34172 PyObject
* obj5
= 0 ;
34173 char * kwnames
[] = {
34174 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34179 if (!SWIG_IsOK(res1
)) {
34180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34182 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34189 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34193 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34197 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34201 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34205 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34209 resultobj
= SWIG_Py_Void();
34216 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
= 0;
34218 wxEffects
*arg1
= (wxEffects
*) 0 ;
34221 int arg4
= (int) 1 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 PyObject
* obj2
= 0 ;
34232 PyObject
* obj3
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34242 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34244 if (!SWIG_IsOK(res2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34250 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34253 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34257 if (!SWIG_IsOK(ecode4
)) {
34258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34260 arg4
= static_cast< int >(val4
);
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34265 wxPyEndAllowThreads(__tstate
);
34266 if (PyErr_Occurred()) SWIG_fail
;
34268 resultobj
= SWIG_Py_Void();
34275 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34276 PyObject
*resultobj
= 0;
34277 wxEffects
*arg1
= (wxEffects
*) 0 ;
34280 wxBitmap
*arg4
= 0 ;
34289 PyObject
* obj0
= 0 ;
34290 PyObject
* obj1
= 0 ;
34291 PyObject
* obj2
= 0 ;
34292 PyObject
* obj3
= 0 ;
34293 char * kwnames
[] = {
34294 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34299 if (!SWIG_IsOK(res1
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34302 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34305 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34307 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34308 if (!SWIG_IsOK(res3
)) {
34309 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34314 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34315 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34316 if (!SWIG_IsOK(res4
)) {
34317 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34322 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34338 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34341 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34342 return SWIG_Py_Void();
34345 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34346 return SWIG_Python_InitShadowInstance(args
);
34349 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34350 PyObject
*resultobj
= 0;
34354 wxSplitterRenderParams
*result
= 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 PyObject
* obj2
= 0 ;
34364 char * kwnames
[] = {
34365 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34370 if (!SWIG_IsOK(ecode1
)) {
34371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34373 arg1
= static_cast< int >(val1
);
34374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34375 if (!SWIG_IsOK(ecode2
)) {
34376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34378 arg2
= static_cast< int >(val2
);
34379 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34380 if (!SWIG_IsOK(ecode3
)) {
34381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34383 arg3
= static_cast< bool >(val3
);
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34397 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34398 PyObject
*resultobj
= 0;
34399 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34402 PyObject
*swig_obj
[1] ;
34404 if (!args
) SWIG_fail
;
34405 swig_obj
[0] = args
;
34406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34410 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 wxPyEndAllowThreads(__tstate
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34418 resultobj
= SWIG_Py_Void();
34425 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34426 PyObject
*resultobj
= 0;
34427 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34431 PyObject
*swig_obj
[1] ;
34433 if (!args
) SWIG_fail
;
34434 swig_obj
[0] = args
;
34435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34439 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34440 result
= (int)(int) ((arg1
)->widthSash
);
34441 resultobj
= SWIG_From_int(static_cast< int >(result
));
34448 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34449 PyObject
*resultobj
= 0;
34450 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34454 PyObject
*swig_obj
[1] ;
34456 if (!args
) SWIG_fail
;
34457 swig_obj
[0] = args
;
34458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34459 if (!SWIG_IsOK(res1
)) {
34460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34462 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34463 result
= (int)(int) ((arg1
)->border
);
34464 resultobj
= SWIG_From_int(static_cast< int >(result
));
34471 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34472 PyObject
*resultobj
= 0;
34473 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34477 PyObject
*swig_obj
[1] ;
34479 if (!args
) SWIG_fail
;
34480 swig_obj
[0] = args
;
34481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34482 if (!SWIG_IsOK(res1
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34485 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34486 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34487 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34494 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34497 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34498 return SWIG_Py_Void();
34501 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34502 return SWIG_Python_InitShadowInstance(args
);
34505 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34506 PyObject
*resultobj
= 0;
34507 wxHeaderButtonParams
*result
= 0 ;
34509 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34523 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34524 PyObject
*resultobj
= 0;
34525 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34528 PyObject
*swig_obj
[1] ;
34530 if (!args
) SWIG_fail
;
34531 swig_obj
[0] = args
;
34532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34533 if (!SWIG_IsOK(res1
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34536 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= SWIG_Py_Void();
34551 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34552 PyObject
*resultobj
= 0;
34553 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34554 wxColour
*arg2
= (wxColour
*) 0 ;
34558 PyObject
*swig_obj
[2] ;
34560 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34562 if (!SWIG_IsOK(res1
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34565 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34568 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34570 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34572 resultobj
= SWIG_Py_Void();
34579 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34580 PyObject
*resultobj
= 0;
34581 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34582 wxColour
*result
= 0 ;
34585 PyObject
*swig_obj
[1] ;
34587 if (!args
) SWIG_fail
;
34588 swig_obj
[0] = args
;
34589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34590 if (!SWIG_IsOK(res1
)) {
34591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34593 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34594 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34602 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34603 PyObject
*resultobj
= 0;
34604 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34605 wxColour
*arg2
= (wxColour
*) 0 ;
34609 PyObject
*swig_obj
[2] ;
34611 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34613 if (!SWIG_IsOK(res1
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34616 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34619 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34621 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34623 resultobj
= SWIG_Py_Void();
34630 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34631 PyObject
*resultobj
= 0;
34632 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34633 wxColour
*result
= 0 ;
34636 PyObject
*swig_obj
[1] ;
34638 if (!args
) SWIG_fail
;
34639 swig_obj
[0] = args
;
34640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34641 if (!SWIG_IsOK(res1
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34644 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34645 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34653 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34654 PyObject
*resultobj
= 0;
34655 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34656 wxString
*arg2
= (wxString
*) 0 ;
34659 bool temp2
= false ;
34660 PyObject
*swig_obj
[2] ;
34662 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34664 if (!SWIG_IsOK(res1
)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34667 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34669 arg2
= wxString_in_helper(swig_obj
[1]);
34670 if (arg2
== NULL
) SWIG_fail
;
34673 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34675 resultobj
= SWIG_Py_Void();
34690 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34691 PyObject
*resultobj
= 0;
34692 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34693 wxString
*result
= 0 ;
34696 PyObject
*swig_obj
[1] ;
34698 if (!args
) SWIG_fail
;
34699 swig_obj
[0] = args
;
34700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34701 if (!SWIG_IsOK(res1
)) {
34702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34704 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34705 result
= (wxString
*)& ((arg1
)->m_labelText
);
34708 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34710 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34719 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34720 PyObject
*resultobj
= 0;
34721 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34722 wxFont
*arg2
= (wxFont
*) 0 ;
34727 PyObject
*swig_obj
[2] ;
34729 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34731 if (!SWIG_IsOK(res1
)) {
34732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34734 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34735 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34736 if (!SWIG_IsOK(res2
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34739 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34740 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34742 resultobj
= SWIG_Py_Void();
34749 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34750 PyObject
*resultobj
= 0;
34751 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34752 wxFont
*result
= 0 ;
34755 PyObject
*swig_obj
[1] ;
34757 if (!args
) SWIG_fail
;
34758 swig_obj
[0] = args
;
34759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34760 if (!SWIG_IsOK(res1
)) {
34761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34763 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34764 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34772 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34773 PyObject
*resultobj
= 0;
34774 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34775 wxColour
*arg2
= (wxColour
*) 0 ;
34779 PyObject
*swig_obj
[2] ;
34781 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34783 if (!SWIG_IsOK(res1
)) {
34784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34786 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34789 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34791 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34793 resultobj
= SWIG_Py_Void();
34800 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34801 PyObject
*resultobj
= 0;
34802 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34803 wxColour
*result
= 0 ;
34806 PyObject
*swig_obj
[1] ;
34808 if (!args
) SWIG_fail
;
34809 swig_obj
[0] = args
;
34810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34811 if (!SWIG_IsOK(res1
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34814 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34815 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34823 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34824 PyObject
*resultobj
= 0;
34825 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34826 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34831 PyObject
*swig_obj
[2] ;
34833 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34835 if (!SWIG_IsOK(res1
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34838 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34839 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34840 if (!SWIG_IsOK(res2
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34843 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34844 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34846 resultobj
= SWIG_Py_Void();
34853 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34854 PyObject
*resultobj
= 0;
34855 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34856 wxBitmap
*result
= 0 ;
34859 PyObject
*swig_obj
[1] ;
34861 if (!args
) SWIG_fail
;
34862 swig_obj
[0] = args
;
34863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34864 if (!SWIG_IsOK(res1
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34867 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34868 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34876 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34877 PyObject
*resultobj
= 0;
34878 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34884 PyObject
*swig_obj
[2] ;
34886 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34888 if (!SWIG_IsOK(res1
)) {
34889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34891 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34892 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34893 if (!SWIG_IsOK(ecode2
)) {
34894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34896 arg2
= static_cast< int >(val2
);
34897 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34899 resultobj
= SWIG_Py_Void();
34906 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34907 PyObject
*resultobj
= 0;
34908 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34912 PyObject
*swig_obj
[1] ;
34914 if (!args
) SWIG_fail
;
34915 swig_obj
[0] = args
;
34916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34917 if (!SWIG_IsOK(res1
)) {
34918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34920 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34921 result
= (int) ((arg1
)->m_labelAlignment
);
34922 resultobj
= SWIG_From_int(static_cast< int >(result
));
34929 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34932 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34933 return SWIG_Py_Void();
34936 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34937 return SWIG_Python_InitShadowInstance(args
);
34940 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
= 0;
34944 wxRendererVersion
*result
= 0 ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 char * kwnames
[] = {
34952 (char *) "version_",(char *) "age_", NULL
34955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34956 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34957 if (!SWIG_IsOK(ecode1
)) {
34958 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34960 arg1
= static_cast< int >(val1
);
34961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34962 if (!SWIG_IsOK(ecode2
)) {
34963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34965 arg2
= static_cast< int >(val2
);
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34969 wxPyEndAllowThreads(__tstate
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34979 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34980 PyObject
*resultobj
= 0;
34981 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34984 PyObject
*swig_obj
[1] ;
34986 if (!args
) SWIG_fail
;
34987 swig_obj
[0] = args
;
34988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34989 if (!SWIG_IsOK(res1
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34992 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35000 resultobj
= SWIG_Py_Void();
35007 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35008 PyObject
*resultobj
= 0;
35009 wxRendererVersion
*arg1
= 0 ;
35013 PyObject
* obj0
= 0 ;
35014 char * kwnames
[] = {
35015 (char *) "ver", NULL
35018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35020 if (!SWIG_IsOK(res1
)) {
35021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35026 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35030 wxPyEndAllowThreads(__tstate
);
35031 if (PyErr_Occurred()) SWIG_fail
;
35034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35042 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35043 PyObject
*resultobj
= 0;
35044 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35048 PyObject
*swig_obj
[1] ;
35050 if (!args
) SWIG_fail
;
35051 swig_obj
[0] = args
;
35052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35056 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35057 result
= (int)(int) ((arg1
)->version
);
35058 resultobj
= SWIG_From_int(static_cast< int >(result
));
35065 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35066 PyObject
*resultobj
= 0;
35067 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35071 PyObject
*swig_obj
[1] ;
35073 if (!args
) SWIG_fail
;
35074 swig_obj
[0] = args
;
35075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35076 if (!SWIG_IsOK(res1
)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35079 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35080 result
= (int)(int) ((arg1
)->age
);
35081 resultobj
= SWIG_From_int(static_cast< int >(result
));
35088 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35091 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35092 return SWIG_Py_Void();
35095 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35096 return SWIG_Python_InitShadowInstance(args
);
35099 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35100 PyObject
*resultobj
= 0;
35101 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35102 wxWindow
*arg2
= (wxWindow
*) 0 ;
35105 int arg5
= (int) 0 ;
35106 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35107 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35122 PyObject
* obj0
= 0 ;
35123 PyObject
* obj1
= 0 ;
35124 PyObject
* obj2
= 0 ;
35125 PyObject
* obj3
= 0 ;
35126 PyObject
* obj4
= 0 ;
35127 PyObject
* obj5
= 0 ;
35128 PyObject
* obj6
= 0 ;
35129 char * kwnames
[] = {
35130 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35135 if (!SWIG_IsOK(res1
)) {
35136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35138 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35140 if (!SWIG_IsOK(res2
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35143 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35144 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35145 if (!SWIG_IsOK(res3
)) {
35146 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35151 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35154 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35157 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35158 if (!SWIG_IsOK(ecode5
)) {
35159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35161 arg5
= static_cast< int >(val5
);
35164 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35165 if (!SWIG_IsOK(ecode6
)) {
35166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35168 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35171 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35172 if (!SWIG_IsOK(res7
)) {
35173 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35175 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= SWIG_From_int(static_cast< int >(result
));
35190 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
= 0;
35192 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35193 wxWindow
*arg2
= (wxWindow
*) 0 ;
35196 int arg5
= (int) 0 ;
35197 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35198 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35213 PyObject
* obj0
= 0 ;
35214 PyObject
* obj1
= 0 ;
35215 PyObject
* obj2
= 0 ;
35216 PyObject
* obj3
= 0 ;
35217 PyObject
* obj4
= 0 ;
35218 PyObject
* obj5
= 0 ;
35219 PyObject
* obj6
= 0 ;
35220 char * kwnames
[] = {
35221 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35226 if (!SWIG_IsOK(res1
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35229 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35231 if (!SWIG_IsOK(res2
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35235 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35236 if (!SWIG_IsOK(res3
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35242 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35245 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35249 if (!SWIG_IsOK(ecode5
)) {
35250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35252 arg5
= static_cast< int >(val5
);
35255 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35256 if (!SWIG_IsOK(ecode6
)) {
35257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35259 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35262 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35263 if (!SWIG_IsOK(res7
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35266 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= SWIG_From_int(static_cast< int >(result
));
35281 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35282 PyObject
*resultobj
= 0;
35283 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35284 wxWindow
*arg2
= (wxWindow
*) 0 ;
35290 PyObject
* obj0
= 0 ;
35291 PyObject
* obj1
= 0 ;
35292 char * kwnames
[] = {
35293 (char *) "self",(char *) "win", NULL
35296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35301 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35303 if (!SWIG_IsOK(res2
)) {
35304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35306 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 resultobj
= SWIG_From_int(static_cast< int >(result
));
35320 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35321 PyObject
*resultobj
= 0;
35322 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35323 wxWindow
*arg2
= (wxWindow
*) 0 ;
35326 int arg5
= (int) 0 ;
35336 PyObject
* obj0
= 0 ;
35337 PyObject
* obj1
= 0 ;
35338 PyObject
* obj2
= 0 ;
35339 PyObject
* obj3
= 0 ;
35340 PyObject
* obj4
= 0 ;
35341 char * kwnames
[] = {
35342 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35347 if (!SWIG_IsOK(res1
)) {
35348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35350 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35352 if (!SWIG_IsOK(res2
)) {
35353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35355 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35357 if (!SWIG_IsOK(res3
)) {
35358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35363 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35366 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35370 if (!SWIG_IsOK(ecode5
)) {
35371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35373 arg5
= static_cast< int >(val5
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= SWIG_Py_Void();
35388 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
= 0;
35390 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35391 wxWindow
*arg2
= (wxWindow
*) 0 ;
35394 int arg5
= (int) 0 ;
35404 PyObject
* obj0
= 0 ;
35405 PyObject
* obj1
= 0 ;
35406 PyObject
* obj2
= 0 ;
35407 PyObject
* obj3
= 0 ;
35408 PyObject
* obj4
= 0 ;
35409 char * kwnames
[] = {
35410 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35415 if (!SWIG_IsOK(res1
)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35418 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35420 if (!SWIG_IsOK(res2
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35423 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35424 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35425 if (!SWIG_IsOK(res3
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35431 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35434 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35438 if (!SWIG_IsOK(ecode5
)) {
35439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35441 arg5
= static_cast< int >(val5
);
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35445 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= SWIG_Py_Void();
35456 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35457 PyObject
*resultobj
= 0;
35458 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35459 wxWindow
*arg2
= (wxWindow
*) 0 ;
35463 wxOrientation arg6
;
35464 int arg7
= (int) 0 ;
35478 PyObject
* obj0
= 0 ;
35479 PyObject
* obj1
= 0 ;
35480 PyObject
* obj2
= 0 ;
35481 PyObject
* obj3
= 0 ;
35482 PyObject
* obj4
= 0 ;
35483 PyObject
* obj5
= 0 ;
35484 PyObject
* obj6
= 0 ;
35485 char * kwnames
[] = {
35486 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35491 if (!SWIG_IsOK(res1
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35494 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35496 if (!SWIG_IsOK(res2
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35499 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35500 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35501 if (!SWIG_IsOK(res3
)) {
35502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35507 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35513 if (!SWIG_IsOK(ecode5
)) {
35514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35516 arg5
= static_cast< int >(val5
);
35517 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35518 if (!SWIG_IsOK(ecode6
)) {
35519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35521 arg6
= static_cast< wxOrientation
>(val6
);
35523 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35524 if (!SWIG_IsOK(ecode7
)) {
35525 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35527 arg7
= static_cast< int >(val7
);
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35532 wxPyEndAllowThreads(__tstate
);
35533 if (PyErr_Occurred()) SWIG_fail
;
35535 resultobj
= SWIG_Py_Void();
35542 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35543 PyObject
*resultobj
= 0;
35544 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35545 wxWindow
*arg2
= (wxWindow
*) 0 ;
35548 int arg5
= (int) 0 ;
35558 PyObject
* obj0
= 0 ;
35559 PyObject
* obj1
= 0 ;
35560 PyObject
* obj2
= 0 ;
35561 PyObject
* obj3
= 0 ;
35562 PyObject
* obj4
= 0 ;
35563 char * kwnames
[] = {
35564 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35572 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35574 if (!SWIG_IsOK(res2
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35578 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35579 if (!SWIG_IsOK(res3
)) {
35580 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35585 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35588 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35592 if (!SWIG_IsOK(ecode5
)) {
35593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35595 arg5
= static_cast< int >(val5
);
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= SWIG_Py_Void();
35610 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35611 PyObject
*resultobj
= 0;
35612 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35613 wxWindow
*arg2
= (wxWindow
*) 0 ;
35616 int arg5
= (int) 0 ;
35626 PyObject
* obj0
= 0 ;
35627 PyObject
* obj1
= 0 ;
35628 PyObject
* obj2
= 0 ;
35629 PyObject
* obj3
= 0 ;
35630 PyObject
* obj4
= 0 ;
35631 char * kwnames
[] = {
35632 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35637 if (!SWIG_IsOK(res1
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35640 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35642 if (!SWIG_IsOK(res2
)) {
35643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35645 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35646 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35647 if (!SWIG_IsOK(res3
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35653 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35656 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35659 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35660 if (!SWIG_IsOK(ecode5
)) {
35661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35663 arg5
= static_cast< int >(val5
);
35666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35667 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35671 resultobj
= SWIG_Py_Void();
35678 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
= 0;
35680 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35681 wxWindow
*arg2
= (wxWindow
*) 0 ;
35684 int arg5
= (int) 0 ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 PyObject
* obj2
= 0 ;
35697 PyObject
* obj3
= 0 ;
35698 PyObject
* obj4
= 0 ;
35699 char * kwnames
[] = {
35700 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35705 if (!SWIG_IsOK(res1
)) {
35706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35708 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35710 if (!SWIG_IsOK(res2
)) {
35711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35714 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35715 if (!SWIG_IsOK(res3
)) {
35716 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35721 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35724 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35728 if (!SWIG_IsOK(ecode5
)) {
35729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35731 arg5
= static_cast< int >(val5
);
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35739 resultobj
= SWIG_Py_Void();
35746 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35747 PyObject
*resultobj
= 0;
35748 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35749 wxWindow
*arg2
= (wxWindow
*) 0 ;
35752 int arg5
= (int) 0 ;
35762 PyObject
* obj0
= 0 ;
35763 PyObject
* obj1
= 0 ;
35764 PyObject
* obj2
= 0 ;
35765 PyObject
* obj3
= 0 ;
35766 PyObject
* obj4
= 0 ;
35767 char * kwnames
[] = {
35768 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35773 if (!SWIG_IsOK(res1
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35776 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35778 if (!SWIG_IsOK(res2
)) {
35779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35782 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35783 if (!SWIG_IsOK(res3
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35789 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35792 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35796 if (!SWIG_IsOK(ecode5
)) {
35797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35799 arg5
= static_cast< int >(val5
);
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 resultobj
= SWIG_Py_Void();
35814 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
= 0;
35816 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35817 wxWindow
*arg2
= (wxWindow
*) 0 ;
35820 int arg5
= (int) 0 ;
35830 PyObject
* obj0
= 0 ;
35831 PyObject
* obj1
= 0 ;
35832 PyObject
* obj2
= 0 ;
35833 PyObject
* obj3
= 0 ;
35834 PyObject
* obj4
= 0 ;
35835 char * kwnames
[] = {
35836 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35841 if (!SWIG_IsOK(res1
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35844 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35846 if (!SWIG_IsOK(res2
)) {
35847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35850 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35851 if (!SWIG_IsOK(res3
)) {
35852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35857 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35860 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35864 if (!SWIG_IsOK(ecode5
)) {
35865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35867 arg5
= static_cast< int >(val5
);
35870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35871 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35872 wxPyEndAllowThreads(__tstate
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35875 resultobj
= SWIG_Py_Void();
35882 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
= 0;
35884 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35885 wxWindow
*arg2
= (wxWindow
*) 0 ;
35886 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35891 PyObject
* obj0
= 0 ;
35892 PyObject
* obj1
= 0 ;
35893 char * kwnames
[] = {
35894 (char *) "self",(char *) "win", NULL
35897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35899 if (!SWIG_IsOK(res1
)) {
35900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35902 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35904 if (!SWIG_IsOK(res2
)) {
35905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35910 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35914 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35921 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35922 PyObject
*resultobj
= 0;
35923 wxRendererNative
*result
= 0 ;
35925 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35927 if (!wxPyCheckForApp()) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35931 result
= (wxRendererNative
*) &_result_ref
;
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35943 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35944 PyObject
*resultobj
= 0;
35945 wxRendererNative
*result
= 0 ;
35947 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35949 if (!wxPyCheckForApp()) SWIG_fail
;
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35952 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35953 result
= (wxRendererNative
*) &_result_ref
;
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35965 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35966 PyObject
*resultobj
= 0;
35967 wxRendererNative
*result
= 0 ;
35969 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35971 if (!wxPyCheckForApp()) SWIG_fail
;
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35974 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35975 result
= (wxRendererNative
*) &_result_ref
;
35977 wxPyEndAllowThreads(__tstate
);
35978 if (PyErr_Occurred()) SWIG_fail
;
35980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35987 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35988 PyObject
*resultobj
= 0;
35989 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35990 wxRendererNative
*result
= 0 ;
35993 PyObject
* obj0
= 0 ;
35994 char * kwnames
[] = {
35995 (char *) "renderer", NULL
35998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36000 if (!SWIG_IsOK(res1
)) {
36001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36003 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36005 if (!wxPyCheckForApp()) SWIG_fail
;
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
36008 wxPyEndAllowThreads(__tstate
);
36009 if (PyErr_Occurred()) SWIG_fail
;
36011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36018 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36019 PyObject
*resultobj
= 0;
36020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36021 SwigValueWrapper
<wxRendererVersion
> result
;
36024 PyObject
*swig_obj
[1] ;
36026 if (!args
) SWIG_fail
;
36027 swig_obj
[0] = args
;
36028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36029 if (!SWIG_IsOK(res1
)) {
36030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36032 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36046 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36049 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36050 return SWIG_Py_Void();
36053 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36054 PyObject
*resultobj
= 0;
36055 wxPseudoDC
*result
= 0 ;
36057 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36060 result
= (wxPseudoDC
*)new wxPseudoDC();
36061 wxPyEndAllowThreads(__tstate
);
36062 if (PyErr_Occurred()) SWIG_fail
;
36064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36071 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36072 PyObject
*resultobj
= 0;
36073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36076 PyObject
*swig_obj
[1] ;
36078 if (!args
) SWIG_fail
;
36079 swig_obj
[0] = args
;
36080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36087 (arg1
)->BeginDrawing();
36088 wxPyEndAllowThreads(__tstate
);
36089 if (PyErr_Occurred()) SWIG_fail
;
36091 resultobj
= SWIG_Py_Void();
36098 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36099 PyObject
*resultobj
= 0;
36100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36103 PyObject
*swig_obj
[1] ;
36105 if (!args
) SWIG_fail
;
36106 swig_obj
[0] = args
;
36107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36108 if (!SWIG_IsOK(res1
)) {
36109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 (arg1
)->EndDrawing();
36115 wxPyEndAllowThreads(__tstate
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36118 resultobj
= SWIG_Py_Void();
36125 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36126 PyObject
*resultobj
= 0;
36127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36130 PyObject
*swig_obj
[1] ;
36132 if (!args
) SWIG_fail
;
36133 swig_obj
[0] = args
;
36134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36135 if (!SWIG_IsOK(res1
)) {
36136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 wxPyEndAllowThreads(__tstate
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36146 resultobj
= SWIG_Py_Void();
36153 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36154 PyObject
*resultobj
= 0;
36155 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36158 PyObject
*swig_obj
[1] ;
36160 if (!args
) SWIG_fail
;
36161 swig_obj
[0] = args
;
36162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36163 if (!SWIG_IsOK(res1
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 (arg1
)->RemoveAll();
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= SWIG_Py_Void();
36180 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36181 PyObject
*resultobj
= 0;
36182 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36186 PyObject
*swig_obj
[1] ;
36188 if (!args
) SWIG_fail
;
36189 swig_obj
[0] = args
;
36190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36191 if (!SWIG_IsOK(res1
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 result
= (int)(arg1
)->GetLen();
36198 wxPyEndAllowThreads(__tstate
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= SWIG_From_int(static_cast< int >(result
));
36208 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36209 PyObject
*resultobj
= 0;
36210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36216 PyObject
* obj0
= 0 ;
36217 PyObject
* obj1
= 0 ;
36218 char * kwnames
[] = {
36219 (char *) "self",(char *) "id", NULL
36222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36224 if (!SWIG_IsOK(res1
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36229 if (!SWIG_IsOK(ecode2
)) {
36230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36232 arg2
= static_cast< int >(val2
);
36234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 (arg1
)->SetId(arg2
);
36236 wxPyEndAllowThreads(__tstate
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36239 resultobj
= SWIG_Py_Void();
36246 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36247 PyObject
*resultobj
= 0;
36248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 PyObject
* obj1
= 0 ;
36256 char * kwnames
[] = {
36257 (char *) "self",(char *) "id", NULL
36260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36262 if (!SWIG_IsOK(res1
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36267 if (!SWIG_IsOK(ecode2
)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36270 arg2
= static_cast< int >(val2
);
36272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36273 (arg1
)->ClearId(arg2
);
36274 wxPyEndAllowThreads(__tstate
);
36275 if (PyErr_Occurred()) SWIG_fail
;
36277 resultobj
= SWIG_Py_Void();
36284 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36285 PyObject
*resultobj
= 0;
36286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36292 PyObject
* obj0
= 0 ;
36293 PyObject
* obj1
= 0 ;
36294 char * kwnames
[] = {
36295 (char *) "self",(char *) "id", NULL
36298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36300 if (!SWIG_IsOK(res1
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36305 if (!SWIG_IsOK(ecode2
)) {
36306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36308 arg2
= static_cast< int >(val2
);
36310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36311 (arg1
)->RemoveId(arg2
);
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 resultobj
= SWIG_Py_Void();
36322 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36323 PyObject
*resultobj
= 0;
36324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36336 PyObject
* obj0
= 0 ;
36337 PyObject
* obj1
= 0 ;
36338 PyObject
* obj2
= 0 ;
36339 PyObject
* obj3
= 0 ;
36340 char * kwnames
[] = {
36341 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36346 if (!SWIG_IsOK(res1
)) {
36347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36351 if (!SWIG_IsOK(ecode2
)) {
36352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36354 arg2
= static_cast< int >(val2
);
36355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36356 if (!SWIG_IsOK(ecode3
)) {
36357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36359 arg3
= static_cast< int >(val3
);
36360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36361 if (!SWIG_IsOK(ecode4
)) {
36362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36364 arg4
= static_cast< int >(val4
);
36366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36367 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36368 wxPyEndAllowThreads(__tstate
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36371 resultobj
= SWIG_Py_Void();
36378 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
= 0;
36380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36382 bool arg3
= (bool) true ;
36389 PyObject
* obj0
= 0 ;
36390 PyObject
* obj1
= 0 ;
36391 PyObject
* obj2
= 0 ;
36392 char * kwnames
[] = {
36393 (char *) "self",(char *) "id",(char *) "greyout", NULL
36396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36398 if (!SWIG_IsOK(res1
)) {
36399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36403 if (!SWIG_IsOK(ecode2
)) {
36404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36406 arg2
= static_cast< int >(val2
);
36408 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36409 if (!SWIG_IsOK(ecode3
)) {
36410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36412 arg3
= static_cast< bool >(val3
);
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_Py_Void();
36427 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36436 PyObject
* obj0
= 0 ;
36437 PyObject
* obj1
= 0 ;
36438 char * kwnames
[] = {
36439 (char *) "self",(char *) "id", NULL
36442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36444 if (!SWIG_IsOK(res1
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36447 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36449 if (!SWIG_IsOK(ecode2
)) {
36450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36452 arg2
= static_cast< int >(val2
);
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36468 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
= 0;
36470 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36473 int arg4
= (int) 1 ;
36474 wxColour
const &arg5_defvalue
= *wxWHITE
;
36475 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
36476 PyObject
*result
= 0 ;
36486 PyObject
* obj0
= 0 ;
36487 PyObject
* obj1
= 0 ;
36488 PyObject
* obj2
= 0 ;
36489 PyObject
* obj3
= 0 ;
36490 PyObject
* obj4
= 0 ;
36491 char * kwnames
[] = {
36492 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36497 if (!SWIG_IsOK(res1
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36500 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36502 if (!SWIG_IsOK(ecode2
)) {
36503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36505 arg2
= static_cast< int >(val2
);
36506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36507 if (!SWIG_IsOK(ecode3
)) {
36508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36510 arg3
= static_cast< int >(val3
);
36512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36513 if (!SWIG_IsOK(ecode4
)) {
36514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36516 arg4
= static_cast< int >(val4
);
36521 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36525 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= result
;
36535 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
= 0;
36537 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36540 PyObject
*result
= 0 ;
36547 PyObject
* obj0
= 0 ;
36548 PyObject
* obj1
= 0 ;
36549 PyObject
* obj2
= 0 ;
36550 char * kwnames
[] = {
36551 (char *) "self",(char *) "x",(char *) "y", NULL
36554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36556 if (!SWIG_IsOK(res1
)) {
36557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36561 if (!SWIG_IsOK(ecode2
)) {
36562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36564 arg2
= static_cast< int >(val2
);
36565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36566 if (!SWIG_IsOK(ecode3
)) {
36567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36569 arg3
= static_cast< int >(val3
);
36571 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 resultobj
= result
;
36581 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
= 0;
36583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36585 wxDC
*arg3
= (wxDC
*) 0 ;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 PyObject
* obj2
= 0 ;
36595 char * kwnames
[] = {
36596 (char *) "self",(char *) "id",(char *) "dc", NULL
36599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36606 if (!SWIG_IsOK(ecode2
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36609 arg2
= static_cast< int >(val2
);
36610 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36611 if (!SWIG_IsOK(res3
)) {
36612 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36614 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36617 (arg1
)->DrawIdToDC(arg2
,arg3
);
36618 wxPyEndAllowThreads(__tstate
);
36619 if (PyErr_Occurred()) SWIG_fail
;
36621 resultobj
= SWIG_Py_Void();
36628 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36629 PyObject
*resultobj
= 0;
36630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 PyObject
* obj2
= 0 ;
36641 char * kwnames
[] = {
36642 (char *) "self",(char *) "id",(char *) "rect", NULL
36645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36647 if (!SWIG_IsOK(res1
)) {
36648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36650 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36652 if (!SWIG_IsOK(ecode2
)) {
36653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36655 arg2
= static_cast< int >(val2
);
36658 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->SetIdBounds(arg2
,*arg3
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= SWIG_Py_Void();
36673 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
= 0;
36675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36682 PyObject
* obj0
= 0 ;
36683 PyObject
* obj1
= 0 ;
36684 char * kwnames
[] = {
36685 (char *) "self",(char *) "id", NULL
36688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36690 if (!SWIG_IsOK(res1
)) {
36691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36693 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36695 if (!SWIG_IsOK(ecode2
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36698 arg2
= static_cast< int >(val2
);
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36702 wxPyEndAllowThreads(__tstate
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36712 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
= 0;
36714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36715 wxDC
*arg2
= (wxDC
*) 0 ;
36722 PyObject
* obj0
= 0 ;
36723 PyObject
* obj1
= 0 ;
36724 PyObject
* obj2
= 0 ;
36725 char * kwnames
[] = {
36726 (char *) "self",(char *) "dc",(char *) "rect", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36734 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36736 if (!SWIG_IsOK(res2
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36739 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36742 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36747 wxPyEndAllowThreads(__tstate
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 resultobj
= SWIG_Py_Void();
36757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36758 PyObject
*resultobj
= 0;
36759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36760 wxDC
*arg2
= (wxDC
*) 0 ;
36761 wxRegion
*arg3
= 0 ;
36768 PyObject
* obj0
= 0 ;
36769 PyObject
* obj1
= 0 ;
36770 PyObject
* obj2
= 0 ;
36771 char * kwnames
[] = {
36772 (char *) "self",(char *) "dc",(char *) "region", NULL
36775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36777 if (!SWIG_IsOK(res1
)) {
36778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36782 if (!SWIG_IsOK(res2
)) {
36783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36785 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36786 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36787 if (!SWIG_IsOK(res3
)) {
36788 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36793 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36797 wxPyEndAllowThreads(__tstate
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 resultobj
= SWIG_Py_Void();
36807 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36808 PyObject
*resultobj
= 0;
36809 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36810 wxDC
*arg2
= (wxDC
*) 0 ;
36815 PyObject
* obj0
= 0 ;
36816 PyObject
* obj1
= 0 ;
36817 char * kwnames
[] = {
36818 (char *) "self",(char *) "dc", NULL
36821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36823 if (!SWIG_IsOK(res1
)) {
36824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36828 if (!SWIG_IsOK(res2
)) {
36829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36831 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36834 (arg1
)->DrawToDC(arg2
);
36835 wxPyEndAllowThreads(__tstate
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36838 resultobj
= SWIG_Py_Void();
36845 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36846 PyObject
*resultobj
= 0;
36847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36850 wxColour
*arg4
= 0 ;
36851 int arg5
= (int) wxFLOOD_SURFACE
;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 PyObject
* obj2
= 0 ;
36864 PyObject
* obj3
= 0 ;
36865 PyObject
* obj4
= 0 ;
36866 char * kwnames
[] = {
36867 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36872 if (!SWIG_IsOK(res1
)) {
36873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36875 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36877 if (!SWIG_IsOK(ecode2
)) {
36878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36880 arg2
= static_cast< int >(val2
);
36881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36882 if (!SWIG_IsOK(ecode3
)) {
36883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36885 arg3
= static_cast< int >(val3
);
36888 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36892 if (!SWIG_IsOK(ecode5
)) {
36893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36895 arg5
= static_cast< int >(val5
);
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 resultobj
= SWIG_Py_Void();
36910 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36911 PyObject
*resultobj
= 0;
36912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36913 wxPoint
*arg2
= 0 ;
36914 wxColour
*arg3
= 0 ;
36915 int arg4
= (int) wxFLOOD_SURFACE
;
36922 PyObject
* obj0
= 0 ;
36923 PyObject
* obj1
= 0 ;
36924 PyObject
* obj2
= 0 ;
36925 PyObject
* obj3
= 0 ;
36926 char * kwnames
[] = {
36927 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36932 if (!SWIG_IsOK(res1
)) {
36933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36942 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36946 if (!SWIG_IsOK(ecode4
)) {
36947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36949 arg4
= static_cast< int >(val4
);
36952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36953 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36954 wxPyEndAllowThreads(__tstate
);
36955 if (PyErr_Occurred()) SWIG_fail
;
36957 resultobj
= SWIG_Py_Void();
36964 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36965 PyObject
*resultobj
= 0;
36966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 PyObject
* obj2
= 0 ;
36984 PyObject
* obj3
= 0 ;
36985 PyObject
* obj4
= 0 ;
36986 char * kwnames
[] = {
36987 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36992 if (!SWIG_IsOK(res1
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36997 if (!SWIG_IsOK(ecode2
)) {
36998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
37000 arg2
= static_cast< int >(val2
);
37001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37002 if (!SWIG_IsOK(ecode3
)) {
37003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
37005 arg3
= static_cast< int >(val3
);
37006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37007 if (!SWIG_IsOK(ecode4
)) {
37008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37010 arg4
= static_cast< int >(val4
);
37011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37012 if (!SWIG_IsOK(ecode5
)) {
37013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37015 arg5
= static_cast< int >(val5
);
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37019 wxPyEndAllowThreads(__tstate
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37022 resultobj
= SWIG_Py_Void();
37029 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
= 0;
37031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37032 wxPoint
*arg2
= 0 ;
37033 wxPoint
*arg3
= 0 ;
37038 PyObject
* obj0
= 0 ;
37039 PyObject
* obj1
= 0 ;
37040 PyObject
* obj2
= 0 ;
37041 char * kwnames
[] = {
37042 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37062 wxPyEndAllowThreads(__tstate
);
37063 if (PyErr_Occurred()) SWIG_fail
;
37065 resultobj
= SWIG_Py_Void();
37072 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37073 PyObject
*resultobj
= 0;
37074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37083 PyObject
* obj0
= 0 ;
37084 PyObject
* obj1
= 0 ;
37085 PyObject
* obj2
= 0 ;
37086 char * kwnames
[] = {
37087 (char *) "self",(char *) "x",(char *) "y", NULL
37090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37092 if (!SWIG_IsOK(res1
)) {
37093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37097 if (!SWIG_IsOK(ecode2
)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37100 arg2
= static_cast< int >(val2
);
37101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37102 if (!SWIG_IsOK(ecode3
)) {
37103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37105 arg3
= static_cast< int >(val3
);
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 (arg1
)->CrossHair(arg2
,arg3
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= SWIG_Py_Void();
37119 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37120 PyObject
*resultobj
= 0;
37121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37122 wxPoint
*arg2
= 0 ;
37126 PyObject
* obj0
= 0 ;
37127 PyObject
* obj1
= 0 ;
37128 char * kwnames
[] = {
37129 (char *) "self",(char *) "pt", NULL
37132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37134 if (!SWIG_IsOK(res1
)) {
37135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37148 resultobj
= SWIG_Py_Void();
37155 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37156 PyObject
*resultobj
= 0;
37157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37178 PyObject
* obj0
= 0 ;
37179 PyObject
* obj1
= 0 ;
37180 PyObject
* obj2
= 0 ;
37181 PyObject
* obj3
= 0 ;
37182 PyObject
* obj4
= 0 ;
37183 PyObject
* obj5
= 0 ;
37184 PyObject
* obj6
= 0 ;
37185 char * kwnames
[] = {
37186 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37191 if (!SWIG_IsOK(res1
)) {
37192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37196 if (!SWIG_IsOK(ecode2
)) {
37197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37199 arg2
= static_cast< int >(val2
);
37200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37201 if (!SWIG_IsOK(ecode3
)) {
37202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37204 arg3
= static_cast< int >(val3
);
37205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37206 if (!SWIG_IsOK(ecode4
)) {
37207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37209 arg4
= static_cast< int >(val4
);
37210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37211 if (!SWIG_IsOK(ecode5
)) {
37212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37214 arg5
= static_cast< int >(val5
);
37215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37216 if (!SWIG_IsOK(ecode6
)) {
37217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37219 arg6
= static_cast< int >(val6
);
37220 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37221 if (!SWIG_IsOK(ecode7
)) {
37222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37224 arg7
= static_cast< int >(val7
);
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_Py_Void();
37238 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
= 0;
37240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37241 wxPoint
*arg2
= 0 ;
37242 wxPoint
*arg3
= 0 ;
37243 wxPoint
*arg4
= 0 ;
37249 PyObject
* obj0
= 0 ;
37250 PyObject
* obj1
= 0 ;
37251 PyObject
* obj2
= 0 ;
37252 PyObject
* obj3
= 0 ;
37253 char * kwnames
[] = {
37254 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37259 if (!SWIG_IsOK(res1
)) {
37260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_Py_Void();
37288 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
= 0;
37290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37305 PyObject
* obj0
= 0 ;
37306 PyObject
* obj1
= 0 ;
37307 PyObject
* obj2
= 0 ;
37308 PyObject
* obj3
= 0 ;
37309 PyObject
* obj4
= 0 ;
37310 char * kwnames
[] = {
37311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37316 if (!SWIG_IsOK(res1
)) {
37317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37321 if (!SWIG_IsOK(ecode2
)) {
37322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37324 arg2
= static_cast< int >(val2
);
37325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37326 if (!SWIG_IsOK(ecode3
)) {
37327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37329 arg3
= static_cast< int >(val3
);
37330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37331 if (!SWIG_IsOK(ecode4
)) {
37332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37334 arg4
= static_cast< int >(val4
);
37335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37336 if (!SWIG_IsOK(ecode5
)) {
37337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37339 arg5
= static_cast< int >(val5
);
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37343 wxPyEndAllowThreads(__tstate
);
37344 if (PyErr_Occurred()) SWIG_fail
;
37346 resultobj
= SWIG_Py_Void();
37353 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
= 0;
37355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 char * kwnames
[] = {
37363 (char *) "self",(char *) "rect", NULL
37366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37368 if (!SWIG_IsOK(res1
)) {
37369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37378 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= SWIG_Py_Void();
37389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
= 0;
37391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37412 PyObject
* obj0
= 0 ;
37413 PyObject
* obj1
= 0 ;
37414 PyObject
* obj2
= 0 ;
37415 PyObject
* obj3
= 0 ;
37416 PyObject
* obj4
= 0 ;
37417 PyObject
* obj5
= 0 ;
37418 PyObject
* obj6
= 0 ;
37419 char * kwnames
[] = {
37420 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37425 if (!SWIG_IsOK(res1
)) {
37426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37430 if (!SWIG_IsOK(ecode2
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37433 arg2
= static_cast< int >(val2
);
37434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37435 if (!SWIG_IsOK(ecode3
)) {
37436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37438 arg3
= static_cast< int >(val3
);
37439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37440 if (!SWIG_IsOK(ecode4
)) {
37441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37443 arg4
= static_cast< int >(val4
);
37444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37445 if (!SWIG_IsOK(ecode5
)) {
37446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37448 arg5
= static_cast< int >(val5
);
37449 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37450 if (!SWIG_IsOK(ecode6
)) {
37451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37453 arg6
= static_cast< double >(val6
);
37454 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37455 if (!SWIG_IsOK(ecode7
)) {
37456 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37458 arg7
= static_cast< double >(val7
);
37460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37461 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37462 wxPyEndAllowThreads(__tstate
);
37463 if (PyErr_Occurred()) SWIG_fail
;
37465 resultobj
= SWIG_Py_Void();
37472 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37473 PyObject
*resultobj
= 0;
37474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37475 wxPoint
*arg2
= 0 ;
37487 PyObject
* obj0
= 0 ;
37488 PyObject
* obj1
= 0 ;
37489 PyObject
* obj2
= 0 ;
37490 PyObject
* obj3
= 0 ;
37491 PyObject
* obj4
= 0 ;
37492 char * kwnames
[] = {
37493 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37498 if (!SWIG_IsOK(res1
)) {
37499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37508 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37510 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37511 if (!SWIG_IsOK(ecode4
)) {
37512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37514 arg4
= static_cast< double >(val4
);
37515 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37516 if (!SWIG_IsOK(ecode5
)) {
37517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37519 arg5
= static_cast< double >(val5
);
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_Py_Void();
37533 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
= 0;
37535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37544 PyObject
* obj0
= 0 ;
37545 PyObject
* obj1
= 0 ;
37546 PyObject
* obj2
= 0 ;
37547 char * kwnames
[] = {
37548 (char *) "self",(char *) "x",(char *) "y", NULL
37551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37553 if (!SWIG_IsOK(res1
)) {
37554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37558 if (!SWIG_IsOK(ecode2
)) {
37559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37561 arg2
= static_cast< int >(val2
);
37562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37563 if (!SWIG_IsOK(ecode3
)) {
37564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37566 arg3
= static_cast< int >(val3
);
37568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37569 (arg1
)->DrawPoint(arg2
,arg3
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37573 resultobj
= SWIG_Py_Void();
37580 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37581 PyObject
*resultobj
= 0;
37582 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37583 wxPoint
*arg2
= 0 ;
37587 PyObject
* obj0
= 0 ;
37588 PyObject
* obj1
= 0 ;
37589 char * kwnames
[] = {
37590 (char *) "self",(char *) "pt", NULL
37593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37595 if (!SWIG_IsOK(res1
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37606 wxPyEndAllowThreads(__tstate
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37609 resultobj
= SWIG_Py_Void();
37616 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
= 0;
37618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37633 PyObject
* obj0
= 0 ;
37634 PyObject
* obj1
= 0 ;
37635 PyObject
* obj2
= 0 ;
37636 PyObject
* obj3
= 0 ;
37637 PyObject
* obj4
= 0 ;
37638 char * kwnames
[] = {
37639 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37644 if (!SWIG_IsOK(res1
)) {
37645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37649 if (!SWIG_IsOK(ecode2
)) {
37650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37652 arg2
= static_cast< int >(val2
);
37653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37654 if (!SWIG_IsOK(ecode3
)) {
37655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37657 arg3
= static_cast< int >(val3
);
37658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37659 if (!SWIG_IsOK(ecode4
)) {
37660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37662 arg4
= static_cast< int >(val4
);
37663 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37664 if (!SWIG_IsOK(ecode5
)) {
37665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37667 arg5
= static_cast< int >(val5
);
37669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37670 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37671 wxPyEndAllowThreads(__tstate
);
37672 if (PyErr_Occurred()) SWIG_fail
;
37674 resultobj
= SWIG_Py_Void();
37681 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37682 PyObject
*resultobj
= 0;
37683 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37688 PyObject
* obj0
= 0 ;
37689 PyObject
* obj1
= 0 ;
37690 char * kwnames
[] = {
37691 (char *) "self",(char *) "rect", NULL
37694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37696 if (!SWIG_IsOK(res1
)) {
37697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 resultobj
= SWIG_Py_Void();
37717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37718 PyObject
*resultobj
= 0;
37719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37720 wxPoint
*arg2
= 0 ;
37726 PyObject
* obj0
= 0 ;
37727 PyObject
* obj1
= 0 ;
37728 PyObject
* obj2
= 0 ;
37729 char * kwnames
[] = {
37730 (char *) "self",(char *) "pt",(char *) "sz", NULL
37733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37735 if (!SWIG_IsOK(res1
)) {
37736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37745 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37749 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37750 wxPyEndAllowThreads(__tstate
);
37751 if (PyErr_Occurred()) SWIG_fail
;
37753 resultobj
= SWIG_Py_Void();
37760 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37761 PyObject
*resultobj
= 0;
37762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37780 PyObject
* obj0
= 0 ;
37781 PyObject
* obj1
= 0 ;
37782 PyObject
* obj2
= 0 ;
37783 PyObject
* obj3
= 0 ;
37784 PyObject
* obj4
= 0 ;
37785 PyObject
* obj5
= 0 ;
37786 char * kwnames
[] = {
37787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37792 if (!SWIG_IsOK(res1
)) {
37793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37795 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37797 if (!SWIG_IsOK(ecode2
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37800 arg2
= static_cast< int >(val2
);
37801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37802 if (!SWIG_IsOK(ecode3
)) {
37803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37805 arg3
= static_cast< int >(val3
);
37806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37807 if (!SWIG_IsOK(ecode4
)) {
37808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37810 arg4
= static_cast< int >(val4
);
37811 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37812 if (!SWIG_IsOK(ecode5
)) {
37813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37815 arg5
= static_cast< int >(val5
);
37816 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37817 if (!SWIG_IsOK(ecode6
)) {
37818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37820 arg6
= static_cast< double >(val6
);
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 resultobj
= SWIG_Py_Void();
37834 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37835 PyObject
*resultobj
= 0;
37836 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37844 PyObject
* obj0
= 0 ;
37845 PyObject
* obj1
= 0 ;
37846 PyObject
* obj2
= 0 ;
37847 char * kwnames
[] = {
37848 (char *) "self",(char *) "r",(char *) "radius", NULL
37851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37853 if (!SWIG_IsOK(res1
)) {
37854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37856 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37861 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37862 if (!SWIG_IsOK(ecode3
)) {
37863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37865 arg3
= static_cast< double >(val3
);
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37869 wxPyEndAllowThreads(__tstate
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37872 resultobj
= SWIG_Py_Void();
37879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37880 PyObject
*resultobj
= 0;
37881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37882 wxPoint
*arg2
= 0 ;
37891 PyObject
* obj0
= 0 ;
37892 PyObject
* obj1
= 0 ;
37893 PyObject
* obj2
= 0 ;
37894 PyObject
* obj3
= 0 ;
37895 char * kwnames
[] = {
37896 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37901 if (!SWIG_IsOK(res1
)) {
37902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37904 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37911 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37913 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37914 if (!SWIG_IsOK(ecode4
)) {
37915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37917 arg4
= static_cast< double >(val4
);
37919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37920 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= SWIG_Py_Void();
37931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
= 0;
37933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 PyObject
* obj2
= 0 ;
37948 PyObject
* obj3
= 0 ;
37949 char * kwnames
[] = {
37950 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37955 if (!SWIG_IsOK(res1
)) {
37956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37960 if (!SWIG_IsOK(ecode2
)) {
37961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37963 arg2
= static_cast< int >(val2
);
37964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37965 if (!SWIG_IsOK(ecode3
)) {
37966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37968 arg3
= static_cast< int >(val3
);
37969 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37970 if (!SWIG_IsOK(ecode4
)) {
37971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37973 arg4
= static_cast< int >(val4
);
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= SWIG_Py_Void();
37987 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37988 PyObject
*resultobj
= 0;
37989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37990 wxPoint
*arg2
= 0 ;
37997 PyObject
* obj0
= 0 ;
37998 PyObject
* obj1
= 0 ;
37999 PyObject
* obj2
= 0 ;
38000 char * kwnames
[] = {
38001 (char *) "self",(char *) "pt",(char *) "radius", NULL
38004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38006 if (!SWIG_IsOK(res1
)) {
38007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38015 if (!SWIG_IsOK(ecode3
)) {
38016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38018 arg3
= static_cast< int >(val3
);
38020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38021 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38022 wxPyEndAllowThreads(__tstate
);
38023 if (PyErr_Occurred()) SWIG_fail
;
38025 resultobj
= SWIG_Py_Void();
38032 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38033 PyObject
*resultobj
= 0;
38034 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38049 PyObject
* obj0
= 0 ;
38050 PyObject
* obj1
= 0 ;
38051 PyObject
* obj2
= 0 ;
38052 PyObject
* obj3
= 0 ;
38053 PyObject
* obj4
= 0 ;
38054 char * kwnames
[] = {
38055 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38060 if (!SWIG_IsOK(res1
)) {
38061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38063 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38065 if (!SWIG_IsOK(ecode2
)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38068 arg2
= static_cast< int >(val2
);
38069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38070 if (!SWIG_IsOK(ecode3
)) {
38071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38073 arg3
= static_cast< int >(val3
);
38074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38075 if (!SWIG_IsOK(ecode4
)) {
38076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38078 arg4
= static_cast< int >(val4
);
38079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38080 if (!SWIG_IsOK(ecode5
)) {
38081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38083 arg5
= static_cast< int >(val5
);
38085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38086 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38087 wxPyEndAllowThreads(__tstate
);
38088 if (PyErr_Occurred()) SWIG_fail
;
38090 resultobj
= SWIG_Py_Void();
38097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38098 PyObject
*resultobj
= 0;
38099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38104 PyObject
* obj0
= 0 ;
38105 PyObject
* obj1
= 0 ;
38106 char * kwnames
[] = {
38107 (char *) "self",(char *) "rect", NULL
38110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38112 if (!SWIG_IsOK(res1
)) {
38113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38123 wxPyEndAllowThreads(__tstate
);
38124 if (PyErr_Occurred()) SWIG_fail
;
38126 resultobj
= SWIG_Py_Void();
38133 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38134 PyObject
*resultobj
= 0;
38135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38136 wxPoint
*arg2
= 0 ;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 PyObject
* obj2
= 0 ;
38145 char * kwnames
[] = {
38146 (char *) "self",(char *) "pt",(char *) "sz", NULL
38149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38151 if (!SWIG_IsOK(res1
)) {
38152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38161 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38165 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38166 wxPyEndAllowThreads(__tstate
);
38167 if (PyErr_Occurred()) SWIG_fail
;
38169 resultobj
= SWIG_Py_Void();
38176 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38177 PyObject
*resultobj
= 0;
38178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38190 PyObject
* obj0
= 0 ;
38191 PyObject
* obj1
= 0 ;
38192 PyObject
* obj2
= 0 ;
38193 PyObject
* obj3
= 0 ;
38194 char * kwnames
[] = {
38195 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38200 if (!SWIG_IsOK(res1
)) {
38201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38205 if (!SWIG_IsOK(res2
)) {
38206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38211 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38213 if (!SWIG_IsOK(ecode3
)) {
38214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38216 arg3
= static_cast< int >(val3
);
38217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38218 if (!SWIG_IsOK(ecode4
)) {
38219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38221 arg4
= static_cast< int >(val4
);
38223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38224 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38225 wxPyEndAllowThreads(__tstate
);
38226 if (PyErr_Occurred()) SWIG_fail
;
38228 resultobj
= SWIG_Py_Void();
38235 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38236 PyObject
*resultobj
= 0;
38237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38239 wxPoint
*arg3
= 0 ;
38245 PyObject
* obj0
= 0 ;
38246 PyObject
* obj1
= 0 ;
38247 PyObject
* obj2
= 0 ;
38248 char * kwnames
[] = {
38249 (char *) "self",(char *) "icon",(char *) "pt", NULL
38252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38254 if (!SWIG_IsOK(res1
)) {
38255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38257 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38259 if (!SWIG_IsOK(res2
)) {
38260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38265 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38272 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38273 wxPyEndAllowThreads(__tstate
);
38274 if (PyErr_Occurred()) SWIG_fail
;
38276 resultobj
= SWIG_Py_Void();
38283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38284 PyObject
*resultobj
= 0;
38285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38286 wxBitmap
*arg2
= 0 ;
38289 bool arg5
= (bool) false ;
38300 PyObject
* obj0
= 0 ;
38301 PyObject
* obj1
= 0 ;
38302 PyObject
* obj2
= 0 ;
38303 PyObject
* obj3
= 0 ;
38304 PyObject
* obj4
= 0 ;
38305 char * kwnames
[] = {
38306 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38311 if (!SWIG_IsOK(res1
)) {
38312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38316 if (!SWIG_IsOK(res2
)) {
38317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38322 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38324 if (!SWIG_IsOK(ecode3
)) {
38325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38327 arg3
= static_cast< int >(val3
);
38328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38329 if (!SWIG_IsOK(ecode4
)) {
38330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38332 arg4
= static_cast< int >(val4
);
38334 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38335 if (!SWIG_IsOK(ecode5
)) {
38336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38338 arg5
= static_cast< bool >(val5
);
38341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38342 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= SWIG_Py_Void();
38353 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38354 PyObject
*resultobj
= 0;
38355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38356 wxBitmap
*arg2
= 0 ;
38357 wxPoint
*arg3
= 0 ;
38358 bool arg4
= (bool) false ;
38366 PyObject
* obj0
= 0 ;
38367 PyObject
* obj1
= 0 ;
38368 PyObject
* obj2
= 0 ;
38369 PyObject
* obj3
= 0 ;
38370 char * kwnames
[] = {
38371 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38376 if (!SWIG_IsOK(res1
)) {
38377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38381 if (!SWIG_IsOK(res2
)) {
38382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38387 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38393 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38394 if (!SWIG_IsOK(ecode4
)) {
38395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38397 arg4
= static_cast< bool >(val4
);
38400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38401 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= SWIG_Py_Void();
38412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38413 PyObject
*resultobj
= 0;
38414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38415 wxString
*arg2
= 0 ;
38420 bool temp2
= false ;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38427 PyObject
* obj2
= 0 ;
38428 PyObject
* obj3
= 0 ;
38429 char * kwnames
[] = {
38430 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38435 if (!SWIG_IsOK(res1
)) {
38436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38440 arg2
= wxString_in_helper(obj1
);
38441 if (arg2
== NULL
) SWIG_fail
;
38444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38445 if (!SWIG_IsOK(ecode3
)) {
38446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38448 arg3
= static_cast< int >(val3
);
38449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38450 if (!SWIG_IsOK(ecode4
)) {
38451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38453 arg4
= static_cast< int >(val4
);
38455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38456 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38457 wxPyEndAllowThreads(__tstate
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38460 resultobj
= SWIG_Py_Void();
38475 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38476 PyObject
*resultobj
= 0;
38477 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38478 wxString
*arg2
= 0 ;
38479 wxPoint
*arg3
= 0 ;
38482 bool temp2
= false ;
38484 PyObject
* obj0
= 0 ;
38485 PyObject
* obj1
= 0 ;
38486 PyObject
* obj2
= 0 ;
38487 char * kwnames
[] = {
38488 (char *) "self",(char *) "text",(char *) "pt", NULL
38491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38493 if (!SWIG_IsOK(res1
)) {
38494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38498 arg2
= wxString_in_helper(obj1
);
38499 if (arg2
== NULL
) SWIG_fail
;
38504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= SWIG_Py_Void();
38527 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38528 PyObject
*resultobj
= 0;
38529 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38530 wxString
*arg2
= 0 ;
38536 bool temp2
= false ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38546 PyObject
* obj3
= 0 ;
38547 PyObject
* obj4
= 0 ;
38548 char * kwnames
[] = {
38549 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38554 if (!SWIG_IsOK(res1
)) {
38555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38557 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38559 arg2
= wxString_in_helper(obj1
);
38560 if (arg2
== NULL
) SWIG_fail
;
38563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38564 if (!SWIG_IsOK(ecode3
)) {
38565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38567 arg3
= static_cast< int >(val3
);
38568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38569 if (!SWIG_IsOK(ecode4
)) {
38570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38572 arg4
= static_cast< int >(val4
);
38573 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38574 if (!SWIG_IsOK(ecode5
)) {
38575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38577 arg5
= static_cast< double >(val5
);
38579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38580 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38581 wxPyEndAllowThreads(__tstate
);
38582 if (PyErr_Occurred()) SWIG_fail
;
38584 resultobj
= SWIG_Py_Void();
38599 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38600 PyObject
*resultobj
= 0;
38601 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38602 wxString
*arg2
= 0 ;
38603 wxPoint
*arg3
= 0 ;
38607 bool temp2
= false ;
38611 PyObject
* obj0
= 0 ;
38612 PyObject
* obj1
= 0 ;
38613 PyObject
* obj2
= 0 ;
38614 PyObject
* obj3
= 0 ;
38615 char * kwnames
[] = {
38616 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38621 if (!SWIG_IsOK(res1
)) {
38622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38626 arg2
= wxString_in_helper(obj1
);
38627 if (arg2
== NULL
) SWIG_fail
;
38632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38634 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38635 if (!SWIG_IsOK(ecode4
)) {
38636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38638 arg4
= static_cast< double >(val4
);
38640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38641 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38642 wxPyEndAllowThreads(__tstate
);
38643 if (PyErr_Occurred()) SWIG_fail
;
38645 resultobj
= SWIG_Py_Void();
38660 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38661 PyObject
*resultobj
= 0;
38662 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38664 wxPoint
*arg3
= (wxPoint
*) 0 ;
38665 int arg4
= (int) 0 ;
38666 int arg5
= (int) 0 ;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38675 PyObject
* obj2
= 0 ;
38676 PyObject
* obj3
= 0 ;
38677 char * kwnames
[] = {
38678 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38683 if (!SWIG_IsOK(res1
)) {
38684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38688 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38689 if (arg3
== NULL
) SWIG_fail
;
38692 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38693 if (!SWIG_IsOK(ecode4
)) {
38694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38696 arg4
= static_cast< int >(val4
);
38699 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38700 if (!SWIG_IsOK(ecode5
)) {
38701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38703 arg5
= static_cast< int >(val5
);
38706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38707 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38711 resultobj
= SWIG_Py_Void();
38713 if (arg3
) delete [] arg3
;
38718 if (arg3
) delete [] arg3
;
38724 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38725 PyObject
*resultobj
= 0;
38726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38728 wxPoint
*arg3
= (wxPoint
*) 0 ;
38729 int arg4
= (int) 0 ;
38730 int arg5
= (int) 0 ;
38731 int arg6
= (int) wxODDEVEN_RULE
;
38740 PyObject
* obj0
= 0 ;
38741 PyObject
* obj1
= 0 ;
38742 PyObject
* obj2
= 0 ;
38743 PyObject
* obj3
= 0 ;
38744 PyObject
* obj4
= 0 ;
38745 char * kwnames
[] = {
38746 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38751 if (!SWIG_IsOK(res1
)) {
38752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38754 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38756 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38757 if (arg3
== NULL
) SWIG_fail
;
38760 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38761 if (!SWIG_IsOK(ecode4
)) {
38762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38764 arg4
= static_cast< int >(val4
);
38767 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38768 if (!SWIG_IsOK(ecode5
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38771 arg5
= static_cast< int >(val5
);
38774 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38775 if (!SWIG_IsOK(ecode6
)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38778 arg6
= static_cast< int >(val6
);
38781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38782 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= SWIG_Py_Void();
38788 if (arg3
) delete [] arg3
;
38793 if (arg3
) delete [] arg3
;
38799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38800 PyObject
*resultobj
= 0;
38801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38802 wxString
*arg2
= 0 ;
38804 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38805 int arg5
= (int) -1 ;
38808 bool temp2
= false ;
38814 PyObject
* obj0
= 0 ;
38815 PyObject
* obj1
= 0 ;
38816 PyObject
* obj2
= 0 ;
38817 PyObject
* obj3
= 0 ;
38818 PyObject
* obj4
= 0 ;
38819 char * kwnames
[] = {
38820 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38825 if (!SWIG_IsOK(res1
)) {
38826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38830 arg2
= wxString_in_helper(obj1
);
38831 if (arg2
== NULL
) SWIG_fail
;
38836 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38840 if (!SWIG_IsOK(ecode4
)) {
38841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38843 arg4
= static_cast< int >(val4
);
38846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38847 if (!SWIG_IsOK(ecode5
)) {
38848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38850 arg5
= static_cast< int >(val5
);
38853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38854 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38855 wxPyEndAllowThreads(__tstate
);
38856 if (PyErr_Occurred()) SWIG_fail
;
38858 resultobj
= SWIG_Py_Void();
38873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38874 PyObject
*resultobj
= 0;
38875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38876 wxString
*arg2
= 0 ;
38877 wxBitmap
*arg3
= 0 ;
38879 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38880 int arg6
= (int) -1 ;
38883 bool temp2
= false ;
38891 PyObject
* obj0
= 0 ;
38892 PyObject
* obj1
= 0 ;
38893 PyObject
* obj2
= 0 ;
38894 PyObject
* obj3
= 0 ;
38895 PyObject
* obj4
= 0 ;
38896 PyObject
* obj5
= 0 ;
38897 char * kwnames
[] = {
38898 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38903 if (!SWIG_IsOK(res1
)) {
38904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38908 arg2
= wxString_in_helper(obj1
);
38909 if (arg2
== NULL
) SWIG_fail
;
38912 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38913 if (!SWIG_IsOK(res3
)) {
38914 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38919 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38922 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38926 if (!SWIG_IsOK(ecode5
)) {
38927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38929 arg5
= static_cast< int >(val5
);
38932 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38933 if (!SWIG_IsOK(ecode6
)) {
38934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38936 arg6
= static_cast< int >(val6
);
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38941 wxPyEndAllowThreads(__tstate
);
38942 if (PyErr_Occurred()) SWIG_fail
;
38944 resultobj
= SWIG_Py_Void();
38959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38960 PyObject
*resultobj
= 0;
38961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38963 wxPoint
*arg3
= (wxPoint
*) 0 ;
38966 PyObject
* obj0
= 0 ;
38967 PyObject
* obj1
= 0 ;
38968 char * kwnames
[] = {
38969 (char *) "self",(char *) "points", NULL
38972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38974 if (!SWIG_IsOK(res1
)) {
38975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38979 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38980 if (arg3
== NULL
) SWIG_fail
;
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 (arg1
)->DrawSpline(arg2
,arg3
);
38985 wxPyEndAllowThreads(__tstate
);
38986 if (PyErr_Occurred()) SWIG_fail
;
38988 resultobj
= SWIG_Py_Void();
38990 if (arg3
) delete [] arg3
;
38995 if (arg3
) delete [] arg3
;
39001 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39002 PyObject
*resultobj
= 0;
39003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39006 PyObject
*swig_obj
[1] ;
39008 if (!args
) SWIG_fail
;
39009 swig_obj
[0] = args
;
39010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39011 if (!SWIG_IsOK(res1
)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39018 wxPyEndAllowThreads(__tstate
);
39019 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= SWIG_Py_Void();
39028 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
= 0;
39030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39036 PyObject
* obj0
= 0 ;
39037 PyObject
* obj1
= 0 ;
39038 char * kwnames
[] = {
39039 (char *) "self",(char *) "font", NULL
39042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39044 if (!SWIG_IsOK(res1
)) {
39045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39047 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39049 if (!SWIG_IsOK(res2
)) {
39050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39055 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39058 (arg1
)->SetFont((wxFont
const &)*arg2
);
39059 wxPyEndAllowThreads(__tstate
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39062 resultobj
= SWIG_Py_Void();
39069 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39070 PyObject
*resultobj
= 0;
39071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39077 PyObject
* obj0
= 0 ;
39078 PyObject
* obj1
= 0 ;
39079 char * kwnames
[] = {
39080 (char *) "self",(char *) "pen", NULL
39083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39085 if (!SWIG_IsOK(res1
)) {
39086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39090 if (!SWIG_IsOK(res2
)) {
39091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39096 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39099 (arg1
)->SetPen((wxPen
const &)*arg2
);
39100 wxPyEndAllowThreads(__tstate
);
39101 if (PyErr_Occurred()) SWIG_fail
;
39103 resultobj
= SWIG_Py_Void();
39110 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39111 PyObject
*resultobj
= 0;
39112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39113 wxBrush
*arg2
= 0 ;
39118 PyObject
* obj0
= 0 ;
39119 PyObject
* obj1
= 0 ;
39120 char * kwnames
[] = {
39121 (char *) "self",(char *) "brush", NULL
39124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39126 if (!SWIG_IsOK(res1
)) {
39127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39131 if (!SWIG_IsOK(res2
)) {
39132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39137 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39140 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39141 wxPyEndAllowThreads(__tstate
);
39142 if (PyErr_Occurred()) SWIG_fail
;
39144 resultobj
= SWIG_Py_Void();
39151 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39152 PyObject
*resultobj
= 0;
39153 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39154 wxBrush
*arg2
= 0 ;
39159 PyObject
* obj0
= 0 ;
39160 PyObject
* obj1
= 0 ;
39161 char * kwnames
[] = {
39162 (char *) "self",(char *) "brush", NULL
39165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39167 if (!SWIG_IsOK(res1
)) {
39168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39172 if (!SWIG_IsOK(res2
)) {
39173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39178 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= SWIG_Py_Void();
39192 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39193 PyObject
*resultobj
= 0;
39194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39200 PyObject
* obj0
= 0 ;
39201 PyObject
* obj1
= 0 ;
39202 char * kwnames
[] = {
39203 (char *) "self",(char *) "mode", NULL
39206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39208 if (!SWIG_IsOK(res1
)) {
39209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39213 if (!SWIG_IsOK(ecode2
)) {
39214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39216 arg2
= static_cast< int >(val2
);
39218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39219 (arg1
)->SetBackgroundMode(arg2
);
39220 wxPyEndAllowThreads(__tstate
);
39221 if (PyErr_Occurred()) SWIG_fail
;
39223 resultobj
= SWIG_Py_Void();
39230 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39231 PyObject
*resultobj
= 0;
39232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39233 wxPalette
*arg2
= 0 ;
39238 PyObject
* obj0
= 0 ;
39239 PyObject
* obj1
= 0 ;
39240 char * kwnames
[] = {
39241 (char *) "self",(char *) "palette", NULL
39244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39246 if (!SWIG_IsOK(res1
)) {
39247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39251 if (!SWIG_IsOK(res2
)) {
39252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39257 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39261 wxPyEndAllowThreads(__tstate
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39264 resultobj
= SWIG_Py_Void();
39271 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39272 PyObject
*resultobj
= 0;
39273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39274 wxColour
*arg2
= 0 ;
39278 PyObject
* obj0
= 0 ;
39279 PyObject
* obj1
= 0 ;
39280 char * kwnames
[] = {
39281 (char *) "self",(char *) "colour", NULL
39284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39286 if (!SWIG_IsOK(res1
)) {
39287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39289 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39296 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39297 wxPyEndAllowThreads(__tstate
);
39298 if (PyErr_Occurred()) SWIG_fail
;
39300 resultobj
= SWIG_Py_Void();
39307 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39308 PyObject
*resultobj
= 0;
39309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39310 wxColour
*arg2
= 0 ;
39314 PyObject
* obj0
= 0 ;
39315 PyObject
* obj1
= 0 ;
39316 char * kwnames
[] = {
39317 (char *) "self",(char *) "colour", NULL
39320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39322 if (!SWIG_IsOK(res1
)) {
39323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39332 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39333 wxPyEndAllowThreads(__tstate
);
39334 if (PyErr_Occurred()) SWIG_fail
;
39336 resultobj
= SWIG_Py_Void();
39343 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39344 PyObject
*resultobj
= 0;
39345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39351 PyObject
* obj0
= 0 ;
39352 PyObject
* obj1
= 0 ;
39353 char * kwnames
[] = {
39354 (char *) "self",(char *) "function", NULL
39357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39359 if (!SWIG_IsOK(res1
)) {
39360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39364 if (!SWIG_IsOK(ecode2
)) {
39365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39367 arg2
= static_cast< int >(val2
);
39369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39370 (arg1
)->SetLogicalFunction(arg2
);
39371 wxPyEndAllowThreads(__tstate
);
39372 if (PyErr_Occurred()) SWIG_fail
;
39374 resultobj
= SWIG_Py_Void();
39381 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39385 return SWIG_Py_Void();
39388 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39389 return SWIG_Python_InitShadowInstance(args
);
39392 static PyMethodDef SwigMethods
[] = {
39393 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39394 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39395 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39396 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39397 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39398 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39402 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39403 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39404 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39405 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39406 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39407 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39412 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39416 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39417 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39418 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39420 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39423 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39424 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39425 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39426 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39428 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39429 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39430 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39431 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39432 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39433 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39434 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39441 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39443 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39444 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39448 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39449 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39452 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39456 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39457 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39458 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39459 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39460 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39461 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39462 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39464 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39470 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39472 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39473 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39474 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39475 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39476 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39477 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39478 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39484 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39496 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39497 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39501 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39502 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39503 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39504 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39505 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39506 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39507 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39508 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39509 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39510 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39511 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39512 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39513 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39514 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39515 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39517 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39518 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39524 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39525 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39526 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39527 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39528 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39529 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39530 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39531 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39532 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39533 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39534 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39535 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39537 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39538 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39544 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39545 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39546 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39548 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39549 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39550 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39552 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39553 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39558 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39560 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39561 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39562 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39563 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39569 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39570 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39572 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39573 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39575 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39577 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39578 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39579 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39580 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39583 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39587 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39588 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39590 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39593 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39595 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39596 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39597 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39598 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39603 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39604 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39609 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39610 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39616 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39620 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39631 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39634 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39635 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39637 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39638 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39639 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39640 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39641 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39642 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39643 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39644 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39645 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39646 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39647 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39648 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39649 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39650 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39651 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39652 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39653 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39655 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39656 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39657 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39658 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39659 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39660 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39661 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39662 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39672 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39673 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39675 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39676 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39677 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39678 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39679 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39680 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39681 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39682 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39683 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39685 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39686 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39687 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39690 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39691 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39692 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39695 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39701 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39706 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39707 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39709 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39715 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39718 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39719 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39720 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39721 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39722 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39723 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39724 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39725 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39726 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39727 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39728 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39729 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39730 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39742 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39743 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39744 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39746 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39747 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39749 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39750 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39751 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39752 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39756 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39757 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39759 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39760 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39761 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39762 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39763 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39764 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39765 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39766 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39767 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39769 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39772 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39773 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39774 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39775 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39776 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39777 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39778 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39779 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39789 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39790 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39791 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39793 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39797 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39798 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39799 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39800 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39801 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39802 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39808 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39809 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39810 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39860 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39862 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39863 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39864 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39871 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39872 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39873 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39874 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39875 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39880 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39881 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39882 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39883 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39892 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39893 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39894 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39895 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39896 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39897 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39898 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39899 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39900 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39901 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39902 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39903 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39906 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39908 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39910 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39912 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39913 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39916 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39917 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39921 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39923 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39926 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39927 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39928 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39929 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39930 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39931 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39932 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39934 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39941 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39943 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39944 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39945 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39947 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39948 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39949 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39951 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39952 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39953 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39954 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39955 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39956 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39957 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39958 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39961 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39962 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39963 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39965 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39966 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39968 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39969 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39971 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39972 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39977 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39978 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39979 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39980 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39981 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39983 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39984 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39985 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39987 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39988 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39990 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39991 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39994 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39995 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39997 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
40000 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
40001 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
40002 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
40004 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
40005 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
40007 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
40008 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
40009 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40010 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40011 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40012 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40014 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40015 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40016 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40021 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40022 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40023 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40024 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40025 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40026 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40027 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40028 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40029 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40030 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40031 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40032 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40033 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40034 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40035 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40036 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40037 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
40038 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40039 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40042 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40043 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40045 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40051 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40052 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
40053 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
40054 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40055 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40056 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40057 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40058 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40060 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40061 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40062 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40069 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40072 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40073 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40074 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
40075 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40076 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40077 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40078 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40081 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40088 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40089 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40092 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40093 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40094 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40101 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40102 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40103 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40104 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40122 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40123 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40124 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40125 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40126 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40127 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40130 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40137 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40138 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40139 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40140 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40142 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40143 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40144 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40145 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40146 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40147 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40148 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40149 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40150 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40151 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40152 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40153 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40155 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40163 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40165 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40167 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40168 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40169 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40170 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40171 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40172 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40173 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40178 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40179 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40180 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40181 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40182 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40183 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40185 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40186 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40187 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40188 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40189 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40191 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40192 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40193 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40194 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40195 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40196 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40197 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40198 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40202 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40203 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40204 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40205 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40206 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40207 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40208 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40209 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40210 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40211 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40212 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40213 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40214 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40215 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40218 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40219 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40220 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40222 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40223 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40224 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40225 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40226 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40227 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40228 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40229 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40230 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40231 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40232 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40233 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40234 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40235 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40236 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40237 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40238 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40239 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40240 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40241 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40242 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40243 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40244 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40245 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40246 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40247 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40248 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40249 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40250 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40251 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40252 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40253 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40254 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40255 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40257 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40259 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40260 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40261 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40262 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40263 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40264 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40266 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40268 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40269 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40270 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40272 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40273 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40274 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40275 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40276 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40277 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40278 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40279 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40332 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40342 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40343 { NULL
, NULL
, 0, NULL
}
40347 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40349 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40350 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40352 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40353 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40355 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40356 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40358 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40359 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40361 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40362 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40364 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40365 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40367 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40368 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40370 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40371 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40373 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40374 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40376 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40377 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40379 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40380 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40382 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40383 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40385 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40386 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40388 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40389 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40391 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40392 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40394 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40395 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40397 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40398 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40400 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40401 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40403 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40404 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40406 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40407 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40409 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40410 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40412 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40413 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40415 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40416 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40418 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40419 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40421 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40422 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40424 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40425 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40427 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40428 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40430 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40431 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40433 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40434 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40436 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40437 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40439 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40440 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40442 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40443 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40445 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40446 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40448 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40449 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40451 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40452 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40454 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40455 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40457 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40458 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40460 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40461 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40463 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40464 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40466 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40467 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40469 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40472 static void *_p_wxPenTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40475 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40478 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40481 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40484 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40487 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40490 static void *_p_wxIconTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40493 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40496 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40499 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) ((wxSizer
*) x
));
40502 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40505 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40508 static void *_p_wxEventTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) ((wxEvent
*) x
));
40511 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40514 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40517 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40520 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40523 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40526 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40529 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40532 static void *_p_wxDCTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) ((wxDC
*) x
));
40535 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40538 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40541 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40544 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40547 static void *_p_wxControlTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40550 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40553 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40556 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40559 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40562 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40563 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40565 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40566 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40568 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40569 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40571 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40572 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40574 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40575 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40577 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40578 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40580 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40581 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40583 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40584 return (void *)((wxObject
*) ((wxEffects
*) x
));
40586 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40587 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40589 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40592 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40593 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40595 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40596 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40598 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40599 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40601 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40602 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40604 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40607 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40608 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40610 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40613 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40614 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40616 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40617 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40619 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40620 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40622 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40623 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40625 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40626 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40628 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40629 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40631 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40632 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40634 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40635 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40637 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40638 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40640 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40643 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40646 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40647 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40649 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40650 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40652 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40653 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40655 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40656 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40658 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40661 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40662 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40664 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40667 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40670 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40673 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40674 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40676 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40677 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40679 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40680 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40682 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40683 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40685 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40686 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40688 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40689 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40691 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40692 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40694 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40695 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40697 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40698 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40700 static void *_p_wxImageTo_p_wxObject(void *x
) {
40701 return (void *)((wxObject
*) ((wxImage
*) x
));
40703 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40704 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40706 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40707 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40709 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40710 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40712 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40713 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40715 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40716 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40718 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40719 return (void *)((wxObject
*) ((wxImageList
*) x
));
40721 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40722 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40724 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40725 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40727 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40728 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40730 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40731 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40733 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40734 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40736 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40739 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40740 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40742 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40743 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40745 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40746 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40748 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40749 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40751 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40754 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40755 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40757 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40758 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40760 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40761 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40763 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40764 return (void *)((wxObject
*) ((wxMask
*) x
));
40766 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40767 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40769 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40772 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40773 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40775 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40776 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40778 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40779 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40781 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40782 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40784 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40785 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40787 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40790 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40791 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40793 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40794 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40796 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40797 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40799 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40802 static void *_p_wxFontTo_p_wxObject(void *x
) {
40803 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40805 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40806 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40808 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40809 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40811 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40814 static void *_p_wxColourTo_p_wxObject(void *x
) {
40815 return (void *)((wxObject
*) ((wxColour
*) x
));
40817 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40820 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40821 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40823 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40824 return (void *)((wxWindow
*) ((wxControl
*) x
));
40826 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40827 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40829 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40830 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40832 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40833 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40835 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40836 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40838 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40841 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};
40842 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40898 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40899 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40900 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40901 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40902 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40903 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40904 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40905 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40906 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40907 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40908 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40909 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40910 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40918 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40919 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40920 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40921 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40922 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40923 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40924 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40925 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40926 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40927 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40928 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40929 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40930 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40931 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40932 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40933 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40934 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40935 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40936 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40937 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40938 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40939 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40940 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40941 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40942 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40943 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40944 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40945 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40946 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40947 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40948 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40949 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40950 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40951 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40952 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40953 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40954 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40955 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40956 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40957 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40958 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40959 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40960 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40961 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40962 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40963 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40964 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40965 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40966 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40967 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40968 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40969 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40970 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40971 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40972 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40973 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40974 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40975 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40976 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40977 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40978 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40979 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40980 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40981 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40982 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40983 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40984 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40985 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40986 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40987 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40988 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40989 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40990 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40991 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40992 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40993 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40994 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40995 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40996 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40997 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40998 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40999 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
41000 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
41001 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
41002 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
41003 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
41004 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
41005 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
41006 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41008 static swig_type_info
*swig_type_initial
[] = {
41012 &_swigt__p_form_ops_t
,
41014 &_swigt__p_unsigned_char
,
41015 &_swigt__p_unsigned_int
,
41016 &_swigt__p_unsigned_long
,
41018 &_swigt__p_wxANIHandler
,
41019 &_swigt__p_wxAcceleratorTable
,
41020 &_swigt__p_wxActivateEvent
,
41021 &_swigt__p_wxAlphaPixelData
,
41022 &_swigt__p_wxAlphaPixelData_Accessor
,
41023 &_swigt__p_wxAutoBufferedPaintDC
,
41024 &_swigt__p_wxBMPHandler
,
41025 &_swigt__p_wxBitmap
,
41026 &_swigt__p_wxBoxSizer
,
41027 &_swigt__p_wxBrush
,
41028 &_swigt__p_wxBrushList
,
41029 &_swigt__p_wxBufferedDC
,
41030 &_swigt__p_wxBufferedPaintDC
,
41031 &_swigt__p_wxCURHandler
,
41033 &_swigt__p_wxChildFocusEvent
,
41034 &_swigt__p_wxClientDC
,
41035 &_swigt__p_wxClipboardTextEvent
,
41036 &_swigt__p_wxCloseEvent
,
41037 &_swigt__p_wxColour
,
41038 &_swigt__p_wxColourDatabase
,
41039 &_swigt__p_wxCommandEvent
,
41040 &_swigt__p_wxContextMenuEvent
,
41041 &_swigt__p_wxControl
,
41042 &_swigt__p_wxControlWithItems
,
41043 &_swigt__p_wxCursor
,
41045 &_swigt__p_wxDCBrushChanger
,
41046 &_swigt__p_wxDCClipper
,
41047 &_swigt__p_wxDCOverlay
,
41048 &_swigt__p_wxDCPenChanger
,
41049 &_swigt__p_wxDCTextColourChanger
,
41051 &_swigt__p_wxDateEvent
,
41052 &_swigt__p_wxDisplayChangedEvent
,
41053 &_swigt__p_wxDropFilesEvent
,
41054 &_swigt__p_wxDuplexMode
,
41055 &_swigt__p_wxEffects
,
41056 &_swigt__p_wxEncodingConverter
,
41057 &_swigt__p_wxEraseEvent
,
41058 &_swigt__p_wxEvent
,
41059 &_swigt__p_wxEvtHandler
,
41060 &_swigt__p_wxFSFile
,
41061 &_swigt__p_wxFileSystem
,
41062 &_swigt__p_wxFlexGridSizer
,
41063 &_swigt__p_wxFocusEvent
,
41065 &_swigt__p_wxFontList
,
41066 &_swigt__p_wxFontMapper
,
41067 &_swigt__p_wxGBSizerItem
,
41069 &_swigt__p_wxGDIObjListBase
,
41070 &_swigt__p_wxGDIObject
,
41071 &_swigt__p_wxGIFHandler
,
41072 &_swigt__p_wxGraphicsBrush
,
41073 &_swigt__p_wxGraphicsContext
,
41074 &_swigt__p_wxGraphicsFont
,
41075 &_swigt__p_wxGraphicsMatrix
,
41076 &_swigt__p_wxGraphicsObject
,
41077 &_swigt__p_wxGraphicsPath
,
41078 &_swigt__p_wxGraphicsPen
,
41079 &_swigt__p_wxGraphicsRenderer
,
41080 &_swigt__p_wxGridBagSizer
,
41081 &_swigt__p_wxGridSizer
,
41082 &_swigt__p_wxHeaderButtonParams
,
41083 &_swigt__p_wxICOHandler
,
41085 &_swigt__p_wxIconBundle
,
41086 &_swigt__p_wxIconLocation
,
41087 &_swigt__p_wxIconizeEvent
,
41088 &_swigt__p_wxIdleEvent
,
41089 &_swigt__p_wxImage
,
41090 &_swigt__p_wxImageHandler
,
41091 &_swigt__p_wxImageList
,
41092 &_swigt__p_wxIndividualLayoutConstraint
,
41093 &_swigt__p_wxInitDialogEvent
,
41094 &_swigt__p_wxJPEGHandler
,
41095 &_swigt__p_wxKeyEvent
,
41096 &_swigt__p_wxLanguageInfo
,
41097 &_swigt__p_wxLayoutConstraints
,
41098 &_swigt__p_wxLocale
,
41100 &_swigt__p_wxMaximizeEvent
,
41101 &_swigt__p_wxMemoryDC
,
41103 &_swigt__p_wxMenuBar
,
41104 &_swigt__p_wxMenuEvent
,
41105 &_swigt__p_wxMenuItem
,
41106 &_swigt__p_wxMetaFile
,
41107 &_swigt__p_wxMetaFileDC
,
41108 &_swigt__p_wxMirrorDC
,
41109 &_swigt__p_wxMouseCaptureChangedEvent
,
41110 &_swigt__p_wxMouseCaptureLostEvent
,
41111 &_swigt__p_wxMouseEvent
,
41112 &_swigt__p_wxMoveEvent
,
41113 &_swigt__p_wxNativeEncodingInfo
,
41114 &_swigt__p_wxNativeFontInfo
,
41115 &_swigt__p_wxNativePixelData
,
41116 &_swigt__p_wxNativePixelData_Accessor
,
41117 &_swigt__p_wxNavigationKeyEvent
,
41118 &_swigt__p_wxNcPaintEvent
,
41119 &_swigt__p_wxNotifyEvent
,
41120 &_swigt__p_wxObject
,
41121 &_swigt__p_wxOverlay
,
41122 &_swigt__p_wxPCXHandler
,
41123 &_swigt__p_wxPNGHandler
,
41124 &_swigt__p_wxPNMHandler
,
41125 &_swigt__p_wxPaintDC
,
41126 &_swigt__p_wxPaintEvent
,
41127 &_swigt__p_wxPalette
,
41128 &_swigt__p_wxPaletteChangedEvent
,
41129 &_swigt__p_wxPaperSize
,
41131 &_swigt__p_wxPenList
,
41132 &_swigt__p_wxPixelDataBase
,
41133 &_swigt__p_wxPoint
,
41134 &_swigt__p_wxPoint2D
,
41135 &_swigt__p_wxPostScriptDC
,
41136 &_swigt__p_wxPrintData
,
41137 &_swigt__p_wxPrinterDC
,
41138 &_swigt__p_wxPseudoDC
,
41139 &_swigt__p_wxPyApp
,
41140 &_swigt__p_wxPyCommandEvent
,
41141 &_swigt__p_wxPyEvent
,
41142 &_swigt__p_wxPyFontEnumerator
,
41143 &_swigt__p_wxPyImageHandler
,
41144 &_swigt__p_wxPyLocale
,
41145 &_swigt__p_wxPySizer
,
41146 &_swigt__p_wxPyValidator
,
41147 &_swigt__p_wxQueryNewPaletteEvent
,
41149 &_swigt__p_wxRect2D
,
41150 &_swigt__p_wxRegion
,
41151 &_swigt__p_wxRegionIterator
,
41152 &_swigt__p_wxRendererNative
,
41153 &_swigt__p_wxRendererVersion
,
41154 &_swigt__p_wxScreenDC
,
41155 &_swigt__p_wxScrollEvent
,
41156 &_swigt__p_wxScrollWinEvent
,
41157 &_swigt__p_wxSetCursorEvent
,
41158 &_swigt__p_wxShowEvent
,
41160 &_swigt__p_wxSizeEvent
,
41161 &_swigt__p_wxSizer
,
41162 &_swigt__p_wxSizerItem
,
41163 &_swigt__p_wxSplitterRenderParams
,
41164 &_swigt__p_wxStaticBoxSizer
,
41165 &_swigt__p_wxStdDialogButtonSizer
,
41166 &_swigt__p_wxStockGDI
,
41167 &_swigt__p_wxString
,
41168 &_swigt__p_wxSysColourChangedEvent
,
41169 &_swigt__p_wxTGAHandler
,
41170 &_swigt__p_wxTIFFHandler
,
41171 &_swigt__p_wxUpdateUIEvent
,
41172 &_swigt__p_wxValidator
,
41173 &_swigt__p_wxWindow
,
41174 &_swigt__p_wxWindowCreateEvent
,
41175 &_swigt__p_wxWindowDC
,
41176 &_swigt__p_wxWindowDestroyEvent
,
41177 &_swigt__p_wxXPMHandler
,
41180 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41195 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}};
41196 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41198 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}};
41199 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41202 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}};
41203 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41216 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}};
41217 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}};
41218 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41219 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41222 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}};
41223 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41233 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}};
41234 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41235 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}};
41236 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41315 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41316 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41318 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41320 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}};
41321 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41322 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41323 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41325 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41326 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41327 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}};
41328 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41329 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41330 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41331 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41332 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41333 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41334 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41335 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41336 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41337 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41338 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41339 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41340 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41341 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41342 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41343 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41344 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41345 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41346 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41347 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}};
41348 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}};
41350 static swig_cast_info
*swig_cast_initial
[] = {
41354 _swigc__p_form_ops_t
,
41356 _swigc__p_unsigned_char
,
41357 _swigc__p_unsigned_int
,
41358 _swigc__p_unsigned_long
,
41360 _swigc__p_wxANIHandler
,
41361 _swigc__p_wxAcceleratorTable
,
41362 _swigc__p_wxActivateEvent
,
41363 _swigc__p_wxAlphaPixelData
,
41364 _swigc__p_wxAlphaPixelData_Accessor
,
41365 _swigc__p_wxAutoBufferedPaintDC
,
41366 _swigc__p_wxBMPHandler
,
41367 _swigc__p_wxBitmap
,
41368 _swigc__p_wxBoxSizer
,
41370 _swigc__p_wxBrushList
,
41371 _swigc__p_wxBufferedDC
,
41372 _swigc__p_wxBufferedPaintDC
,
41373 _swigc__p_wxCURHandler
,
41375 _swigc__p_wxChildFocusEvent
,
41376 _swigc__p_wxClientDC
,
41377 _swigc__p_wxClipboardTextEvent
,
41378 _swigc__p_wxCloseEvent
,
41379 _swigc__p_wxColour
,
41380 _swigc__p_wxColourDatabase
,
41381 _swigc__p_wxCommandEvent
,
41382 _swigc__p_wxContextMenuEvent
,
41383 _swigc__p_wxControl
,
41384 _swigc__p_wxControlWithItems
,
41385 _swigc__p_wxCursor
,
41387 _swigc__p_wxDCBrushChanger
,
41388 _swigc__p_wxDCClipper
,
41389 _swigc__p_wxDCOverlay
,
41390 _swigc__p_wxDCPenChanger
,
41391 _swigc__p_wxDCTextColourChanger
,
41393 _swigc__p_wxDateEvent
,
41394 _swigc__p_wxDisplayChangedEvent
,
41395 _swigc__p_wxDropFilesEvent
,
41396 _swigc__p_wxDuplexMode
,
41397 _swigc__p_wxEffects
,
41398 _swigc__p_wxEncodingConverter
,
41399 _swigc__p_wxEraseEvent
,
41401 _swigc__p_wxEvtHandler
,
41402 _swigc__p_wxFSFile
,
41403 _swigc__p_wxFileSystem
,
41404 _swigc__p_wxFlexGridSizer
,
41405 _swigc__p_wxFocusEvent
,
41407 _swigc__p_wxFontList
,
41408 _swigc__p_wxFontMapper
,
41409 _swigc__p_wxGBSizerItem
,
41411 _swigc__p_wxGDIObjListBase
,
41412 _swigc__p_wxGDIObject
,
41413 _swigc__p_wxGIFHandler
,
41414 _swigc__p_wxGraphicsBrush
,
41415 _swigc__p_wxGraphicsContext
,
41416 _swigc__p_wxGraphicsFont
,
41417 _swigc__p_wxGraphicsMatrix
,
41418 _swigc__p_wxGraphicsObject
,
41419 _swigc__p_wxGraphicsPath
,
41420 _swigc__p_wxGraphicsPen
,
41421 _swigc__p_wxGraphicsRenderer
,
41422 _swigc__p_wxGridBagSizer
,
41423 _swigc__p_wxGridSizer
,
41424 _swigc__p_wxHeaderButtonParams
,
41425 _swigc__p_wxICOHandler
,
41427 _swigc__p_wxIconBundle
,
41428 _swigc__p_wxIconLocation
,
41429 _swigc__p_wxIconizeEvent
,
41430 _swigc__p_wxIdleEvent
,
41432 _swigc__p_wxImageHandler
,
41433 _swigc__p_wxImageList
,
41434 _swigc__p_wxIndividualLayoutConstraint
,
41435 _swigc__p_wxInitDialogEvent
,
41436 _swigc__p_wxJPEGHandler
,
41437 _swigc__p_wxKeyEvent
,
41438 _swigc__p_wxLanguageInfo
,
41439 _swigc__p_wxLayoutConstraints
,
41440 _swigc__p_wxLocale
,
41442 _swigc__p_wxMaximizeEvent
,
41443 _swigc__p_wxMemoryDC
,
41445 _swigc__p_wxMenuBar
,
41446 _swigc__p_wxMenuEvent
,
41447 _swigc__p_wxMenuItem
,
41448 _swigc__p_wxMetaFile
,
41449 _swigc__p_wxMetaFileDC
,
41450 _swigc__p_wxMirrorDC
,
41451 _swigc__p_wxMouseCaptureChangedEvent
,
41452 _swigc__p_wxMouseCaptureLostEvent
,
41453 _swigc__p_wxMouseEvent
,
41454 _swigc__p_wxMoveEvent
,
41455 _swigc__p_wxNativeEncodingInfo
,
41456 _swigc__p_wxNativeFontInfo
,
41457 _swigc__p_wxNativePixelData
,
41458 _swigc__p_wxNativePixelData_Accessor
,
41459 _swigc__p_wxNavigationKeyEvent
,
41460 _swigc__p_wxNcPaintEvent
,
41461 _swigc__p_wxNotifyEvent
,
41462 _swigc__p_wxObject
,
41463 _swigc__p_wxOverlay
,
41464 _swigc__p_wxPCXHandler
,
41465 _swigc__p_wxPNGHandler
,
41466 _swigc__p_wxPNMHandler
,
41467 _swigc__p_wxPaintDC
,
41468 _swigc__p_wxPaintEvent
,
41469 _swigc__p_wxPalette
,
41470 _swigc__p_wxPaletteChangedEvent
,
41471 _swigc__p_wxPaperSize
,
41473 _swigc__p_wxPenList
,
41474 _swigc__p_wxPixelDataBase
,
41476 _swigc__p_wxPoint2D
,
41477 _swigc__p_wxPostScriptDC
,
41478 _swigc__p_wxPrintData
,
41479 _swigc__p_wxPrinterDC
,
41480 _swigc__p_wxPseudoDC
,
41482 _swigc__p_wxPyCommandEvent
,
41483 _swigc__p_wxPyEvent
,
41484 _swigc__p_wxPyFontEnumerator
,
41485 _swigc__p_wxPyImageHandler
,
41486 _swigc__p_wxPyLocale
,
41487 _swigc__p_wxPySizer
,
41488 _swigc__p_wxPyValidator
,
41489 _swigc__p_wxQueryNewPaletteEvent
,
41491 _swigc__p_wxRect2D
,
41492 _swigc__p_wxRegion
,
41493 _swigc__p_wxRegionIterator
,
41494 _swigc__p_wxRendererNative
,
41495 _swigc__p_wxRendererVersion
,
41496 _swigc__p_wxScreenDC
,
41497 _swigc__p_wxScrollEvent
,
41498 _swigc__p_wxScrollWinEvent
,
41499 _swigc__p_wxSetCursorEvent
,
41500 _swigc__p_wxShowEvent
,
41502 _swigc__p_wxSizeEvent
,
41504 _swigc__p_wxSizerItem
,
41505 _swigc__p_wxSplitterRenderParams
,
41506 _swigc__p_wxStaticBoxSizer
,
41507 _swigc__p_wxStdDialogButtonSizer
,
41508 _swigc__p_wxStockGDI
,
41509 _swigc__p_wxString
,
41510 _swigc__p_wxSysColourChangedEvent
,
41511 _swigc__p_wxTGAHandler
,
41512 _swigc__p_wxTIFFHandler
,
41513 _swigc__p_wxUpdateUIEvent
,
41514 _swigc__p_wxValidator
,
41515 _swigc__p_wxWindow
,
41516 _swigc__p_wxWindowCreateEvent
,
41517 _swigc__p_wxWindowDC
,
41518 _swigc__p_wxWindowDestroyEvent
,
41519 _swigc__p_wxXPMHandler
,
41523 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41525 static swig_const_info swig_const_table
[] = {
41526 {0, 0, 0, 0.0, 0, 0}};
41531 /* -----------------------------------------------------------------------------
41532 * Type initialization:
41533 * This problem is tough by the requirement that no dynamic
41534 * memory is used. Also, since swig_type_info structures store pointers to
41535 * swig_cast_info structures and swig_cast_info structures store pointers back
41536 * to swig_type_info structures, we need some lookup code at initialization.
41537 * The idea is that swig generates all the structures that are needed.
41538 * The runtime then collects these partially filled structures.
41539 * The SWIG_InitializeModule function takes these initial arrays out of
41540 * swig_module, and does all the lookup, filling in the swig_module.types
41541 * array with the correct data and linking the correct swig_cast_info
41542 * structures together.
41544 * The generated swig_type_info structures are assigned staticly to an initial
41545 * array. We just loop though that array, and handle each type individually.
41546 * First we lookup if this type has been already loaded, and if so, use the
41547 * loaded structure instead of the generated one. Then we have to fill in the
41548 * cast linked list. The cast data is initially stored in something like a
41549 * two-dimensional array. Each row corresponds to a type (there are the same
41550 * number of rows as there are in the swig_type_initial array). Each entry in
41551 * a column is one of the swig_cast_info structures for that type.
41552 * The cast_initial array is actually an array of arrays, because each row has
41553 * a variable number of columns. So to actually build the cast linked list,
41554 * we find the array of casts associated with the type, and loop through it
41555 * adding the casts to the list. The one last trick we need to do is making
41556 * sure the type pointer in the swig_cast_info struct is correct.
41558 * First off, we lookup the cast->type name to see if it is already loaded.
41559 * There are three cases to handle:
41560 * 1) If the cast->type has already been loaded AND the type we are adding
41561 * casting info to has not been loaded (it is in this module), THEN we
41562 * replace the cast->type pointer with the type pointer that has already
41564 * 2) If BOTH types (the one we are adding casting info to, and the
41565 * cast->type) are loaded, THEN the cast info has already been loaded by
41566 * the previous module so we just ignore it.
41567 * 3) Finally, if cast->type has not already been loaded, then we add that
41568 * swig_cast_info to the linked list (because the cast->type) pointer will
41570 * ----------------------------------------------------------------------------- */
41580 #define SWIGRUNTIME_DEBUG
41584 SWIG_InitializeModule(void *clientdata
) {
41586 swig_module_info
*module_head
;
41587 static int init_run
= 0;
41589 clientdata
= clientdata
;
41591 if (init_run
) return;
41594 /* Initialize the swig_module */
41595 swig_module
.type_initial
= swig_type_initial
;
41596 swig_module
.cast_initial
= swig_cast_initial
;
41598 /* Try and load any already created modules */
41599 module_head
= SWIG_GetModule(clientdata
);
41601 swig_module
.next
= module_head
->next
;
41602 module_head
->next
= &swig_module
;
41604 /* This is the first module loaded */
41605 swig_module
.next
= &swig_module
;
41606 SWIG_SetModule(clientdata
, &swig_module
);
41609 /* Now work on filling in swig_module.types */
41610 #ifdef SWIGRUNTIME_DEBUG
41611 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41613 for (i
= 0; i
< swig_module
.size
; ++i
) {
41614 swig_type_info
*type
= 0;
41615 swig_type_info
*ret
;
41616 swig_cast_info
*cast
;
41618 #ifdef SWIGRUNTIME_DEBUG
41619 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41622 /* if there is another module already loaded */
41623 if (swig_module
.next
!= &swig_module
) {
41624 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41627 /* Overwrite clientdata field */
41628 #ifdef SWIGRUNTIME_DEBUG
41629 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41631 if (swig_module
.type_initial
[i
]->clientdata
) {
41632 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41633 #ifdef SWIGRUNTIME_DEBUG
41634 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41638 type
= swig_module
.type_initial
[i
];
41641 /* Insert casting types */
41642 cast
= swig_module
.cast_initial
[i
];
41643 while (cast
->type
) {
41644 /* Don't need to add information already in the list */
41646 #ifdef SWIGRUNTIME_DEBUG
41647 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41649 if (swig_module
.next
!= &swig_module
) {
41650 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41651 #ifdef SWIGRUNTIME_DEBUG
41652 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41656 if (type
== swig_module
.type_initial
[i
]) {
41657 #ifdef SWIGRUNTIME_DEBUG
41658 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41663 /* Check for casting already in the list */
41664 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41665 #ifdef SWIGRUNTIME_DEBUG
41666 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41668 if (!ocast
) ret
= 0;
41673 #ifdef SWIGRUNTIME_DEBUG
41674 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41677 type
->cast
->prev
= cast
;
41678 cast
->next
= type
->cast
;
41684 /* Set entry in modules->types array equal to the type */
41685 swig_module
.types
[i
] = type
;
41687 swig_module
.types
[i
] = 0;
41689 #ifdef SWIGRUNTIME_DEBUG
41690 printf("**** SWIG_InitializeModule: Cast List ******\n");
41691 for (i
= 0; i
< swig_module
.size
; ++i
) {
41693 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41694 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41695 while (cast
->type
) {
41696 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41700 printf("---- Total casts: %d\n",j
);
41702 printf("**** SWIG_InitializeModule: Cast List ******\n");
41706 /* This function will propagate the clientdata field of type to
41707 * any new swig_type_info structures that have been added into the list
41708 * of equivalent types. It is like calling
41709 * SWIG_TypeClientData(type, clientdata) a second time.
41712 SWIG_PropagateClientData(void) {
41714 swig_cast_info
*equiv
;
41715 static int init_run
= 0;
41717 if (init_run
) return;
41720 for (i
= 0; i
< swig_module
.size
; i
++) {
41721 if (swig_module
.types
[i
]->clientdata
) {
41722 equiv
= swig_module
.types
[i
]->cast
;
41724 if (!equiv
->converter
) {
41725 if (equiv
->type
&& !equiv
->type
->clientdata
)
41726 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41728 equiv
= equiv
->next
;
41748 /* Python-specific SWIG API */
41749 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41750 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41751 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41753 /* -----------------------------------------------------------------------------
41754 * global variable support code.
41755 * ----------------------------------------------------------------------------- */
41757 typedef struct swig_globalvar
{
41758 char *name
; /* Name of global variable */
41759 PyObject
*(*get_attr
)(void); /* Return the current value */
41760 int (*set_attr
)(PyObject
*); /* Set the value */
41761 struct swig_globalvar
*next
;
41764 typedef struct swig_varlinkobject
{
41766 swig_globalvar
*vars
;
41767 } swig_varlinkobject
;
41769 SWIGINTERN PyObject
*
41770 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41771 return PyString_FromString("<Swig global variables>");
41774 SWIGINTERN PyObject
*
41775 swig_varlink_str(swig_varlinkobject
*v
) {
41776 PyObject
*str
= PyString_FromString("(");
41777 swig_globalvar
*var
;
41778 for (var
= v
->vars
; var
; var
=var
->next
) {
41779 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41780 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41782 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41787 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41788 PyObject
*str
= swig_varlink_str(v
);
41789 fprintf(fp
,"Swig global variables ");
41790 fprintf(fp
,"%s\n", PyString_AsString(str
));
41796 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41797 swig_globalvar
*var
= v
->vars
;
41799 swig_globalvar
*n
= var
->next
;
41806 SWIGINTERN PyObject
*
41807 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41808 PyObject
*res
= NULL
;
41809 swig_globalvar
*var
= v
->vars
;
41811 if (strcmp(var
->name
,n
) == 0) {
41812 res
= (*var
->get_attr
)();
41817 if (res
== NULL
&& !PyErr_Occurred()) {
41818 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41824 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41826 swig_globalvar
*var
= v
->vars
;
41828 if (strcmp(var
->name
,n
) == 0) {
41829 res
= (*var
->set_attr
)(p
);
41834 if (res
== 1 && !PyErr_Occurred()) {
41835 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41840 SWIGINTERN PyTypeObject
*
41841 swig_varlink_type(void) {
41842 static char varlink__doc__
[] = "Swig var link object";
41843 static PyTypeObject varlink_type
;
41844 static int type_init
= 0;
41846 const PyTypeObject tmp
41848 PyObject_HEAD_INIT(NULL
)
41849 0, /* Number of items in variable part (ob_size) */
41850 (char *)"swigvarlink", /* Type name (tp_name) */
41851 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41852 0, /* Itemsize (tp_itemsize) */
41853 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41854 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41855 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41856 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41857 0, /* tp_compare */
41858 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41859 0, /* tp_as_number */
41860 0, /* tp_as_sequence */
41861 0, /* tp_as_mapping */
41864 (reprfunc
)swig_varlink_str
, /* tp_str */
41865 0, /* tp_getattro */
41866 0, /* tp_setattro */
41867 0, /* tp_as_buffer */
41869 varlink__doc__
, /* tp_doc */
41870 0, /* tp_traverse */
41872 0, /* tp_richcompare */
41873 0, /* tp_weaklistoffset */
41874 #if PY_VERSION_HEX >= 0x02020000
41875 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41877 #if PY_VERSION_HEX >= 0x02030000
41880 #ifdef COUNT_ALLOCS
41881 0,0,0,0 /* tp_alloc -> tp_next */
41884 varlink_type
= tmp
;
41885 varlink_type
.ob_type
= &PyType_Type
;
41888 return &varlink_type
;
41891 /* Create a variable linking object for use later */
41892 SWIGINTERN PyObject
*
41893 SWIG_Python_newvarlink(void) {
41894 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41898 return ((PyObject
*) result
);
41902 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41903 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41904 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41906 size_t size
= strlen(name
)+1;
41907 gv
->name
= (char *)malloc(size
);
41909 strncpy(gv
->name
,name
,size
);
41910 gv
->get_attr
= get_attr
;
41911 gv
->set_attr
= set_attr
;
41912 gv
->next
= v
->vars
;
41918 SWIGINTERN PyObject
*
41920 static PyObject
*_SWIG_globals
= 0;
41921 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41922 return _SWIG_globals
;
41925 /* -----------------------------------------------------------------------------
41926 * constants/methods manipulation
41927 * ----------------------------------------------------------------------------- */
41929 /* Install Constants */
41931 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41934 for (i
= 0; constants
[i
].type
; ++i
) {
41935 switch(constants
[i
].type
) {
41936 case SWIG_PY_POINTER
:
41937 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41939 case SWIG_PY_BINARY
:
41940 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41947 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41953 /* -----------------------------------------------------------------------------*/
41954 /* Fix SwigMethods to carry the callback ptrs when needed */
41955 /* -----------------------------------------------------------------------------*/
41958 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41959 swig_const_info
*const_table
,
41960 swig_type_info
**types
,
41961 swig_type_info
**types_initial
) {
41963 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41964 const char *c
= methods
[i
].ml_doc
;
41965 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41967 swig_const_info
*ci
= 0;
41968 const char *name
= c
+ 10;
41969 for (j
= 0; const_table
[j
].type
; ++j
) {
41970 if (strncmp(const_table
[j
].name
, name
,
41971 strlen(const_table
[j
].name
)) == 0) {
41972 ci
= &(const_table
[j
]);
41977 size_t shift
= (ci
->ptype
) - types
;
41978 swig_type_info
*ty
= types_initial
[shift
];
41979 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41980 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41981 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41984 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41986 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41988 strncpy(buff
, "swig_ptr: ", 10);
41990 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41991 methods
[i
].ml_doc
= ndoc
;
42003 /* -----------------------------------------------------------------------------*
42004 * Partial Init method
42005 * -----------------------------------------------------------------------------*/
42010 SWIGEXPORT
void SWIG_init(void) {
42013 /* Fix SwigMethods to carry the callback ptrs when needed */
42014 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42016 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42017 d
= PyModule_GetDict(m
);
42019 SWIG_InitializeModule(0);
42020 SWIG_InstallConstants(d
,swig_const_table
);
42023 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42024 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42025 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42026 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42027 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42028 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42029 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42030 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42031 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42032 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42033 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42034 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42035 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42036 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42037 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42038 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42039 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42040 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42041 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42042 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42043 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42044 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42045 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42046 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42047 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42048 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42049 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42050 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42051 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42052 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42053 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42054 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42055 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42056 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42057 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42058 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42059 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42060 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42061 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42062 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42063 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42064 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42065 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42066 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42067 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42068 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42069 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42070 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42073 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42074 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42075 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42076 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42077 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42078 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42079 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42080 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42081 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42082 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42083 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42084 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42085 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42086 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42087 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42088 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42089 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42090 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42096 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42097 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42098 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42099 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42100 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42101 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42102 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42103 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42104 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42105 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42114 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42116 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42148 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42149 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42150 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42151 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42152 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42153 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42154 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42156 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42158 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42228 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42229 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42230 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42231 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42232 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42233 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42234 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42235 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42236 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42237 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42238 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42239 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42240 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42241 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42242 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42243 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42244 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42245 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42246 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42247 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42248 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42249 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42250 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42251 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42252 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42253 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42254 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42255 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42256 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42257 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42258 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42259 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42260 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42261 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42262 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42263 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42264 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42265 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42266 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42267 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42268 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42269 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42270 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42271 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42272 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42273 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42274 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42275 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42276 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42277 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42278 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42279 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42280 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42281 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42282 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42283 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42284 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42285 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42286 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42287 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42288 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42289 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42290 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42291 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42292 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42293 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42294 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42295 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42296 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42297 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42298 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42299 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42300 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42301 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42302 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42303 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42304 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42305 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42306 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42307 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42308 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42309 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42310 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42311 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42312 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42313 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42314 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42315 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42316 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42317 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42318 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42319 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42320 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42321 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42322 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42323 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42324 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42325 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42326 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42327 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42328 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42329 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42330 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42331 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42332 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42333 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42334 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42335 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42336 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42337 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42338 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42339 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42340 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42341 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42342 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42343 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42352 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42354 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42355 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42356 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42357 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42358 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42359 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42360 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42361 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42362 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42363 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42364 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42365 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42366 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42367 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42368 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42369 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42370 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42371 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42372 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42373 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42374 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42375 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42376 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42377 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42378 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42379 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42380 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42381 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42382 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42383 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42384 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42385 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42386 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42387 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42388 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42389 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42390 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42391 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42392 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42393 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42394 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42395 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42396 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42397 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42398 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42399 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42400 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42401 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42402 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42403 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42404 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42405 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42406 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42407 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42408 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42409 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42410 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42411 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42412 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42413 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42414 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42415 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42416 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42417 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42418 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42419 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42420 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42421 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42422 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42423 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42424 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42425 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42426 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42427 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42428 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42429 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42430 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42431 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42432 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42433 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42434 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42435 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42436 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42437 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42438 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42439 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42440 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42441 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42442 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42443 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42444 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42445 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42446 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42447 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42448 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42449 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42450 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42451 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42452 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42453 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42454 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42455 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42456 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42457 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42458 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42459 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42460 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42461 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42462 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42463 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42464 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42465 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42466 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42467 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42468 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42469 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42470 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42471 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42472 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42473 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42474 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42475 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42476 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42477 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42478 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42479 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42480 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42481 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42483 // Work around a chicken/egg problem in drawlist.cpp
42484 wxPyDrawList_SetAPIPtr();