1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2982 wxSize
size(self
->GetWidth(), self
->GetHeight());
2985 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2986 wxMask
*mask
= new wxMask(*self
, colour
);
2987 self
->SetMask(mask
);
2989 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2990 self
->SetWidth(size
.x
);
2991 self
->SetHeight(size
.y
);
2993 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2994 int height
=self
->GetHeight();
2995 int width
=self
->GetWidth();
2997 if (DATASIZE
!= width
* height
* 3) {
2998 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3000 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3002 // raise an exception...
3003 wxPyErr_SetString(PyExc_RuntimeError
,
3004 "Failed to gain raw access to bitmap data.");
3008 wxNativePixelData::Iterator
p(pixData
);
3009 for (int y
=0; y
<height
; y
++) {
3010 wxNativePixelData::Iterator rowStart
= p
;
3011 for (int x
=0; x
<width
; x
++) {
3012 p
.Red() = *(data
++);
3013 p
.Green() = *(data
++);
3014 p
.Blue() = *(data
++);
3018 p
.OffsetY(pixData
, 1);
3021 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3022 int height
=self
->GetHeight();
3023 int width
=self
->GetWidth();
3025 if (DATASIZE
!= width
* height
* 4) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3037 wxAlphaPixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxAlphaPixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3042 p
.Red() = wxPy_premultiply(*(data
++), a
);
3043 p
.Green() = wxPy_premultiply(*(data
++), a
);
3044 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3045 p
.Alpha() = a
; data
++;
3049 p
.OffsetY(pixData
, 1);
3052 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3053 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3055 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3056 buffer data
, int DATASIZE
,
3057 buffer alpha
, int ALPHASIZE
)
3059 if (DATASIZE
!= width
*height
*3) {
3060 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3064 if (ALPHASIZE
!= width
*height
) {
3065 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3069 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3070 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3072 // raise an exception...
3073 wxPyErr_SetString(PyExc_RuntimeError
,
3074 "Failed to gain raw access to bitmap data.");
3079 wxAlphaPixelData::Iterator
p(pixData
);
3080 for (int y
=0; y
<height
; y
++) {
3081 wxAlphaPixelData::Iterator rowStart
= p
;
3082 for (int x
=0; x
<width
; x
++) {
3083 byte a
= *(alpha
++);
3084 p
.Red() = wxPy_premultiply(*(data
++), a
);
3085 p
.Green() = wxPy_premultiply(*(data
++), a
);
3086 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3091 p
.OffsetY(pixData
, 1);
3096 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3098 if (DATASIZE
!= width
*height
*3) {
3099 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3103 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3104 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3106 // raise an exception...
3107 wxPyErr_SetString(PyExc_RuntimeError
,
3108 "Failed to gain raw access to bitmap data.");
3112 wxNativePixelData::Iterator
p(pixData
);
3113 for (int y
=0; y
<height
; y
++) {
3114 wxNativePixelData::Iterator rowStart
= p
;
3115 for (int x
=0; x
<width
; x
++) {
3116 p
.Red() = *(data
++);
3117 p
.Green() = *(data
++);
3118 p
.Blue() = *(data
++);
3122 p
.OffsetY(pixData
, 1);
3128 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3130 if (DATASIZE
!= width
*height
*4) {
3131 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3135 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3136 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3138 // raise an exception...
3139 wxPyErr_SetString(PyExc_RuntimeError
,
3140 "Failed to gain raw access to bitmap data.");
3145 wxAlphaPixelData::Iterator
p(pixData
);
3146 for (int y
=0; y
<height
; y
++) {
3147 wxAlphaPixelData::Iterator rowStart
= p
;
3148 for (int x
=0; x
<width
; x
++) {
3150 p
.Red() = wxPy_premultiply(*(data
++), a
);
3151 p
.Green() = wxPy_premultiply(*(data
++), a
);
3152 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3153 p
.Alpha() = a
; data
++;
3157 p
.OffsetY(pixData
, 1);
3163 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3165 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3167 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3169 self
->Green() = green
;
3170 self
->Blue() = blue
;
3172 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3173 PyObject
* rv
= PyTuple_New(3);
3174 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3175 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3176 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3180 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3182 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3184 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3185 self
->Red() = wxPy_premultiply(red
, alpha
);
3186 self
->Green() = wxPy_premultiply(green
, alpha
);
3187 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3188 self
->Alpha() = alpha
;
3190 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3191 PyObject
* rv
= PyTuple_New(4);
3192 int red
= self
->Red();
3193 int green
= self
->Green();
3194 int blue
= self
->Blue();
3195 int alpha
= self
->Alpha();
3197 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3198 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3199 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3200 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3203 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3204 if ( !colour
.IsOk() )
3205 return new wxMask(bitmap
, *wxBLACK
);
3207 return new wxMask(bitmap
, colour
);
3210 #include <wx/iconbndl.h>
3212 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3213 wxIcon
* icon
= new wxIcon();
3214 icon
->CopyFromBitmap(bmp
);
3217 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3218 char** cArray
= NULL
;
3221 cArray
= ConvertListOfStrings(listOfStrings
);
3224 icon
= new wxIcon(cArray
);
3228 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3229 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
, num
);
3236 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3238 self
->SetIndex(num
);
3243 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3245 return self
->GetIndex();
3250 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3252 wxImage
img(cursorName
, type
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3254 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3255 return new wxCursor(img
);
3257 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3263 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3266 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3267 return self
->operator bool();
3270 #include <wx/fontutil.h>
3271 #include <wx/fontmap.h>
3272 #include <wx/fontenum.h>
3274 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3275 return self
->ToString();
3278 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3279 { wxPyRaiseNotImplemented(); return NULL
; }
3281 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3282 { wxPyRaiseNotImplemented(); return false; }
3285 SWIGINTERNINLINE PyObject
*
3286 SWIG_From_size_t (size_t value
)
3288 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3292 SWIGINTERNINLINE
int
3293 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3296 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3297 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3301 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3302 wxFontEncoding alt_enc
;
3303 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3304 return PyInt_FromLong(alt_enc
);
3310 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3311 wxNativeFontInfo nfi
;
3312 nfi
.FromString(info
);
3313 return new wxFont(nfi
);
3315 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3316 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3318 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3319 return wxFontBase::New(pixelSize
, family
,
3320 style
, weight
, underlined
,
3323 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3324 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3326 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3327 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3329 class wxPyFontEnumerator
: public wxFontEnumerator
{
3331 wxPyFontEnumerator() {}
3332 ~wxPyFontEnumerator() {}
3334 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3335 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3340 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3341 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3344 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3346 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 ret
= wxArrayString2PyList_helper(arr
);
3349 wxPyEndBlockThreads(blocked
);
3352 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3354 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 ret
= wxArrayString2PyList_helper(arr
);
3357 wxPyEndBlockThreads(blocked
);
3363 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3366 loc
= new wxLocale();
3368 loc
= new wxLocale(language
, flags
);
3369 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3370 // for the floating point conversions and such to work right.
3371 #if PY_VERSION_HEX < 0x02040000
3372 setlocale(LC_NUMERIC
, "C");
3376 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3377 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3378 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3379 // for the floating point conversions and such to work right.
3380 #if PY_VERSION_HEX < 0x02040000
3381 setlocale(LC_NUMERIC
, "C");
3385 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 bool rc
= self
->Init(language
, flags
);
3387 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3388 // for the floating point conversions and such to work right.
3389 #if PY_VERSION_HEX < 0x02040000
3390 setlocale(LC_NUMERIC
, "C");
3395 class wxPyLocale
: public wxLocale
3400 wxPyLocale(const wxChar
*szName
, // name (for messages)
3401 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3402 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3403 bool bLoadDefault
= true, // preload wxstd.mo?
3404 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3406 wxPyLocale(int language
, // wxLanguage id or custom language
3407 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szDomain
= NULL
) const;
3413 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3414 const wxChar
*szOrigString2
, size_t n
,
3415 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3418 const wxChar
*szDomain
= NULL
) const;
3419 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
= NULL
) const;
3425 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3428 wxPyLocale::wxPyLocale() : wxLocale()
3432 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3433 const wxChar
*szShort
, // dir prefix (for msg files)
3434 const wxChar
*szLocale
, // locale (for setlocale)
3435 bool bLoadDefault
, // preload wxstd.mo?
3436 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3437 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3441 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3442 int flags
) : wxLocale(language
, flags
)
3446 wxPyLocale::~wxPyLocale()
3450 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3451 const wxChar
*szDomain
) const
3453 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3454 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3457 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3458 const wxChar
*szOrigString2
, size_t n
,
3459 const wxChar
*szDomain
) const
3461 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3462 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3465 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3466 const wxChar
*szDomain
) const
3469 static wxString str
;
3470 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.
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(szOrigString
);
3474 PyObject
* param2
= wx2PyString(szDomain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? (wxChar
*)str
.c_str() : NULL
);
3487 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3488 const wxChar
*szOrigString2
, size_t n
,
3489 const wxChar
*szDomain
) const
3492 static wxString str
;
3493 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.
3494 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3495 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3496 PyObject
* param1
= wx2PyString(szOrigString
);
3497 PyObject
* param2
= wx2PyString(szOrigString2
);
3498 PyObject
* param4
= wx2PyString(szDomain
);
3499 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3504 str
= Py2wxString(ret
);
3508 wxPyEndBlockThreads(blocked
);
3509 return (found
? (wxChar
*)str
.c_str() : NULL
);
3512 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3515 loc
= new wxPyLocale();
3517 loc
= new wxPyLocale(language
, flags
);
3518 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3519 // for the floating point conversions and such to work right.
3520 #if PY_VERSION_HEX < 0x02040000
3521 setlocale(LC_NUMERIC
, "C");
3526 #include "wx/wxPython/pydrawxxx.h"
3528 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3530 self
->GetPixel(x
, y
, &col
);
3533 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3535 self
->GetPixel(pt
, &col
);
3540 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3542 if (PyNumber_Check(obj
)) {
3543 if (val
) *val
= PyFloat_AsDouble(obj
);
3546 return SWIG_TypeError
;
3549 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3551 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3554 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3556 self
->GetClippingBox(rect
);
3559 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3561 self
->GetPartialTextExtents(text
, widths
);
3565 #define SWIG_From_double PyFloat_FromDouble
3567 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3568 self
->SetLogicalOrigin(point
.x
, point
.y
);
3570 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3571 self
->SetDeviceOrigin(point
.x
, point
.y
);
3573 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3574 self
->CalcBoundingBox(point
.x
, point
.y
);
3576 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3577 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3579 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3580 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3582 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3583 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3585 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3586 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3588 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3589 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3591 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3592 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3595 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3603 #include <wx/dcbuffer.h>
3606 #include <wx/dcps.h>
3609 #include <wx/metafile.h>
3612 #include <wx/graphics.h>
3615 #if !wxUSE_GRAPHICS_CONTEXT
3616 // C++ stub classes for platforms or build configurations that don't have
3617 // wxGraphicsContext yet.
3620 class wxGraphicsObject
: public wxObject
3623 wxGraphicsObject( wxGraphicsRenderer
* ) {
3624 PyErr_SetString(PyExc_NotImplementedError
,
3625 "wx.GraphicsObject is not available on this platform.");
3627 wxGraphicsObject( const wxGraphicsObject
& ) {}
3628 virtual ~wxGraphicsObject() {}
3629 bool IsNull() const { return false; }
3630 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3635 class wxGraphicsPen
: public wxGraphicsObject
3638 virtual ~wxGraphicsPen() {}
3640 wxGraphicsPen wxNullGraphicsPen
;
3644 class wxGraphicsBrush
: public wxGraphicsObject
3647 wxGraphicsBrush() {}
3648 virtual ~wxGraphicsBrush() {}
3650 wxGraphicsBrush wxNullGraphicsBrush
;
3654 class wxGraphicsFont
: public wxGraphicsObject
3658 virtual ~wxGraphicsFont() {}
3660 wxGraphicsFont wxNullGraphicsFont
;
3664 class wxGraphicsPath
: public wxGraphicsObject
3667 wxGraphicsPath(wxGraphicsRenderer
* ) {
3668 PyErr_SetString(PyExc_NotImplementedError
,
3669 "wx.GraphicsPath is not available on this platform.");
3671 virtual ~wxGraphicsPath() {}
3673 void MoveToPoint( wxDouble
, wxDouble
) {}
3674 void MoveToPoint( const wxPoint2DDouble
& ) {}
3675 void AddLineToPoint( wxDouble
, wxDouble
) {}
3676 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3677 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3678 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3679 void AddPath( const wxGraphicsPath
* ) {}
3680 void CloseSubpath() {}
3681 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3682 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3683 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3684 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3686 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3687 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3688 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3689 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void * GetNativePath() const { return NULL
; }
3694 void UnGetNativePath(void *) {}
3695 void Transform( wxGraphicsMatrix
* ) {}
3696 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3697 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3699 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3700 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3702 wxGraphicsPath wxNullGraphicsPath
;
3705 class wxGraphicsMatrix
: public wxGraphicsObject
3708 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3709 PyErr_SetString(PyExc_NotImplementedError
,
3710 "wx.GraphicsMatrix is not available on this platform.");
3712 virtual ~wxGraphicsMatrix() {}
3713 virtual void Concat( const wxGraphicsMatrix
* ) {}
3714 virtual void Copy( const wxGraphicsMatrix
* ) {}
3715 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3716 wxDouble
, wxDouble
) {}
3717 virtual void Invert() {}
3718 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3719 virtual bool IsIdentity() { return false; }
3720 virtual void Translate( wxDouble
, wxDouble
) {}
3721 virtual void Scale( wxDouble
, wxDouble
) {}
3722 virtual void Rotate( wxDouble
) {}
3723 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3724 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3725 virtual void * GetNativeMatrix() const { return NULL
; }
3727 wxGraphicsMatrix wxNullGraphicsMatrix
;
3730 class wxGraphicsContext
: public wxGraphicsObject
3734 wxGraphicsContext(wxGraphicsRenderer
* ) {
3735 PyErr_SetString(PyExc_NotImplementedError
,
3736 "wx.GraphicsContext is not available on this platform.");
3739 virtual ~wxGraphicsContext() {}
3741 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 static wxGraphicsContext
* CreateFromNative( void * ) {
3747 PyErr_SetString(PyExc_NotImplementedError
,
3748 "wx.GraphicsContext is not available on this platform.");
3751 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 static wxGraphicsContext
* Create( wxWindow
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 wxGraphicsPath
* CreatePath() { return NULL
; }
3763 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3765 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3767 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3768 const wxColour
&, const wxColour
&) { return NULL
; }
3770 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3771 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3772 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3774 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3776 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3777 wxDouble
, wxDouble
) { return NULL
; }
3779 virtual void PushState() {}
3780 virtual void PopState() {}
3781 virtual void Clip( const wxRegion
& ) {}
3782 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3783 virtual void ResetClip() {}
3784 virtual void * GetNativeContext() { return NULL
; }
3785 virtual void Translate( wxDouble
, wxDouble
) {}
3786 virtual void Scale( wxDouble
, wxDouble
) {}
3787 virtual void Rotate( wxDouble
) {}
3788 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3789 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3790 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3792 virtual void SetPen( const wxGraphicsPen
& ) {}
3793 void SetPen( const wxPen
& ) {}
3795 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3796 void SetBrush( const wxBrush
& ) {}
3798 virtual void SetFont( const wxGraphicsFont
& ) {}
3799 void SetFont( const wxFont
&, const wxColour
& ) {}
3801 virtual void StrokePath( const wxGraphicsPath
* ) {}
3802 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3803 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3805 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3806 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3807 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3808 wxDouble
*, wxDouble
* ) const {}
3809 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3811 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3812 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3814 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3815 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3816 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3817 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3818 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3819 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3820 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3821 virtual bool ShouldOffset() const { return false; }
3825 class wxGraphicsRenderer
: public wxObject
3828 wxGraphicsRenderer() {
3829 PyErr_SetString(PyExc_NotImplementedError
,
3830 "wx.GraphicsRenderer is not available on this platform.");
3833 virtual ~wxGraphicsRenderer() {}
3835 static wxGraphicsRenderer
* GetDefaultRenderer(
3836 PyErr_SetString(PyExc_NotImplementedError
,
3837 "wx.GraphicsRenderer is not available on this platform.");
3840 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3841 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3842 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3843 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3845 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3847 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3848 wxDouble
, wxDouble
) { return NULL
; }
3850 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3851 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3852 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3853 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3854 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3855 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3856 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3861 class wxGCDC
: public wxWindowDC
3864 wxGCDC(const wxWindowDC
&) {
3865 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3866 PyErr_SetString(PyExc_NotImplementedError
,
3867 "wxGCDC is not available on this platform.");
3868 wxPyEndBlockThreads(blocked
);
3872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wxGCDC is not available on this platform.");
3875 wxPyEndBlockThreads(blocked
);
3878 virtual ~wxGCDC() {}
3880 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3881 void SetGraphicsContext( wxGraphicsContext
* ) {}
3886 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3887 wxDouble width
= 0.0,
3889 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3890 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3891 PyObject
* rv
= PyTuple_New(2);
3892 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3893 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3896 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3897 wxArrayDouble widths
;
3898 self
->GetPartialTextExtents(text
, widths
);
3901 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3902 size_t c1
, c2
, count
;
3903 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3904 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3906 if ( beginP
!= NULL
&& endP
!= NULL
)
3908 count
= wxMin(c1
, c2
);
3909 self
->StrokeLines(count
, beginP
, endP
);
3915 #include "wx/dcgraph.h"
3918 #include <wx/overlay.h>
3922 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3923 self
->AddColour(name
, wxColour(red
, green
, blue
));
3926 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3927 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3928 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3929 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3932 #include <wx/effects.h>
3935 #include "wx/renderer.h"
3938 SWIGINTERNINLINE PyObject
*
3939 SWIG_From_bool (bool value
)
3941 return PyBool_FromLong(value
? 1 : 0);
3945 #include "wx/wxPython/pseudodc.h"
3947 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3949 self
->GetIdBounds(id
, rect
);
3955 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3956 PyObject
*resultobj
= 0;
3957 wxGDIObject
*result
= 0 ;
3959 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3961 if (!wxPyCheckForApp()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (wxGDIObject
*)new wxGDIObject();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3974 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3975 PyObject
*resultobj
= 0;
3976 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3979 PyObject
*swig_obj
[1] ;
3981 if (!args
) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3987 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 resultobj
= SWIG_Py_Void();
4002 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4003 PyObject
*resultobj
= 0;
4004 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4008 PyObject
*swig_obj
[1] ;
4010 if (!args
) SWIG_fail
;
4012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4013 if (!SWIG_IsOK(res1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4016 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->IsNull();
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4032 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4036 return SWIG_Py_Void();
4039 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 return SWIG_Python_InitShadowInstance(args
);
4043 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
= 0;
4045 byte arg1
= (byte
) 0 ;
4046 byte arg2
= (byte
) 0 ;
4047 byte arg3
= (byte
) 0 ;
4048 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4049 wxColour
*result
= 0 ;
4050 unsigned char val1
;
4052 unsigned char val2
;
4054 unsigned char val3
;
4056 unsigned char val4
;
4058 PyObject
* obj0
= 0 ;
4059 PyObject
* obj1
= 0 ;
4060 PyObject
* obj2
= 0 ;
4061 PyObject
* obj3
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4068 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4069 if (!SWIG_IsOK(ecode1
)) {
4070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4072 arg1
= static_cast< byte
>(val1
);
4075 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4076 if (!SWIG_IsOK(ecode2
)) {
4077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4079 arg2
= static_cast< byte
>(val2
);
4082 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4083 if (!SWIG_IsOK(ecode3
)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4086 arg3
= static_cast< byte
>(val3
);
4089 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4090 if (!SWIG_IsOK(ecode4
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4093 arg4
= static_cast< byte
>(val4
);
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4108 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= 0;
4110 wxString
*arg1
= 0 ;
4111 wxColour
*result
= 0 ;
4112 bool temp1
= false ;
4113 PyObject
* obj0
= 0 ;
4114 char * kwnames
[] = {
4115 (char *) "colorName", NULL
4118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4120 arg1
= wxString_in_helper(obj0
);
4121 if (arg1
== NULL
) SWIG_fail
;
4125 if (!wxPyCheckForApp()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 unsigned long arg1
;
4149 wxColour
*result
= 0 ;
4150 unsigned long val1
;
4152 PyObject
* obj0
= 0 ;
4153 char * kwnames
[] = {
4154 (char *) "colRGB", NULL
4157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4158 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4159 if (!SWIG_IsOK(ecode1
)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4162 arg1
= static_cast< unsigned long >(val1
);
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (wxColour
*)new wxColour(arg1
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4176 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4177 PyObject
*resultobj
= 0;
4178 wxColour
*arg1
= (wxColour
*) 0 ;
4181 PyObject
*swig_obj
[1] ;
4183 if (!args
) SWIG_fail
;
4185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4186 if (!SWIG_IsOK(res1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4189 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_Py_Void();
4204 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4205 PyObject
*resultobj
= 0;
4206 wxColour
*arg1
= (wxColour
*) 0 ;
4210 PyObject
*swig_obj
[1] ;
4212 if (!args
) SWIG_fail
;
4214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4215 if (!SWIG_IsOK(res1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4218 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (byte
)(arg1
)->Red();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4232 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4233 PyObject
*resultobj
= 0;
4234 wxColour
*arg1
= (wxColour
*) 0 ;
4238 PyObject
*swig_obj
[1] ;
4240 if (!args
) SWIG_fail
;
4242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4243 if (!SWIG_IsOK(res1
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4246 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (byte
)(arg1
)->Green();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4260 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4261 PyObject
*resultobj
= 0;
4262 wxColour
*arg1
= (wxColour
*) 0 ;
4266 PyObject
*swig_obj
[1] ;
4268 if (!args
) SWIG_fail
;
4270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4271 if (!SWIG_IsOK(res1
)) {
4272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4274 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= (byte
)(arg1
)->Blue();
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4288 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4289 PyObject
*resultobj
= 0;
4290 wxColour
*arg1
= (wxColour
*) 0 ;
4294 PyObject
*swig_obj
[1] ;
4296 if (!args
) SWIG_fail
;
4298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4299 if (!SWIG_IsOK(res1
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4302 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (byte
)(arg1
)->Alpha();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4316 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4317 PyObject
*resultobj
= 0;
4318 wxColour
*arg1
= (wxColour
*) 0 ;
4322 PyObject
*swig_obj
[1] ;
4324 if (!args
) SWIG_fail
;
4326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4327 if (!SWIG_IsOK(res1
)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4330 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (bool)(arg1
)->IsOk();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4346 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxColour
*arg1
= (wxColour
*) 0 ;
4352 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4355 unsigned char val2
;
4357 unsigned char val3
;
4359 unsigned char val4
;
4361 unsigned char val5
;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4365 PyObject
* obj2
= 0 ;
4366 PyObject
* obj3
= 0 ;
4367 PyObject
* obj4
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4377 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4378 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4379 if (!SWIG_IsOK(ecode2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4382 arg2
= static_cast< byte
>(val2
);
4383 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4384 if (!SWIG_IsOK(ecode3
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4387 arg3
= static_cast< byte
>(val3
);
4388 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4389 if (!SWIG_IsOK(ecode4
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4392 arg4
= static_cast< byte
>(val4
);
4394 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4395 if (!SWIG_IsOK(ecode5
)) {
4396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4398 arg5
= static_cast< byte
>(val5
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_Py_Void();
4413 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
= 0;
4415 wxColour
*arg1
= (wxColour
*) 0 ;
4416 unsigned long arg2
;
4419 unsigned long val2
;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 char * kwnames
[] = {
4424 (char *) "self",(char *) "colRGB", NULL
4427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4429 if (!SWIG_IsOK(res1
)) {
4430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4432 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4433 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4434 if (!SWIG_IsOK(ecode2
)) {
4435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4437 arg2
= static_cast< unsigned long >(val2
);
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= SWIG_Py_Void();
4451 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
= 0;
4453 wxColour
*arg1
= (wxColour
*) 0 ;
4454 wxString
*arg2
= 0 ;
4457 bool temp2
= false ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 char * kwnames
[] = {
4461 (char *) "self",(char *) "colourName", NULL
4464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4466 if (!SWIG_IsOK(res1
)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4469 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4471 arg2
= wxString_in_helper(obj1
);
4472 if (arg2
== NULL
) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->Set((wxString
const &)*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_Py_Void();
4496 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= 0;
4498 wxColour
*arg1
= (wxColour
*) 0 ;
4499 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "self",(char *) "flags", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4513 if (!SWIG_IsOK(res1
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4516 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4518 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4519 if (!SWIG_IsOK(ecode2
)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4522 arg2
= static_cast< long >(val2
);
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4543 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4544 PyObject
*resultobj
= 0;
4545 wxColour
*arg1
= (wxColour
*) 0 ;
4549 PyObject
*swig_obj
[1] ;
4551 if (!args
) SWIG_fail
;
4553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4554 if (!SWIG_IsOK(res1
)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4557 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= SWIG_From_long(static_cast< long >(result
));
4571 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
= 0;
4573 wxColour
*arg1
= (wxColour
*) 0 ;
4574 PyObject
*arg2
= (PyObject
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4580 char * kwnames
[] = {
4581 (char *) "self",(char *) "other", NULL
4584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4589 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4592 result
= (bool)wxColour___eq__(arg1
,arg2
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4604 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
= 0;
4606 wxColour
*arg1
= (wxColour
*) 0 ;
4607 PyObject
*arg2
= (PyObject
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4613 char * kwnames
[] = {
4614 (char *) "self",(char *) "other", NULL
4617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4622 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4625 result
= (bool)wxColour___ne__(arg1
,arg2
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4637 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxColour
*arg1
= (wxColour
*) 0 ;
4640 bool arg2
= (bool) false ;
4641 PyObject
*result
= 0 ;
4646 PyObject
* obj0
= 0 ;
4647 PyObject
* obj1
= 0 ;
4648 char * kwnames
[] = {
4649 (char *) "self",(char *) "includeAlpha", NULL
4652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4654 if (!SWIG_IsOK(res1
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4657 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4660 if (!SWIG_IsOK(ecode2
)) {
4661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4663 arg2
= static_cast< bool >(val2
);
4666 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4676 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4677 PyObject
*resultobj
= 0;
4678 wxColour
*arg1
= (wxColour
*) 0 ;
4679 unsigned long result
;
4682 PyObject
*swig_obj
[1] ;
4684 if (!args
) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4690 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4692 result
= (unsigned long)wxColour_GetRGB(arg1
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4702 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4705 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4706 return SWIG_Py_Void();
4709 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4710 return SWIG_Python_InitShadowInstance(args
);
4713 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
= 0;
4716 unsigned char *arg2
= (unsigned char *) 0 ;
4717 unsigned char *arg3
= (unsigned char *) 0 ;
4718 unsigned char *arg4
= (unsigned char *) 0 ;
4719 wxPalette
*result
= 0 ;
4728 PyObject
* obj0
= 0 ;
4729 PyObject
* obj1
= 0 ;
4730 PyObject
* obj2
= 0 ;
4731 PyObject
* obj3
= 0 ;
4732 char * kwnames
[] = {
4733 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4738 if (!SWIG_IsOK(ecode1
)) {
4739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4741 arg1
= static_cast< int >(val1
);
4742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4743 if (!SWIG_IsOK(res2
)) {
4744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4746 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4747 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4748 if (!SWIG_IsOK(res3
)) {
4749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4751 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4752 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4753 if (!SWIG_IsOK(res4
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4756 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4758 if (!wxPyCheckForApp()) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4771 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4772 PyObject
*resultobj
= 0;
4773 wxPalette
*arg1
= (wxPalette
*) 0 ;
4776 PyObject
*swig_obj
[1] ;
4778 if (!args
) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4784 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_Py_Void();
4799 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
= 0;
4801 wxPalette
*arg1
= (wxPalette
*) 0 ;
4808 unsigned char val2
;
4810 unsigned char val3
;
4812 unsigned char val4
;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4816 PyObject
* obj2
= 0 ;
4817 PyObject
* obj3
= 0 ;
4818 char * kwnames
[] = {
4819 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4827 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4828 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4832 arg2
= static_cast< byte
>(val2
);
4833 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4837 arg3
= static_cast< byte
>(val3
);
4838 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4839 if (!SWIG_IsOK(ecode4
)) {
4840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4842 arg4
= static_cast< byte
>(val4
);
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_From_int(static_cast< int >(result
));
4856 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
= 0;
4858 wxPalette
*arg1
= (wxPalette
*) 0 ;
4860 byte
*arg3
= (byte
*) 0 ;
4861 byte
*arg4
= (byte
*) 0 ;
4862 byte
*arg5
= (byte
*) 0 ;
4869 int res3
= SWIG_TMPOBJ
;
4871 int res4
= SWIG_TMPOBJ
;
4873 int res5
= SWIG_TMPOBJ
;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4876 char * kwnames
[] = {
4877 (char *) "self",(char *) "pixel", NULL
4883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4885 if (!SWIG_IsOK(res1
)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4888 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4890 if (!SWIG_IsOK(ecode2
)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4893 arg2
= static_cast< int >(val2
);
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4903 if (SWIG_IsTmpObj(res3
)) {
4904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4909 if (SWIG_IsTmpObj(res4
)) {
4910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4912 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4915 if (SWIG_IsTmpObj(res5
)) {
4916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4918 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4927 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4928 PyObject
*resultobj
= 0;
4929 wxPalette
*arg1
= (wxPalette
*) 0 ;
4933 PyObject
*swig_obj
[1] ;
4935 if (!args
) SWIG_fail
;
4937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4938 if (!SWIG_IsOK(res1
)) {
4939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4941 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= SWIG_From_int(static_cast< int >(result
));
4955 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxPalette
*arg1
= (wxPalette
*) 0 ;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4969 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (bool)(arg1
)->IsOk();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4985 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4989 return SWIG_Py_Void();
4992 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 return SWIG_Python_InitShadowInstance(args
);
4996 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
= 0;
4998 wxColour
*arg1
= 0 ;
4999 int arg2
= (int) 1 ;
5000 int arg3
= (int) wxSOLID
;
5007 PyObject
* obj0
= 0 ;
5008 PyObject
* obj1
= 0 ;
5009 PyObject
* obj2
= 0 ;
5010 char * kwnames
[] = {
5011 (char *) "colour",(char *) "width",(char *) "style", NULL
5014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5017 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5021 if (!SWIG_IsOK(ecode2
)) {
5022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5024 arg2
= static_cast< int >(val2
);
5027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5028 if (!SWIG_IsOK(ecode3
)) {
5029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5031 arg3
= static_cast< int >(val3
);
5034 if (!wxPyCheckForApp()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5047 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5048 PyObject
*resultobj
= 0;
5049 wxPen
*arg1
= (wxPen
*) 0 ;
5052 PyObject
*swig_obj
[1] ;
5054 if (!args
) SWIG_fail
;
5056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5057 if (!SWIG_IsOK(res1
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5060 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_Py_Void();
5075 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5076 PyObject
*resultobj
= 0;
5077 wxPen
*arg1
= (wxPen
*) 0 ;
5081 PyObject
*swig_obj
[1] ;
5083 if (!args
) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5089 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (int)(arg1
)->GetCap();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= SWIG_From_int(static_cast< int >(result
));
5103 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5104 PyObject
*resultobj
= 0;
5105 wxPen
*arg1
= (wxPen
*) 0 ;
5109 PyObject
*swig_obj
[1] ;
5111 if (!args
) SWIG_fail
;
5113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5114 if (!SWIG_IsOK(res1
)) {
5115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5117 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (arg1
)->GetColour();
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5131 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5132 PyObject
*resultobj
= 0;
5133 wxPen
*arg1
= (wxPen
*) 0 ;
5137 PyObject
*swig_obj
[1] ;
5139 if (!args
) SWIG_fail
;
5141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5142 if (!SWIG_IsOK(res1
)) {
5143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5145 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (int)(arg1
)->GetJoin();
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= SWIG_From_int(static_cast< int >(result
));
5159 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5160 PyObject
*resultobj
= 0;
5161 wxPen
*arg1
= (wxPen
*) 0 ;
5165 PyObject
*swig_obj
[1] ;
5167 if (!args
) SWIG_fail
;
5169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5170 if (!SWIG_IsOK(res1
)) {
5171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5173 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (int)(arg1
)->GetStyle();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_From_int(static_cast< int >(result
));
5187 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5188 PyObject
*resultobj
= 0;
5189 wxPen
*arg1
= (wxPen
*) 0 ;
5193 PyObject
*swig_obj
[1] ;
5195 if (!args
) SWIG_fail
;
5197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5198 if (!SWIG_IsOK(res1
)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5201 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (int)(arg1
)->GetWidth();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_From_int(static_cast< int >(result
));
5215 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5216 PyObject
*resultobj
= 0;
5217 wxPen
*arg1
= (wxPen
*) 0 ;
5221 PyObject
*swig_obj
[1] ;
5223 if (!args
) SWIG_fail
;
5225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5226 if (!SWIG_IsOK(res1
)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5229 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (bool)(arg1
)->IsOk();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5245 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5253 PyObject
* obj0
= 0 ;
5254 PyObject
* obj1
= 0 ;
5255 char * kwnames
[] = {
5256 (char *) "self",(char *) "cap_style", NULL
5259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5261 if (!SWIG_IsOK(res1
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5264 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5266 if (!SWIG_IsOK(ecode2
)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5269 arg2
= static_cast< int >(val2
);
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 (arg1
)->SetCap(arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_Py_Void();
5283 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
= 0;
5285 wxPen
*arg1
= (wxPen
*) 0 ;
5286 wxColour
*arg2
= 0 ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5292 char * kwnames
[] = {
5293 (char *) "self",(char *) "colour", NULL
5296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5298 if (!SWIG_IsOK(res1
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5301 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 (arg1
)->SetColour(*arg2
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= SWIG_Py_Void();
5319 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
= 0;
5321 wxPen
*arg1
= (wxPen
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 char * kwnames
[] = {
5330 (char *) "self",(char *) "join_style", NULL
5333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5335 if (!SWIG_IsOK(res1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5338 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5340 if (!SWIG_IsOK(ecode2
)) {
5341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5343 arg2
= static_cast< int >(val2
);
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 (arg1
)->SetJoin(arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= SWIG_Py_Void();
5357 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
= 0;
5359 wxPen
*arg1
= (wxPen
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5367 char * kwnames
[] = {
5368 (char *) "self",(char *) "style", NULL
5371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5373 if (!SWIG_IsOK(res1
)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5376 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5378 if (!SWIG_IsOK(ecode2
)) {
5379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5381 arg2
= static_cast< int >(val2
);
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->SetStyle(arg2
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= SWIG_Py_Void();
5395 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
= 0;
5397 wxPen
*arg1
= (wxPen
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 char * kwnames
[] = {
5406 (char *) "self",(char *) "width", NULL
5409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5414 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5416 if (!SWIG_IsOK(ecode2
)) {
5417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5419 arg2
= static_cast< int >(val2
);
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 (arg1
)->SetWidth(arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_Py_Void();
5433 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
= 0;
5435 wxPen
*arg1
= (wxPen
*) 0 ;
5437 wxDash
*arg3
= (wxDash
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5442 char * kwnames
[] = {
5443 (char *) "self",(char *) "dashes", NULL
5446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5448 if (!SWIG_IsOK(res1
)) {
5449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5451 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5453 arg2
= PyList_Size(obj1
);
5454 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5455 if (arg3
== NULL
) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->SetDashes(arg2
,arg3
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_Py_Void();
5465 if (arg3
) delete [] arg3
;
5470 if (arg3
) delete [] arg3
;
5476 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5478 wxPen
*arg1
= (wxPen
*) 0 ;
5479 PyObject
*result
= 0 ;
5482 PyObject
*swig_obj
[1] ;
5484 if (!args
) SWIG_fail
;
5486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5487 if (!SWIG_IsOK(res1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5490 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5504 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
= 0;
5506 wxPen
*arg1
= (wxPen
*) 0 ;
5507 PyObject
*arg2
= (PyObject
*) 0 ;
5508 PyObject
*arg3
= (PyObject
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5513 PyObject
* obj2
= 0 ;
5514 char * kwnames
[] = {
5515 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5520 if (!SWIG_IsOK(res1
)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5523 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 wxPen__SetDashes(arg1
,arg2
,arg3
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= SWIG_Py_Void();
5539 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5540 PyObject
*resultobj
= 0;
5541 wxPen
*arg1
= (wxPen
*) 0 ;
5545 PyObject
*swig_obj
[1] ;
5547 if (!args
) SWIG_fail
;
5549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5550 if (!SWIG_IsOK(res1
)) {
5551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5553 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_From_int(static_cast< int >(result
));
5567 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5568 PyObject
*resultobj
= 0;
5569 wxPen
*arg1
= (wxPen
*) 0 ;
5570 wxBitmap
*result
= 0 ;
5573 PyObject
*swig_obj
[1] ;
5575 if (!args
) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5581 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (wxBitmap
*)(arg1
)->GetStipple();
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5595 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
= 0;
5597 wxPen
*arg1
= (wxPen
*) 0 ;
5598 wxBitmap
*arg2
= 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5605 char * kwnames
[] = {
5606 (char *) "self",(char *) "stipple", NULL
5609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5611 if (!SWIG_IsOK(res1
)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5614 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5616 if (!SWIG_IsOK(res2
)) {
5617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->SetStipple(*arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_Py_Void();
5636 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
= 0;
5638 wxPen
*arg1
= (wxPen
*) 0 ;
5639 wxPen
*arg2
= (wxPen
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 char * kwnames
[] = {
5648 (char *) "self",(char *) "other", NULL
5651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5653 if (!SWIG_IsOK(res1
)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5656 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5658 if (!SWIG_IsOK(res2
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5661 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 SWIGINTERN PyObject
*_wrap_Pen___ne__(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___ne__",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___ne__" "', 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___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5702 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)wxPen___ne__(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
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5722 return SWIG_Py_Void();
5725 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5726 return SWIG_Python_InitShadowInstance(args
);
5729 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
= 0;
5731 wxColour
*arg1
= 0 ;
5732 int arg2
= (int) wxSOLID
;
5733 wxBrush
*result
= 0 ;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5739 char * kwnames
[] = {
5740 (char *) "colour",(char *) "style", NULL
5743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5746 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5750 if (!SWIG_IsOK(ecode2
)) {
5751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5753 arg2
= static_cast< int >(val2
);
5756 if (!wxPyCheckForApp()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5769 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
= 0;
5771 wxBitmap
*arg1
= 0 ;
5772 wxBrush
*result
= 0 ;
5775 PyObject
* obj0
= 0 ;
5776 char * kwnames
[] = {
5777 (char *) "stippleBitmap", NULL
5780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5788 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5790 if (!wxPyCheckForApp()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5803 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5804 PyObject
*resultobj
= 0;
5805 wxBrush
*arg1
= (wxBrush
*) 0 ;
5808 PyObject
*swig_obj
[1] ;
5810 if (!args
) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5816 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= SWIG_Py_Void();
5831 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
= 0;
5833 wxBrush
*arg1
= (wxBrush
*) 0 ;
5834 wxColour
*arg2
= 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 char * kwnames
[] = {
5841 (char *) "self",(char *) "col", NULL
5844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5846 if (!SWIG_IsOK(res1
)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5849 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->SetColour((wxColour
const &)*arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_Py_Void();
5867 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxBrush
*arg1
= (wxBrush
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 char * kwnames
[] = {
5878 (char *) "self",(char *) "style", NULL
5881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5886 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5891 arg2
= static_cast< int >(val2
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 (arg1
)->SetStyle(arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_Py_Void();
5905 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
= 0;
5907 wxBrush
*arg1
= (wxBrush
*) 0 ;
5908 wxBitmap
*arg2
= 0 ;
5913 PyObject
* obj0
= 0 ;
5914 PyObject
* obj1
= 0 ;
5915 char * kwnames
[] = {
5916 (char *) "self",(char *) "stipple", NULL
5919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5921 if (!SWIG_IsOK(res1
)) {
5922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5924 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5926 if (!SWIG_IsOK(res2
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5932 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_Py_Void();
5946 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5947 PyObject
*resultobj
= 0;
5948 wxBrush
*arg1
= (wxBrush
*) 0 ;
5952 PyObject
*swig_obj
[1] ;
5954 if (!args
) SWIG_fail
;
5956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5957 if (!SWIG_IsOK(res1
)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5960 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= ((wxBrush
const *)arg1
)->GetColour();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5974 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5975 PyObject
*resultobj
= 0;
5976 wxBrush
*arg1
= (wxBrush
*) 0 ;
5980 PyObject
*swig_obj
[1] ;
5982 if (!args
) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5988 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= SWIG_From_int(static_cast< int >(result
));
6002 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6003 PyObject
*resultobj
= 0;
6004 wxBrush
*arg1
= (wxBrush
*) 0 ;
6005 wxBitmap
*result
= 0 ;
6008 PyObject
*swig_obj
[1] ;
6010 if (!args
) SWIG_fail
;
6012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6013 if (!SWIG_IsOK(res1
)) {
6014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6016 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6030 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6031 PyObject
*resultobj
= 0;
6032 wxBrush
*arg1
= (wxBrush
*) 0 ;
6036 PyObject
*swig_obj
[1] ;
6038 if (!args
) SWIG_fail
;
6040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6041 if (!SWIG_IsOK(res1
)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6044 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6061 PyObject
*resultobj
= 0;
6062 wxBrush
*arg1
= (wxBrush
*) 0 ;
6066 PyObject
*swig_obj
[1] ;
6068 if (!args
) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6074 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (bool)(arg1
)->IsOk();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6093 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6094 return SWIG_Py_Void();
6097 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6098 return SWIG_Python_InitShadowInstance(args
);
6101 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
= 0;
6103 wxString
*arg1
= 0 ;
6104 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6105 wxBitmap
*result
= 0 ;
6106 bool temp1
= false ;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6111 char * kwnames
[] = {
6112 (char *) "name",(char *) "type", NULL
6115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6117 arg1
= wxString_in_helper(obj0
);
6118 if (arg1
== NULL
) SWIG_fail
;
6122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6123 if (!SWIG_IsOK(ecode2
)) {
6124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6126 arg2
= static_cast< wxBitmapType
>(val2
);
6129 if (!wxPyCheckForApp()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6150 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6151 PyObject
*resultobj
= 0;
6152 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6155 PyObject
*swig_obj
[1] ;
6157 if (!args
) SWIG_fail
;
6159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6160 if (!SWIG_IsOK(res1
)) {
6161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6163 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_Py_Void();
6176 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
= 0;
6180 int arg3
= (int) -1 ;
6181 wxBitmap
*result
= 0 ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6190 PyObject
* obj2
= 0 ;
6191 char * kwnames
[] = {
6192 (char *) "width",(char *) "height",(char *) "depth", NULL
6195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6197 if (!SWIG_IsOK(ecode1
)) {
6198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6200 arg1
= static_cast< int >(val1
);
6201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6202 if (!SWIG_IsOK(ecode2
)) {
6203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6205 arg2
= static_cast< int >(val2
);
6207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6208 if (!SWIG_IsOK(ecode3
)) {
6209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6211 arg3
= static_cast< int >(val3
);
6214 if (!wxPyCheckForApp()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6227 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
= 0;
6230 wxBitmap
*result
= 0 ;
6233 PyObject
* obj0
= 0 ;
6234 char * kwnames
[] = {
6235 (char *) "icon", NULL
6238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6239 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6240 if (!SWIG_IsOK(res1
)) {
6241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6246 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6248 if (!wxPyCheckForApp()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6261 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6264 int arg2
= (int) -1 ;
6265 wxBitmap
*result
= 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 char * kwnames
[] = {
6273 (char *) "image",(char *) "depth", NULL
6276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6277 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6278 if (!SWIG_IsOK(res1
)) {
6279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6284 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6287 if (!SWIG_IsOK(ecode2
)) {
6288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6290 arg2
= static_cast< int >(val2
);
6293 if (!wxPyCheckForApp()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6306 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
= 0;
6308 PyObject
*arg1
= (PyObject
*) 0 ;
6309 wxBitmap
*result
= 0 ;
6310 PyObject
* obj0
= 0 ;
6311 char * kwnames
[] = {
6312 (char *) "listOfStrings", NULL
6315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6318 if (!wxPyCheckForApp()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6331 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
= 0;
6333 PyObject
*arg1
= (PyObject
*) 0 ;
6336 int arg4
= (int) 1 ;
6337 wxBitmap
*result
= 0 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 PyObject
* obj2
= 0 ;
6347 PyObject
* obj3
= 0 ;
6348 char * kwnames
[] = {
6349 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6355 if (!SWIG_IsOK(ecode2
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6358 arg2
= static_cast< int >(val2
);
6359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6360 if (!SWIG_IsOK(ecode3
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6363 arg3
= static_cast< int >(val3
);
6365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6366 if (!SWIG_IsOK(ecode4
)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6369 arg4
= static_cast< int >(val4
);
6372 if (!wxPyCheckForApp()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6385 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6386 PyObject
*resultobj
= 0;
6387 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6391 PyObject
*swig_obj
[1] ;
6393 if (!args
) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6399 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6401 result
= (long)(arg1
)->GetHandle();
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= SWIG_From_long(static_cast< long >(result
));
6411 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
= 0;
6413 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6421 char * kwnames
[] = {
6422 (char *) "self",(char *) "handle", NULL
6425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6430 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6432 if (!SWIG_IsOK(ecode2
)) {
6433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6435 arg2
= static_cast< long >(val2
);
6437 wxBitmap_SetHandle(arg1
,arg2
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_Py_Void();
6447 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6461 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6463 result
= (bool)(arg1
)->IsOk();
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6475 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6476 PyObject
*resultobj
= 0;
6477 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6481 PyObject
*swig_obj
[1] ;
6483 if (!args
) SWIG_fail
;
6485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6486 if (!SWIG_IsOK(res1
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6489 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6491 result
= (int)(arg1
)->GetWidth();
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_From_int(static_cast< int >(result
));
6501 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6502 PyObject
*resultobj
= 0;
6503 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6507 PyObject
*swig_obj
[1] ;
6509 if (!args
) SWIG_fail
;
6511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6512 if (!SWIG_IsOK(res1
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6515 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6517 result
= (int)(arg1
)->GetHeight();
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_From_int(static_cast< int >(result
));
6527 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6533 PyObject
*swig_obj
[1] ;
6535 if (!args
) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6541 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6543 result
= (int)(arg1
)->GetDepth();
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_From_int(static_cast< int >(result
));
6553 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6554 PyObject
*resultobj
= 0;
6555 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6567 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6569 result
= wxBitmap_GetSize(arg1
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6579 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6580 PyObject
*resultobj
= 0;
6581 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6582 SwigValueWrapper
<wxImage
> result
;
6585 PyObject
*swig_obj
[1] ;
6587 if (!args
) SWIG_fail
;
6589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6590 if (!SWIG_IsOK(res1
)) {
6591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6593 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6595 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6605 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6606 PyObject
*resultobj
= 0;
6607 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6608 wxMask
*result
= 0 ;
6611 PyObject
*swig_obj
[1] ;
6613 if (!args
) SWIG_fail
;
6615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6616 if (!SWIG_IsOK(res1
)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6619 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6621 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6631 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
= 0;
6633 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6634 wxMask
*arg2
= (wxMask
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "self",(char *) "mask", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6649 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6650 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6651 if (!SWIG_IsOK(res2
)) {
6652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6655 (arg1
)->SetMask(arg2
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_Py_Void();
6665 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6668 wxColour
*arg2
= 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6674 char * kwnames
[] = {
6675 (char *) "self",(char *) "colour", NULL
6678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6680 if (!SWIG_IsOK(res1
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6683 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6689 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_Py_Void();
6699 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
= 0;
6701 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6703 SwigValueWrapper
<wxBitmap
> result
;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6709 char * kwnames
[] = {
6710 (char *) "self",(char *) "rect", NULL
6713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6715 if (!SWIG_IsOK(res1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6718 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6721 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6724 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6734 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
= 0;
6736 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6737 wxString
*arg2
= 0 ;
6739 wxPalette
*arg4
= (wxPalette
*) NULL
;
6743 bool temp2
= false ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 PyObject
* obj2
= 0 ;
6751 PyObject
* obj3
= 0 ;
6752 char * kwnames
[] = {
6753 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6758 if (!SWIG_IsOK(res1
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6763 arg2
= wxString_in_helper(obj1
);
6764 if (arg2
== NULL
) SWIG_fail
;
6767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6768 if (!SWIG_IsOK(ecode3
)) {
6769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6771 arg3
= static_cast< wxBitmapType
>(val3
);
6773 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6774 if (!SWIG_IsOK(res4
)) {
6775 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6777 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6780 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6800 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
= 0;
6802 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6803 wxString
*arg2
= 0 ;
6808 bool temp2
= false ;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6813 PyObject
* obj2
= 0 ;
6814 char * kwnames
[] = {
6815 (char *) "self",(char *) "name",(char *) "type", NULL
6818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6820 if (!SWIG_IsOK(res1
)) {
6821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6823 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6825 arg2
= wxString_in_helper(obj1
);
6826 if (arg2
== NULL
) SWIG_fail
;
6829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6830 if (!SWIG_IsOK(ecode3
)) {
6831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6833 arg3
= static_cast< wxBitmapType
>(val3
);
6835 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6855 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6857 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6858 wxPalette
*result
= 0 ;
6861 PyObject
*swig_obj
[1] ;
6863 if (!args
) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6869 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6871 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6881 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
= 0;
6883 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6884 wxPalette
*arg2
= 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6891 char * kwnames
[] = {
6892 (char *) "self",(char *) "palette", NULL
6895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6900 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6902 if (!SWIG_IsOK(res2
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6908 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6910 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_Py_Void();
6920 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= 0;
6922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "icon", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6940 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6942 if (!SWIG_IsOK(res2
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6948 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6950 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "height", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",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_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6981 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6983 if (!SWIG_IsOK(ecode2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6986 arg2
= static_cast< int >(val2
);
6988 (arg1
)->SetHeight(arg2
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= SWIG_Py_Void();
6998 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
= 0;
7000 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 char * kwnames
[] = {
7009 (char *) "self",(char *) "width", NULL
7012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7014 if (!SWIG_IsOK(res1
)) {
7015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7017 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7019 if (!SWIG_IsOK(ecode2
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7022 arg2
= static_cast< int >(val2
);
7024 (arg1
)->SetWidth(arg2
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_Py_Void();
7034 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
= 0;
7036 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7044 char * kwnames
[] = {
7045 (char *) "self",(char *) "depth", NULL
7048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7050 if (!SWIG_IsOK(res1
)) {
7051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7053 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7055 if (!SWIG_IsOK(ecode2
)) {
7056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7058 arg2
= static_cast< int >(val2
);
7060 (arg1
)->SetDepth(arg2
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_Py_Void();
7070 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= 0;
7072 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7079 char * kwnames
[] = {
7080 (char *) "self",(char *) "size", NULL
7083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7085 if (!SWIG_IsOK(res1
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7088 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7094 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_Py_Void();
7104 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7107 wxCursor
*arg2
= 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 char * kwnames
[] = {
7116 (char *) "self",(char *) "cursor", NULL
7119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7121 if (!SWIG_IsOK(res1
)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7126 if (!SWIG_IsOK(res2
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7132 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7134 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7146 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
= 0;
7148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7156 char * kwnames
[] = {
7157 (char *) "self",(char *) "data", NULL
7160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",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_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7167 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7171 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_Py_Void();
7181 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= 0;
7183 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7191 char * kwnames
[] = {
7192 (char *) "self",(char *) "data", NULL
7195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7197 if (!SWIG_IsOK(res1
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7200 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7202 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7206 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_Py_Void();
7216 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
= 0;
7218 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7219 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7227 char * kwnames
[] = {
7228 (char *) "self",(char *) "other", NULL
7231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7238 if (!SWIG_IsOK(res2
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7241 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7243 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7255 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
= 0;
7257 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7258 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "self",(char *) "other", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7275 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7277 if (!SWIG_IsOK(res2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7280 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7282 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7294 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7297 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7298 return SWIG_Py_Void();
7301 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 return SWIG_Python_InitShadowInstance(args
);
7305 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
= 0;
7313 wxBitmap
*result
= 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 PyObject
* obj2
= 0 ;
7323 PyObject
* obj3
= 0 ;
7324 char * kwnames
[] = {
7325 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7330 if (!SWIG_IsOK(ecode1
)) {
7331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7333 arg1
= static_cast< int >(val1
);
7334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7335 if (!SWIG_IsOK(ecode2
)) {
7336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7338 arg2
= static_cast< int >(val2
);
7340 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7344 if (obj3
!= Py_None
) {
7345 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7350 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7360 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
= 0;
7366 wxBitmap
*result
= 0 ;
7372 PyObject
* obj0
= 0 ;
7373 PyObject
* obj1
= 0 ;
7374 PyObject
* obj2
= 0 ;
7375 char * kwnames
[] = {
7376 (char *) "width",(char *) "height",(char *) "data", NULL
7379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7381 if (!SWIG_IsOK(ecode1
)) {
7382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7384 arg1
= static_cast< int >(val1
);
7385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7386 if (!SWIG_IsOK(ecode2
)) {
7387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7389 arg2
= static_cast< int >(val2
);
7391 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7395 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7405 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
= 0;
7411 wxBitmap
*result
= 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 PyObject
* obj2
= 0 ;
7420 char * kwnames
[] = {
7421 (char *) "width",(char *) "height",(char *) "data", NULL
7424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7426 if (!SWIG_IsOK(ecode1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7429 arg1
= static_cast< int >(val1
);
7430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7431 if (!SWIG_IsOK(ecode2
)) {
7432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7434 arg2
= static_cast< int >(val2
);
7436 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7440 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7450 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7451 PyObject
*resultobj
= 0;
7452 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7456 PyObject
*swig_obj
[1] ;
7458 if (!args
) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7464 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7466 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7476 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 PyObject
*resultobj
= 0;
7478 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7482 PyObject
*swig_obj
[1] ;
7484 if (!args
) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7490 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7492 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_From_int(static_cast< int >(result
));
7502 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7503 PyObject
*resultobj
= 0;
7504 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7508 PyObject
*swig_obj
[1] ;
7510 if (!args
) SWIG_fail
;
7512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7513 if (!SWIG_IsOK(res1
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7516 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7518 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_From_int(static_cast< int >(result
));
7528 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7529 PyObject
*resultobj
= 0;
7530 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7534 PyObject
*swig_obj
[1] ;
7536 if (!args
) SWIG_fail
;
7538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7539 if (!SWIG_IsOK(res1
)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7542 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7544 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7554 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7555 PyObject
*resultobj
= 0;
7556 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7560 PyObject
*swig_obj
[1] ;
7562 if (!args
) SWIG_fail
;
7564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7565 if (!SWIG_IsOK(res1
)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7568 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7570 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_From_int(static_cast< int >(result
));
7580 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7584 return SWIG_Py_Void();
7587 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7588 PyObject
*resultobj
= 0;
7589 wxBitmap
*arg1
= 0 ;
7590 wxNativePixelData
*result
= 0 ;
7594 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7596 if (!SWIG_IsOK(res1
)) {
7597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7602 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7604 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7614 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7615 PyObject
*resultobj
= 0;
7616 wxBitmap
*arg1
= 0 ;
7618 wxNativePixelData
*result
= 0 ;
7623 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7631 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7634 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7637 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7647 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7648 PyObject
*resultobj
= 0;
7649 wxBitmap
*arg1
= 0 ;
7652 wxNativePixelData
*result
= 0 ;
7658 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7660 if (!SWIG_IsOK(res1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7666 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7669 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7673 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7676 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7686 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7690 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7693 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7696 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7699 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7703 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7708 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7709 PyObject
*resultobj
= 0;
7710 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7713 PyObject
*swig_obj
[1] ;
7715 if (!args
) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7721 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_Py_Void();
7734 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7735 PyObject
*resultobj
= 0;
7736 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7737 wxNativePixelData_Accessor result
;
7740 PyObject
*swig_obj
[1] ;
7742 if (!args
) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7748 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7750 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7760 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7761 PyObject
*resultobj
= 0;
7762 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7765 PyObject
*swig_obj
[1] ;
7767 if (!args
) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7773 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_Py_Void();
7785 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7786 PyObject
*resultobj
= 0;
7787 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7791 PyObject
*swig_obj
[1] ;
7793 if (!args
) SWIG_fail
;
7795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7796 if (!SWIG_IsOK(res1
)) {
7797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7799 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7801 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7813 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7816 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7817 return SWIG_Py_Void();
7820 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7821 return SWIG_Python_InitShadowInstance(args
);
7824 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7825 PyObject
*resultobj
= 0;
7826 wxNativePixelData
*arg1
= 0 ;
7827 wxNativePixelData_Accessor
*result
= 0 ;
7831 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7833 if (!SWIG_IsOK(res1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7839 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7841 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7851 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7852 PyObject
*resultobj
= 0;
7853 wxBitmap
*arg1
= 0 ;
7854 wxNativePixelData
*arg2
= 0 ;
7855 wxNativePixelData_Accessor
*result
= 0 ;
7861 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7863 if (!SWIG_IsOK(res1
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7869 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7870 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7871 if (!SWIG_IsOK(res2
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7877 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7879 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7889 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7890 PyObject
*resultobj
= 0;
7891 wxNativePixelData_Accessor
*result
= 0 ;
7893 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7895 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7905 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7909 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7912 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7915 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7918 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7922 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7927 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7928 PyObject
*resultobj
= 0;
7929 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7932 PyObject
*swig_obj
[1] ;
7934 if (!args
) SWIG_fail
;
7936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7937 if (!SWIG_IsOK(res1
)) {
7938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7940 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_Py_Void();
7953 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= 0;
7955 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7956 wxNativePixelData
*arg2
= 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 char * kwnames
[] = {
7964 (char *) "self",(char *) "data", NULL
7967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7969 if (!SWIG_IsOK(res1
)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7972 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7974 if (!SWIG_IsOK(res2
)) {
7975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7980 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7982 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_Py_Void();
7992 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7993 PyObject
*resultobj
= 0;
7994 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7998 PyObject
*swig_obj
[1] ;
8000 if (!args
) SWIG_fail
;
8002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8003 if (!SWIG_IsOK(res1
)) {
8004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8006 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8008 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8020 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 PyObject
*resultobj
= 0;
8022 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8025 PyObject
*swig_obj
[1] ;
8027 if (!args
) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8033 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8035 wxNativePixelData_Accessor_nextPixel(arg1
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_Py_Void();
8045 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
= 0;
8047 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8048 wxNativePixelData
*arg2
= 0 ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8062 PyObject
* obj3
= 0 ;
8063 char * kwnames
[] = {
8064 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8069 if (!SWIG_IsOK(res1
)) {
8070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8072 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8074 if (!SWIG_IsOK(res2
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8080 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8082 if (!SWIG_IsOK(ecode3
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8085 arg3
= static_cast< int >(val3
);
8086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8087 if (!SWIG_IsOK(ecode4
)) {
8088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8090 arg4
= static_cast< int >(val4
);
8092 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_Py_Void();
8102 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
= 0;
8104 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8105 wxNativePixelData
*arg2
= 0 ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8116 char * kwnames
[] = {
8117 (char *) "self",(char *) "data",(char *) "x", NULL
8120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8122 if (!SWIG_IsOK(res1
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8125 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8127 if (!SWIG_IsOK(res2
)) {
8128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8133 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8135 if (!SWIG_IsOK(ecode3
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8138 arg3
= static_cast< int >(val3
);
8140 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_Py_Void();
8150 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= 0;
8152 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8153 wxNativePixelData
*arg2
= 0 ;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 PyObject
* obj2
= 0 ;
8164 char * kwnames
[] = {
8165 (char *) "self",(char *) "data",(char *) "y", NULL
8168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8175 if (!SWIG_IsOK(res2
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8181 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8183 if (!SWIG_IsOK(ecode3
)) {
8184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8186 arg3
= static_cast< int >(val3
);
8188 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_Py_Void();
8198 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
= 0;
8200 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8201 wxNativePixelData
*arg2
= 0 ;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8214 PyObject
* obj2
= 0 ;
8215 PyObject
* obj3
= 0 ;
8216 char * kwnames
[] = {
8217 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8222 if (!SWIG_IsOK(res1
)) {
8223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8225 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8227 if (!SWIG_IsOK(res2
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8233 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8235 if (!SWIG_IsOK(ecode3
)) {
8236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8238 arg3
= static_cast< int >(val3
);
8239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8240 if (!SWIG_IsOK(ecode4
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8243 arg4
= static_cast< int >(val4
);
8245 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8263 unsigned char val2
;
8265 unsigned char val3
;
8267 unsigned char val4
;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8272 PyObject
* obj3
= 0 ;
8273 char * kwnames
[] = {
8274 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8282 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8283 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8284 if (!SWIG_IsOK(ecode2
)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8287 arg2
= static_cast< byte
>(val2
);
8288 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8289 if (!SWIG_IsOK(ecode3
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8292 arg3
= static_cast< byte
>(val3
);
8293 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8294 if (!SWIG_IsOK(ecode4
)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8297 arg4
= static_cast< byte
>(val4
);
8299 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= SWIG_Py_Void();
8309 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8310 PyObject
*resultobj
= 0;
8311 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8312 PyObject
*result
= 0 ;
8315 PyObject
*swig_obj
[1] ;
8317 if (!args
) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8323 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8325 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8335 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8338 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8339 return SWIG_Py_Void();
8342 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8343 return SWIG_Python_InitShadowInstance(args
);
8346 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8347 PyObject
*resultobj
= 0;
8348 wxBitmap
*arg1
= 0 ;
8349 wxAlphaPixelData
*result
= 0 ;
8353 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8355 if (!SWIG_IsOK(res1
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8363 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8373 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8374 PyObject
*resultobj
= 0;
8375 wxBitmap
*arg1
= 0 ;
8377 wxAlphaPixelData
*result
= 0 ;
8382 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8384 if (!SWIG_IsOK(res1
)) {
8385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8390 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8393 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8396 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8406 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8407 PyObject
*resultobj
= 0;
8408 wxBitmap
*arg1
= 0 ;
8411 wxAlphaPixelData
*result
= 0 ;
8417 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8425 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8428 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8432 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8435 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8445 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8449 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8452 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8455 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8458 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8462 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8467 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8468 PyObject
*resultobj
= 0;
8469 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8472 PyObject
*swig_obj
[1] ;
8474 if (!args
) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8480 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_Py_Void();
8493 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8494 PyObject
*resultobj
= 0;
8495 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8496 wxAlphaPixelData_Accessor result
;
8499 PyObject
*swig_obj
[1] ;
8501 if (!args
) SWIG_fail
;
8503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8504 if (!SWIG_IsOK(res1
)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8507 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8509 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8519 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8520 PyObject
*resultobj
= 0;
8521 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8524 PyObject
*swig_obj
[1] ;
8526 if (!args
) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8532 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_Py_Void();
8544 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8545 PyObject
*resultobj
= 0;
8546 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8550 PyObject
*swig_obj
[1] ;
8552 if (!args
) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8558 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8560 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8572 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8575 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8576 return SWIG_Py_Void();
8579 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8580 return SWIG_Python_InitShadowInstance(args
);
8583 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8584 PyObject
*resultobj
= 0;
8585 wxAlphaPixelData
*arg1
= 0 ;
8586 wxAlphaPixelData_Accessor
*result
= 0 ;
8590 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8592 if (!SWIG_IsOK(res1
)) {
8593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8598 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8600 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8610 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8611 PyObject
*resultobj
= 0;
8612 wxBitmap
*arg1
= 0 ;
8613 wxAlphaPixelData
*arg2
= 0 ;
8614 wxAlphaPixelData_Accessor
*result
= 0 ;
8620 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8628 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8629 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8630 if (!SWIG_IsOK(res2
)) {
8631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8636 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8638 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8648 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8649 PyObject
*resultobj
= 0;
8650 wxAlphaPixelData_Accessor
*result
= 0 ;
8652 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8654 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8664 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8668 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8671 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8674 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8677 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8686 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8687 PyObject
*resultobj
= 0;
8688 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8691 PyObject
*swig_obj
[1] ;
8693 if (!args
) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8699 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_Py_Void();
8712 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8715 wxAlphaPixelData
*arg2
= 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "self",(char *) "data", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8731 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8733 if (!SWIG_IsOK(res2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8739 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8741 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_Py_Void();
8751 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8752 PyObject
*resultobj
= 0;
8753 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8757 PyObject
*swig_obj
[1] ;
8759 if (!args
) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8765 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8767 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8768 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8779 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8780 PyObject
*resultobj
= 0;
8781 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8784 PyObject
*swig_obj
[1] ;
8786 if (!args
) SWIG_fail
;
8788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8789 if (!SWIG_IsOK(res1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8792 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8794 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_Py_Void();
8804 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
= 0;
8806 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8807 wxAlphaPixelData
*arg2
= 0 ;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8820 PyObject
* obj2
= 0 ;
8821 PyObject
* obj3
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8831 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8833 if (!SWIG_IsOK(res2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8839 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8841 if (!SWIG_IsOK(ecode3
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8844 arg3
= static_cast< int >(val3
);
8845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8846 if (!SWIG_IsOK(ecode4
)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8849 arg4
= static_cast< int >(val4
);
8851 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_Py_Void();
8861 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
= 0;
8863 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8864 wxAlphaPixelData
*arg2
= 0 ;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "self",(char *) "data",(char *) "x", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8884 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8886 if (!SWIG_IsOK(res2
)) {
8887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8892 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8894 if (!SWIG_IsOK(ecode3
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8897 arg3
= static_cast< int >(val3
);
8899 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= SWIG_Py_Void();
8909 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
= 0;
8911 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8912 wxAlphaPixelData
*arg2
= 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8923 char * kwnames
[] = {
8924 (char *) "self",(char *) "data",(char *) "y", NULL
8927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8929 if (!SWIG_IsOK(res1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8932 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8934 if (!SWIG_IsOK(res2
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8940 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8942 if (!SWIG_IsOK(ecode3
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8945 arg3
= static_cast< int >(val3
);
8947 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_Py_Void();
8957 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= 0;
8959 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8960 wxAlphaPixelData
*arg2
= 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 PyObject
* obj2
= 0 ;
8974 PyObject
* obj3
= 0 ;
8975 char * kwnames
[] = {
8976 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8984 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8986 if (!SWIG_IsOK(res2
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8992 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8994 if (!SWIG_IsOK(ecode3
)) {
8995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8997 arg3
= static_cast< int >(val3
);
8998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8999 if (!SWIG_IsOK(ecode4
)) {
9000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9002 arg4
= static_cast< int >(val4
);
9004 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_Py_Void();
9014 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
= 0;
9016 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9023 unsigned char val2
;
9025 unsigned char val3
;
9027 unsigned char val4
;
9029 unsigned char val5
;
9031 PyObject
* obj0
= 0 ;
9032 PyObject
* obj1
= 0 ;
9033 PyObject
* obj2
= 0 ;
9034 PyObject
* obj3
= 0 ;
9035 PyObject
* obj4
= 0 ;
9036 char * kwnames
[] = {
9037 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9045 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9046 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9047 if (!SWIG_IsOK(ecode2
)) {
9048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9050 arg2
= static_cast< byte
>(val2
);
9051 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9052 if (!SWIG_IsOK(ecode3
)) {
9053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9055 arg3
= static_cast< byte
>(val3
);
9056 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9057 if (!SWIG_IsOK(ecode4
)) {
9058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9060 arg4
= static_cast< byte
>(val4
);
9061 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9062 if (!SWIG_IsOK(ecode5
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9065 arg5
= static_cast< byte
>(val5
);
9067 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_Py_Void();
9077 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 PyObject
*resultobj
= 0;
9079 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9080 PyObject
*result
= 0 ;
9083 PyObject
*swig_obj
[1] ;
9085 if (!args
) SWIG_fail
;
9087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9088 if (!SWIG_IsOK(res1
)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9091 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9093 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9103 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9106 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9107 return SWIG_Py_Void();
9110 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 return SWIG_Python_InitShadowInstance(args
);
9114 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= 0;
9116 wxBitmap
*arg1
= 0 ;
9117 wxColour
const &arg2_defvalue
= wxNullColour
;
9118 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9119 wxMask
*result
= 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 char * kwnames
[] = {
9126 (char *) "bitmap",(char *) "colour", NULL
9129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9137 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9145 if (!wxPyCheckForApp()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9158 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9159 PyObject
*resultobj
= 0;
9160 wxMask
*arg1
= (wxMask
*) 0 ;
9163 PyObject
*swig_obj
[1] ;
9165 if (!args
) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9171 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_Py_Void();
9184 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9187 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9188 return SWIG_Py_Void();
9191 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 return SWIG_Python_InitShadowInstance(args
);
9195 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxString
*arg1
= 0 ;
9199 int arg3
= (int) -1 ;
9200 int arg4
= (int) -1 ;
9201 wxIcon
*result
= 0 ;
9202 bool temp1
= false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9212 PyObject
* obj3
= 0 ;
9213 char * kwnames
[] = {
9214 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9219 arg1
= wxString_in_helper(obj0
);
9220 if (arg1
== NULL
) SWIG_fail
;
9223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9224 if (!SWIG_IsOK(ecode2
)) {
9225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9227 arg2
= static_cast< wxBitmapType
>(val2
);
9229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9230 if (!SWIG_IsOK(ecode3
)) {
9231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9233 arg3
= static_cast< int >(val3
);
9236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9237 if (!SWIG_IsOK(ecode4
)) {
9238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9240 arg4
= static_cast< int >(val4
);
9243 if (!wxPyCheckForApp()) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9264 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9265 PyObject
*resultobj
= 0;
9266 wxIcon
*arg1
= (wxIcon
*) 0 ;
9269 PyObject
*swig_obj
[1] ;
9271 if (!args
) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9277 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_Py_Void();
9292 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9293 PyObject
*resultobj
= 0;
9294 wxIcon
*result
= 0 ;
9296 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9298 if (!wxPyCheckForApp()) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (wxIcon
*)new wxIcon();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9311 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
= 0;
9313 wxIconLocation
*arg1
= 0 ;
9314 wxIcon
*result
= 0 ;
9317 PyObject
* obj0
= 0 ;
9318 char * kwnames
[] = {
9319 (char *) "loc", NULL
9322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9330 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9332 if (!wxPyCheckForApp()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9345 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
= 0;
9347 wxBitmap
*arg1
= 0 ;
9348 wxIcon
*result
= 0 ;
9351 PyObject
* obj0
= 0 ;
9352 char * kwnames
[] = {
9353 (char *) "bmp", NULL
9356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9357 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9358 if (!SWIG_IsOK(res1
)) {
9359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9366 if (!wxPyCheckForApp()) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9379 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= 0;
9381 PyObject
*arg1
= (PyObject
*) 0 ;
9382 wxIcon
*result
= 0 ;
9383 PyObject
* obj0
= 0 ;
9384 char * kwnames
[] = {
9385 (char *) "listOfStrings", NULL
9388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9391 if (!wxPyCheckForApp()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (wxIcon
*)new_wxIcon(arg1
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9404 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= 0;
9406 wxIcon
*arg1
= (wxIcon
*) 0 ;
9407 wxString
*arg2
= 0 ;
9412 bool temp2
= false ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 PyObject
* obj2
= 0 ;
9418 char * kwnames
[] = {
9419 (char *) "self",(char *) "name",(char *) "type", NULL
9422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9424 if (!SWIG_IsOK(res1
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9427 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9429 arg2
= wxString_in_helper(obj1
);
9430 if (arg2
== NULL
) SWIG_fail
;
9433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9434 if (!SWIG_IsOK(ecode3
)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9437 arg3
= static_cast< wxBitmapType
>(val3
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9461 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxIcon
*arg1
= (wxIcon
*) 0 ;
9467 PyObject
*swig_obj
[1] ;
9469 if (!args
) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9475 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (long)(arg1
)->GetHandle();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_From_long(static_cast< long >(result
));
9489 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= 0;
9491 wxIcon
*arg1
= (wxIcon
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "handle", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9508 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9509 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9510 if (!SWIG_IsOK(ecode2
)) {
9511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9513 arg2
= static_cast< long >(val2
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 wxIcon_SetHandle(arg1
,arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_Py_Void();
9527 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9528 PyObject
*resultobj
= 0;
9529 wxIcon
*arg1
= (wxIcon
*) 0 ;
9533 PyObject
*swig_obj
[1] ;
9535 if (!args
) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9541 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (bool)(arg1
)->IsOk();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9557 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9558 PyObject
*resultobj
= 0;
9559 wxIcon
*arg1
= (wxIcon
*) 0 ;
9563 PyObject
*swig_obj
[1] ;
9565 if (!args
) SWIG_fail
;
9567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9568 if (!SWIG_IsOK(res1
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9571 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (int)(arg1
)->GetWidth();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_From_int(static_cast< int >(result
));
9585 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 PyObject
*resultobj
= 0;
9587 wxIcon
*arg1
= (wxIcon
*) 0 ;
9591 PyObject
*swig_obj
[1] ;
9593 if (!args
) SWIG_fail
;
9595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9596 if (!SWIG_IsOK(res1
)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9599 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (int)(arg1
)->GetHeight();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_From_int(static_cast< int >(result
));
9613 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9614 PyObject
*resultobj
= 0;
9615 wxIcon
*arg1
= (wxIcon
*) 0 ;
9619 PyObject
*swig_obj
[1] ;
9621 if (!args
) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9627 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (int)(arg1
)->GetDepth();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_From_int(static_cast< int >(result
));
9641 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
= 0;
9643 wxIcon
*arg1
= (wxIcon
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 char * kwnames
[] = {
9652 (char *) "self",(char *) "w", NULL
9655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9660 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9662 if (!SWIG_IsOK(ecode2
)) {
9663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9665 arg2
= static_cast< int >(val2
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 (arg1
)->SetWidth(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_Py_Void();
9679 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= 0;
9681 wxIcon
*arg1
= (wxIcon
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 char * kwnames
[] = {
9690 (char *) "self",(char *) "h", NULL
9693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9695 if (!SWIG_IsOK(res1
)) {
9696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9698 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9700 if (!SWIG_IsOK(ecode2
)) {
9701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9703 arg2
= static_cast< int >(val2
);
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 (arg1
)->SetHeight(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_Py_Void();
9717 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
= 0;
9719 wxIcon
*arg1
= (wxIcon
*) 0 ;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9727 char * kwnames
[] = {
9728 (char *) "self",(char *) "d", NULL
9731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9733 if (!SWIG_IsOK(res1
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9736 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9738 if (!SWIG_IsOK(ecode2
)) {
9739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9741 arg2
= static_cast< int >(val2
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 (arg1
)->SetDepth(arg2
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= SWIG_Py_Void();
9755 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
= 0;
9757 wxIcon
*arg1
= (wxIcon
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 char * kwnames
[] = {
9765 (char *) "self",(char *) "size", NULL
9768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9770 if (!SWIG_IsOK(res1
)) {
9771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9773 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 (arg1
)->SetSize((wxSize
const &)*arg2
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_Py_Void();
9791 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
= 0;
9793 wxIcon
*arg1
= (wxIcon
*) 0 ;
9794 wxBitmap
*arg2
= 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9801 char * kwnames
[] = {
9802 (char *) "self",(char *) "bmp", NULL
9805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9807 if (!SWIG_IsOK(res1
)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9810 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9812 if (!SWIG_IsOK(res2
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9818 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9835 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9836 return SWIG_Py_Void();
9839 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 return SWIG_Python_InitShadowInstance(args
);
9843 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
= 0;
9845 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9846 int arg2
= (int) 0 ;
9847 wxIconLocation
*result
= 0 ;
9848 bool temp1
= false ;
9851 PyObject
* obj0
= 0 ;
9852 PyObject
* obj1
= 0 ;
9853 char * kwnames
[] = {
9854 (char *) "filename",(char *) "num", NULL
9857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9860 arg1
= wxString_in_helper(obj0
);
9861 if (arg1
== NULL
) SWIG_fail
;
9866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9867 if (!SWIG_IsOK(ecode2
)) {
9868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9870 arg2
= static_cast< int >(val2
);
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9893 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9894 PyObject
*resultobj
= 0;
9895 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9898 PyObject
*swig_obj
[1] ;
9900 if (!args
) SWIG_fail
;
9902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9903 if (!SWIG_IsOK(res1
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9906 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_Py_Void();
9921 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9922 PyObject
*resultobj
= 0;
9923 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9927 PyObject
*swig_obj
[1] ;
9929 if (!args
) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9935 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9951 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
= 0;
9953 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9954 wxString
*arg2
= 0 ;
9957 bool temp2
= false ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 char * kwnames
[] = {
9961 (char *) "self",(char *) "filename", NULL
9964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9966 if (!SWIG_IsOK(res1
)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9969 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9971 arg2
= wxString_in_helper(obj1
);
9972 if (arg2
== NULL
) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->SetFileName((wxString
const &)*arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_Py_Void();
9996 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9997 PyObject
*resultobj
= 0;
9998 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9999 wxString
*result
= 0 ;
10002 PyObject
*swig_obj
[1] ;
10004 if (!args
) SWIG_fail
;
10005 swig_obj
[0] = args
;
10006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10007 if (!SWIG_IsOK(res1
)) {
10008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10010 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10015 result
= (wxString
*) &_result_ref
;
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10033 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
= 0;
10035 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char * kwnames
[] = {
10044 (char *) "self",(char *) "num", NULL
10047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10052 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10054 if (!SWIG_IsOK(ecode2
)) {
10055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10057 arg2
= static_cast< int >(val2
);
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 wxIconLocation_SetIndex(arg1
,arg2
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_Py_Void();
10071 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 PyObject
*resultobj
= 0;
10073 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10077 PyObject
*swig_obj
[1] ;
10079 if (!args
) SWIG_fail
;
10080 swig_obj
[0] = args
;
10081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10085 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (int)wxIconLocation_GetIndex(arg1
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_From_int(static_cast< int >(result
));
10099 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10102 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10103 return SWIG_Py_Void();
10106 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 return SWIG_Python_InitShadowInstance(args
);
10110 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10111 PyObject
*resultobj
= 0;
10112 wxIconBundle
*result
= 0 ;
10114 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (wxIconBundle
*)new wxIconBundle();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10128 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
= 0;
10130 wxString
*arg1
= 0 ;
10132 wxIconBundle
*result
= 0 ;
10133 bool temp1
= false ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 char * kwnames
[] = {
10139 (char *) "file",(char *) "type", NULL
10142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10144 arg1
= wxString_in_helper(obj0
);
10145 if (arg1
== NULL
) SWIG_fail
;
10148 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10149 if (!SWIG_IsOK(ecode2
)) {
10150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10152 arg2
= static_cast< long >(val2
);
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10174 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10177 wxIconBundle
*result
= 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char * kwnames
[] = {
10182 (char *) "icon", NULL
10185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10186 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10187 if (!SWIG_IsOK(res1
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10193 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10207 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10208 PyObject
*resultobj
= 0;
10209 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10212 PyObject
*swig_obj
[1] ;
10214 if (!args
) SWIG_fail
;
10215 swig_obj
[0] = args
;
10216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10217 if (!SWIG_IsOK(res1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10220 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_Py_Void();
10235 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= 0;
10237 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 char * kwnames
[] = {
10246 (char *) "self",(char *) "icon", NULL
10249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10254 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10256 if (!SWIG_IsOK(res2
)) {
10257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10262 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_Py_Void();
10276 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10279 wxString
*arg2
= 0 ;
10283 bool temp2
= false ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 PyObject
* obj2
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "file",(char *) "type", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10298 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10300 arg2
= wxString_in_helper(obj1
);
10301 if (arg2
== NULL
) SWIG_fail
;
10304 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10305 if (!SWIG_IsOK(ecode3
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10308 arg3
= static_cast< long >(val3
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_Py_Void();
10330 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
= 0;
10332 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10334 wxIcon
*result
= 0 ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "size", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10349 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10358 result
= (wxIcon
*) &_result_ref
;
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10364 wxIcon
* resultptr
= new wxIcon(*result
);
10365 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10373 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10376 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10377 return SWIG_Py_Void();
10380 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10381 return SWIG_Python_InitShadowInstance(args
);
10384 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
= 0;
10386 wxString
*arg1
= 0 ;
10388 int arg3
= (int) 0 ;
10389 int arg4
= (int) 0 ;
10390 wxCursor
*result
= 0 ;
10391 bool temp1
= false ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 PyObject
* obj2
= 0 ;
10401 PyObject
* obj3
= 0 ;
10402 char * kwnames
[] = {
10403 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10408 arg1
= wxString_in_helper(obj0
);
10409 if (arg1
== NULL
) SWIG_fail
;
10412 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10413 if (!SWIG_IsOK(ecode2
)) {
10414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10416 arg2
= static_cast< long >(val2
);
10418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10419 if (!SWIG_IsOK(ecode3
)) {
10420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10422 arg3
= static_cast< int >(val3
);
10425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10426 if (!SWIG_IsOK(ecode4
)) {
10427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10429 arg4
= static_cast< int >(val4
);
10432 if (!wxPyCheckForApp()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10453 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10454 PyObject
*resultobj
= 0;
10455 wxCursor
*arg1
= (wxCursor
*) 0 ;
10458 PyObject
*swig_obj
[1] ;
10460 if (!args
) SWIG_fail
;
10461 swig_obj
[0] = args
;
10462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10466 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= SWIG_Py_Void();
10481 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
= 0;
10484 wxCursor
*result
= 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char * kwnames
[] = {
10489 (char *) "id", NULL
10492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10494 if (!SWIG_IsOK(ecode1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10497 arg1
= static_cast< int >(val1
);
10499 if (!wxPyCheckForApp()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (wxCursor
*)new wxCursor(arg1
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10512 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxImage
*arg1
= 0 ;
10515 wxCursor
*result
= 0 ;
10518 PyObject
* obj0
= 0 ;
10519 char * kwnames
[] = {
10520 (char *) "image", NULL
10523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10524 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10531 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10533 if (!wxPyCheckForApp()) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10546 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxCursor
*arg1
= (wxCursor
*) 0 ;
10552 PyObject
*swig_obj
[1] ;
10554 if (!args
) SWIG_fail
;
10555 swig_obj
[0] = args
;
10556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10560 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (long)(arg1
)->GetHandle();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_From_long(static_cast< long >(result
));
10574 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
= 0;
10576 wxCursor
*arg1
= (wxCursor
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "self",(char *) "handle", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10593 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10594 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10595 if (!SWIG_IsOK(ecode2
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10598 arg2
= static_cast< long >(val2
);
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 wxCursor_SetHandle(arg1
,arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_Py_Void();
10612 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10613 PyObject
*resultobj
= 0;
10614 wxCursor
*arg1
= (wxCursor
*) 0 ;
10618 PyObject
*swig_obj
[1] ;
10620 if (!args
) SWIG_fail
;
10621 swig_obj
[0] = args
;
10622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10623 if (!SWIG_IsOK(res1
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10626 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (bool)(arg1
)->IsOk();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10643 PyObject
*resultobj
= 0;
10644 wxCursor
*arg1
= (wxCursor
*) 0 ;
10648 PyObject
*swig_obj
[1] ;
10650 if (!args
) SWIG_fail
;
10651 swig_obj
[0] = args
;
10652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10653 if (!SWIG_IsOK(res1
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10656 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (int)(arg1
)->GetWidth();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_From_int(static_cast< int >(result
));
10670 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10671 PyObject
*resultobj
= 0;
10672 wxCursor
*arg1
= (wxCursor
*) 0 ;
10676 PyObject
*swig_obj
[1] ;
10678 if (!args
) SWIG_fail
;
10679 swig_obj
[0] = args
;
10680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10681 if (!SWIG_IsOK(res1
)) {
10682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10684 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (int)(arg1
)->GetHeight();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_From_int(static_cast< int >(result
));
10698 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10699 PyObject
*resultobj
= 0;
10700 wxCursor
*arg1
= (wxCursor
*) 0 ;
10704 PyObject
*swig_obj
[1] ;
10706 if (!args
) SWIG_fail
;
10707 swig_obj
[0] = args
;
10708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10712 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (int)(arg1
)->GetDepth();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int(static_cast< int >(result
));
10726 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
= 0;
10728 wxCursor
*arg1
= (wxCursor
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 char * kwnames
[] = {
10737 (char *) "self",(char *) "w", NULL
10740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10742 if (!SWIG_IsOK(res1
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10745 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10747 if (!SWIG_IsOK(ecode2
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10750 arg2
= static_cast< int >(val2
);
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->SetWidth(arg2
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_Py_Void();
10764 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
= 0;
10766 wxCursor
*arg1
= (wxCursor
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 char * kwnames
[] = {
10775 (char *) "self",(char *) "h", NULL
10778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10780 if (!SWIG_IsOK(res1
)) {
10781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10783 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10785 if (!SWIG_IsOK(ecode2
)) {
10786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10788 arg2
= static_cast< int >(val2
);
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->SetHeight(arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10802 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
= 0;
10804 wxCursor
*arg1
= (wxCursor
*) 0 ;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 char * kwnames
[] = {
10813 (char *) "self",(char *) "d", NULL
10816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10818 if (!SWIG_IsOK(res1
)) {
10819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10821 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10823 if (!SWIG_IsOK(ecode2
)) {
10824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10826 arg2
= static_cast< int >(val2
);
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->SetDepth(arg2
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= SWIG_Py_Void();
10840 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
= 0;
10842 wxCursor
*arg1
= (wxCursor
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char * kwnames
[] = {
10850 (char *) "self",(char *) "size", NULL
10853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10858 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10861 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->SetSize((wxSize
const &)*arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_Py_Void();
10876 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10879 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10880 return SWIG_Py_Void();
10883 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 return SWIG_Python_InitShadowInstance(args
);
10887 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
= 0;
10889 int arg1
= (int) 0 ;
10890 int arg2
= (int) 0 ;
10891 int arg3
= (int) 0 ;
10892 int arg4
= (int) 0 ;
10893 wxRegion
*result
= 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 PyObject
* obj3
= 0 ;
10906 char * kwnames
[] = {
10907 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10913 if (!SWIG_IsOK(ecode1
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10916 arg1
= static_cast< int >(val1
);
10919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10920 if (!SWIG_IsOK(ecode2
)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10923 arg2
= static_cast< int >(val2
);
10926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10927 if (!SWIG_IsOK(ecode3
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10930 arg3
= static_cast< int >(val3
);
10933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10934 if (!SWIG_IsOK(ecode4
)) {
10935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10937 arg4
= static_cast< int >(val4
);
10940 if (!wxPyCheckForApp()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10953 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
= 0;
10955 wxBitmap
*arg1
= 0 ;
10956 wxRegion
*result
= 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char * kwnames
[] = {
10961 (char *) "bmp", NULL
10964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10965 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10972 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10974 if (!wxPyCheckForApp()) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10987 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
= 0;
10989 wxBitmap
*arg1
= 0 ;
10990 wxColour
*arg2
= 0 ;
10991 int arg3
= (int) 0 ;
10992 wxRegion
*result
= 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 char * kwnames
[] = {
11002 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) 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_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11013 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11020 if (!SWIG_IsOK(ecode3
)) {
11021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11023 arg3
= static_cast< int >(val3
);
11026 if (!wxPyCheckForApp()) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11039 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= 0;
11042 wxPoint
*arg2
= (wxPoint
*) 0 ;
11043 int arg3
= (int) wxWINDING_RULE
;
11044 wxRegion
*result
= 0 ;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 char * kwnames
[] = {
11050 (char *) "points",(char *) "fillStyle", NULL
11053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11055 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11056 if (arg2
== NULL
) SWIG_fail
;
11059 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11060 if (!SWIG_IsOK(ecode3
)) {
11061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11063 arg3
= static_cast< int >(val3
);
11066 if (!wxPyCheckForApp()) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11074 if (arg2
) delete [] arg2
;
11079 if (arg2
) delete [] arg2
;
11085 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11086 PyObject
*resultobj
= 0;
11087 wxRegion
*arg1
= (wxRegion
*) 0 ;
11090 PyObject
*swig_obj
[1] ;
11092 if (!args
) SWIG_fail
;
11093 swig_obj
[0] = args
;
11094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11095 if (!SWIG_IsOK(res1
)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11098 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= SWIG_Py_Void();
11113 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxRegion
*arg1
= (wxRegion
*) 0 ;
11118 PyObject
*swig_obj
[1] ;
11120 if (!args
) SWIG_fail
;
11121 swig_obj
[0] = args
;
11122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11126 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_Py_Void();
11140 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
= 0;
11142 wxRegion
*arg1
= (wxRegion
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 PyObject
* obj2
= 0 ;
11155 char * kwnames
[] = {
11156 (char *) "self",(char *) "x",(char *) "y", NULL
11159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11164 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11166 if (!SWIG_IsOK(ecode2
)) {
11167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11169 arg2
= static_cast< int >(val2
);
11170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11171 if (!SWIG_IsOK(ecode3
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11174 arg3
= static_cast< int >(val3
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
= 0;
11192 wxRegion
*arg1
= (wxRegion
*) 0 ;
11195 wxRegionContain result
;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "x",(char *) "y", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11214 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11216 if (!SWIG_IsOK(ecode2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11219 arg2
= static_cast< int >(val2
);
11220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11221 if (!SWIG_IsOK(ecode3
)) {
11222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11224 arg3
= static_cast< int >(val3
);
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= SWIG_From_int(static_cast< int >(result
));
11238 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
= 0;
11240 wxRegion
*arg1
= (wxRegion
*) 0 ;
11241 wxPoint
*arg2
= 0 ;
11242 wxRegionContain result
;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 char * kwnames
[] = {
11249 (char *) "self",(char *) "pt", NULL
11252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11254 if (!SWIG_IsOK(res1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11257 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_From_int(static_cast< int >(result
));
11275 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
= 0;
11277 wxRegion
*arg1
= (wxRegion
*) 0 ;
11279 wxRegionContain result
;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char * kwnames
[] = {
11286 (char *) "self",(char *) "rect", NULL
11289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11294 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_From_int(static_cast< int >(result
));
11312 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= 0;
11314 wxRegion
*arg1
= (wxRegion
*) 0 ;
11319 wxRegionContain result
;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 PyObject
* obj3
= 0 ;
11334 PyObject
* obj4
= 0 ;
11335 char * kwnames
[] = {
11336 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11344 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11346 if (!SWIG_IsOK(ecode2
)) {
11347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11349 arg2
= static_cast< int >(val2
);
11350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11351 if (!SWIG_IsOK(ecode3
)) {
11352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11354 arg3
= static_cast< int >(val3
);
11355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11356 if (!SWIG_IsOK(ecode4
)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11359 arg4
= static_cast< int >(val4
);
11360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11361 if (!SWIG_IsOK(ecode5
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11364 arg5
= static_cast< int >(val5
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_From_int(static_cast< int >(result
));
11378 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxRegion
*arg1
= (wxRegion
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11392 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (arg1
)->GetBox();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11406 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
= 0;
11408 wxRegion
*arg1
= (wxRegion
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 PyObject
* obj2
= 0 ;
11427 PyObject
* obj3
= 0 ;
11428 PyObject
* obj4
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11438 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11440 if (!SWIG_IsOK(ecode2
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11443 arg2
= static_cast< int >(val2
);
11444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11445 if (!SWIG_IsOK(ecode3
)) {
11446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11448 arg3
= static_cast< int >(val3
);
11449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11450 if (!SWIG_IsOK(ecode4
)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11453 arg4
= static_cast< int >(val4
);
11454 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11455 if (!SWIG_IsOK(ecode5
)) {
11456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11458 arg5
= static_cast< int >(val5
);
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11474 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
= 0;
11476 wxRegion
*arg1
= (wxRegion
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char * kwnames
[] = {
11485 (char *) "self",(char *) "rect", NULL
11488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11490 if (!SWIG_IsOK(res1
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11493 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11496 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11513 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 wxRegion
*arg1
= (wxRegion
*) 0 ;
11516 wxRegion
*arg2
= 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 char * kwnames
[] = {
11525 (char *) "self",(char *) "region", NULL
11528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11530 if (!SWIG_IsOK(res1
)) {
11531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11535 if (!SWIG_IsOK(res2
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11541 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegion
*arg1
= (wxRegion
*) 0 ;
11563 PyObject
*swig_obj
[1] ;
11565 if (!args
) SWIG_fail
;
11566 swig_obj
[0] = args
;
11567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (bool)(arg1
)->IsEmpty();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
= 0;
11589 wxRegion
*arg1
= (wxRegion
*) 0 ;
11590 wxRegion
*arg2
= 0 ;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 char * kwnames
[] = {
11599 (char *) "self",(char *) "region", NULL
11602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11604 if (!SWIG_IsOK(res1
)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11607 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11609 if (!SWIG_IsOK(res2
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11615 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
= 0;
11633 wxRegion
*arg1
= (wxRegion
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 PyObject
* obj2
= 0 ;
11652 PyObject
* obj3
= 0 ;
11653 PyObject
* obj4
= 0 ;
11654 char * kwnames
[] = {
11655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11660 if (!SWIG_IsOK(res1
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11665 if (!SWIG_IsOK(ecode2
)) {
11666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11668 arg2
= static_cast< int >(val2
);
11669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11670 if (!SWIG_IsOK(ecode3
)) {
11671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11673 arg3
= static_cast< int >(val3
);
11674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11675 if (!SWIG_IsOK(ecode4
)) {
11676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11678 arg4
= static_cast< int >(val4
);
11679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11680 if (!SWIG_IsOK(ecode5
)) {
11681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11683 arg5
= static_cast< int >(val5
);
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11699 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxRegion
*arg1
= (wxRegion
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 char * kwnames
[] = {
11710 (char *) "self",(char *) "rect", NULL
11713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11718 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11721 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11738 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
= 0;
11740 wxRegion
*arg1
= (wxRegion
*) 0 ;
11741 wxRegion
*arg2
= 0 ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 char * kwnames
[] = {
11750 (char *) "self",(char *) "region", NULL
11753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11755 if (!SWIG_IsOK(res1
)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11758 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11760 if (!SWIG_IsOK(res2
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11766 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
= 0;
11784 wxRegion
*arg1
= (wxRegion
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 PyObject
* obj2
= 0 ;
11803 PyObject
* obj3
= 0 ;
11804 PyObject
* obj4
= 0 ;
11805 char * kwnames
[] = {
11806 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11814 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11816 if (!SWIG_IsOK(ecode2
)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11819 arg2
= static_cast< int >(val2
);
11820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11821 if (!SWIG_IsOK(ecode3
)) {
11822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11824 arg3
= static_cast< int >(val3
);
11825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11826 if (!SWIG_IsOK(ecode4
)) {
11827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11829 arg4
= static_cast< int >(val4
);
11830 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11831 if (!SWIG_IsOK(ecode5
)) {
11832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11834 arg5
= static_cast< int >(val5
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11850 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
= 0;
11852 wxRegion
*arg1
= (wxRegion
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 char * kwnames
[] = {
11861 (char *) "self",(char *) "rect", NULL
11864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11869 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11889 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxRegion
*arg1
= (wxRegion
*) 0 ;
11892 wxRegion
*arg2
= 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "region", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11909 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11911 if (!SWIG_IsOK(res2
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11917 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
= 0;
11935 wxRegion
*arg1
= (wxRegion
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 PyObject
* obj4
= 0 ;
11956 char * kwnames
[] = {
11957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11962 if (!SWIG_IsOK(res1
)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11965 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11967 if (!SWIG_IsOK(ecode2
)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11970 arg2
= static_cast< int >(val2
);
11971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11972 if (!SWIG_IsOK(ecode3
)) {
11973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11975 arg3
= static_cast< int >(val3
);
11976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11977 if (!SWIG_IsOK(ecode4
)) {
11978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11980 arg4
= static_cast< int >(val4
);
11981 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11982 if (!SWIG_IsOK(ecode5
)) {
11983 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11985 arg5
= static_cast< int >(val5
);
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
= 0;
12003 wxRegion
*arg1
= (wxRegion
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char * kwnames
[] = {
12012 (char *) "self",(char *) "rect", NULL
12015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12020 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12040 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxRegion
*arg1
= (wxRegion
*) 0 ;
12043 wxRegion
*arg2
= 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "region", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12060 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12062 if (!SWIG_IsOK(res2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12068 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12085 PyObject
*resultobj
= 0;
12086 wxRegion
*arg1
= (wxRegion
*) 0 ;
12087 SwigValueWrapper
<wxBitmap
> result
;
12090 PyObject
*swig_obj
[1] ;
12092 if (!args
) SWIG_fail
;
12093 swig_obj
[0] = args
;
12094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12095 if (!SWIG_IsOK(res1
)) {
12096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12098 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (arg1
)->ConvertToBitmap();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12112 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
= 0;
12114 wxRegion
*arg1
= (wxRegion
*) 0 ;
12115 wxBitmap
*arg2
= 0 ;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 char * kwnames
[] = {
12124 (char *) "self",(char *) "bmp", NULL
12127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12129 if (!SWIG_IsOK(res1
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12132 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12134 if (!SWIG_IsOK(res2
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12140 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12156 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= 0;
12158 wxRegion
*arg1
= (wxRegion
*) 0 ;
12159 wxBitmap
*arg2
= 0 ;
12160 wxColour
*arg3
= 0 ;
12161 int arg4
= (int) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 PyObject
* obj3
= 0 ;
12174 char * kwnames
[] = {
12175 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12185 if (!SWIG_IsOK(res2
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12191 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12194 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12197 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12198 if (!SWIG_IsOK(ecode4
)) {
12199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12201 arg4
= static_cast< int >(val4
);
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12218 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12221 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12222 return SWIG_Py_Void();
12225 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 return SWIG_Python_InitShadowInstance(args
);
12229 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
= 0;
12231 wxRegion
*arg1
= 0 ;
12232 wxRegionIterator
*result
= 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "region", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12241 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12248 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12250 if (!wxPyCheckForApp()) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12263 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 PyObject
*resultobj
= 0;
12265 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12268 PyObject
*swig_obj
[1] ;
12270 if (!args
) SWIG_fail
;
12271 swig_obj
[0] = args
;
12272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12273 if (!SWIG_IsOK(res1
)) {
12274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12276 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_Py_Void();
12291 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12292 PyObject
*resultobj
= 0;
12293 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12297 PyObject
*swig_obj
[1] ;
12299 if (!args
) SWIG_fail
;
12300 swig_obj
[0] = args
;
12301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12302 if (!SWIG_IsOK(res1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12305 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (int)(arg1
)->GetX();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_From_int(static_cast< int >(result
));
12319 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 PyObject
*resultobj
= 0;
12321 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12325 PyObject
*swig_obj
[1] ;
12327 if (!args
) SWIG_fail
;
12328 swig_obj
[0] = args
;
12329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12333 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (int)(arg1
)->GetY();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_From_int(static_cast< int >(result
));
12347 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 PyObject
*resultobj
= 0;
12349 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12353 PyObject
*swig_obj
[1] ;
12355 if (!args
) SWIG_fail
;
12356 swig_obj
[0] = args
;
12357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12358 if (!SWIG_IsOK(res1
)) {
12359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12361 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (int)(arg1
)->GetW();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_From_int(static_cast< int >(result
));
12375 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12376 PyObject
*resultobj
= 0;
12377 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12381 PyObject
*swig_obj
[1] ;
12383 if (!args
) SWIG_fail
;
12384 swig_obj
[0] = args
;
12385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12389 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (int)(arg1
)->GetWidth();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_From_int(static_cast< int >(result
));
12403 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 PyObject
*resultobj
= 0;
12405 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12409 PyObject
*swig_obj
[1] ;
12411 if (!args
) SWIG_fail
;
12412 swig_obj
[0] = args
;
12413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12417 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (int)(arg1
)->GetH();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_From_int(static_cast< int >(result
));
12431 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12432 PyObject
*resultobj
= 0;
12433 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12437 PyObject
*swig_obj
[1] ;
12439 if (!args
) SWIG_fail
;
12440 swig_obj
[0] = args
;
12441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12442 if (!SWIG_IsOK(res1
)) {
12443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12445 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (int)(arg1
)->GetHeight();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_From_int(static_cast< int >(result
));
12459 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12460 PyObject
*resultobj
= 0;
12461 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12465 PyObject
*swig_obj
[1] ;
12467 if (!args
) SWIG_fail
;
12468 swig_obj
[0] = args
;
12469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12473 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (arg1
)->GetRect();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12487 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12488 PyObject
*resultobj
= 0;
12489 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12493 PyObject
*swig_obj
[1] ;
12495 if (!args
) SWIG_fail
;
12496 swig_obj
[0] = args
;
12497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12498 if (!SWIG_IsOK(res1
)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12501 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (bool)(arg1
)->HaveRects();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12517 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 PyObject
*resultobj
= 0;
12519 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12530 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12557 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 wxRegionIterator_Next(arg1
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_Py_Void();
12571 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12572 PyObject
*resultobj
= 0;
12573 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12577 PyObject
*swig_obj
[1] ;
12579 if (!args
) SWIG_fail
;
12580 swig_obj
[0] = args
;
12581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12585 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12601 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12604 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12605 return SWIG_Py_Void();
12608 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 return SWIG_Python_InitShadowInstance(args
);
12612 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxNativeFontInfo
*result
= 0 ;
12616 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12630 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12631 PyObject
*resultobj
= 0;
12632 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12635 PyObject
*swig_obj
[1] ;
12637 if (!args
) SWIG_fail
;
12638 swig_obj
[0] = args
;
12639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12643 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_Py_Void();
12658 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12659 PyObject
*resultobj
= 0;
12660 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12663 PyObject
*swig_obj
[1] ;
12665 if (!args
) SWIG_fail
;
12666 swig_obj
[0] = args
;
12667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12671 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_Py_Void();
12685 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
= 0;
12687 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char * kwnames
[] = {
12696 (char *) "self",(char *) "font", NULL
12699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12704 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12706 if (!SWIG_IsOK(res2
)) {
12707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12712 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_Py_Void();
12726 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 PyObject
*resultobj
= 0;
12728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12732 PyObject
*swig_obj
[1] ;
12734 if (!args
) SWIG_fail
;
12735 swig_obj
[0] = args
;
12736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12740 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_From_int(static_cast< int >(result
));
12754 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12782 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12783 PyObject
*resultobj
= 0;
12784 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12785 wxFontStyle result
;
12788 PyObject
*swig_obj
[1] ;
12790 if (!args
) SWIG_fail
;
12791 swig_obj
[0] = args
;
12792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12796 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= SWIG_From_int(static_cast< int >(result
));
12810 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 PyObject
*resultobj
= 0;
12812 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12813 wxFontWeight result
;
12816 PyObject
*swig_obj
[1] ;
12818 if (!args
) SWIG_fail
;
12819 swig_obj
[0] = args
;
12820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12821 if (!SWIG_IsOK(res1
)) {
12822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12824 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_From_int(static_cast< int >(result
));
12838 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12839 PyObject
*resultobj
= 0;
12840 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12844 PyObject
*swig_obj
[1] ;
12846 if (!args
) SWIG_fail
;
12847 swig_obj
[0] = args
;
12848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12849 if (!SWIG_IsOK(res1
)) {
12850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12852 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12869 PyObject
*resultobj
= 0;
12870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12874 PyObject
*swig_obj
[1] ;
12876 if (!args
) SWIG_fail
;
12877 swig_obj
[0] = args
;
12878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12882 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12902 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12905 wxFontFamily result
;
12908 PyObject
*swig_obj
[1] ;
12910 if (!args
) SWIG_fail
;
12911 swig_obj
[0] = args
;
12912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12916 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_From_int(static_cast< int >(result
));
12930 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12933 wxFontEncoding result
;
12936 PyObject
*swig_obj
[1] ;
12938 if (!args
) SWIG_fail
;
12939 swig_obj
[0] = args
;
12940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12944 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_From_int(static_cast< int >(result
));
12958 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= 0;
12960 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "pointsize", NULL
12972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12977 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12979 if (!SWIG_IsOK(ecode2
)) {
12980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12982 arg2
= static_cast< int >(val2
);
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->SetPointSize(arg2
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_Py_Void();
12996 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
= 0;
12998 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char * kwnames
[] = {
13006 (char *) "self",(char *) "pixelSize", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13014 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_Py_Void();
13032 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
= 0;
13034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char * kwnames
[] = {
13043 (char *) "self",(char *) "style", NULL
13046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13048 if (!SWIG_IsOK(res1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13051 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13053 if (!SWIG_IsOK(ecode2
)) {
13054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13056 arg2
= static_cast< wxFontStyle
>(val2
);
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->SetStyle(arg2
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_Py_Void();
13070 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
= 0;
13072 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13073 wxFontWeight arg2
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char * kwnames
[] = {
13081 (char *) "self",(char *) "weight", NULL
13084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13089 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13091 if (!SWIG_IsOK(ecode2
)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13094 arg2
= static_cast< wxFontWeight
>(val2
);
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->SetWeight(arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_Py_Void();
13108 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
= 0;
13110 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "underlined", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13127 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13128 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13129 if (!SWIG_IsOK(ecode2
)) {
13130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13132 arg2
= static_cast< bool >(val2
);
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->SetUnderlined(arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_Py_Void();
13146 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
= 0;
13148 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 char * kwnames
[] = {
13156 (char *) "self",(char *) "facename", NULL
13159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13164 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13166 wxString
* sptr
= wxString_in_helper(obj1
);
13167 if (sptr
== NULL
) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)(arg1
)->SetFaceName(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13186 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13189 wxFontFamily arg2
;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "self",(char *) "family", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",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_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13205 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13207 if (!SWIG_IsOK(ecode2
)) {
13208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13210 arg2
= static_cast< wxFontFamily
>(val2
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 (arg1
)->SetFamily(arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
= 0;
13226 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13227 wxFontEncoding arg2
;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char * kwnames
[] = {
13235 (char *) "self",(char *) "encoding", NULL
13238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13243 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13245 if (!SWIG_IsOK(ecode2
)) {
13246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13248 arg2
= static_cast< wxFontEncoding
>(val2
);
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 (arg1
)->SetEncoding(arg2
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_Py_Void();
13262 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
= 0;
13264 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13265 wxString
*arg2
= 0 ;
13269 bool temp2
= false ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char * kwnames
[] = {
13273 (char *) "self",(char *) "s", NULL
13276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13278 if (!SWIG_IsOK(res1
)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13281 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13283 arg2
= wxString_in_helper(obj1
);
13284 if (arg2
== NULL
) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13310 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13316 PyObject
*swig_obj
[1] ;
13318 if (!args
) SWIG_fail
;
13319 swig_obj
[0] = args
;
13320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13324 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13344 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 PyObject
*resultobj
= 0;
13346 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13350 PyObject
*swig_obj
[1] ;
13352 if (!args
) SWIG_fail
;
13353 swig_obj
[0] = args
;
13354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13358 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= wxNativeFontInfo___str__(arg1
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13378 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
= 0;
13380 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13381 wxString
*arg2
= 0 ;
13385 bool temp2
= false ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char * kwnames
[] = {
13389 (char *) "self",(char *) "s", NULL
13392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13397 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13399 arg2
= wxString_in_helper(obj1
);
13400 if (arg2
== NULL
) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13427 PyObject
*resultobj
= 0;
13428 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13432 PyObject
*swig_obj
[1] ;
13434 if (!args
) SWIG_fail
;
13435 swig_obj
[0] = args
;
13436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13437 if (!SWIG_IsOK(res1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13440 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13460 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13463 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13464 return SWIG_Py_Void();
13467 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13468 return SWIG_Python_InitShadowInstance(args
);
13471 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13472 PyObject
*resultobj
= 0;
13473 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13474 wxString
*arg2
= (wxString
*) 0 ;
13477 bool temp2
= false ;
13478 PyObject
*swig_obj
[2] ;
13480 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13485 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13487 arg2
= wxString_in_helper(swig_obj
[1]);
13488 if (arg2
== NULL
) SWIG_fail
;
13491 if (arg1
) (arg1
)->facename
= *arg2
;
13493 resultobj
= SWIG_Py_Void();
13508 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13509 PyObject
*resultobj
= 0;
13510 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13511 wxString
*result
= 0 ;
13514 PyObject
*swig_obj
[1] ;
13516 if (!args
) SWIG_fail
;
13517 swig_obj
[0] = args
;
13518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13519 if (!SWIG_IsOK(res1
)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13522 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13523 result
= (wxString
*)& ((arg1
)->facename
);
13526 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13528 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13537 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13538 PyObject
*resultobj
= 0;
13539 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13540 wxFontEncoding arg2
;
13545 PyObject
*swig_obj
[2] ;
13547 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13549 if (!SWIG_IsOK(res1
)) {
13550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13552 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13553 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13554 if (!SWIG_IsOK(ecode2
)) {
13555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13557 arg2
= static_cast< wxFontEncoding
>(val2
);
13558 if (arg1
) (arg1
)->encoding
= arg2
;
13560 resultobj
= SWIG_Py_Void();
13567 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13568 PyObject
*resultobj
= 0;
13569 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13570 wxFontEncoding result
;
13573 PyObject
*swig_obj
[1] ;
13575 if (!args
) SWIG_fail
;
13576 swig_obj
[0] = args
;
13577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13581 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13582 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13583 resultobj
= SWIG_From_int(static_cast< int >(result
));
13590 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13591 PyObject
*resultobj
= 0;
13592 wxNativeEncodingInfo
*result
= 0 ;
13594 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13608 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13609 PyObject
*resultobj
= 0;
13610 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13613 PyObject
*swig_obj
[1] ;
13615 if (!args
) SWIG_fail
;
13616 swig_obj
[0] = args
;
13617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13621 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_Py_Void();
13636 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
= 0;
13638 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13639 wxString
*arg2
= 0 ;
13643 bool temp2
= false ;
13644 PyObject
* obj0
= 0 ;
13645 PyObject
* obj1
= 0 ;
13646 char * kwnames
[] = {
13647 (char *) "self",(char *) "s", NULL
13650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13652 if (!SWIG_IsOK(res1
)) {
13653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13655 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13657 arg2
= wxString_in_helper(obj1
);
13658 if (arg2
== NULL
) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13684 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13685 PyObject
*resultobj
= 0;
13686 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13690 PyObject
*swig_obj
[1] ;
13692 if (!args
) SWIG_fail
;
13693 swig_obj
[0] = args
;
13694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13698 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13718 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13721 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13722 return SWIG_Py_Void();
13725 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13726 return SWIG_Python_InitShadowInstance(args
);
13729 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
= 0;
13731 wxFontEncoding arg1
;
13732 wxNativeEncodingInfo
*result
= 0 ;
13735 PyObject
* obj0
= 0 ;
13736 char * kwnames
[] = {
13737 (char *) "encoding", NULL
13740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13742 if (!SWIG_IsOK(ecode1
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13745 arg1
= static_cast< wxFontEncoding
>(val1
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13759 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxNativeEncodingInfo
*arg1
= 0 ;
13765 PyObject
* obj0
= 0 ;
13766 char * kwnames
[] = {
13767 (char *) "info", NULL
13770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13771 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13772 if (!SWIG_IsOK(res1
)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13778 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13794 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13795 PyObject
*resultobj
= 0;
13796 wxFontMapper
*result
= 0 ;
13798 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxFontMapper
*)new wxFontMapper();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13812 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13813 PyObject
*resultobj
= 0;
13814 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13817 PyObject
*swig_obj
[1] ;
13819 if (!args
) SWIG_fail
;
13820 swig_obj
[0] = args
;
13821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13822 if (!SWIG_IsOK(res1
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13825 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_Py_Void();
13840 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxFontMapper
*result
= 0 ;
13844 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (wxFontMapper
*)wxFontMapper::Get();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13858 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13861 wxFontMapper
*result
= 0 ;
13864 PyObject
* obj0
= 0 ;
13865 char * kwnames
[] = {
13866 (char *) "mapper", NULL
13869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13874 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13888 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
= 0;
13890 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13891 wxString
*arg2
= 0 ;
13892 bool arg3
= (bool) true ;
13893 wxFontEncoding result
;
13896 bool temp2
= false ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 PyObject
* obj2
= 0 ;
13902 char * kwnames
[] = {
13903 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13911 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13913 arg2
= wxString_in_helper(obj1
);
13914 if (arg2
== NULL
) SWIG_fail
;
13918 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13919 if (!SWIG_IsOK(ecode3
)) {
13920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13922 arg3
= static_cast< bool >(val3
);
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_From_int(static_cast< int >(result
));
13945 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13946 PyObject
*resultobj
= 0;
13949 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13963 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
= 0;
13966 wxFontEncoding result
;
13969 PyObject
* obj0
= 0 ;
13970 char * kwnames
[] = {
13974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13975 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13976 if (!SWIG_IsOK(ecode1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13979 arg1
= static_cast< size_t >(val1
);
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_From_int(static_cast< int >(result
));
13993 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
= 0;
13995 wxFontEncoding arg1
;
13999 PyObject
* obj0
= 0 ;
14000 char * kwnames
[] = {
14001 (char *) "encoding", NULL
14004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14006 if (!SWIG_IsOK(ecode1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14009 arg1
= static_cast< wxFontEncoding
>(val1
);
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= wxFontMapper::GetEncodingName(arg1
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14029 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
= 0;
14031 wxFontEncoding arg1
;
14035 PyObject
* obj0
= 0 ;
14036 char * kwnames
[] = {
14037 (char *) "encoding", NULL
14040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14042 if (!SWIG_IsOK(ecode1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14045 arg1
= static_cast< wxFontEncoding
>(val1
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= wxFontMapper::GetEncodingDescription(arg1
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14065 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
= 0;
14067 wxString
*arg1
= 0 ;
14068 wxFontEncoding result
;
14069 bool temp1
= false ;
14070 PyObject
* obj0
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "name", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14077 arg1
= wxString_in_helper(obj0
);
14078 if (arg1
== NULL
) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= SWIG_From_int(static_cast< int >(result
));
14102 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
= 0;
14104 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14105 wxString
*arg2
= 0 ;
14108 bool temp2
= false ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 char * kwnames
[] = {
14112 (char *) "self",(char *) "prefix", NULL
14115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14117 if (!SWIG_IsOK(res1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14120 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14122 arg2
= wxString_in_helper(obj1
);
14123 if (arg2
== NULL
) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= SWIG_Py_Void();
14147 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14148 PyObject
*resultobj
= 0;
14151 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= wxFontMapper::GetDefaultConfigPath();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14171 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14174 wxFontEncoding arg2
;
14175 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14176 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14177 bool arg4
= (bool) true ;
14178 PyObject
*result
= 0 ;
14183 bool temp3
= false ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 PyObject
* obj2
= 0 ;
14189 PyObject
* obj3
= 0 ;
14190 char * kwnames
[] = {
14191 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14199 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14201 if (!SWIG_IsOK(ecode2
)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14204 arg2
= static_cast< wxFontEncoding
>(val2
);
14207 arg3
= wxString_in_helper(obj2
);
14208 if (arg3
== NULL
) SWIG_fail
;
14213 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14214 if (!SWIG_IsOK(ecode4
)) {
14215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14217 arg4
= static_cast< bool >(val4
);
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= result
;
14240 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
= 0;
14242 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14243 wxFontEncoding arg2
;
14244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14251 bool temp3
= false ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 PyObject
* obj2
= 0 ;
14255 char * kwnames
[] = {
14256 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14264 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14266 if (!SWIG_IsOK(ecode2
)) {
14267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14269 arg2
= static_cast< wxFontEncoding
>(val2
);
14272 arg3
= wxString_in_helper(obj2
);
14273 if (arg3
== NULL
) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14300 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
= 0;
14302 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14303 wxWindow
*arg2
= (wxWindow
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char * kwnames
[] = {
14311 (char *) "self",(char *) "parent", NULL
14314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14319 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14321 if (!SWIG_IsOK(res2
)) {
14322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 (arg1
)->SetDialogParent(arg2
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_Py_Void();
14338 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
= 0;
14340 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14341 wxString
*arg2
= 0 ;
14344 bool temp2
= false ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 char * kwnames
[] = {
14348 (char *) "self",(char *) "title", NULL
14351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14356 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14358 arg2
= wxString_in_helper(obj1
);
14359 if (arg2
== NULL
) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_Py_Void();
14383 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14386 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14387 return SWIG_Py_Void();
14390 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14391 return SWIG_Python_InitShadowInstance(args
);
14394 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14400 bool arg5
= (bool) false ;
14401 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14402 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14403 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14404 wxFont
*result
= 0 ;
14415 bool temp6
= false ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 PyObject
* obj2
= 0 ;
14421 PyObject
* obj3
= 0 ;
14422 PyObject
* obj4
= 0 ;
14423 PyObject
* obj5
= 0 ;
14424 PyObject
* obj6
= 0 ;
14425 char * kwnames
[] = {
14426 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14431 if (!SWIG_IsOK(ecode1
)) {
14432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14434 arg1
= static_cast< int >(val1
);
14435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14436 if (!SWIG_IsOK(ecode2
)) {
14437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14439 arg2
= static_cast< int >(val2
);
14440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14441 if (!SWIG_IsOK(ecode3
)) {
14442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14444 arg3
= static_cast< int >(val3
);
14445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14446 if (!SWIG_IsOK(ecode4
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14449 arg4
= static_cast< int >(val4
);
14451 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14452 if (!SWIG_IsOK(ecode5
)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14455 arg5
= static_cast< bool >(val5
);
14459 arg6
= wxString_in_helper(obj5
);
14460 if (arg6
== NULL
) SWIG_fail
;
14465 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14466 if (!SWIG_IsOK(ecode7
)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14469 arg7
= static_cast< wxFontEncoding
>(val7
);
14472 if (!wxPyCheckForApp()) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14493 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14494 PyObject
*resultobj
= 0;
14495 wxFont
*arg1
= (wxFont
*) 0 ;
14498 PyObject
*swig_obj
[1] ;
14500 if (!args
) SWIG_fail
;
14501 swig_obj
[0] = args
;
14502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14503 if (!SWIG_IsOK(res1
)) {
14504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14506 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_Py_Void();
14521 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
= 0;
14523 wxNativeFontInfo
*arg1
= 0 ;
14524 wxFont
*result
= 0 ;
14527 PyObject
* obj0
= 0 ;
14528 char * kwnames
[] = {
14529 (char *) "info", NULL
14532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14533 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14534 if (!SWIG_IsOK(res1
)) {
14535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14540 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14542 if (!wxPyCheckForApp()) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14555 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
= 0;
14557 wxString
*arg1
= 0 ;
14558 wxFont
*result
= 0 ;
14559 bool temp1
= false ;
14560 PyObject
* obj0
= 0 ;
14561 char * kwnames
[] = {
14562 (char *) "info", NULL
14565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14567 arg1
= wxString_in_helper(obj0
);
14568 if (arg1
== NULL
) SWIG_fail
;
14572 if (!wxPyCheckForApp()) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14593 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14596 wxFontFamily arg2
;
14597 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14598 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14599 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14600 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14601 wxFont
*result
= 0 ;
14608 bool temp4
= false ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 PyObject
* obj2
= 0 ;
14614 PyObject
* obj3
= 0 ;
14615 PyObject
* obj4
= 0 ;
14616 char * kwnames
[] = {
14617 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14621 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14622 if (!SWIG_IsOK(ecode1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14625 arg1
= static_cast< int >(val1
);
14626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14627 if (!SWIG_IsOK(ecode2
)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14630 arg2
= static_cast< wxFontFamily
>(val2
);
14632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14633 if (!SWIG_IsOK(ecode3
)) {
14634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14636 arg3
= static_cast< int >(val3
);
14640 arg4
= wxString_in_helper(obj3
);
14641 if (arg4
== NULL
) SWIG_fail
;
14646 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14647 if (!SWIG_IsOK(ecode5
)) {
14648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14650 arg5
= static_cast< wxFontEncoding
>(val5
);
14653 if (!wxPyCheckForApp()) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14674 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
= 0;
14680 bool arg5
= (bool) false ;
14681 wxString
const &arg6_defvalue
= wxEmptyString
;
14682 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14683 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14684 wxFont
*result
= 0 ;
14694 bool temp6
= false ;
14697 PyObject
* obj0
= 0 ;
14698 PyObject
* obj1
= 0 ;
14699 PyObject
* obj2
= 0 ;
14700 PyObject
* obj3
= 0 ;
14701 PyObject
* obj4
= 0 ;
14702 PyObject
* obj5
= 0 ;
14703 PyObject
* obj6
= 0 ;
14704 char * kwnames
[] = {
14705 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14711 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14714 if (!SWIG_IsOK(ecode2
)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14717 arg2
= static_cast< int >(val2
);
14718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14719 if (!SWIG_IsOK(ecode3
)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14722 arg3
= static_cast< int >(val3
);
14723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14724 if (!SWIG_IsOK(ecode4
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14727 arg4
= static_cast< int >(val4
);
14729 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14730 if (!SWIG_IsOK(ecode5
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14733 arg5
= static_cast< bool >(val5
);
14737 arg6
= wxString_in_helper(obj5
);
14738 if (arg6
== NULL
) SWIG_fail
;
14743 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14744 if (!SWIG_IsOK(ecode7
)) {
14745 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14747 arg7
= static_cast< wxFontEncoding
>(val7
);
14750 if (!wxPyCheckForApp()) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14771 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= 0;
14774 wxFontFamily arg2
;
14775 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14776 wxString
const &arg4_defvalue
= wxEmptyString
;
14777 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14778 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14779 wxFont
*result
= 0 ;
14785 bool temp4
= false ;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14790 PyObject
* obj2
= 0 ;
14791 PyObject
* obj3
= 0 ;
14792 PyObject
* obj4
= 0 ;
14793 char * kwnames
[] = {
14794 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14800 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14803 if (!SWIG_IsOK(ecode2
)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14806 arg2
= static_cast< wxFontFamily
>(val2
);
14808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14809 if (!SWIG_IsOK(ecode3
)) {
14810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14812 arg3
= static_cast< int >(val3
);
14816 arg4
= wxString_in_helper(obj3
);
14817 if (arg4
== NULL
) SWIG_fail
;
14822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14823 if (!SWIG_IsOK(ecode5
)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14826 arg5
= static_cast< wxFontEncoding
>(val5
);
14829 if (!wxPyCheckForApp()) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14850 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14851 PyObject
*resultobj
= 0;
14852 wxFont
*arg1
= (wxFont
*) 0 ;
14856 PyObject
*swig_obj
[1] ;
14858 if (!args
) SWIG_fail
;
14859 swig_obj
[0] = args
;
14860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14861 if (!SWIG_IsOK(res1
)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14864 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxFont
*arg1
= (wxFont
*) 0 ;
14883 wxFont
*arg2
= (wxFont
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "other", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14902 if (!SWIG_IsOK(res2
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14905 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 SWIGINTERN PyObject
*_wrap_Font___ne__(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___ne__",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___ne__" "', 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___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14946 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (bool)wxFont___ne__(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_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14963 PyObject
*resultobj
= 0;
14964 wxFont
*arg1
= (wxFont
*) 0 ;
14968 PyObject
*swig_obj
[1] ;
14970 if (!args
) SWIG_fail
;
14971 swig_obj
[0] = args
;
14972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14976 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_From_int(static_cast< int >(result
));
14990 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14991 PyObject
*resultobj
= 0;
14992 wxFont
*arg1
= (wxFont
*) 0 ;
14996 PyObject
*swig_obj
[1] ;
14998 if (!args
) SWIG_fail
;
14999 swig_obj
[0] = args
;
15000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15001 if (!SWIG_IsOK(res1
)) {
15002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15004 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15018 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 PyObject
*resultobj
= 0;
15020 wxFont
*arg1
= (wxFont
*) 0 ;
15024 PyObject
*swig_obj
[1] ;
15026 if (!args
) SWIG_fail
;
15027 swig_obj
[0] = args
;
15028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15032 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15048 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 PyObject
*resultobj
= 0;
15050 wxFont
*arg1
= (wxFont
*) 0 ;
15054 PyObject
*swig_obj
[1] ;
15056 if (!args
) SWIG_fail
;
15057 swig_obj
[0] = args
;
15058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15062 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_From_int(static_cast< int >(result
));
15076 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 PyObject
*resultobj
= 0;
15078 wxFont
*arg1
= (wxFont
*) 0 ;
15082 PyObject
*swig_obj
[1] ;
15084 if (!args
) SWIG_fail
;
15085 swig_obj
[0] = args
;
15086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15090 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_From_int(static_cast< int >(result
));
15104 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15105 PyObject
*resultobj
= 0;
15106 wxFont
*arg1
= (wxFont
*) 0 ;
15110 PyObject
*swig_obj
[1] ;
15112 if (!args
) SWIG_fail
;
15113 swig_obj
[0] = args
;
15114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15118 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_From_int(static_cast< int >(result
));
15132 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15133 PyObject
*resultobj
= 0;
15134 wxFont
*arg1
= (wxFont
*) 0 ;
15138 PyObject
*swig_obj
[1] ;
15140 if (!args
) SWIG_fail
;
15141 swig_obj
[0] = args
;
15142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15143 if (!SWIG_IsOK(res1
)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15146 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15162 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15163 PyObject
*resultobj
= 0;
15164 wxFont
*arg1
= (wxFont
*) 0 ;
15168 PyObject
*swig_obj
[1] ;
15170 if (!args
) SWIG_fail
;
15171 swig_obj
[0] = args
;
15172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15173 if (!SWIG_IsOK(res1
)) {
15174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15176 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= ((wxFont
const *)arg1
)->GetFaceName();
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15196 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15197 PyObject
*resultobj
= 0;
15198 wxFont
*arg1
= (wxFont
*) 0 ;
15199 wxFontEncoding result
;
15202 PyObject
*swig_obj
[1] ;
15204 if (!args
) SWIG_fail
;
15205 swig_obj
[0] = args
;
15206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15207 if (!SWIG_IsOK(res1
)) {
15208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15210 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_From_int(static_cast< int >(result
));
15224 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15225 PyObject
*resultobj
= 0;
15226 wxFont
*arg1
= (wxFont
*) 0 ;
15227 wxNativeFontInfo
*result
= 0 ;
15230 PyObject
*swig_obj
[1] ;
15232 if (!args
) SWIG_fail
;
15233 swig_obj
[0] = args
;
15234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15235 if (!SWIG_IsOK(res1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15238 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15252 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15253 PyObject
*resultobj
= 0;
15254 wxFont
*arg1
= (wxFont
*) 0 ;
15258 PyObject
*swig_obj
[1] ;
15260 if (!args
) SWIG_fail
;
15261 swig_obj
[0] = args
;
15262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15266 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15283 PyObject
*resultobj
= 0;
15284 wxFont
*arg1
= (wxFont
*) 0 ;
15288 PyObject
*swig_obj
[1] ;
15290 if (!args
) SWIG_fail
;
15291 swig_obj
[0] = args
;
15292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15293 if (!SWIG_IsOK(res1
)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15296 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15316 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15317 PyObject
*resultobj
= 0;
15318 wxFont
*arg1
= (wxFont
*) 0 ;
15322 PyObject
*swig_obj
[1] ;
15324 if (!args
) SWIG_fail
;
15325 swig_obj
[0] = args
;
15326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15330 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15350 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
= 0;
15352 wxFont
*arg1
= (wxFont
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 char * kwnames
[] = {
15361 (char *) "self",(char *) "pointSize", NULL
15364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15366 if (!SWIG_IsOK(res1
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15369 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15371 if (!SWIG_IsOK(ecode2
)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15374 arg2
= static_cast< int >(val2
);
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 (arg1
)->SetPointSize(arg2
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_Py_Void();
15388 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
= 0;
15390 wxFont
*arg1
= (wxFont
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 char * kwnames
[] = {
15398 (char *) "self",(char *) "pixelSize", NULL
15401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15406 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= SWIG_Py_Void();
15424 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
= 0;
15426 wxFont
*arg1
= (wxFont
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 char * kwnames
[] = {
15435 (char *) "self",(char *) "family", NULL
15438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15443 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15445 if (!SWIG_IsOK(ecode2
)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15448 arg2
= static_cast< int >(val2
);
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->SetFamily(arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_Py_Void();
15462 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxFont
*arg1
= (wxFont
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "style", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15481 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15483 if (!SWIG_IsOK(ecode2
)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15486 arg2
= static_cast< int >(val2
);
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 (arg1
)->SetStyle(arg2
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= SWIG_Py_Void();
15500 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
= 0;
15502 wxFont
*arg1
= (wxFont
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 char * kwnames
[] = {
15511 (char *) "self",(char *) "weight", NULL
15514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15516 if (!SWIG_IsOK(res1
)) {
15517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15519 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15521 if (!SWIG_IsOK(ecode2
)) {
15522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15524 arg2
= static_cast< int >(val2
);
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 (arg1
)->SetWeight(arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_Py_Void();
15538 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
= 0;
15540 wxFont
*arg1
= (wxFont
*) 0 ;
15541 wxString
*arg2
= 0 ;
15545 bool temp2
= false ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 char * kwnames
[] = {
15549 (char *) "self",(char *) "faceName", NULL
15552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15554 if (!SWIG_IsOK(res1
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15557 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15559 arg2
= wxString_in_helper(obj1
);
15560 if (arg2
== NULL
) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15586 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
= 0;
15588 wxFont
*arg1
= (wxFont
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 char * kwnames
[] = {
15597 (char *) "self",(char *) "underlined", NULL
15600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15602 if (!SWIG_IsOK(res1
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15605 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15607 if (!SWIG_IsOK(ecode2
)) {
15608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15610 arg2
= static_cast< bool >(val2
);
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 (arg1
)->SetUnderlined(arg2
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_Py_Void();
15624 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxFont
*arg1
= (wxFont
*) 0 ;
15627 wxFontEncoding arg2
;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "self",(char *) "encoding", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15643 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15645 if (!SWIG_IsOK(ecode2
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15648 arg2
= static_cast< wxFontEncoding
>(val2
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 (arg1
)->SetEncoding(arg2
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_Py_Void();
15662 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxFont
*arg1
= (wxFont
*) 0 ;
15665 wxNativeFontInfo
*arg2
= 0 ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 char * kwnames
[] = {
15673 (char *) "self",(char *) "info", NULL
15676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15681 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15683 if (!SWIG_IsOK(res2
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15689 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= 0;
15705 wxFont
*arg1
= (wxFont
*) 0 ;
15706 wxString
*arg2
= 0 ;
15710 bool temp2
= false ;
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_SetNativeFontInfoFromString",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_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15722 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15724 arg2
= wxString_in_helper(obj1
);
15725 if (arg2
== NULL
) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15751 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
= 0;
15753 wxFont
*arg1
= (wxFont
*) 0 ;
15754 wxString
*arg2
= 0 ;
15758 bool temp2
= false ;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 char * kwnames
[] = {
15762 (char *) "self",(char *) "info", NULL
15765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15767 if (!SWIG_IsOK(res1
)) {
15768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15770 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15772 arg2
= wxString_in_helper(obj1
);
15773 if (arg2
== NULL
) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15799 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15800 PyObject
*resultobj
= 0;
15801 wxFont
*arg1
= (wxFont
*) 0 ;
15805 PyObject
*swig_obj
[1] ;
15807 if (!args
) SWIG_fail
;
15808 swig_obj
[0] = args
;
15809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15813 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15833 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15834 PyObject
*resultobj
= 0;
15835 wxFont
*arg1
= (wxFont
*) 0 ;
15839 PyObject
*swig_obj
[1] ;
15841 if (!args
) SWIG_fail
;
15842 swig_obj
[0] = args
;
15843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15844 if (!SWIG_IsOK(res1
)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15847 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= ((wxFont
const *)arg1
)->GetStyleString();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15867 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15868 PyObject
*resultobj
= 0;
15869 wxFont
*arg1
= (wxFont
*) 0 ;
15873 PyObject
*swig_obj
[1] ;
15875 if (!args
) SWIG_fail
;
15876 swig_obj
[0] = args
;
15877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15878 if (!SWIG_IsOK(res1
)) {
15879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15881 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= ((wxFont
const *)arg1
)->GetWeightString();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15901 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
= 0;
15903 wxFont
*arg1
= (wxFont
*) 0 ;
15904 bool arg2
= (bool) true ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char * kwnames
[] = {
15912 (char *) "self",(char *) "no", NULL
15915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15917 if (!SWIG_IsOK(res1
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15920 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15922 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15923 if (!SWIG_IsOK(ecode2
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15926 arg2
= static_cast< bool >(val2
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 (arg1
)->SetNoAntiAliasing(arg2
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_Py_Void();
15941 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15942 PyObject
*resultobj
= 0;
15943 wxFont
*arg1
= (wxFont
*) 0 ;
15947 PyObject
*swig_obj
[1] ;
15949 if (!args
) SWIG_fail
;
15950 swig_obj
[0] = args
;
15951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15955 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15971 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15972 PyObject
*resultobj
= 0;
15973 wxFontEncoding result
;
15975 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15977 if (!wxPyCheckForApp()) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= SWIG_From_int(static_cast< int >(result
));
15990 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
= 0;
15992 wxFontEncoding arg1
;
15995 PyObject
* obj0
= 0 ;
15996 char * kwnames
[] = {
15997 (char *) "encoding", NULL
16000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16002 if (!SWIG_IsOK(ecode1
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16005 arg1
= static_cast< wxFontEncoding
>(val1
);
16007 if (!wxPyCheckForApp()) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 wxFont::SetDefaultEncoding(arg1
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= SWIG_Py_Void();
16020 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16023 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16024 return SWIG_Py_Void();
16027 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16028 return SWIG_Python_InitShadowInstance(args
);
16031 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16032 PyObject
*resultobj
= 0;
16033 wxPyFontEnumerator
*result
= 0 ;
16035 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16037 if (!wxPyCheckForApp()) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16050 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16051 PyObject
*resultobj
= 0;
16052 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16055 PyObject
*swig_obj
[1] ;
16057 if (!args
) SWIG_fail
;
16058 swig_obj
[0] = args
;
16059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16063 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= SWIG_Py_Void();
16078 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
= 0;
16080 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16081 PyObject
*arg2
= (PyObject
*) 0 ;
16082 PyObject
*arg3
= (PyObject
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 PyObject
* obj2
= 0 ;
16091 PyObject
* obj3
= 0 ;
16092 char * kwnames
[] = {
16093 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16101 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16104 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16105 if (!SWIG_IsOK(ecode4
)) {
16106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
16108 arg4
= static_cast< bool >(val4
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_Py_Void();
16122 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
= 0;
16124 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16125 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16126 bool arg3
= (bool) false ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 PyObject
* obj2
= 0 ;
16137 char * kwnames
[] = {
16138 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16146 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16149 if (!SWIG_IsOK(ecode2
)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16152 arg2
= static_cast< wxFontEncoding
>(val2
);
16155 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16156 if (!SWIG_IsOK(ecode3
)) {
16157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16159 arg3
= static_cast< bool >(val3
);
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
= 0;
16178 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16179 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16180 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16184 bool temp2
= false ;
16185 PyObject
* obj0
= 0 ;
16186 PyObject
* obj1
= 0 ;
16187 char * kwnames
[] = {
16188 (char *) "self",(char *) "facename", NULL
16191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16193 if (!SWIG_IsOK(res1
)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16196 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16199 arg2
= wxString_in_helper(obj1
);
16200 if (arg2
== NULL
) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16227 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16228 PyObject
*resultobj
= 0;
16229 PyObject
*result
= 0 ;
16231 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
;
16245 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16246 PyObject
*resultobj
= 0;
16247 PyObject
*result
= 0 ;
16249 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
;
16263 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxString
*arg1
= 0 ;
16267 bool temp1
= false ;
16268 PyObject
* obj0
= 0 ;
16269 char * kwnames
[] = {
16270 (char *) "str", NULL
16273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16275 arg1
= wxString_in_helper(obj0
);
16276 if (arg1
== NULL
) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16302 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16306 return SWIG_Py_Void();
16309 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16310 return SWIG_Python_InitShadowInstance(args
);
16313 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 PyObject
*resultobj
= 0;
16315 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16321 PyObject
*swig_obj
[2] ;
16323 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16325 if (!SWIG_IsOK(res1
)) {
16326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16328 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16329 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16330 if (!SWIG_IsOK(ecode2
)) {
16331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16333 arg2
= static_cast< int >(val2
);
16334 if (arg1
) (arg1
)->Language
= arg2
;
16336 resultobj
= SWIG_Py_Void();
16343 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16344 PyObject
*resultobj
= 0;
16345 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16349 PyObject
*swig_obj
[1] ;
16351 if (!args
) SWIG_fail
;
16352 swig_obj
[0] = args
;
16353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16357 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16358 result
= (int) ((arg1
)->Language
);
16359 resultobj
= SWIG_From_int(static_cast< int >(result
));
16366 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16367 PyObject
*resultobj
= 0;
16368 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16369 wxString
*arg2
= (wxString
*) 0 ;
16372 bool temp2
= false ;
16373 PyObject
*swig_obj
[2] ;
16375 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16380 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16382 arg2
= wxString_in_helper(swig_obj
[1]);
16383 if (arg2
== NULL
) SWIG_fail
;
16386 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16388 resultobj
= SWIG_Py_Void();
16403 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16404 PyObject
*resultobj
= 0;
16405 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16406 wxString
*result
= 0 ;
16409 PyObject
*swig_obj
[1] ;
16411 if (!args
) SWIG_fail
;
16412 swig_obj
[0] = args
;
16413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16414 if (!SWIG_IsOK(res1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16417 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16418 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16421 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16423 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16432 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 PyObject
*resultobj
= 0;
16434 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16435 wxString
*arg2
= (wxString
*) 0 ;
16438 bool temp2
= false ;
16439 PyObject
*swig_obj
[2] ;
16441 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16443 if (!SWIG_IsOK(res1
)) {
16444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16446 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16448 arg2
= wxString_in_helper(swig_obj
[1]);
16449 if (arg2
== NULL
) SWIG_fail
;
16452 if (arg1
) (arg1
)->Description
= *arg2
;
16454 resultobj
= SWIG_Py_Void();
16469 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16470 PyObject
*resultobj
= 0;
16471 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16472 wxString
*result
= 0 ;
16475 PyObject
*swig_obj
[1] ;
16477 if (!args
) SWIG_fail
;
16478 swig_obj
[0] = args
;
16479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16483 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16484 result
= (wxString
*)& ((arg1
)->Description
);
16487 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16489 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16498 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16501 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16502 return SWIG_Py_Void();
16505 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16507 int arg1
= (int) -1 ;
16508 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16509 wxLocale
*result
= 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 char * kwnames
[] = {
16517 (char *) "language",(char *) "flags", NULL
16520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16523 if (!SWIG_IsOK(ecode1
)) {
16524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16526 arg1
= static_cast< int >(val1
);
16529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16530 if (!SWIG_IsOK(ecode2
)) {
16531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16533 arg2
= static_cast< int >(val2
);
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16548 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 PyObject
*resultobj
= 0;
16550 wxLocale
*arg1
= (wxLocale
*) 0 ;
16553 PyObject
*swig_obj
[1] ;
16555 if (!args
) SWIG_fail
;
16556 swig_obj
[0] = args
;
16557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16561 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_Py_Void();
16576 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxLocale
*arg1
= (wxLocale
*) 0 ;
16579 wxString
*arg2
= 0 ;
16580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16582 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16583 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16584 bool arg5
= (bool) true ;
16585 bool arg6
= (bool) false ;
16589 bool temp2
= false ;
16590 bool temp3
= false ;
16591 bool temp4
= false ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 PyObject
* obj3
= 0 ;
16600 PyObject
* obj4
= 0 ;
16601 PyObject
* obj5
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16611 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16613 arg2
= wxString_in_helper(obj1
);
16614 if (arg2
== NULL
) SWIG_fail
;
16619 arg3
= wxString_in_helper(obj2
);
16620 if (arg3
== NULL
) SWIG_fail
;
16626 arg4
= wxString_in_helper(obj3
);
16627 if (arg4
== NULL
) SWIG_fail
;
16632 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16633 if (!SWIG_IsOK(ecode5
)) {
16634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16636 arg5
= static_cast< bool >(val5
);
16639 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16640 if (!SWIG_IsOK(ecode6
)) {
16641 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16643 arg6
= static_cast< bool >(val6
);
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16684 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
= 0;
16686 wxLocale
*arg1
= (wxLocale
*) 0 ;
16687 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16688 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 PyObject
* obj2
= 0 ;
16699 char * kwnames
[] = {
16700 (char *) "self",(char *) "language",(char *) "flags", NULL
16703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16708 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16711 if (!SWIG_IsOK(ecode2
)) {
16712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16714 arg2
= static_cast< int >(val2
);
16717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16718 if (!SWIG_IsOK(ecode3
)) {
16719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16721 arg3
= static_cast< int >(val3
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16738 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16739 PyObject
*resultobj
= 0;
16742 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (int)wxLocale::GetSystemLanguage();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_From_int(static_cast< int >(result
));
16756 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 PyObject
*resultobj
= 0;
16758 wxFontEncoding result
;
16760 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_From_int(static_cast< int >(result
));
16774 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16775 PyObject
*resultobj
= 0;
16778 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= wxLocale::GetSystemEncodingName();
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16798 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16799 PyObject
*resultobj
= 0;
16800 wxLocale
*arg1
= (wxLocale
*) 0 ;
16804 PyObject
*swig_obj
[1] ;
16806 if (!args
) SWIG_fail
;
16807 swig_obj
[0] = args
;
16808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16809 if (!SWIG_IsOK(res1
)) {
16810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16812 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16828 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16829 PyObject
*resultobj
= 0;
16830 wxLocale
*arg1
= (wxLocale
*) 0 ;
16834 PyObject
*swig_obj
[1] ;
16836 if (!args
) SWIG_fail
;
16837 swig_obj
[0] = args
;
16838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16839 if (!SWIG_IsOK(res1
)) {
16840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16842 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= ((wxLocale
const *)arg1
)->GetLocale();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16862 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16863 PyObject
*resultobj
= 0;
16864 wxLocale
*arg1
= (wxLocale
*) 0 ;
16868 PyObject
*swig_obj
[1] ;
16870 if (!args
) SWIG_fail
;
16871 swig_obj
[0] = args
;
16872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16876 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_From_int(static_cast< int >(result
));
16890 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16891 PyObject
*resultobj
= 0;
16892 wxLocale
*arg1
= (wxLocale
*) 0 ;
16896 PyObject
*swig_obj
[1] ;
16898 if (!args
) SWIG_fail
;
16899 swig_obj
[0] = args
;
16900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16901 if (!SWIG_IsOK(res1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16904 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= ((wxLocale
const *)arg1
)->GetSysName();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16924 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16925 PyObject
*resultobj
= 0;
16926 wxLocale
*arg1
= (wxLocale
*) 0 ;
16930 PyObject
*swig_obj
[1] ;
16932 if (!args
) SWIG_fail
;
16933 swig_obj
[0] = args
;
16934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16938 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16958 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
= 0;
16960 wxString
*arg1
= 0 ;
16961 bool temp1
= false ;
16962 PyObject
* obj0
= 0 ;
16963 char * kwnames
[] = {
16964 (char *) "prefix", NULL
16967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16969 arg1
= wxString_in_helper(obj0
);
16970 if (arg1
== NULL
) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_Py_Void();
16994 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
= 0;
16996 wxLocale
*arg1
= (wxLocale
*) 0 ;
16997 wxString
*arg2
= 0 ;
17001 bool temp2
= false ;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 char * kwnames
[] = {
17005 (char *) "self",(char *) "szDomain", NULL
17008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17010 if (!SWIG_IsOK(res1
)) {
17011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17013 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17015 arg2
= wxString_in_helper(obj1
);
17016 if (arg2
== NULL
) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17042 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
= 0;
17048 PyObject
* obj0
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "lang", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17054 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17055 if (!SWIG_IsOK(ecode1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17058 arg1
= static_cast< int >(val1
);
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (bool)wxLocale::IsAvailable(arg1
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17074 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
= 0;
17076 wxLocale
*arg1
= (wxLocale
*) 0 ;
17077 wxString
*arg2
= 0 ;
17081 bool temp2
= false ;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 char * kwnames
[] = {
17085 (char *) "self",(char *) "szDomain", NULL
17088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17090 if (!SWIG_IsOK(res1
)) {
17091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17093 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17095 arg2
= wxString_in_helper(obj1
);
17096 if (arg2
== NULL
) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17122 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= 0;
17125 wxLanguageInfo
*result
= 0 ;
17128 PyObject
* obj0
= 0 ;
17129 char * kwnames
[] = {
17130 (char *) "lang", NULL
17133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17134 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17135 if (!SWIG_IsOK(ecode1
)) {
17136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17138 arg1
= static_cast< int >(val1
);
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17152 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17158 PyObject
* obj0
= 0 ;
17159 char * kwnames
[] = {
17160 (char *) "lang", NULL
17163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17165 if (!SWIG_IsOK(ecode1
)) {
17166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17168 arg1
= static_cast< int >(val1
);
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= wxLocale::GetLanguageName(arg1
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17188 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 wxString
*arg1
= 0 ;
17191 wxLanguageInfo
*result
= 0 ;
17192 bool temp1
= false ;
17193 PyObject
* obj0
= 0 ;
17194 char * kwnames
[] = {
17195 (char *) "locale", NULL
17198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17200 arg1
= wxString_in_helper(obj0
);
17201 if (arg1
== NULL
) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17225 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
= 0;
17227 wxLanguageInfo
*arg1
= 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char * kwnames
[] = {
17232 (char *) "info", NULL
17235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17236 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17237 if (!SWIG_IsOK(res1
)) {
17238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17243 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_Py_Void();
17257 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxLocale
*arg1
= (wxLocale
*) 0 ;
17260 wxString
*arg2
= 0 ;
17261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17266 bool temp2
= false ;
17267 bool temp3
= false ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 PyObject
* obj2
= 0 ;
17271 char * kwnames
[] = {
17272 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17277 if (!SWIG_IsOK(res1
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17280 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17282 arg2
= wxString_in_helper(obj1
);
17283 if (arg2
== NULL
) SWIG_fail
;
17288 arg3
= wxString_in_helper(obj2
);
17289 if (arg3
== NULL
) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17328 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17329 PyObject
*resultobj
= 0;
17330 wxLocale
*arg1
= (wxLocale
*) 0 ;
17331 wxString
*result
= 0 ;
17334 PyObject
*swig_obj
[1] ;
17336 if (!args
) SWIG_fail
;
17337 swig_obj
[0] = args
;
17338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17339 if (!SWIG_IsOK(res1
)) {
17340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17342 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17347 result
= (wxString
*) &_result_ref
;
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17356 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17365 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17368 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17369 return SWIG_Py_Void();
17372 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17373 return SWIG_Python_InitShadowInstance(args
);
17376 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= 0;
17378 int arg1
= (int) -1 ;
17379 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17380 wxPyLocale
*result
= 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char * kwnames
[] = {
17388 (char *) "language",(char *) "flags", NULL
17391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17394 if (!SWIG_IsOK(ecode1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17397 arg1
= static_cast< int >(val1
);
17400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17401 if (!SWIG_IsOK(ecode2
)) {
17402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17404 arg2
= static_cast< int >(val2
);
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17419 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17420 PyObject
*resultobj
= 0;
17421 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17424 PyObject
*swig_obj
[1] ;
17426 if (!args
) SWIG_fail
;
17427 swig_obj
[0] = args
;
17428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17429 if (!SWIG_IsOK(res1
)) {
17430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17432 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_Py_Void();
17447 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
= 0;
17449 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17450 PyObject
*arg2
= (PyObject
*) 0 ;
17451 PyObject
*arg3
= (PyObject
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 PyObject
* obj2
= 0 ;
17457 char * kwnames
[] = {
17458 (char *) "self",(char *) "self",(char *) "_class", NULL
17461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17463 if (!SWIG_IsOK(res1
)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17466 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_Py_Void();
17482 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17485 wxChar
*arg2
= (wxChar
*) 0 ;
17486 wxChar
*arg3
= (wxChar
*) NULL
;
17487 wxChar
*result
= 0 ;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 PyObject
* obj2
= 0 ;
17497 char * kwnames
[] = {
17498 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17503 if (!SWIG_IsOK(res1
)) {
17504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17506 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17508 if (!SWIG_IsOK(res2
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17511 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17513 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17514 if (!SWIG_IsOK(res3
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17517 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17532 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
= 0;
17534 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17535 wxChar
*arg2
= (wxChar
*) 0 ;
17536 wxChar
*arg3
= (wxChar
*) 0 ;
17538 wxChar
*arg5
= (wxChar
*) NULL
;
17539 wxChar
*result
= 0 ;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 PyObject
* obj2
= 0 ;
17553 PyObject
* obj3
= 0 ;
17554 PyObject
* obj4
= 0 ;
17555 char * kwnames
[] = {
17556 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17561 if (!SWIG_IsOK(res1
)) {
17562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17564 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17566 if (!SWIG_IsOK(res2
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17569 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17570 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17571 if (!SWIG_IsOK(res3
)) {
17572 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17574 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17575 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17576 if (!SWIG_IsOK(ecode4
)) {
17577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17579 arg4
= static_cast< size_t >(val4
);
17581 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17582 if (!SWIG_IsOK(res5
)) {
17583 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17585 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17600 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17603 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17604 return SWIG_Py_Void();
17607 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17608 return SWIG_Python_InitShadowInstance(args
);
17611 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17612 PyObject
*resultobj
= 0;
17613 wxLocale
*result
= 0 ;
17615 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (wxLocale
*)wxGetLocale();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17629 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17630 PyObject
*resultobj
= 0;
17631 wxString
*arg1
= 0 ;
17633 bool temp1
= false ;
17635 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17637 arg1
= wxString_in_helper(swig_obj
[0]);
17638 if (arg1
== NULL
) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= wxGetTranslation((wxString
const &)*arg1
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17668 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17669 PyObject
*resultobj
= 0;
17670 wxString
*arg1
= 0 ;
17671 wxString
*arg2
= 0 ;
17673 bool temp1
= false ;
17674 bool temp2
= false ;
17676 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17678 arg1
= wxString_in_helper(swig_obj
[0]);
17679 if (arg1
== NULL
) SWIG_fail
;
17683 arg2
= wxString_in_helper(swig_obj
[1]);
17684 if (arg2
== NULL
) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17722 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17723 PyObject
*resultobj
= 0;
17724 wxString
*arg1
= 0 ;
17725 wxString
*arg2
= 0 ;
17728 bool temp1
= false ;
17729 bool temp2
= false ;
17733 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17735 arg1
= wxString_in_helper(swig_obj
[0]);
17736 if (arg1
== NULL
) SWIG_fail
;
17740 arg2
= wxString_in_helper(swig_obj
[1]);
17741 if (arg2
== NULL
) SWIG_fail
;
17744 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17745 if (!SWIG_IsOK(ecode3
)) {
17746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17748 arg3
= static_cast< size_t >(val3
);
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17784 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17785 PyObject
*resultobj
= 0;
17786 wxString
*arg1
= 0 ;
17787 wxString
*arg2
= 0 ;
17789 wxString
*arg4
= 0 ;
17791 bool temp1
= false ;
17792 bool temp2
= false ;
17795 bool temp4
= false ;
17797 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17799 arg1
= wxString_in_helper(swig_obj
[0]);
17800 if (arg1
== NULL
) SWIG_fail
;
17804 arg2
= wxString_in_helper(swig_obj
[1]);
17805 if (arg2
== NULL
) SWIG_fail
;
17808 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17809 if (!SWIG_IsOK(ecode3
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17812 arg3
= static_cast< size_t >(val3
);
17814 arg4
= wxString_in_helper(swig_obj
[3]);
17815 if (arg4
== NULL
) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17861 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17868 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17871 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17874 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17877 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17881 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17886 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17887 PyObject
*resultobj
= 0;
17888 wxEncodingConverter
*result
= 0 ;
17890 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17904 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17905 PyObject
*resultobj
= 0;
17906 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17909 PyObject
*swig_obj
[1] ;
17911 if (!args
) SWIG_fail
;
17912 swig_obj
[0] = args
;
17913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17914 if (!SWIG_IsOK(res1
)) {
17915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17917 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_Py_Void();
17932 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
= 0;
17934 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17935 wxFontEncoding arg2
;
17936 wxFontEncoding arg3
;
17937 int arg4
= (int) wxCONVERT_STRICT
;
17947 PyObject
* obj0
= 0 ;
17948 PyObject
* obj1
= 0 ;
17949 PyObject
* obj2
= 0 ;
17950 PyObject
* obj3
= 0 ;
17951 char * kwnames
[] = {
17952 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17960 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17962 if (!SWIG_IsOK(ecode2
)) {
17963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17965 arg2
= static_cast< wxFontEncoding
>(val2
);
17966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17967 if (!SWIG_IsOK(ecode3
)) {
17968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17970 arg3
= static_cast< wxFontEncoding
>(val3
);
17972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17973 if (!SWIG_IsOK(ecode4
)) {
17974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17976 arg4
= static_cast< int >(val4
);
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17993 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17996 wxString
*arg2
= 0 ;
18000 bool temp2
= false ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char * kwnames
[] = {
18004 (char *) "self",(char *) "input", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18012 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18014 arg2
= wxString_in_helper(obj1
);
18015 if (arg2
== NULL
) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18045 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
= 0;
18047 wxFontEncoding arg1
;
18048 int arg2
= (int) wxPLATFORM_CURRENT
;
18049 wxFontEncodingArray result
;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char * kwnames
[] = {
18057 (char *) "enc",(char *) "platform", NULL
18060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18062 if (!SWIG_IsOK(ecode1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18065 arg1
= static_cast< wxFontEncoding
>(val1
);
18067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18068 if (!SWIG_IsOK(ecode2
)) {
18069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18071 arg2
= static_cast< int >(val2
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= PyList_New(0);
18081 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18082 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18083 PyList_Append(resultobj
, number
);
18093 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
= 0;
18095 wxFontEncoding arg1
;
18096 wxFontEncodingArray result
;
18099 PyObject
* obj0
= 0 ;
18100 char * kwnames
[] = {
18101 (char *) "enc", NULL
18104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18106 if (!SWIG_IsOK(ecode1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18109 arg1
= static_cast< wxFontEncoding
>(val1
);
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= PyList_New(0);
18118 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18119 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18120 PyList_Append(resultobj
, number
);
18130 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
= 0;
18132 wxFontEncoding arg1
;
18133 wxFontEncoding arg2
;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 char * kwnames
[] = {
18142 (char *) "encIn",(char *) "encOut", NULL
18145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18146 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18147 if (!SWIG_IsOK(ecode1
)) {
18148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18150 arg1
= static_cast< wxFontEncoding
>(val1
);
18151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18152 if (!SWIG_IsOK(ecode2
)) {
18153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18155 arg2
= static_cast< wxFontEncoding
>(val2
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18171 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18174 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18175 return SWIG_Py_Void();
18178 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18179 return SWIG_Python_InitShadowInstance(args
);
18182 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18183 PyObject
*resultobj
= 0;
18184 wxDC
*arg1
= (wxDC
*) 0 ;
18187 PyObject
*swig_obj
[1] ;
18189 if (!args
) SWIG_fail
;
18190 swig_obj
[0] = args
;
18191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18192 if (!SWIG_IsOK(res1
)) {
18193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= SWIG_Py_Void();
18210 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
= 0;
18212 wxDC
*arg1
= (wxDC
*) 0 ;
18215 wxColour
*arg4
= 0 ;
18216 int arg5
= (int) wxFLOOD_SURFACE
;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 PyObject
* obj2
= 0 ;
18230 PyObject
* obj3
= 0 ;
18231 PyObject
* obj4
= 0 ;
18232 char * kwnames
[] = {
18233 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18238 if (!SWIG_IsOK(res1
)) {
18239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18243 if (!SWIG_IsOK(ecode2
)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18246 arg2
= static_cast< int >(val2
);
18247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18248 if (!SWIG_IsOK(ecode3
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18251 arg3
= static_cast< int >(val3
);
18254 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18257 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18258 if (!SWIG_IsOK(ecode5
)) {
18259 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18261 arg5
= static_cast< int >(val5
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18278 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
= 0;
18280 wxDC
*arg1
= (wxDC
*) 0 ;
18281 wxPoint
*arg2
= 0 ;
18282 wxColour
*arg3
= 0 ;
18283 int arg4
= (int) wxFLOOD_SURFACE
;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 PyObject
* obj2
= 0 ;
18294 PyObject
* obj3
= 0 ;
18295 char * kwnames
[] = {
18296 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18301 if (!SWIG_IsOK(res1
)) {
18302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18314 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18315 if (!SWIG_IsOK(ecode4
)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18318 arg4
= static_cast< int >(val4
);
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18335 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
= 0;
18337 wxDC
*arg1
= (wxDC
*) 0 ;
18339 wxColour
*arg3
= 0 ;
18340 wxColour
*arg4
= 0 ;
18341 wxPoint
*arg5
= 0 ;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 PyObject
* obj2
= 0 ;
18351 PyObject
* obj3
= 0 ;
18352 PyObject
* obj4
= 0 ;
18353 char * kwnames
[] = {
18354 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18359 if (!SWIG_IsOK(res1
)) {
18360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18369 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18373 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_Py_Void();
18392 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
= 0;
18394 wxDC
*arg1
= (wxDC
*) 0 ;
18396 wxColour
*arg3
= 0 ;
18397 wxColour
*arg4
= 0 ;
18398 wxDirection arg5
= (wxDirection
) wxEAST
;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 PyObject
* obj3
= 0 ;
18410 PyObject
* obj4
= 0 ;
18411 char * kwnames
[] = {
18412 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18417 if (!SWIG_IsOK(res1
)) {
18418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18427 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18431 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18435 if (!SWIG_IsOK(ecode5
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18438 arg5
= static_cast< wxDirection
>(val5
);
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_Py_Void();
18453 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
= 0;
18455 wxDC
*arg1
= (wxDC
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 PyObject
* obj2
= 0 ;
18468 char * kwnames
[] = {
18469 (char *) "self",(char *) "x",(char *) "y", NULL
18472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18474 if (!SWIG_IsOK(res1
)) {
18475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18479 if (!SWIG_IsOK(ecode2
)) {
18480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18482 arg2
= static_cast< int >(val2
);
18483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18484 if (!SWIG_IsOK(ecode3
)) {
18485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18487 arg3
= static_cast< int >(val3
);
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18501 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
= 0;
18503 wxDC
*arg1
= (wxDC
*) 0 ;
18504 wxPoint
*arg2
= 0 ;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 char * kwnames
[] = {
18512 (char *) "self",(char *) "pt", NULL
18515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) 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_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18538 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
= 0;
18540 wxDC
*arg1
= (wxDC
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 PyObject
* obj2
= 0 ;
18558 PyObject
* obj3
= 0 ;
18559 PyObject
* obj4
= 0 ;
18560 char * kwnames
[] = {
18561 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18566 if (!SWIG_IsOK(res1
)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18571 if (!SWIG_IsOK(ecode2
)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18574 arg2
= static_cast< int >(val2
);
18575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18576 if (!SWIG_IsOK(ecode3
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18579 arg3
= static_cast< int >(val3
);
18580 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18581 if (!SWIG_IsOK(ecode4
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18584 arg4
= static_cast< int >(val4
);
18585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18586 if (!SWIG_IsOK(ecode5
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18589 arg5
= static_cast< int >(val5
);
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_Py_Void();
18603 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
= 0;
18605 wxDC
*arg1
= (wxDC
*) 0 ;
18606 wxPoint
*arg2
= 0 ;
18607 wxPoint
*arg3
= 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_Py_Void();
18646 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
= 0;
18648 wxDC
*arg1
= (wxDC
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 PyObject
* obj2
= 0 ;
18660 char * kwnames
[] = {
18661 (char *) "self",(char *) "x",(char *) "y", NULL
18664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18671 if (!SWIG_IsOK(ecode2
)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18674 arg2
= static_cast< int >(val2
);
18675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18676 if (!SWIG_IsOK(ecode3
)) {
18677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18679 arg3
= static_cast< int >(val3
);
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->CrossHair(arg2
,arg3
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_Py_Void();
18693 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= 0;
18695 wxDC
*arg1
= (wxDC
*) 0 ;
18696 wxPoint
*arg2
= 0 ;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 char * kwnames
[] = {
18703 (char *) "self",(char *) "pt", NULL
18706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= SWIG_Py_Void();
18729 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
= 0;
18731 wxDC
*arg1
= (wxDC
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 PyObject
* obj2
= 0 ;
18755 PyObject
* obj3
= 0 ;
18756 PyObject
* obj4
= 0 ;
18757 PyObject
* obj5
= 0 ;
18758 PyObject
* obj6
= 0 ;
18759 char * kwnames
[] = {
18760 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18765 if (!SWIG_IsOK(res1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18770 if (!SWIG_IsOK(ecode2
)) {
18771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18773 arg2
= static_cast< int >(val2
);
18774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18775 if (!SWIG_IsOK(ecode3
)) {
18776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18778 arg3
= static_cast< int >(val3
);
18779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18780 if (!SWIG_IsOK(ecode4
)) {
18781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18783 arg4
= static_cast< int >(val4
);
18784 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18785 if (!SWIG_IsOK(ecode5
)) {
18786 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18788 arg5
= static_cast< int >(val5
);
18789 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18790 if (!SWIG_IsOK(ecode6
)) {
18791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18793 arg6
= static_cast< int >(val6
);
18794 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18795 if (!SWIG_IsOK(ecode7
)) {
18796 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18798 arg7
= static_cast< int >(val7
);
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_Py_Void();
18812 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
= 0;
18814 wxDC
*arg1
= (wxDC
*) 0 ;
18815 wxPoint
*arg2
= 0 ;
18816 wxPoint
*arg3
= 0 ;
18817 wxPoint
*arg4
= 0 ;
18823 PyObject
* obj0
= 0 ;
18824 PyObject
* obj1
= 0 ;
18825 PyObject
* obj2
= 0 ;
18826 PyObject
* obj3
= 0 ;
18827 char * kwnames
[] = {
18828 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18833 if (!SWIG_IsOK(res1
)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_Py_Void();
18862 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
= 0;
18864 wxDC
*arg1
= (wxDC
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 PyObject
* obj2
= 0 ;
18882 PyObject
* obj3
= 0 ;
18883 PyObject
* obj4
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18895 if (!SWIG_IsOK(ecode2
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18898 arg2
= static_cast< int >(val2
);
18899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18900 if (!SWIG_IsOK(ecode3
)) {
18901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18903 arg3
= static_cast< int >(val3
);
18904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18905 if (!SWIG_IsOK(ecode4
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18908 arg4
= static_cast< int >(val4
);
18909 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18910 if (!SWIG_IsOK(ecode5
)) {
18911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18913 arg5
= static_cast< int >(val5
);
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_Py_Void();
18927 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
= 0;
18929 wxDC
*arg1
= (wxDC
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 char * kwnames
[] = {
18937 (char *) "self",(char *) "rect", NULL
18940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18942 if (!SWIG_IsOK(res1
)) {
18943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18948 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_Py_Void();
18963 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
= 0;
18965 wxDC
*arg1
= (wxDC
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 PyObject
* obj3
= 0 ;
18990 PyObject
* obj4
= 0 ;
18991 PyObject
* obj5
= 0 ;
18992 PyObject
* obj6
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19004 if (!SWIG_IsOK(ecode2
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19007 arg2
= static_cast< int >(val2
);
19008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19009 if (!SWIG_IsOK(ecode3
)) {
19010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19012 arg3
= static_cast< int >(val3
);
19013 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19014 if (!SWIG_IsOK(ecode4
)) {
19015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19017 arg4
= static_cast< int >(val4
);
19018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19019 if (!SWIG_IsOK(ecode5
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19022 arg5
= static_cast< int >(val5
);
19023 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19024 if (!SWIG_IsOK(ecode6
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19027 arg6
= static_cast< double >(val6
);
19028 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19029 if (!SWIG_IsOK(ecode7
)) {
19030 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19032 arg7
= static_cast< double >(val7
);
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= SWIG_Py_Void();
19046 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
= 0;
19048 wxDC
*arg1
= (wxDC
*) 0 ;
19049 wxPoint
*arg2
= 0 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 PyObject
* obj2
= 0 ;
19064 PyObject
* obj3
= 0 ;
19065 PyObject
* obj4
= 0 ;
19066 char * kwnames
[] = {
19067 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19072 if (!SWIG_IsOK(res1
)) {
19073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19082 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19084 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19085 if (!SWIG_IsOK(ecode4
)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19088 arg4
= static_cast< double >(val4
);
19089 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19090 if (!SWIG_IsOK(ecode5
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19093 arg5
= static_cast< double >(val5
);
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_Py_Void();
19107 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= 0;
19109 wxDC
*arg1
= (wxDC
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 PyObject
* obj2
= 0 ;
19121 char * kwnames
[] = {
19122 (char *) "self",(char *) "x",(char *) "y", NULL
19125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19132 if (!SWIG_IsOK(ecode2
)) {
19133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19135 arg2
= static_cast< int >(val2
);
19136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19137 if (!SWIG_IsOK(ecode3
)) {
19138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19140 arg3
= static_cast< int >(val3
);
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->DrawPoint(arg2
,arg3
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= SWIG_Py_Void();
19154 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
= 0;
19156 wxDC
*arg1
= (wxDC
*) 0 ;
19157 wxPoint
*arg2
= 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char * kwnames
[] = {
19164 (char *) "self",(char *) "pt", NULL
19167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19169 if (!SWIG_IsOK(res1
)) {
19170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_Py_Void();
19190 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
= 0;
19192 wxDC
*arg1
= (wxDC
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 PyObject
* obj2
= 0 ;
19210 PyObject
* obj3
= 0 ;
19211 PyObject
* obj4
= 0 ;
19212 char * kwnames
[] = {
19213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19218 if (!SWIG_IsOK(res1
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19223 if (!SWIG_IsOK(ecode2
)) {
19224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19226 arg2
= static_cast< int >(val2
);
19227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19228 if (!SWIG_IsOK(ecode3
)) {
19229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19231 arg3
= static_cast< int >(val3
);
19232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19233 if (!SWIG_IsOK(ecode4
)) {
19234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19236 arg4
= static_cast< int >(val4
);
19237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19238 if (!SWIG_IsOK(ecode5
)) {
19239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19241 arg5
= static_cast< int >(val5
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxDC
*arg1
= (wxDC
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "self",(char *) "rect", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_Py_Void();
19291 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
= 0;
19293 wxDC
*arg1
= (wxDC
*) 0 ;
19294 wxPoint
*arg2
= 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 PyObject
* obj2
= 0 ;
19303 char * kwnames
[] = {
19304 (char *) "self",(char *) "pt",(char *) "sz", NULL
19307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19309 if (!SWIG_IsOK(res1
)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19319 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_Py_Void();
19334 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
= 0;
19336 wxDC
*arg1
= (wxDC
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 PyObject
* obj2
= 0 ;
19357 PyObject
* obj3
= 0 ;
19358 PyObject
* obj4
= 0 ;
19359 PyObject
* obj5
= 0 ;
19360 char * kwnames
[] = {
19361 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19366 if (!SWIG_IsOK(res1
)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19371 if (!SWIG_IsOK(ecode2
)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19374 arg2
= static_cast< int >(val2
);
19375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19376 if (!SWIG_IsOK(ecode3
)) {
19377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19379 arg3
= static_cast< int >(val3
);
19380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19381 if (!SWIG_IsOK(ecode4
)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19384 arg4
= static_cast< int >(val4
);
19385 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19386 if (!SWIG_IsOK(ecode5
)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19389 arg5
= static_cast< int >(val5
);
19390 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19391 if (!SWIG_IsOK(ecode6
)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19394 arg6
= static_cast< double >(val6
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_Py_Void();
19408 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= 0;
19410 wxDC
*arg1
= (wxDC
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 PyObject
* obj2
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "self",(char *) "r",(char *) "radius", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19435 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19436 if (!SWIG_IsOK(ecode3
)) {
19437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19439 arg3
= static_cast< double >(val3
);
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_Py_Void();
19453 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= 0;
19455 wxDC
*arg1
= (wxDC
*) 0 ;
19456 wxPoint
*arg2
= 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 PyObject
* obj3
= 0 ;
19469 char * kwnames
[] = {
19470 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19475 if (!SWIG_IsOK(res1
)) {
19476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19485 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19487 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19488 if (!SWIG_IsOK(ecode4
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19491 arg4
= static_cast< double >(val4
);
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_Py_Void();
19505 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
= 0;
19507 wxDC
*arg1
= (wxDC
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 PyObject
* obj3
= 0 ;
19523 char * kwnames
[] = {
19524 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19534 if (!SWIG_IsOK(ecode2
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19537 arg2
= static_cast< int >(val2
);
19538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19539 if (!SWIG_IsOK(ecode3
)) {
19540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19542 arg3
= static_cast< int >(val3
);
19543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19544 if (!SWIG_IsOK(ecode4
)) {
19545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19547 arg4
= static_cast< int >(val4
);
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_Py_Void();
19561 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
= 0;
19563 wxDC
*arg1
= (wxDC
*) 0 ;
19564 wxPoint
*arg2
= 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 PyObject
* obj2
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "self",(char *) "pt",(char *) "radius", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19580 if (!SWIG_IsOK(res1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19589 if (!SWIG_IsOK(ecode3
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19592 arg3
= static_cast< int >(val3
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19606 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxDC
*arg1
= (wxDC
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 PyObject
* obj2
= 0 ;
19626 PyObject
* obj3
= 0 ;
19627 PyObject
* obj4
= 0 ;
19628 char * kwnames
[] = {
19629 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19634 if (!SWIG_IsOK(res1
)) {
19635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19639 if (!SWIG_IsOK(ecode2
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19642 arg2
= static_cast< int >(val2
);
19643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19644 if (!SWIG_IsOK(ecode3
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19647 arg3
= static_cast< int >(val3
);
19648 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19649 if (!SWIG_IsOK(ecode4
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19652 arg4
= static_cast< int >(val4
);
19653 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19654 if (!SWIG_IsOK(ecode5
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19657 arg5
= static_cast< int >(val5
);
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_Py_Void();
19671 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
= 0;
19673 wxDC
*arg1
= (wxDC
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 char * kwnames
[] = {
19681 (char *) "self",(char *) "rect", NULL
19684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19686 if (!SWIG_IsOK(res1
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_Py_Void();
19707 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
= 0;
19709 wxDC
*arg1
= (wxDC
*) 0 ;
19710 wxPoint
*arg2
= 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 PyObject
* obj2
= 0 ;
19719 char * kwnames
[] = {
19720 (char *) "self",(char *) "pt",(char *) "sz", NULL
19723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19731 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19735 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_Py_Void();
19750 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
= 0;
19752 wxDC
*arg1
= (wxDC
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 PyObject
* obj2
= 0 ;
19767 PyObject
* obj3
= 0 ;
19768 char * kwnames
[] = {
19769 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19774 if (!SWIG_IsOK(res1
)) {
19775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19779 if (!SWIG_IsOK(res2
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19785 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19787 if (!SWIG_IsOK(ecode3
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19790 arg3
= static_cast< int >(val3
);
19791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19792 if (!SWIG_IsOK(ecode4
)) {
19793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19795 arg4
= static_cast< int >(val4
);
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_Py_Void();
19809 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
= 0;
19811 wxDC
*arg1
= (wxDC
*) 0 ;
19813 wxPoint
*arg3
= 0 ;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 PyObject
* obj2
= 0 ;
19822 char * kwnames
[] = {
19823 (char *) "self",(char *) "icon",(char *) "pt", NULL
19826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19828 if (!SWIG_IsOK(res1
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19833 if (!SWIG_IsOK(res2
)) {
19834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19839 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
= 0;
19859 wxDC
*arg1
= (wxDC
*) 0 ;
19860 wxBitmap
*arg2
= 0 ;
19863 bool arg5
= (bool) false ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 PyObject
* obj2
= 0 ;
19877 PyObject
* obj3
= 0 ;
19878 PyObject
* obj4
= 0 ;
19879 char * kwnames
[] = {
19880 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19890 if (!SWIG_IsOK(res2
)) {
19891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19896 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19898 if (!SWIG_IsOK(ecode3
)) {
19899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19901 arg3
= static_cast< int >(val3
);
19902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19903 if (!SWIG_IsOK(ecode4
)) {
19904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19906 arg4
= static_cast< int >(val4
);
19908 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19909 if (!SWIG_IsOK(ecode5
)) {
19910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19912 arg5
= static_cast< bool >(val5
);
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_Py_Void();
19927 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
= 0;
19929 wxDC
*arg1
= (wxDC
*) 0 ;
19930 wxBitmap
*arg2
= 0 ;
19931 wxPoint
*arg3
= 0 ;
19932 bool arg4
= (bool) false ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 PyObject
* obj2
= 0 ;
19943 PyObject
* obj3
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19955 if (!SWIG_IsOK(res2
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19961 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19967 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19968 if (!SWIG_IsOK(ecode4
)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19971 arg4
= static_cast< bool >(val4
);
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_Py_Void();
19986 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
= 0;
19988 wxDC
*arg1
= (wxDC
*) 0 ;
19989 wxString
*arg2
= 0 ;
19994 bool temp2
= false ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 PyObject
* obj2
= 0 ;
20002 PyObject
* obj3
= 0 ;
20003 char * kwnames
[] = {
20004 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20009 if (!SWIG_IsOK(res1
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20014 arg2
= wxString_in_helper(obj1
);
20015 if (arg2
== NULL
) SWIG_fail
;
20018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20019 if (!SWIG_IsOK(ecode3
)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20022 arg3
= static_cast< int >(val3
);
20023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20024 if (!SWIG_IsOK(ecode4
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20027 arg4
= static_cast< int >(val4
);
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= SWIG_Py_Void();
20049 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
= 0;
20051 wxDC
*arg1
= (wxDC
*) 0 ;
20052 wxString
*arg2
= 0 ;
20053 wxPoint
*arg3
= 0 ;
20056 bool temp2
= false ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 PyObject
* obj2
= 0 ;
20061 char * kwnames
[] = {
20062 (char *) "self",(char *) "text",(char *) "pt", NULL
20065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20067 if (!SWIG_IsOK(res1
)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20072 arg2
= wxString_in_helper(obj1
);
20073 if (arg2
== NULL
) SWIG_fail
;
20078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_Py_Void();
20101 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= 0;
20103 wxDC
*arg1
= (wxDC
*) 0 ;
20104 wxString
*arg2
= 0 ;
20110 bool temp2
= false ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 PyObject
* obj2
= 0 ;
20120 PyObject
* obj3
= 0 ;
20121 PyObject
* obj4
= 0 ;
20122 char * kwnames
[] = {
20123 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 arg2
= wxString_in_helper(obj1
);
20134 if (arg2
== NULL
) SWIG_fail
;
20137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20138 if (!SWIG_IsOK(ecode3
)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20141 arg3
= static_cast< int >(val3
);
20142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20143 if (!SWIG_IsOK(ecode4
)) {
20144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20146 arg4
= static_cast< int >(val4
);
20147 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20148 if (!SWIG_IsOK(ecode5
)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20151 arg5
= static_cast< double >(val5
);
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= SWIG_Py_Void();
20173 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= 0;
20175 wxDC
*arg1
= (wxDC
*) 0 ;
20176 wxString
*arg2
= 0 ;
20177 wxPoint
*arg3
= 0 ;
20181 bool temp2
= false ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 PyObject
* obj2
= 0 ;
20188 PyObject
* obj3
= 0 ;
20189 char * kwnames
[] = {
20190 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20195 if (!SWIG_IsOK(res1
)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20200 arg2
= wxString_in_helper(obj1
);
20201 if (arg2
== NULL
) SWIG_fail
;
20206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20208 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20209 if (!SWIG_IsOK(ecode4
)) {
20210 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20212 arg4
= static_cast< double >(val4
);
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_Py_Void();
20234 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxDC
*arg1
= (wxDC
*) 0 ;
20241 wxDC
*arg6
= (wxDC
*) 0 ;
20244 int arg9
= (int) wxCOPY
;
20245 bool arg10
= (bool) false ;
20246 int arg11
= (int) -1 ;
20247 int arg12
= (int) -1 ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 PyObject
* obj2
= 0 ;
20276 PyObject
* obj3
= 0 ;
20277 PyObject
* obj4
= 0 ;
20278 PyObject
* obj5
= 0 ;
20279 PyObject
* obj6
= 0 ;
20280 PyObject
* obj7
= 0 ;
20281 PyObject
* obj8
= 0 ;
20282 PyObject
* obj9
= 0 ;
20283 PyObject
* obj10
= 0 ;
20284 PyObject
* obj11
= 0 ;
20285 char * kwnames
[] = {
20286 (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
20289 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
;
20290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20291 if (!SWIG_IsOK(res1
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20296 if (!SWIG_IsOK(ecode2
)) {
20297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20299 arg2
= static_cast< int >(val2
);
20300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20301 if (!SWIG_IsOK(ecode3
)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20304 arg3
= static_cast< int >(val3
);
20305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20306 if (!SWIG_IsOK(ecode4
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20309 arg4
= static_cast< int >(val4
);
20310 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20311 if (!SWIG_IsOK(ecode5
)) {
20312 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20314 arg5
= static_cast< int >(val5
);
20315 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20316 if (!SWIG_IsOK(res6
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20319 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20321 if (!SWIG_IsOK(ecode7
)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20324 arg7
= static_cast< int >(val7
);
20325 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20326 if (!SWIG_IsOK(ecode8
)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20329 arg8
= static_cast< int >(val8
);
20331 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20332 if (!SWIG_IsOK(ecode9
)) {
20333 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20335 arg9
= static_cast< int >(val9
);
20338 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20339 if (!SWIG_IsOK(ecode10
)) {
20340 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20342 arg10
= static_cast< bool >(val10
);
20345 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20346 if (!SWIG_IsOK(ecode11
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20349 arg11
= static_cast< int >(val11
);
20352 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20353 if (!SWIG_IsOK(ecode12
)) {
20354 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20356 arg12
= static_cast< int >(val12
);
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
= 0;
20375 wxDC
*arg1
= (wxDC
*) 0 ;
20376 wxPoint
*arg2
= 0 ;
20378 wxDC
*arg4
= (wxDC
*) 0 ;
20379 wxPoint
*arg5
= 0 ;
20380 int arg6
= (int) wxCOPY
;
20381 bool arg7
= (bool) false ;
20382 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20383 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 PyObject
* obj2
= 0 ;
20400 PyObject
* obj3
= 0 ;
20401 PyObject
* obj4
= 0 ;
20402 PyObject
* obj5
= 0 ;
20403 PyObject
* obj6
= 0 ;
20404 PyObject
* obj7
= 0 ;
20405 char * kwnames
[] = {
20406 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20421 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20423 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20424 if (!SWIG_IsOK(res4
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20427 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20430 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20433 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20434 if (!SWIG_IsOK(ecode6
)) {
20435 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20437 arg6
= static_cast< int >(val6
);
20440 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20441 if (!SWIG_IsOK(ecode7
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20444 arg7
= static_cast< bool >(val7
);
20449 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20467 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
= 0;
20469 wxDC
*arg1
= (wxDC
*) 0 ;
20470 wxRect
*arg2
= (wxRect
*) NULL
;
20471 SwigValueWrapper
<wxBitmap
> result
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 char * kwnames
[] = {
20479 (char *) "self",(char *) "subrect", NULL
20482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20490 if (!SWIG_IsOK(res2
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20493 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20508 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
= 0;
20510 wxDC
*arg1
= (wxDC
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 PyObject
* obj2
= 0 ;
20528 PyObject
* obj3
= 0 ;
20529 PyObject
* obj4
= 0 ;
20530 char * kwnames
[] = {
20531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20536 if (!SWIG_IsOK(res1
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20541 if (!SWIG_IsOK(ecode2
)) {
20542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20544 arg2
= static_cast< int >(val2
);
20545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20546 if (!SWIG_IsOK(ecode3
)) {
20547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20549 arg3
= static_cast< int >(val3
);
20550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20551 if (!SWIG_IsOK(ecode4
)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20554 arg4
= static_cast< int >(val4
);
20555 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20556 if (!SWIG_IsOK(ecode5
)) {
20557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20559 arg5
= static_cast< int >(val5
);
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_Py_Void();
20573 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxDC
*arg1
= (wxDC
*) 0 ;
20576 wxPoint
*arg2
= 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 PyObject
* obj2
= 0 ;
20585 char * kwnames
[] = {
20586 (char *) "self",(char *) "pt",(char *) "sz", NULL
20589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20601 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_Py_Void();
20616 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxDC
*arg1
= (wxDC
*) 0 ;
20619 wxRegion
*arg2
= 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char * kwnames
[] = {
20627 (char *) "self",(char *) "region", NULL
20630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20632 if (!SWIG_IsOK(res1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20637 if (!SWIG_IsOK(res2
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20643 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_Py_Void();
20657 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 wxDC
*arg1
= (wxDC
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "self",(char *) "rect", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20672 if (!SWIG_IsOK(res1
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20693 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
= 0;
20695 wxDC
*arg1
= (wxDC
*) 0 ;
20697 wxPoint
*arg3
= (wxPoint
*) 0 ;
20698 int arg4
= (int) 0 ;
20699 int arg5
= (int) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 PyObject
* obj3
= 0 ;
20710 char * kwnames
[] = {
20711 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20721 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20722 if (arg3
== NULL
) SWIG_fail
;
20725 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20726 if (!SWIG_IsOK(ecode4
)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20729 arg4
= static_cast< int >(val4
);
20732 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20733 if (!SWIG_IsOK(ecode5
)) {
20734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20736 arg5
= static_cast< int >(val5
);
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_Py_Void();
20746 if (arg3
) delete [] arg3
;
20751 if (arg3
) delete [] arg3
;
20757 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
= 0;
20759 wxDC
*arg1
= (wxDC
*) 0 ;
20761 wxPoint
*arg3
= (wxPoint
*) 0 ;
20762 int arg4
= (int) 0 ;
20763 int arg5
= (int) 0 ;
20764 int arg6
= (int) wxODDEVEN_RULE
;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 PyObject
* obj2
= 0 ;
20776 PyObject
* obj3
= 0 ;
20777 PyObject
* obj4
= 0 ;
20778 char * kwnames
[] = {
20779 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20784 if (!SWIG_IsOK(res1
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20789 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20790 if (arg3
== NULL
) SWIG_fail
;
20793 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20794 if (!SWIG_IsOK(ecode4
)) {
20795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20797 arg4
= static_cast< int >(val4
);
20800 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20801 if (!SWIG_IsOK(ecode5
)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20804 arg5
= static_cast< int >(val5
);
20807 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20808 if (!SWIG_IsOK(ecode6
)) {
20809 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20811 arg6
= static_cast< int >(val6
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_Py_Void();
20821 if (arg3
) delete [] arg3
;
20826 if (arg3
) delete [] arg3
;
20832 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
= 0;
20834 wxDC
*arg1
= (wxDC
*) 0 ;
20835 wxString
*arg2
= 0 ;
20837 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20838 int arg5
= (int) -1 ;
20841 bool temp2
= false ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 PyObject
* obj3
= 0 ;
20851 PyObject
* obj4
= 0 ;
20852 char * kwnames
[] = {
20853 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20863 arg2
= wxString_in_helper(obj1
);
20864 if (arg2
== NULL
) SWIG_fail
;
20869 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20873 if (!SWIG_IsOK(ecode4
)) {
20874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20876 arg4
= static_cast< int >(val4
);
20879 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20880 if (!SWIG_IsOK(ecode5
)) {
20881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20883 arg5
= static_cast< int >(val5
);
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_Py_Void();
20906 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
= 0;
20908 wxDC
*arg1
= (wxDC
*) 0 ;
20909 wxString
*arg2
= 0 ;
20910 wxBitmap
*arg3
= 0 ;
20912 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20913 int arg6
= (int) -1 ;
20917 bool temp2
= false ;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 PyObject
* obj2
= 0 ;
20928 PyObject
* obj3
= 0 ;
20929 PyObject
* obj4
= 0 ;
20930 PyObject
* obj5
= 0 ;
20931 char * kwnames
[] = {
20932 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20942 arg2
= wxString_in_helper(obj1
);
20943 if (arg2
== NULL
) SWIG_fail
;
20946 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20947 if (!SWIG_IsOK(res3
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20953 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20956 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20959 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20960 if (!SWIG_IsOK(ecode5
)) {
20961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20963 arg5
= static_cast< int >(val5
);
20966 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20967 if (!SWIG_IsOK(ecode6
)) {
20968 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20970 arg6
= static_cast< int >(val6
);
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20993 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
= 0;
20995 wxDC
*arg1
= (wxDC
*) 0 ;
20997 wxPoint
*arg3
= (wxPoint
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 char * kwnames
[] = {
21003 (char *) "self",(char *) "points", NULL
21006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21008 if (!SWIG_IsOK(res1
)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21013 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21014 if (arg3
== NULL
) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 (arg1
)->DrawSpline(arg2
,arg3
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= SWIG_Py_Void();
21024 if (arg3
) delete [] arg3
;
21029 if (arg3
) delete [] arg3
;
21035 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21036 PyObject
*resultobj
= 0;
21037 wxDC
*arg1
= (wxDC
*) 0 ;
21040 PyObject
*swig_obj
[1] ;
21042 if (!args
) SWIG_fail
;
21043 swig_obj
[0] = args
;
21044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21045 if (!SWIG_IsOK(res1
)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= SWIG_Py_Void();
21062 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
= 0;
21064 wxDC
*arg1
= (wxDC
*) 0 ;
21065 wxString
*arg2
= 0 ;
21069 bool temp2
= false ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "message", NULL
21076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21078 if (!SWIG_IsOK(res1
)) {
21079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21083 arg2
= wxString_in_helper(obj1
);
21084 if (arg2
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 PyObject
*resultobj
= 0;
21112 wxDC
*arg1
= (wxDC
*) 0 ;
21115 PyObject
*swig_obj
[1] ;
21117 if (!args
) SWIG_fail
;
21118 swig_obj
[0] = args
;
21119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= SWIG_Py_Void();
21137 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21138 PyObject
*resultobj
= 0;
21139 wxDC
*arg1
= (wxDC
*) 0 ;
21142 PyObject
*swig_obj
[1] ;
21144 if (!args
) SWIG_fail
;
21145 swig_obj
[0] = args
;
21146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 (arg1
)->StartPage();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_Py_Void();
21164 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21165 PyObject
*resultobj
= 0;
21166 wxDC
*arg1
= (wxDC
*) 0 ;
21169 PyObject
*swig_obj
[1] ;
21171 if (!args
) SWIG_fail
;
21172 swig_obj
[0] = args
;
21173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_Py_Void();
21191 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
= 0;
21193 wxDC
*arg1
= (wxDC
*) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 char * kwnames
[] = {
21202 (char *) "self",(char *) "font", NULL
21205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21207 if (!SWIG_IsOK(res1
)) {
21208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21212 if (!SWIG_IsOK(res2
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21218 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 (arg1
)->SetFont((wxFont
const &)*arg2
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= SWIG_Py_Void();
21232 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
= 0;
21234 wxDC
*arg1
= (wxDC
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 char * kwnames
[] = {
21243 (char *) "self",(char *) "pen", NULL
21246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21248 if (!SWIG_IsOK(res1
)) {
21249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21253 if (!SWIG_IsOK(res2
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21259 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 (arg1
)->SetPen((wxPen
const &)*arg2
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= SWIG_Py_Void();
21273 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
= 0;
21275 wxDC
*arg1
= (wxDC
*) 0 ;
21276 wxBrush
*arg2
= 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char * kwnames
[] = {
21284 (char *) "self",(char *) "brush", NULL
21287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21294 if (!SWIG_IsOK(res2
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21300 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_Py_Void();
21314 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
= 0;
21316 wxDC
*arg1
= (wxDC
*) 0 ;
21317 wxBrush
*arg2
= 0 ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 char * kwnames
[] = {
21325 (char *) "self",(char *) "brush", NULL
21328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21330 if (!SWIG_IsOK(res1
)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21335 if (!SWIG_IsOK(res2
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21341 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_Py_Void();
21355 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
= 0;
21357 wxDC
*arg1
= (wxDC
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21365 char * kwnames
[] = {
21366 (char *) "self",(char *) "mode", NULL
21369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21376 if (!SWIG_IsOK(ecode2
)) {
21377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21379 arg2
= static_cast< int >(val2
);
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 (arg1
)->SetBackgroundMode(arg2
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_Py_Void();
21393 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
= 0;
21395 wxDC
*arg1
= (wxDC
*) 0 ;
21396 wxPalette
*arg2
= 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 char * kwnames
[] = {
21404 (char *) "self",(char *) "palette", NULL
21407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21414 if (!SWIG_IsOK(res2
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21420 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_Py_Void();
21434 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21435 PyObject
*resultobj
= 0;
21436 wxDC
*arg1
= (wxDC
*) 0 ;
21439 PyObject
*swig_obj
[1] ;
21441 if (!args
) SWIG_fail
;
21442 swig_obj
[0] = args
;
21443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 (arg1
)->DestroyClippingRegion();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= SWIG_Py_Void();
21461 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21462 PyObject
*resultobj
= 0;
21463 wxDC
*arg1
= (wxDC
*) 0 ;
21464 int *arg2
= (int *) 0 ;
21465 int *arg3
= (int *) 0 ;
21466 int *arg4
= (int *) 0 ;
21467 int *arg5
= (int *) 0 ;
21471 int res2
= SWIG_TMPOBJ
;
21473 int res3
= SWIG_TMPOBJ
;
21475 int res4
= SWIG_TMPOBJ
;
21477 int res5
= SWIG_TMPOBJ
;
21478 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_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_Py_Void();
21498 if (SWIG_IsTmpObj(res2
)) {
21499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21501 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21504 if (SWIG_IsTmpObj(res3
)) {
21505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21507 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21510 if (SWIG_IsTmpObj(res4
)) {
21511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21513 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21516 if (SWIG_IsTmpObj(res5
)) {
21517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21519 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21528 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21529 PyObject
*resultobj
= 0;
21530 wxDC
*arg1
= (wxDC
*) 0 ;
21534 PyObject
*swig_obj
[1] ;
21536 if (!args
) SWIG_fail
;
21537 swig_obj
[0] = args
;
21538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21539 if (!SWIG_IsOK(res1
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= wxDC_GetClippingRect(arg1
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21556 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21557 PyObject
*resultobj
= 0;
21558 wxDC
*arg1
= (wxDC
*) 0 ;
21562 PyObject
*swig_obj
[1] ;
21564 if (!args
) SWIG_fail
;
21565 swig_obj
[0] = args
;
21566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21567 if (!SWIG_IsOK(res1
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= SWIG_From_int(static_cast< int >(result
));
21584 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21585 PyObject
*resultobj
= 0;
21586 wxDC
*arg1
= (wxDC
*) 0 ;
21590 PyObject
*swig_obj
[1] ;
21592 if (!args
) SWIG_fail
;
21593 swig_obj
[0] = args
;
21594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21595 if (!SWIG_IsOK(res1
)) {
21596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_From_int(static_cast< int >(result
));
21612 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= 0;
21614 wxDC
*arg1
= (wxDC
*) 0 ;
21615 wxString
*arg2
= 0 ;
21616 int *arg3
= (int *) 0 ;
21617 int *arg4
= (int *) 0 ;
21620 bool temp2
= false ;
21622 int res3
= SWIG_TMPOBJ
;
21624 int res4
= SWIG_TMPOBJ
;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 char * kwnames
[] = {
21628 (char *) "self",(char *) "string", NULL
21633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 arg2
= wxString_in_helper(obj1
);
21641 if (arg2
== NULL
) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_Py_Void();
21651 if (SWIG_IsTmpObj(res3
)) {
21652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21654 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21657 if (SWIG_IsTmpObj(res4
)) {
21658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21660 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21677 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= 0;
21679 wxDC
*arg1
= (wxDC
*) 0 ;
21680 wxString
*arg2
= 0 ;
21681 int *arg3
= (int *) 0 ;
21682 int *arg4
= (int *) 0 ;
21683 int *arg5
= (int *) 0 ;
21684 int *arg6
= (int *) 0 ;
21685 wxFont
*arg7
= (wxFont
*) NULL
;
21688 bool temp2
= false ;
21690 int res3
= SWIG_TMPOBJ
;
21692 int res4
= SWIG_TMPOBJ
;
21694 int res5
= SWIG_TMPOBJ
;
21696 int res6
= SWIG_TMPOBJ
;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 PyObject
* obj2
= 0 ;
21702 char * kwnames
[] = {
21703 (char *) "self",(char *) "string",(char *) "font", NULL
21710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21717 arg2
= wxString_in_helper(obj1
);
21718 if (arg2
== NULL
) SWIG_fail
;
21722 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21723 if (!SWIG_IsOK(res7
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21726 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_Py_Void();
21735 if (SWIG_IsTmpObj(res3
)) {
21736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21738 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21741 if (SWIG_IsTmpObj(res4
)) {
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21744 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21747 if (SWIG_IsTmpObj(res5
)) {
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21750 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21753 if (SWIG_IsTmpObj(res6
)) {
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21756 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21773 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
= 0;
21775 wxDC
*arg1
= (wxDC
*) 0 ;
21776 wxString
*arg2
= 0 ;
21777 int *arg3
= (int *) 0 ;
21778 int *arg4
= (int *) 0 ;
21779 int *arg5
= (int *) 0 ;
21780 wxFont
*arg6
= (wxFont
*) NULL
;
21783 bool temp2
= false ;
21785 int res3
= SWIG_TMPOBJ
;
21787 int res4
= SWIG_TMPOBJ
;
21789 int res5
= SWIG_TMPOBJ
;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 char * kwnames
[] = {
21796 (char *) "self",(char *) "text",(char *) "font", NULL
21802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21809 arg2
= wxString_in_helper(obj1
);
21810 if (arg2
== NULL
) SWIG_fail
;
21814 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21815 if (!SWIG_IsOK(res6
)) {
21816 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21818 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_Py_Void();
21827 if (SWIG_IsTmpObj(res3
)) {
21828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21830 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21833 if (SWIG_IsTmpObj(res4
)) {
21834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21836 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21839 if (SWIG_IsTmpObj(res5
)) {
21840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21842 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21859 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
= 0;
21861 wxDC
*arg1
= (wxDC
*) 0 ;
21862 wxString
*arg2
= 0 ;
21866 bool temp2
= false ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char * kwnames
[] = {
21870 (char *) "self",(char *) "text", NULL
21873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21880 arg2
= wxString_in_helper(obj1
);
21881 if (arg2
== NULL
) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= wxArrayInt2PyList_helper(result
);
21907 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21908 PyObject
*resultobj
= 0;
21909 wxDC
*arg1
= (wxDC
*) 0 ;
21913 PyObject
*swig_obj
[1] ;
21915 if (!args
) SWIG_fail
;
21916 swig_obj
[0] = args
;
21917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21918 if (!SWIG_IsOK(res1
)) {
21919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (arg1
)->GetSize();
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21935 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21936 PyObject
*resultobj
= 0;
21937 wxDC
*arg1
= (wxDC
*) 0 ;
21938 int *arg2
= (int *) 0 ;
21939 int *arg3
= (int *) 0 ;
21943 int res2
= SWIG_TMPOBJ
;
21945 int res3
= SWIG_TMPOBJ
;
21946 PyObject
*swig_obj
[1] ;
21950 if (!args
) SWIG_fail
;
21951 swig_obj
[0] = args
;
21952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21953 if (!SWIG_IsOK(res1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->GetSize(arg2
,arg3
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_Py_Void();
21964 if (SWIG_IsTmpObj(res2
)) {
21965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21967 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21970 if (SWIG_IsTmpObj(res3
)) {
21971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21973 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21982 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21983 PyObject
*resultobj
= 0;
21984 wxDC
*arg1
= (wxDC
*) 0 ;
21988 PyObject
*swig_obj
[1] ;
21990 if (!args
) SWIG_fail
;
21991 swig_obj
[0] = args
;
21992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22010 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22011 PyObject
*resultobj
= 0;
22012 wxDC
*arg1
= (wxDC
*) 0 ;
22013 int *arg2
= (int *) 0 ;
22014 int *arg3
= (int *) 0 ;
22018 int res2
= SWIG_TMPOBJ
;
22020 int res3
= SWIG_TMPOBJ
;
22021 PyObject
*swig_obj
[1] ;
22025 if (!args
) SWIG_fail
;
22026 swig_obj
[0] = args
;
22027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_Py_Void();
22039 if (SWIG_IsTmpObj(res2
)) {
22040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22042 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22045 if (SWIG_IsTmpObj(res3
)) {
22046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22048 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22057 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
= 0;
22059 wxDC
*arg1
= (wxDC
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char * kwnames
[] = {
22069 (char *) "self",(char *) "x", NULL
22072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22074 if (!SWIG_IsOK(res1
)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22079 if (!SWIG_IsOK(ecode2
)) {
22080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22082 arg2
= static_cast< int >(val2
);
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_From_int(static_cast< int >(result
));
22096 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
= 0;
22098 wxDC
*arg1
= (wxDC
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 char * kwnames
[] = {
22108 (char *) "self",(char *) "y", NULL
22111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22113 if (!SWIG_IsOK(res1
)) {
22114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22118 if (!SWIG_IsOK(ecode2
)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22121 arg2
= static_cast< int >(val2
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_From_int(static_cast< int >(result
));
22135 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxDC
*arg1
= (wxDC
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "self",(char *) "x", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22157 if (!SWIG_IsOK(ecode2
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22160 arg2
= static_cast< int >(val2
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_From_int(static_cast< int >(result
));
22174 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
= 0;
22176 wxDC
*arg1
= (wxDC
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char * kwnames
[] = {
22186 (char *) "self",(char *) "y", NULL
22189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22191 if (!SWIG_IsOK(res1
)) {
22192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22196 if (!SWIG_IsOK(ecode2
)) {
22197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22199 arg2
= static_cast< int >(val2
);
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_From_int(static_cast< int >(result
));
22213 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
= 0;
22215 wxDC
*arg1
= (wxDC
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char * kwnames
[] = {
22225 (char *) "self",(char *) "x", NULL
22228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22230 if (!SWIG_IsOK(res1
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22235 if (!SWIG_IsOK(ecode2
)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22238 arg2
= static_cast< int >(val2
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_From_int(static_cast< int >(result
));
22252 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
= 0;
22254 wxDC
*arg1
= (wxDC
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 char * kwnames
[] = {
22264 (char *) "self",(char *) "y", NULL
22267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22269 if (!SWIG_IsOK(res1
)) {
22270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22274 if (!SWIG_IsOK(ecode2
)) {
22275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22277 arg2
= static_cast< int >(val2
);
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= SWIG_From_int(static_cast< int >(result
));
22291 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
= 0;
22293 wxDC
*arg1
= (wxDC
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char * kwnames
[] = {
22303 (char *) "self",(char *) "x", NULL
22306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22308 if (!SWIG_IsOK(res1
)) {
22309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22311 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22313 if (!SWIG_IsOK(ecode2
)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22316 arg2
= static_cast< int >(val2
);
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= SWIG_From_int(static_cast< int >(result
));
22330 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
= 0;
22332 wxDC
*arg1
= (wxDC
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 char * kwnames
[] = {
22342 (char *) "self",(char *) "y", NULL
22345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22352 if (!SWIG_IsOK(ecode2
)) {
22353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22355 arg2
= static_cast< int >(val2
);
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_From_int(static_cast< int >(result
));
22369 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22370 PyObject
*resultobj
= 0;
22371 wxDC
*arg1
= (wxDC
*) 0 ;
22375 PyObject
*swig_obj
[1] ;
22377 if (!args
) SWIG_fail
;
22378 swig_obj
[0] = args
;
22379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22380 if (!SWIG_IsOK(res1
)) {
22381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22399 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22400 PyObject
*resultobj
= 0;
22401 wxDC
*arg1
= (wxDC
*) 0 ;
22405 PyObject
*swig_obj
[1] ;
22407 if (!args
) SWIG_fail
;
22408 swig_obj
[0] = args
;
22409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22410 if (!SWIG_IsOK(res1
)) {
22411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22429 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22430 PyObject
*resultobj
= 0;
22431 wxDC
*arg1
= (wxDC
*) 0 ;
22435 PyObject
*swig_obj
[1] ;
22437 if (!args
) SWIG_fail
;
22438 swig_obj
[0] = args
;
22439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_From_int(static_cast< int >(result
));
22457 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22458 PyObject
*resultobj
= 0;
22459 wxDC
*arg1
= (wxDC
*) 0 ;
22463 PyObject
*swig_obj
[1] ;
22465 if (!args
) SWIG_fail
;
22466 swig_obj
[0] = args
;
22467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22468 if (!SWIG_IsOK(res1
)) {
22469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= ((wxDC
const *)arg1
)->GetPPI();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22485 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22486 PyObject
*resultobj
= 0;
22487 wxDC
*arg1
= (wxDC
*) 0 ;
22491 PyObject
*swig_obj
[1] ;
22493 if (!args
) SWIG_fail
;
22494 swig_obj
[0] = args
;
22495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22496 if (!SWIG_IsOK(res1
)) {
22497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22515 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22516 PyObject
*resultobj
= 0;
22517 wxDC
*arg1
= (wxDC
*) 0 ;
22521 PyObject
*swig_obj
[1] ;
22523 if (!args
) SWIG_fail
;
22524 swig_obj
[0] = args
;
22525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22526 if (!SWIG_IsOK(res1
)) {
22527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_From_int(static_cast< int >(result
));
22543 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22544 PyObject
*resultobj
= 0;
22545 wxDC
*arg1
= (wxDC
*) 0 ;
22546 wxBrush
*result
= 0 ;
22549 PyObject
*swig_obj
[1] ;
22551 if (!args
) SWIG_fail
;
22552 swig_obj
[0] = args
;
22553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22554 if (!SWIG_IsOK(res1
)) {
22555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22562 result
= (wxBrush
*) &_result_ref
;
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 wxBrush
* resultptr
= new wxBrush(*result
);
22569 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22577 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxDC
*arg1
= (wxDC
*) 0 ;
22580 wxBrush
*result
= 0 ;
22583 PyObject
*swig_obj
[1] ;
22585 if (!args
) SWIG_fail
;
22586 swig_obj
[0] = args
;
22587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22596 result
= (wxBrush
*) &_result_ref
;
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22602 wxBrush
* resultptr
= new wxBrush(*result
);
22603 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22611 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22612 PyObject
*resultobj
= 0;
22613 wxDC
*arg1
= (wxDC
*) 0 ;
22614 wxFont
*result
= 0 ;
22617 PyObject
*swig_obj
[1] ;
22619 if (!args
) SWIG_fail
;
22620 swig_obj
[0] = args
;
22621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22630 result
= (wxFont
*) &_result_ref
;
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22636 wxFont
* resultptr
= new wxFont(*result
);
22637 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22645 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22646 PyObject
*resultobj
= 0;
22647 wxDC
*arg1
= (wxDC
*) 0 ;
22648 wxPen
*result
= 0 ;
22651 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22664 result
= (wxPen
*) &_result_ref
;
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 wxPen
* resultptr
= new wxPen(*result
);
22671 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22679 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22680 PyObject
*resultobj
= 0;
22681 wxDC
*arg1
= (wxDC
*) 0 ;
22682 wxColour
*result
= 0 ;
22685 PyObject
*swig_obj
[1] ;
22687 if (!args
) SWIG_fail
;
22688 swig_obj
[0] = args
;
22689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22698 result
= (wxColour
*) &_result_ref
;
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22710 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22711 PyObject
*resultobj
= 0;
22712 wxDC
*arg1
= (wxDC
*) 0 ;
22713 wxColour
*result
= 0 ;
22716 PyObject
*swig_obj
[1] ;
22718 if (!args
) SWIG_fail
;
22719 swig_obj
[0] = args
;
22720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22721 if (!SWIG_IsOK(res1
)) {
22722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22729 result
= (wxColour
*) &_result_ref
;
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22741 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
= 0;
22743 wxDC
*arg1
= (wxDC
*) 0 ;
22744 wxColour
*arg2
= 0 ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char * kwnames
[] = {
22751 (char *) "self",(char *) "colour", NULL
22754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_Py_Void();
22777 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
= 0;
22779 wxDC
*arg1
= (wxDC
*) 0 ;
22780 wxColour
*arg2
= 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char * kwnames
[] = {
22787 (char *) "self",(char *) "colour", NULL
22790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22798 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_Py_Void();
22813 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22814 PyObject
*resultobj
= 0;
22815 wxDC
*arg1
= (wxDC
*) 0 ;
22819 PyObject
*swig_obj
[1] ;
22821 if (!args
) SWIG_fail
;
22822 swig_obj
[0] = args
;
22823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22824 if (!SWIG_IsOK(res1
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= SWIG_From_int(static_cast< int >(result
));
22841 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
= 0;
22843 wxDC
*arg1
= (wxDC
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char * kwnames
[] = {
22852 (char *) "self",(char *) "mode", NULL
22855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22862 if (!SWIG_IsOK(ecode2
)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22865 arg2
= static_cast< int >(val2
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->SetMapMode(arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_Py_Void();
22879 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxDC
*arg1
= (wxDC
*) 0 ;
22882 double *arg2
= (double *) 0 ;
22883 double *arg3
= (double *) 0 ;
22887 int res2
= SWIG_TMPOBJ
;
22889 int res3
= SWIG_TMPOBJ
;
22890 PyObject
*swig_obj
[1] ;
22894 if (!args
) SWIG_fail
;
22895 swig_obj
[0] = args
;
22896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_Py_Void();
22908 if (SWIG_IsTmpObj(res2
)) {
22909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22911 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22914 if (SWIG_IsTmpObj(res3
)) {
22915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22917 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22926 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= 0;
22928 wxDC
*arg1
= (wxDC
*) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 PyObject
* obj2
= 0 ;
22940 char * kwnames
[] = {
22941 (char *) "self",(char *) "x",(char *) "y", NULL
22944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22946 if (!SWIG_IsOK(res1
)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22950 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22951 if (!SWIG_IsOK(ecode2
)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22954 arg2
= static_cast< double >(val2
);
22955 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22956 if (!SWIG_IsOK(ecode3
)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22959 arg3
= static_cast< double >(val3
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 (arg1
)->SetUserScale(arg2
,arg3
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_Py_Void();
22973 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxDC
*arg1
= (wxDC
*) 0 ;
22976 double *arg2
= (double *) 0 ;
22977 double *arg3
= (double *) 0 ;
22981 int res2
= SWIG_TMPOBJ
;
22983 int res3
= SWIG_TMPOBJ
;
22984 PyObject
*swig_obj
[1] ;
22988 if (!args
) SWIG_fail
;
22989 swig_obj
[0] = args
;
22990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 (arg1
)->GetLogicalScale(arg2
,arg3
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_Py_Void();
23002 if (SWIG_IsTmpObj(res2
)) {
23003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23005 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23008 if (SWIG_IsTmpObj(res3
)) {
23009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23011 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23020 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
= 0;
23022 wxDC
*arg1
= (wxDC
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 PyObject
* obj2
= 0 ;
23034 char * kwnames
[] = {
23035 (char *) "self",(char *) "x",(char *) "y", NULL
23038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23044 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23045 if (!SWIG_IsOK(ecode2
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23048 arg2
= static_cast< double >(val2
);
23049 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23050 if (!SWIG_IsOK(ecode3
)) {
23051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23053 arg3
= static_cast< double >(val3
);
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->SetLogicalScale(arg2
,arg3
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_Py_Void();
23067 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23068 PyObject
*resultobj
= 0;
23069 wxDC
*arg1
= (wxDC
*) 0 ;
23073 PyObject
*swig_obj
[1] ;
23075 if (!args
) SWIG_fail
;
23076 swig_obj
[0] = args
;
23077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23078 if (!SWIG_IsOK(res1
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23095 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23096 PyObject
*resultobj
= 0;
23097 wxDC
*arg1
= (wxDC
*) 0 ;
23098 int *arg2
= (int *) 0 ;
23099 int *arg3
= (int *) 0 ;
23103 int res2
= SWIG_TMPOBJ
;
23105 int res3
= SWIG_TMPOBJ
;
23106 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_Py_Void();
23124 if (SWIG_IsTmpObj(res2
)) {
23125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23127 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23130 if (SWIG_IsTmpObj(res3
)) {
23131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23133 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23142 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
= 0;
23144 wxDC
*arg1
= (wxDC
*) 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 PyObject
* obj2
= 0 ;
23156 char * kwnames
[] = {
23157 (char *) "self",(char *) "x",(char *) "y", NULL
23160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23162 if (!SWIG_IsOK(res1
)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23167 if (!SWIG_IsOK(ecode2
)) {
23168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23170 arg2
= static_cast< int >(val2
);
23171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23172 if (!SWIG_IsOK(ecode3
)) {
23173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23175 arg3
= static_cast< int >(val3
);
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= SWIG_Py_Void();
23189 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
= 0;
23191 wxDC
*arg1
= (wxDC
*) 0 ;
23192 wxPoint
*arg2
= 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 char * kwnames
[] = {
23199 (char *) "self",(char *) "point", NULL
23202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_Py_Void();
23225 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23226 PyObject
*resultobj
= 0;
23227 wxDC
*arg1
= (wxDC
*) 0 ;
23231 PyObject
*swig_obj
[1] ;
23233 if (!args
) SWIG_fail
;
23234 swig_obj
[0] = args
;
23235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23236 if (!SWIG_IsOK(res1
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23253 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23254 PyObject
*resultobj
= 0;
23255 wxDC
*arg1
= (wxDC
*) 0 ;
23256 int *arg2
= (int *) 0 ;
23257 int *arg3
= (int *) 0 ;
23261 int res2
= SWIG_TMPOBJ
;
23263 int res3
= SWIG_TMPOBJ
;
23264 PyObject
*swig_obj
[1] ;
23268 if (!args
) SWIG_fail
;
23269 swig_obj
[0] = args
;
23270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23271 if (!SWIG_IsOK(res1
)) {
23272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_Py_Void();
23282 if (SWIG_IsTmpObj(res2
)) {
23283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23285 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23288 if (SWIG_IsTmpObj(res3
)) {
23289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23291 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23300 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
= 0;
23302 wxDC
*arg1
= (wxDC
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 PyObject
* obj2
= 0 ;
23314 char * kwnames
[] = {
23315 (char *) "self",(char *) "x",(char *) "y", NULL
23318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23320 if (!SWIG_IsOK(res1
)) {
23321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23325 if (!SWIG_IsOK(ecode2
)) {
23326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23328 arg2
= static_cast< int >(val2
);
23329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23330 if (!SWIG_IsOK(ecode3
)) {
23331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23333 arg3
= static_cast< int >(val3
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_Py_Void();
23347 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
= 0;
23349 wxDC
*arg1
= (wxDC
*) 0 ;
23350 wxPoint
*arg2
= 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char * kwnames
[] = {
23357 (char *) "self",(char *) "point", NULL
23360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23362 if (!SWIG_IsOK(res1
)) {
23363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_Py_Void();
23383 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
= 0;
23385 wxDC
*arg1
= (wxDC
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 PyObject
* obj2
= 0 ;
23397 char * kwnames
[] = {
23398 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23407 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23408 if (!SWIG_IsOK(ecode2
)) {
23409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23411 arg2
= static_cast< bool >(val2
);
23412 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23413 if (!SWIG_IsOK(ecode3
)) {
23414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23416 arg3
= static_cast< bool >(val3
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_Py_Void();
23430 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23431 PyObject
*resultobj
= 0;
23432 wxDC
*arg1
= (wxDC
*) 0 ;
23436 PyObject
*swig_obj
[1] ;
23438 if (!args
) SWIG_fail
;
23439 swig_obj
[0] = args
;
23440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_From_int(static_cast< int >(result
));
23458 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxDC
*arg1
= (wxDC
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "self",(char *) "function", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23479 if (!SWIG_IsOK(ecode2
)) {
23480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23482 arg2
= static_cast< int >(val2
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->SetLogicalFunction(arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_Py_Void();
23496 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 PyObject
*resultobj
= 0;
23498 wxDC
*arg1
= (wxDC
*) 0 ;
23501 PyObject
*swig_obj
[1] ;
23503 if (!args
) SWIG_fail
;
23504 swig_obj
[0] = args
;
23505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23506 if (!SWIG_IsOK(res1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->ComputeScaleAndOrigin();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_Py_Void();
23523 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= 0;
23525 wxDC
*arg1
= (wxDC
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 PyObject
* obj1
= 0 ;
23536 PyObject
* obj2
= 0 ;
23537 char * kwnames
[] = {
23538 (char *) "self",(char *) "x",(char *) "y", NULL
23541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23548 if (!SWIG_IsOK(ecode2
)) {
23549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23551 arg2
= static_cast< int >(val2
);
23552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23553 if (!SWIG_IsOK(ecode3
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23556 arg3
= static_cast< int >(val3
);
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_Py_Void();
23570 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= 0;
23572 wxDC
*arg1
= (wxDC
*) 0 ;
23573 wxPoint
*arg2
= 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "point", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_Py_Void();
23606 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 PyObject
*resultobj
= 0;
23608 wxDC
*arg1
= (wxDC
*) 0 ;
23611 PyObject
*swig_obj
[1] ;
23613 if (!args
) SWIG_fail
;
23614 swig_obj
[0] = args
;
23615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 (arg1
)->ResetBoundingBox();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_Py_Void();
23633 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23634 PyObject
*resultobj
= 0;
23635 wxDC
*arg1
= (wxDC
*) 0 ;
23639 PyObject
*swig_obj
[1] ;
23641 if (!args
) SWIG_fail
;
23642 swig_obj
[0] = args
;
23643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23644 if (!SWIG_IsOK(res1
)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (int)((wxDC
const *)arg1
)->MinX();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_From_int(static_cast< int >(result
));
23661 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 PyObject
*resultobj
= 0;
23663 wxDC
*arg1
= (wxDC
*) 0 ;
23667 PyObject
*swig_obj
[1] ;
23669 if (!args
) SWIG_fail
;
23670 swig_obj
[0] = args
;
23671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23672 if (!SWIG_IsOK(res1
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (int)((wxDC
const *)arg1
)->MaxX();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_From_int(static_cast< int >(result
));
23689 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23690 PyObject
*resultobj
= 0;
23691 wxDC
*arg1
= (wxDC
*) 0 ;
23695 PyObject
*swig_obj
[1] ;
23697 if (!args
) SWIG_fail
;
23698 swig_obj
[0] = args
;
23699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23700 if (!SWIG_IsOK(res1
)) {
23701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (int)((wxDC
const *)arg1
)->MinY();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_From_int(static_cast< int >(result
));
23717 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23718 PyObject
*resultobj
= 0;
23719 wxDC
*arg1
= (wxDC
*) 0 ;
23723 PyObject
*swig_obj
[1] ;
23725 if (!args
) SWIG_fail
;
23726 swig_obj
[0] = args
;
23727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23728 if (!SWIG_IsOK(res1
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (int)((wxDC
const *)arg1
)->MaxY();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_From_int(static_cast< int >(result
));
23745 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23746 PyObject
*resultobj
= 0;
23747 wxDC
*arg1
= (wxDC
*) 0 ;
23748 int *arg2
= (int *) 0 ;
23749 int *arg3
= (int *) 0 ;
23750 int *arg4
= (int *) 0 ;
23751 int *arg5
= (int *) 0 ;
23755 int res2
= SWIG_TMPOBJ
;
23757 int res3
= SWIG_TMPOBJ
;
23759 int res4
= SWIG_TMPOBJ
;
23761 int res5
= SWIG_TMPOBJ
;
23762 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_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_Py_Void();
23782 if (SWIG_IsTmpObj(res2
)) {
23783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23785 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23788 if (SWIG_IsTmpObj(res3
)) {
23789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23791 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23794 if (SWIG_IsTmpObj(res4
)) {
23795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23797 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23800 if (SWIG_IsTmpObj(res5
)) {
23801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23803 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23812 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23813 PyObject
*resultobj
= 0;
23814 wxDC
*arg1
= (wxDC
*) 0 ;
23815 wxLayoutDirection result
;
23818 PyObject
*swig_obj
[1] ;
23820 if (!args
) SWIG_fail
;
23821 swig_obj
[0] = args
;
23822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_From_int(static_cast< int >(result
));
23840 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxDC
*arg1
= (wxDC
*) 0 ;
23843 wxLayoutDirection arg2
;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "dir", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23861 if (!SWIG_IsOK(ecode2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23864 arg2
= static_cast< wxLayoutDirection
>(val2
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 (arg1
)->SetLayoutDirection(arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_Py_Void();
23878 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxDC
*arg1
= (wxDC
*) 0 ;
23884 PyObject
*swig_obj
[1] ;
23886 if (!args
) SWIG_fail
;
23887 swig_obj
[0] = args
;
23888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (long)(arg1
)->GetHDC();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_From_long(static_cast< long >(result
));
23906 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= 0;
23908 wxDC
*arg1
= (wxDC
*) 0 ;
23909 PyObject
*arg2
= (PyObject
*) 0 ;
23910 PyObject
*arg3
= (PyObject
*) 0 ;
23911 PyObject
*arg4
= (PyObject
*) 0 ;
23912 PyObject
*result
= 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 PyObject
* obj2
= 0 ;
23918 PyObject
* obj3
= 0 ;
23919 char * kwnames
[] = {
23920 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23925 if (!SWIG_IsOK(res1
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= result
;
23945 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
= 0;
23947 wxDC
*arg1
= (wxDC
*) 0 ;
23948 PyObject
*arg2
= (PyObject
*) 0 ;
23949 PyObject
*arg3
= (PyObject
*) 0 ;
23950 PyObject
*arg4
= (PyObject
*) 0 ;
23951 PyObject
*result
= 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 PyObject
* obj2
= 0 ;
23957 PyObject
* obj3
= 0 ;
23958 char * kwnames
[] = {
23959 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23964 if (!SWIG_IsOK(res1
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= result
;
23984 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23986 wxDC
*arg1
= (wxDC
*) 0 ;
23987 PyObject
*arg2
= (PyObject
*) 0 ;
23988 PyObject
*arg3
= (PyObject
*) 0 ;
23989 PyObject
*arg4
= (PyObject
*) 0 ;
23990 PyObject
*result
= 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 PyObject
* obj2
= 0 ;
23996 PyObject
* obj3
= 0 ;
23997 char * kwnames
[] = {
23998 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= result
;
24023 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
= 0;
24025 wxDC
*arg1
= (wxDC
*) 0 ;
24026 PyObject
*arg2
= (PyObject
*) 0 ;
24027 PyObject
*arg3
= (PyObject
*) 0 ;
24028 PyObject
*arg4
= (PyObject
*) 0 ;
24029 PyObject
*result
= 0 ;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 PyObject
* obj2
= 0 ;
24035 PyObject
* obj3
= 0 ;
24036 char * kwnames
[] = {
24037 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24042 if (!SWIG_IsOK(res1
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
;
24062 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
= 0;
24064 wxDC
*arg1
= (wxDC
*) 0 ;
24065 PyObject
*arg2
= (PyObject
*) 0 ;
24066 PyObject
*arg3
= (PyObject
*) 0 ;
24067 PyObject
*arg4
= (PyObject
*) 0 ;
24068 PyObject
*result
= 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 PyObject
* obj2
= 0 ;
24074 PyObject
* obj3
= 0 ;
24075 char * kwnames
[] = {
24076 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24081 if (!SWIG_IsOK(res1
)) {
24082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= result
;
24101 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
= 0;
24103 wxDC
*arg1
= (wxDC
*) 0 ;
24104 PyObject
*arg2
= (PyObject
*) 0 ;
24105 PyObject
*arg3
= (PyObject
*) 0 ;
24106 PyObject
*arg4
= (PyObject
*) 0 ;
24107 PyObject
*arg5
= (PyObject
*) 0 ;
24108 PyObject
*result
= 0 ;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 PyObject
* obj2
= 0 ;
24114 PyObject
* obj3
= 0 ;
24115 PyObject
* obj4
= 0 ;
24116 char * kwnames
[] = {
24117 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24122 if (!SWIG_IsOK(res1
)) {
24123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= result
;
24143 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24146 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24147 return SWIG_Py_Void();
24150 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
= 0;
24153 wxColour
*arg2
= 0 ;
24154 wxDCTextColourChanger
*result
= 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char * kwnames
[] = {
24161 (char *) "dc",(char *) "col", NULL
24164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24165 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24166 if (!SWIG_IsOK(res1
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24190 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24191 PyObject
*resultobj
= 0;
24192 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24195 PyObject
*swig_obj
[1] ;
24197 if (!args
) SWIG_fail
;
24198 swig_obj
[0] = args
;
24199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24203 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_Py_Void();
24218 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24221 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24222 return SWIG_Py_Void();
24225 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 return SWIG_Python_InitShadowInstance(args
);
24229 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24233 wxDCPenChanger
*result
= 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char * kwnames
[] = {
24241 (char *) "dc",(char *) "pen", NULL
24244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24245 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24254 if (!SWIG_IsOK(res2
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24260 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24274 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24275 PyObject
*resultobj
= 0;
24276 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24279 PyObject
*swig_obj
[1] ;
24281 if (!args
) SWIG_fail
;
24282 swig_obj
[0] = args
;
24283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24287 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_Py_Void();
24302 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24305 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24306 return SWIG_Py_Void();
24309 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24310 return SWIG_Python_InitShadowInstance(args
);
24313 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
= 0;
24316 wxBrush
*arg2
= 0 ;
24317 wxDCBrushChanger
*result
= 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char * kwnames
[] = {
24325 (char *) "dc",(char *) "brush", NULL
24328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24329 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24338 if (!SWIG_IsOK(res2
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24344 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24358 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24359 PyObject
*resultobj
= 0;
24360 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24363 PyObject
*swig_obj
[1] ;
24365 if (!args
) SWIG_fail
;
24366 swig_obj
[0] = args
;
24367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24368 if (!SWIG_IsOK(res1
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24371 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_Py_Void();
24386 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24389 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24390 return SWIG_Py_Void();
24393 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24394 return SWIG_Python_InitShadowInstance(args
);
24397 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24398 PyObject
*resultobj
= 0;
24400 wxRegion
*arg2
= 0 ;
24401 wxDCClipper
*result
= 0 ;
24407 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24409 if (!SWIG_IsOK(res1
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24416 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24417 if (!SWIG_IsOK(res2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24423 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24437 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24438 PyObject
*resultobj
= 0;
24441 wxDCClipper
*result
= 0 ;
24446 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24448 if (!SWIG_IsOK(res1
)) {
24449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24457 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24472 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24473 PyObject
*resultobj
= 0;
24479 wxDCClipper
*result
= 0 ;
24491 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24500 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24501 if (!SWIG_IsOK(ecode2
)) {
24502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24504 arg2
= static_cast< int >(val2
);
24505 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24506 if (!SWIG_IsOK(ecode3
)) {
24507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24509 arg3
= static_cast< int >(val3
);
24510 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24511 if (!SWIG_IsOK(ecode4
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24514 arg4
= static_cast< int >(val4
);
24515 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24516 if (!SWIG_IsOK(ecode5
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24519 arg5
= static_cast< int >(val5
);
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24533 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24537 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24542 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24543 _v
= SWIG_CheckState(res
);
24545 if (!_v
) goto check_1
;
24546 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24551 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24554 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24558 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24563 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24564 PyObject
*resultobj
= 0;
24565 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24568 PyObject
*swig_obj
[1] ;
24570 if (!args
) SWIG_fail
;
24571 swig_obj
[0] = args
;
24572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24576 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_Py_Void();
24591 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24594 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24595 return SWIG_Py_Void();
24598 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 return SWIG_Python_InitShadowInstance(args
);
24602 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24603 PyObject
*resultobj
= 0;
24604 wxScreenDC
*result
= 0 ;
24606 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24608 if (!wxPyCheckForApp()) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (wxScreenDC
*)new wxScreenDC();
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24621 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
= 0;
24623 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24624 wxWindow
*arg2
= (wxWindow
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "self",(char *) "window", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24641 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24643 if (!SWIG_IsOK(res2
)) {
24644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24662 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24664 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24665 wxRect
*arg2
= (wxRect
*) NULL
;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char * kwnames
[] = {
24674 (char *) "self",(char *) "rect", NULL
24677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24682 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24685 if (!SWIG_IsOK(res2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24688 arg2
= reinterpret_cast< wxRect
* >(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_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 PyObject
*resultobj
= 0;
24707 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24711 PyObject
*swig_obj
[1] ;
24713 if (!args
) SWIG_fail
;
24714 swig_obj
[0] = args
;
24715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24716 if (!SWIG_IsOK(res1
)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24719 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (bool)(arg1
)->EndDrawingOnTop();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24735 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24738 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24739 return SWIG_Py_Void();
24742 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24743 return SWIG_Python_InitShadowInstance(args
);
24746 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
= 0;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24749 wxWindowDC
*result
= 0 ;
24752 PyObject
* obj0
= 0 ;
24753 char * kwnames
[] = {
24754 (char *) "win", NULL
24757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24764 if (!wxPyCheckForApp()) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24777 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24780 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24781 return SWIG_Py_Void();
24784 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24785 return SWIG_Python_InitShadowInstance(args
);
24788 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= 0;
24790 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 wxClientDC
*result
= 0 ;
24794 PyObject
* obj0
= 0 ;
24795 char * kwnames
[] = {
24796 (char *) "win", NULL
24799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24801 if (!SWIG_IsOK(res1
)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24806 if (!wxPyCheckForApp()) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (wxClientDC
*)new wxClientDC(arg1
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24819 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24822 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24823 return SWIG_Py_Void();
24826 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24827 return SWIG_Python_InitShadowInstance(args
);
24830 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
= 0;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24833 wxPaintDC
*result
= 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "win", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24848 if (!wxPyCheckForApp()) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24861 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24864 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24865 return SWIG_Py_Void();
24868 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 return SWIG_Python_InitShadowInstance(args
);
24872 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
= 0;
24874 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24875 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24876 wxMemoryDC
*result
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 char * kwnames
[] = {
24881 (char *) "bitmap", NULL
24884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24886 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24893 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24896 if (!wxPyCheckForApp()) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24909 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
= 0;
24911 wxDC
*arg1
= (wxDC
*) 0 ;
24912 wxMemoryDC
*result
= 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char * kwnames
[] = {
24917 (char *) "oldDC", NULL
24920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24927 if (!wxPyCheckForApp()) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24940 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
= 0;
24942 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24943 wxBitmap
*arg2
= 0 ;
24948 PyObject
* obj0
= 0 ;
24949 PyObject
* obj1
= 0 ;
24950 char * kwnames
[] = {
24951 (char *) "self",(char *) "bitmap", NULL
24954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24956 if (!SWIG_IsOK(res1
)) {
24957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24959 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24961 if (!SWIG_IsOK(res2
)) {
24962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24967 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 (arg1
)->SelectObject(*arg2
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_Py_Void();
24981 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
= 0;
24983 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24984 wxBitmap
*arg2
= 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char * kwnames
[] = {
24992 (char *) "self",(char *) "bmp", NULL
24995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24997 if (!SWIG_IsOK(res1
)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25000 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25002 if (!SWIG_IsOK(res2
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25008 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_Py_Void();
25022 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25025 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25026 return SWIG_Py_Void();
25029 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25030 return SWIG_Python_InitShadowInstance(args
);
25033 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25034 PyObject
*resultobj
= 0;
25035 wxDC
*arg1
= (wxDC
*) 0 ;
25036 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25037 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25038 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25039 wxBufferedDC
*result
= 0 ;
25047 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25049 if (!SWIG_IsOK(res1
)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25054 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25055 if (!SWIG_IsOK(res2
)) {
25056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25061 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25064 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25065 if (!SWIG_IsOK(ecode3
)) {
25066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25068 arg3
= static_cast< int >(val3
);
25071 if (!wxPyCheckForApp()) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25084 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25085 PyObject
*resultobj
= 0;
25086 wxDC
*arg1
= (wxDC
*) 0 ;
25088 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25089 wxBufferedDC
*result
= 0 ;
25096 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25104 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
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
,(wxSize
const &)*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(PyObject
*self
, PyObject
*args
) {
25131 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25133 if ((argc
>= 1) && (argc
<= 3)) {
25138 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25139 _v
= SWIG_CheckState(res
);
25141 if (!_v
) goto check_1
;
25143 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25147 if ((argc
>= 2) && (argc
<= 3)) {
25148 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25152 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25157 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25158 PyObject
*resultobj
= 0;
25159 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25162 PyObject
*swig_obj
[1] ;
25164 if (!args
) SWIG_fail
;
25165 swig_obj
[0] = args
;
25166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25170 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_Py_Void();
25185 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25186 PyObject
*resultobj
= 0;
25187 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25190 PyObject
*swig_obj
[1] ;
25192 if (!args
) SWIG_fail
;
25193 swig_obj
[0] = args
;
25194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25198 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_Py_Void();
25212 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
= 0;
25214 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 char * kwnames
[] = {
25223 (char *) "self",(char *) "style", NULL
25226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25228 if (!SWIG_IsOK(res1
)) {
25229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25231 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25233 if (!SWIG_IsOK(ecode2
)) {
25234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25236 arg2
= static_cast< int >(val2
);
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 (arg1
)->SetStyle(arg2
);
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= SWIG_Py_Void();
25250 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25251 PyObject
*resultobj
= 0;
25252 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25256 PyObject
*swig_obj
[1] ;
25258 if (!args
) SWIG_fail
;
25259 swig_obj
[0] = args
;
25260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25264 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_From_int(static_cast< int >(result
));
25278 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25281 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25282 return SWIG_Py_Void();
25285 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 return SWIG_Python_InitShadowInstance(args
);
25289 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
= 0;
25291 wxWindow
*arg1
= (wxWindow
*) 0 ;
25292 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25293 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25294 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25295 wxBufferedPaintDC
*result
= 0 ;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 PyObject
* obj2
= 0 ;
25305 char * kwnames
[] = {
25306 (char *) "window",(char *) "buffer",(char *) "style", NULL
25309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25311 if (!SWIG_IsOK(res1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25317 if (!SWIG_IsOK(res2
)) {
25318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25323 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25327 if (!SWIG_IsOK(ecode3
)) {
25328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25330 arg3
= static_cast< int >(val3
);
25333 if (!wxPyCheckForApp()) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25346 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25349 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25350 return SWIG_Py_Void();
25353 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 return SWIG_Python_InitShadowInstance(args
);
25357 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
= 0;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25360 wxAutoBufferedPaintDC
*result
= 0 ;
25363 PyObject
* obj0
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "win", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25387 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25390 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25391 return SWIG_Py_Void();
25394 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25395 return SWIG_Python_InitShadowInstance(args
);
25398 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
= 0;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 char * kwnames
[] = {
25406 (char *) "window", NULL
25409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25411 if (!SWIG_IsOK(res1
)) {
25412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25430 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
= 0;
25434 wxMirrorDC
*result
= 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char * kwnames
[] = {
25442 (char *) "dc",(char *) "mirror", NULL
25445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25446 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25447 if (!SWIG_IsOK(res1
)) {
25448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25455 if (!SWIG_IsOK(ecode2
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25458 arg2
= static_cast< bool >(val2
);
25460 if (!wxPyCheckForApp()) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25473 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25476 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25477 return SWIG_Py_Void();
25480 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 return SWIG_Python_InitShadowInstance(args
);
25484 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
= 0;
25486 wxPrintData
*arg1
= 0 ;
25487 wxPostScriptDC
*result
= 0 ;
25490 PyObject
* obj0
= 0 ;
25491 char * kwnames
[] = {
25492 (char *) "printData", NULL
25495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25496 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25503 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25518 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25519 PyObject
*resultobj
= 0;
25520 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25521 wxPrintData
*result
= 0 ;
25524 PyObject
*swig_obj
[1] ;
25526 if (!args
) SWIG_fail
;
25527 swig_obj
[0] = args
;
25528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25529 if (!SWIG_IsOK(res1
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25532 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25537 result
= (wxPrintData
*) &_result_ref
;
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25549 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25552 wxPrintData
*arg2
= 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "data", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25568 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25570 if (!SWIG_IsOK(res2
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25576 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_Py_Void();
25590 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= 0;
25595 PyObject
* obj0
= 0 ;
25596 char * kwnames
[] = {
25597 (char *) "ppi", NULL
25600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25602 if (!SWIG_IsOK(ecode1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25605 arg1
= static_cast< int >(val1
);
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 wxPostScriptDC::SetResolution(arg1
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_Py_Void();
25619 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25620 PyObject
*resultobj
= 0;
25623 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (int)wxPostScriptDC::GetResolution();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_From_int(static_cast< int >(result
));
25637 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25640 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25641 return SWIG_Py_Void();
25644 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 return SWIG_Python_InitShadowInstance(args
);
25648 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25651 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25652 wxMetaFile
*result
= 0 ;
25653 bool temp1
= false ;
25654 PyObject
* obj0
= 0 ;
25655 char * kwnames
[] = {
25656 (char *) "filename", NULL
25659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25662 arg1
= wxString_in_helper(obj0
);
25663 if (arg1
== NULL
) SWIG_fail
;
25668 if (!wxPyCheckForApp()) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25689 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 PyObject
*resultobj
= 0;
25691 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25694 PyObject
*swig_obj
[1] ;
25696 if (!args
) SWIG_fail
;
25697 swig_obj
[0] = args
;
25698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25699 if (!SWIG_IsOK(res1
)) {
25700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25702 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_Py_Void();
25717 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25718 PyObject
*resultobj
= 0;
25719 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25723 PyObject
*swig_obj
[1] ;
25725 if (!args
) SWIG_fail
;
25726 swig_obj
[0] = args
;
25727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25728 if (!SWIG_IsOK(res1
)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25731 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (bool)(arg1
)->IsOk();
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25747 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
= 0;
25749 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25750 int arg2
= (int) 0 ;
25751 int arg3
= (int) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 PyObject
* obj2
= 0 ;
25762 char * kwnames
[] = {
25763 (char *) "self",(char *) "width",(char *) "height", NULL
25766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25771 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25774 if (!SWIG_IsOK(ecode2
)) {
25775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25777 arg2
= static_cast< int >(val2
);
25780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25781 if (!SWIG_IsOK(ecode3
)) {
25782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25784 arg3
= static_cast< int >(val3
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25802 PyObject
*resultobj
= 0;
25803 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25807 PyObject
*swig_obj
[1] ;
25809 if (!args
) SWIG_fail
;
25810 swig_obj
[0] = args
;
25811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25815 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= (arg1
)->GetSize();
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25829 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25830 PyObject
*resultobj
= 0;
25831 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25835 PyObject
*swig_obj
[1] ;
25837 if (!args
) SWIG_fail
;
25838 swig_obj
[0] = args
;
25839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25840 if (!SWIG_IsOK(res1
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25843 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (int)(arg1
)->GetWidth();
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= SWIG_From_int(static_cast< int >(result
));
25857 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25858 PyObject
*resultobj
= 0;
25859 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25863 PyObject
*swig_obj
[1] ;
25865 if (!args
) SWIG_fail
;
25866 swig_obj
[0] = args
;
25867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25868 if (!SWIG_IsOK(res1
)) {
25869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25871 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= (int)(arg1
)->GetHeight();
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_From_int(static_cast< int >(result
));
25885 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25886 PyObject
*resultobj
= 0;
25887 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25888 wxString
*result
= 0 ;
25891 PyObject
*swig_obj
[1] ;
25893 if (!args
) SWIG_fail
;
25894 swig_obj
[0] = args
;
25895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25899 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25904 result
= (wxString
*) &_result_ref
;
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25922 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25925 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25926 return SWIG_Py_Void();
25929 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25930 return SWIG_Python_InitShadowInstance(args
);
25933 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
= 0;
25935 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25936 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25937 int arg2
= (int) 0 ;
25938 int arg3
= (int) 0 ;
25939 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25940 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25941 wxMetaFileDC
*result
= 0 ;
25942 bool temp1
= false ;
25947 bool temp4
= false ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 PyObject
* obj2
= 0 ;
25951 PyObject
* obj3
= 0 ;
25952 char * kwnames
[] = {
25953 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25959 arg1
= wxString_in_helper(obj0
);
25960 if (arg1
== NULL
) SWIG_fail
;
25965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25966 if (!SWIG_IsOK(ecode2
)) {
25967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25969 arg2
= static_cast< int >(val2
);
25972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25973 if (!SWIG_IsOK(ecode3
)) {
25974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25976 arg3
= static_cast< int >(val3
);
25980 arg4
= wxString_in_helper(obj3
);
25981 if (arg4
== NULL
) SWIG_fail
;
25986 if (!wxPyCheckForApp()) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26015 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 PyObject
*resultobj
= 0;
26017 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26018 wxMetaFile
*result
= 0 ;
26021 PyObject
*swig_obj
[1] ;
26023 if (!args
) SWIG_fail
;
26024 swig_obj
[0] = args
;
26025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26029 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (wxMetaFile
*)(arg1
)->Close();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26043 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26046 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26047 return SWIG_Py_Void();
26050 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26051 return SWIG_Python_InitShadowInstance(args
);
26054 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
= 0;
26056 wxPrintData
*arg1
= 0 ;
26057 wxPrinterDC
*result
= 0 ;
26060 PyObject
* obj0
= 0 ;
26061 char * kwnames
[] = {
26062 (char *) "printData", NULL
26065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26066 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26067 if (!SWIG_IsOK(res1
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26073 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26075 if (!wxPyCheckForApp()) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26088 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26091 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26092 return SWIG_Py_Void();
26095 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 return SWIG_Python_InitShadowInstance(args
);
26099 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
= 0;
26101 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26102 wxGraphicsObject
*result
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "renderer", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26116 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26119 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26129 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 PyObject
*resultobj
= 0;
26131 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26134 PyObject
*swig_obj
[1] ;
26136 if (!args
) SWIG_fail
;
26137 swig_obj
[0] = args
;
26138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26139 if (!SWIG_IsOK(res1
)) {
26140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26142 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= SWIG_Py_Void();
26155 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 PyObject
*resultobj
= 0;
26157 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26161 PyObject
*swig_obj
[1] ;
26163 if (!args
) SWIG_fail
;
26164 swig_obj
[0] = args
;
26165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26169 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26171 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26183 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26184 PyObject
*resultobj
= 0;
26185 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26186 wxGraphicsRenderer
*result
= 0 ;
26189 PyObject
*swig_obj
[1] ;
26191 if (!args
) SWIG_fail
;
26192 swig_obj
[0] = args
;
26193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26194 if (!SWIG_IsOK(res1
)) {
26195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26197 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26199 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26209 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26212 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26213 return SWIG_Py_Void();
26216 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26217 return SWIG_Python_InitShadowInstance(args
);
26220 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 PyObject
*resultobj
= 0;
26222 wxGraphicsPen
*result
= 0 ;
26224 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26226 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26236 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26237 PyObject
*resultobj
= 0;
26238 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26241 PyObject
*swig_obj
[1] ;
26243 if (!args
) SWIG_fail
;
26244 swig_obj
[0] = args
;
26245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26249 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_Py_Void();
26262 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26265 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26266 return SWIG_Py_Void();
26269 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26270 return SWIG_Python_InitShadowInstance(args
);
26273 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26274 PyObject
*resultobj
= 0;
26275 wxGraphicsBrush
*result
= 0 ;
26277 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26279 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26289 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26290 PyObject
*resultobj
= 0;
26291 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26294 PyObject
*swig_obj
[1] ;
26296 if (!args
) SWIG_fail
;
26297 swig_obj
[0] = args
;
26298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26302 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_Py_Void();
26315 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26318 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26319 return SWIG_Py_Void();
26322 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26323 return SWIG_Python_InitShadowInstance(args
);
26326 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 PyObject
*resultobj
= 0;
26328 wxGraphicsFont
*result
= 0 ;
26330 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26332 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26342 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26343 PyObject
*resultobj
= 0;
26344 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26347 PyObject
*swig_obj
[1] ;
26349 if (!args
) SWIG_fail
;
26350 swig_obj
[0] = args
;
26351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26355 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= SWIG_Py_Void();
26368 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26372 return SWIG_Py_Void();
26375 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26376 return SWIG_Python_InitShadowInstance(args
);
26379 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26380 PyObject
*resultobj
= 0;
26381 wxGraphicsMatrix
*result
= 0 ;
26383 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26385 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26395 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26396 PyObject
*resultobj
= 0;
26397 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26400 PyObject
*swig_obj
[1] ;
26402 if (!args
) SWIG_fail
;
26403 swig_obj
[0] = args
;
26404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26408 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_Py_Void();
26421 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
= 0;
26423 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26424 wxGraphicsMatrix
*arg2
= 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 char * kwnames
[] = {
26432 (char *) "self",(char *) "t", NULL
26435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26437 if (!SWIG_IsOK(res1
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26440 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26442 if (!SWIG_IsOK(res2
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26448 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26450 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_Py_Void();
26460 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
= 0;
26462 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26463 wxDouble arg2
= (wxDouble
) 1.0 ;
26464 wxDouble arg3
= (wxDouble
) 0.0 ;
26465 wxDouble arg4
= (wxDouble
) 0.0 ;
26466 wxDouble arg5
= (wxDouble
) 1.0 ;
26467 wxDouble arg6
= (wxDouble
) 0.0 ;
26468 wxDouble arg7
= (wxDouble
) 0.0 ;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 PyObject
* obj2
= 0 ;
26486 PyObject
* obj3
= 0 ;
26487 PyObject
* obj4
= 0 ;
26488 PyObject
* obj5
= 0 ;
26489 PyObject
* obj6
= 0 ;
26490 char * kwnames
[] = {
26491 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26499 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26501 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26502 if (!SWIG_IsOK(ecode2
)) {
26503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26505 arg2
= static_cast< wxDouble
>(val2
);
26508 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26509 if (!SWIG_IsOK(ecode3
)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26512 arg3
= static_cast< wxDouble
>(val3
);
26515 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26516 if (!SWIG_IsOK(ecode4
)) {
26517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26519 arg4
= static_cast< wxDouble
>(val4
);
26522 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26523 if (!SWIG_IsOK(ecode5
)) {
26524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26526 arg5
= static_cast< wxDouble
>(val5
);
26529 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26530 if (!SWIG_IsOK(ecode6
)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26533 arg6
= static_cast< wxDouble
>(val6
);
26536 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26537 if (!SWIG_IsOK(ecode7
)) {
26538 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26540 arg7
= static_cast< wxDouble
>(val7
);
26543 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= SWIG_Py_Void();
26553 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26554 PyObject
*resultobj
= 0;
26555 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26558 PyObject
*swig_obj
[1] ;
26560 if (!args
) SWIG_fail
;
26561 swig_obj
[0] = args
;
26562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26563 if (!SWIG_IsOK(res1
)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26566 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_Py_Void();
26578 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
= 0;
26580 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26581 wxGraphicsMatrix
*arg2
= 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 char * kwnames
[] = {
26590 (char *) "self",(char *) "t", NULL
26593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26595 if (!SWIG_IsOK(res1
)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26598 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26600 if (!SWIG_IsOK(res2
)) {
26601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26606 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26608 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26620 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26621 PyObject
*resultobj
= 0;
26622 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26626 PyObject
*swig_obj
[1] ;
26628 if (!args
) SWIG_fail
;
26629 swig_obj
[0] = args
;
26630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26634 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26636 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26637 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26648 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
= 0;
26650 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 char * kwnames
[] = {
26663 (char *) "self",(char *) "dx",(char *) "dy", NULL
26666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26668 if (!SWIG_IsOK(res1
)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26671 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26672 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26673 if (!SWIG_IsOK(ecode2
)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26676 arg2
= static_cast< wxDouble
>(val2
);
26677 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26678 if (!SWIG_IsOK(ecode3
)) {
26679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26681 arg3
= static_cast< wxDouble
>(val3
);
26683 (arg1
)->Translate(arg2
,arg3
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 resultobj
= SWIG_Py_Void();
26693 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26695 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 PyObject
* obj2
= 0 ;
26707 char * kwnames
[] = {
26708 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26716 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26717 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26718 if (!SWIG_IsOK(ecode2
)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26721 arg2
= static_cast< wxDouble
>(val2
);
26722 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26723 if (!SWIG_IsOK(ecode3
)) {
26724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26726 arg3
= static_cast< wxDouble
>(val3
);
26728 (arg1
)->Scale(arg2
,arg3
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= SWIG_Py_Void();
26738 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
= 0;
26740 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 char * kwnames
[] = {
26749 (char *) "self",(char *) "angle", NULL
26752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26754 if (!SWIG_IsOK(res1
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26757 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26758 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26759 if (!SWIG_IsOK(ecode2
)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26762 arg2
= static_cast< wxDouble
>(val2
);
26764 (arg1
)->Rotate(arg2
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= SWIG_Py_Void();
26774 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
= 0;
26776 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26777 wxDouble
*arg2
= (wxDouble
*) 0 ;
26778 wxDouble
*arg3
= (wxDouble
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 PyObject
* obj1
= 0 ;
26787 PyObject
* obj2
= 0 ;
26788 char * kwnames
[] = {
26789 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26794 if (!SWIG_IsOK(res1
)) {
26795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26797 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26798 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26800 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26801 if (!SWIG_IsOK(ecode
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26804 temp2
= static_cast< wxDouble
>(val
);
26806 res2
= SWIG_AddTmpMask(ecode
);
26808 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26810 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26811 if (!SWIG_IsOK(ecode
)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26814 temp3
= static_cast< wxDouble
>(val
);
26816 res3
= SWIG_AddTmpMask(ecode
);
26819 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_Py_Void();
26823 if (SWIG_IsTmpObj(res2
)) {
26824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26826 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26829 if (SWIG_IsTmpObj(res3
)) {
26830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26832 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26841 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26844 wxDouble
*arg2
= (wxDouble
*) 0 ;
26845 wxDouble
*arg3
= (wxDouble
*) 0 ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 PyObject
* obj2
= 0 ;
26855 char * kwnames
[] = {
26856 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26861 if (!SWIG_IsOK(res1
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26864 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26865 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26867 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26868 if (!SWIG_IsOK(ecode
)) {
26869 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26871 temp2
= static_cast< wxDouble
>(val
);
26873 res2
= SWIG_AddTmpMask(ecode
);
26875 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26877 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26878 if (!SWIG_IsOK(ecode
)) {
26879 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26881 temp3
= static_cast< wxDouble
>(val
);
26883 res3
= SWIG_AddTmpMask(ecode
);
26886 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_Py_Void();
26890 if (SWIG_IsTmpObj(res2
)) {
26891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26893 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26896 if (SWIG_IsTmpObj(res3
)) {
26897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26899 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26908 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26909 PyObject
*resultobj
= 0;
26910 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26914 PyObject
*swig_obj
[1] ;
26916 if (!args
) SWIG_fail
;
26917 swig_obj
[0] = args
;
26918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26919 if (!SWIG_IsOK(res1
)) {
26920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26922 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26924 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26934 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26937 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26938 return SWIG_Py_Void();
26941 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26942 return SWIG_Python_InitShadowInstance(args
);
26945 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26946 PyObject
*resultobj
= 0;
26947 wxGraphicsPath
*result
= 0 ;
26949 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26951 if (!wxPyCheckForApp()) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26964 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 PyObject
*resultobj
= 0;
26966 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26969 PyObject
*swig_obj
[1] ;
26971 if (!args
) SWIG_fail
;
26972 swig_obj
[0] = args
;
26973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26974 if (!SWIG_IsOK(res1
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26977 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= SWIG_Py_Void();
26990 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26991 PyObject
*resultobj
= 0;
26992 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27002 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27007 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27008 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27009 if (!SWIG_IsOK(ecode2
)) {
27010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27012 arg2
= static_cast< wxDouble
>(val2
);
27013 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27014 if (!SWIG_IsOK(ecode3
)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27017 arg3
= static_cast< wxDouble
>(val3
);
27019 (arg1
)->MoveToPoint(arg2
,arg3
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= SWIG_Py_Void();
27029 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27030 PyObject
*resultobj
= 0;
27031 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27032 wxPoint2D
*arg2
= 0 ;
27037 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27042 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27045 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27048 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_Py_Void();
27058 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27062 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27065 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27068 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27072 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27077 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27078 PyObject
*resultobj
= 0;
27079 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27089 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27091 if (!SWIG_IsOK(res1
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27094 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27095 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27096 if (!SWIG_IsOK(ecode2
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27099 arg2
= static_cast< wxDouble
>(val2
);
27100 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27101 if (!SWIG_IsOK(ecode3
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27104 arg3
= static_cast< wxDouble
>(val3
);
27106 (arg1
)->AddLineToPoint(arg2
,arg3
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_Py_Void();
27116 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27117 PyObject
*resultobj
= 0;
27118 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27119 wxPoint2D
*arg2
= 0 ;
27124 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27129 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27132 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27135 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_Py_Void();
27145 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27149 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27152 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27155 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27159 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27164 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27165 PyObject
*resultobj
= 0;
27166 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27188 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27193 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27194 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27195 if (!SWIG_IsOK(ecode2
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27198 arg2
= static_cast< wxDouble
>(val2
);
27199 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27200 if (!SWIG_IsOK(ecode3
)) {
27201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27203 arg3
= static_cast< wxDouble
>(val3
);
27204 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27205 if (!SWIG_IsOK(ecode4
)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27208 arg4
= static_cast< wxDouble
>(val4
);
27209 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27210 if (!SWIG_IsOK(ecode5
)) {
27211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27213 arg5
= static_cast< wxDouble
>(val5
);
27214 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27215 if (!SWIG_IsOK(ecode6
)) {
27216 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27218 arg6
= static_cast< wxDouble
>(val6
);
27219 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27220 if (!SWIG_IsOK(ecode7
)) {
27221 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27223 arg7
= static_cast< wxDouble
>(val7
);
27225 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= SWIG_Py_Void();
27235 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27236 PyObject
*resultobj
= 0;
27237 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27238 wxPoint2D
*arg2
= 0 ;
27239 wxPoint2D
*arg3
= 0 ;
27240 wxPoint2D
*arg4
= 0 ;
27247 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27249 if (!SWIG_IsOK(res1
)) {
27250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27252 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27255 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27259 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27263 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27266 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= SWIG_Py_Void();
27276 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27280 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27283 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27286 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27290 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27295 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
= 0;
27297 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27298 wxGraphicsPath
*arg2
= 0 ;
27303 PyObject
* obj0
= 0 ;
27304 PyObject
* obj1
= 0 ;
27305 char * kwnames
[] = {
27306 (char *) "self",(char *) "path", NULL
27309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27314 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27316 if (!SWIG_IsOK(res2
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27322 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27324 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_Py_Void();
27334 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27336 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27339 PyObject
*swig_obj
[1] ;
27341 if (!args
) SWIG_fail
;
27342 swig_obj
[0] = args
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27347 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27349 (arg1
)->CloseSubpath();
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_Py_Void();
27359 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27360 PyObject
*resultobj
= 0;
27361 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27365 PyObject
*swig_obj
[1] ;
27367 if (!args
) SWIG_fail
;
27368 swig_obj
[0] = args
;
27369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27370 if (!SWIG_IsOK(res1
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27373 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27375 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27385 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27386 PyObject
*resultobj
= 0;
27387 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27409 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27414 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27415 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27416 if (!SWIG_IsOK(ecode2
)) {
27417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27419 arg2
= static_cast< wxDouble
>(val2
);
27420 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27421 if (!SWIG_IsOK(ecode3
)) {
27422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27424 arg3
= static_cast< wxDouble
>(val3
);
27425 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27426 if (!SWIG_IsOK(ecode4
)) {
27427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27429 arg4
= static_cast< wxDouble
>(val4
);
27430 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27431 if (!SWIG_IsOK(ecode5
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27434 arg5
= static_cast< wxDouble
>(val5
);
27435 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27436 if (!SWIG_IsOK(ecode6
)) {
27437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27439 arg6
= static_cast< wxDouble
>(val6
);
27440 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27441 if (!SWIG_IsOK(ecode7
)) {
27442 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27444 arg7
= static_cast< bool >(val7
);
27446 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_Py_Void();
27456 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27457 PyObject
*resultobj
= 0;
27458 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27459 wxPoint2D
*arg2
= 0 ;
27476 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27481 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27484 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27486 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27487 if (!SWIG_IsOK(ecode3
)) {
27488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27490 arg3
= static_cast< wxDouble
>(val3
);
27491 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27492 if (!SWIG_IsOK(ecode4
)) {
27493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27495 arg4
= static_cast< wxDouble
>(val4
);
27496 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27497 if (!SWIG_IsOK(ecode5
)) {
27498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27500 arg5
= static_cast< wxDouble
>(val5
);
27501 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27502 if (!SWIG_IsOK(ecode6
)) {
27503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27505 arg6
= static_cast< bool >(val6
);
27507 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= SWIG_Py_Void();
27517 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27521 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27524 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27527 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27536 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
= 0;
27538 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 PyObject
* obj2
= 0 ;
27556 PyObject
* obj3
= 0 ;
27557 PyObject
* obj4
= 0 ;
27558 char * kwnames
[] = {
27559 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27564 if (!SWIG_IsOK(res1
)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27567 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27568 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27569 if (!SWIG_IsOK(ecode2
)) {
27570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27572 arg2
= static_cast< wxDouble
>(val2
);
27573 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27574 if (!SWIG_IsOK(ecode3
)) {
27575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27577 arg3
= static_cast< wxDouble
>(val3
);
27578 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27579 if (!SWIG_IsOK(ecode4
)) {
27580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27582 arg4
= static_cast< wxDouble
>(val4
);
27583 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27584 if (!SWIG_IsOK(ecode5
)) {
27585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27587 arg5
= static_cast< wxDouble
>(val5
);
27589 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_Py_Void();
27599 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
= 0;
27601 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27616 PyObject
* obj0
= 0 ;
27617 PyObject
* obj1
= 0 ;
27618 PyObject
* obj2
= 0 ;
27619 PyObject
* obj3
= 0 ;
27620 PyObject
* obj4
= 0 ;
27621 char * kwnames
[] = {
27622 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27630 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27631 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27632 if (!SWIG_IsOK(ecode2
)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27635 arg2
= static_cast< wxDouble
>(val2
);
27636 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27637 if (!SWIG_IsOK(ecode3
)) {
27638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27640 arg3
= static_cast< wxDouble
>(val3
);
27641 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27642 if (!SWIG_IsOK(ecode4
)) {
27643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27645 arg4
= static_cast< wxDouble
>(val4
);
27646 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27647 if (!SWIG_IsOK(ecode5
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27650 arg5
= static_cast< wxDouble
>(val5
);
27652 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 resultobj
= SWIG_Py_Void();
27662 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
= 0;
27664 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27676 PyObject
* obj0
= 0 ;
27677 PyObject
* obj1
= 0 ;
27678 PyObject
* obj2
= 0 ;
27679 PyObject
* obj3
= 0 ;
27680 char * kwnames
[] = {
27681 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27689 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27690 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27691 if (!SWIG_IsOK(ecode2
)) {
27692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27694 arg2
= static_cast< wxDouble
>(val2
);
27695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27696 if (!SWIG_IsOK(ecode3
)) {
27697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27699 arg3
= static_cast< wxDouble
>(val3
);
27700 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27701 if (!SWIG_IsOK(ecode4
)) {
27702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27704 arg4
= static_cast< wxDouble
>(val4
);
27706 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= SWIG_Py_Void();
27716 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
= 0;
27718 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 PyObject
* obj2
= 0 ;
27739 PyObject
* obj3
= 0 ;
27740 PyObject
* obj4
= 0 ;
27741 PyObject
* obj5
= 0 ;
27742 char * kwnames
[] = {
27743 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27751 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27752 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27753 if (!SWIG_IsOK(ecode2
)) {
27754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27756 arg2
= static_cast< wxDouble
>(val2
);
27757 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27758 if (!SWIG_IsOK(ecode3
)) {
27759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27761 arg3
= static_cast< wxDouble
>(val3
);
27762 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27763 if (!SWIG_IsOK(ecode4
)) {
27764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27766 arg4
= static_cast< wxDouble
>(val4
);
27767 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27768 if (!SWIG_IsOK(ecode5
)) {
27769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27771 arg5
= static_cast< wxDouble
>(val5
);
27772 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27773 if (!SWIG_IsOK(ecode6
)) {
27774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27776 arg6
= static_cast< wxDouble
>(val6
);
27778 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 resultobj
= SWIG_Py_Void();
27788 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
= 0;
27790 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 PyObject
* obj1
= 0 ;
27807 PyObject
* obj2
= 0 ;
27808 PyObject
* obj3
= 0 ;
27809 PyObject
* obj4
= 0 ;
27810 char * kwnames
[] = {
27811 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27819 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27820 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27821 if (!SWIG_IsOK(ecode2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27824 arg2
= static_cast< wxDouble
>(val2
);
27825 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27826 if (!SWIG_IsOK(ecode3
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27829 arg3
= static_cast< wxDouble
>(val3
);
27830 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27831 if (!SWIG_IsOK(ecode4
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27834 arg4
= static_cast< wxDouble
>(val4
);
27835 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27836 if (!SWIG_IsOK(ecode5
)) {
27837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27839 arg5
= static_cast< wxDouble
>(val5
);
27841 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= SWIG_Py_Void();
27851 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
= 0;
27853 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 PyObject
* obj2
= 0 ;
27874 PyObject
* obj3
= 0 ;
27875 PyObject
* obj4
= 0 ;
27876 PyObject
* obj5
= 0 ;
27877 char * kwnames
[] = {
27878 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27883 if (!SWIG_IsOK(res1
)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27886 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27887 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27888 if (!SWIG_IsOK(ecode2
)) {
27889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27891 arg2
= static_cast< wxDouble
>(val2
);
27892 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27893 if (!SWIG_IsOK(ecode3
)) {
27894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27896 arg3
= static_cast< wxDouble
>(val3
);
27897 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27898 if (!SWIG_IsOK(ecode4
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27901 arg4
= static_cast< wxDouble
>(val4
);
27902 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27903 if (!SWIG_IsOK(ecode5
)) {
27904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27906 arg5
= static_cast< wxDouble
>(val5
);
27907 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27908 if (!SWIG_IsOK(ecode6
)) {
27909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27911 arg6
= static_cast< wxDouble
>(val6
);
27913 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_Py_Void();
27923 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27924 PyObject
*resultobj
= 0;
27925 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27929 PyObject
*swig_obj
[1] ;
27931 if (!args
) SWIG_fail
;
27932 swig_obj
[0] = args
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27937 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27939 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27949 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27952 void *arg2
= (void *) 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 char * kwnames
[] = {
27959 (char *) "self",(char *) "p", NULL
27962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27967 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27968 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27969 if (!SWIG_IsOK(res2
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27973 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= SWIG_Py_Void();
27983 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
= 0;
27985 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27986 wxGraphicsMatrix
*arg2
= 0 ;
27991 PyObject
* obj0
= 0 ;
27992 PyObject
* obj1
= 0 ;
27993 char * kwnames
[] = {
27994 (char *) "self",(char *) "matrix", NULL
27997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27999 if (!SWIG_IsOK(res1
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28002 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28004 if (!SWIG_IsOK(res2
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28010 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28012 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= SWIG_Py_Void();
28022 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28023 PyObject
*resultobj
= 0;
28024 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28025 wxRect2DDouble result
;
28028 PyObject
*swig_obj
[1] ;
28030 if (!args
) SWIG_fail
;
28031 swig_obj
[0] = args
;
28032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28033 if (!SWIG_IsOK(res1
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28036 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28038 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
28048 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28049 PyObject
*resultobj
= 0;
28050 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28053 int arg4
= (int) wxODDEVEN_RULE
;
28064 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28069 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28070 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28071 if (!SWIG_IsOK(ecode2
)) {
28072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28074 arg2
= static_cast< wxDouble
>(val2
);
28075 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28076 if (!SWIG_IsOK(ecode3
)) {
28077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28079 arg3
= static_cast< wxDouble
>(val3
);
28081 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28082 if (!SWIG_IsOK(ecode4
)) {
28083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28085 arg4
= static_cast< int >(val4
);
28088 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28100 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28101 PyObject
*resultobj
= 0;
28102 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28103 wxPoint2DDouble
*arg2
= 0 ;
28104 int arg3
= (int) wxODDEVEN_RULE
;
28113 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28115 if (!SWIG_IsOK(res1
)) {
28116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28118 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28119 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
28120 if (!SWIG_IsOK(res2
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
28126 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
28128 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28129 if (!SWIG_IsOK(ecode3
)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28132 arg3
= static_cast< int >(val3
);
28135 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28147 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28151 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28153 if ((argc
>= 2) && (argc
<= 3)) {
28156 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
28157 _v
= SWIG_CheckState(res
);
28159 if (!_v
) goto check_1
;
28163 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28164 _v
= SWIG_CheckState(res
);
28167 if (!_v
) goto check_1
;
28169 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28173 if ((argc
>= 3) && (argc
<= 4)) {
28174 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28178 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28183 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28186 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28187 return SWIG_Py_Void();
28190 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28191 return SWIG_Python_InitShadowInstance(args
);
28194 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28195 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28200 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28201 PyObject
*pyobj
= 0;
28203 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28208 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28209 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28214 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28215 PyObject
*pyobj
= 0;
28217 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28222 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28223 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28228 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28229 PyObject
*pyobj
= 0;
28231 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28236 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28237 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28242 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28243 PyObject
*pyobj
= 0;
28245 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28250 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28251 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28256 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28257 PyObject
*pyobj
= 0;
28259 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28264 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 PyObject
*resultobj
= 0;
28266 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28269 PyObject
*swig_obj
[1] ;
28271 if (!args
) SWIG_fail
;
28272 swig_obj
[0] = args
;
28273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_Py_Void();
28290 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28291 PyObject
*resultobj
= 0;
28292 wxWindowDC
*arg1
= 0 ;
28293 wxGraphicsContext
*result
= 0 ;
28297 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28305 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28307 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28317 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28318 PyObject
*resultobj
= 0;
28319 wxWindow
*arg1
= (wxWindow
*) 0 ;
28320 wxGraphicsContext
*result
= 0 ;
28324 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28326 if (!SWIG_IsOK(res1
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28329 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28331 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28341 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28345 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28350 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28351 _v
= SWIG_CheckState(res
);
28353 if (!_v
) goto check_1
;
28354 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28359 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28363 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28368 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
= 0;
28370 void *arg1
= (void *) 0 ;
28371 wxGraphicsContext
*result
= 0 ;
28373 PyObject
* obj0
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "context", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28379 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28384 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28394 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
= 0;
28396 void *arg1
= (void *) 0 ;
28397 wxGraphicsContext
*result
= 0 ;
28399 PyObject
* obj0
= 0 ;
28400 char * kwnames
[] = {
28401 (char *) "window", NULL
28404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28405 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28406 if (!SWIG_IsOK(res1
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28410 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28420 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28421 PyObject
*resultobj
= 0;
28422 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28423 wxGraphicsPath result
;
28426 PyObject
*swig_obj
[1] ;
28428 if (!args
) SWIG_fail
;
28429 swig_obj
[0] = args
;
28430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28431 if (!SWIG_IsOK(res1
)) {
28432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28434 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28436 result
= (arg1
)->CreatePath();
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28446 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= 0;
28448 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28450 wxGraphicsPen result
;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 char * kwnames
[] = {
28458 (char *) "self",(char *) "pen", NULL
28461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28463 if (!SWIG_IsOK(res1
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28466 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28468 if (!SWIG_IsOK(res2
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28474 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28476 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28486 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= 0;
28488 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28489 wxBrush
*arg2
= 0 ;
28490 wxGraphicsBrush result
;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 char * kwnames
[] = {
28498 (char *) "self",(char *) "brush", NULL
28501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28506 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28508 if (!SWIG_IsOK(res2
)) {
28509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28514 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28516 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28526 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
= 0;
28528 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28533 wxColour
*arg6
= 0 ;
28534 wxColour
*arg7
= 0 ;
28535 wxGraphicsBrush result
;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 PyObject
* obj2
= 0 ;
28551 PyObject
* obj3
= 0 ;
28552 PyObject
* obj4
= 0 ;
28553 PyObject
* obj5
= 0 ;
28554 PyObject
* obj6
= 0 ;
28555 char * kwnames
[] = {
28556 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28561 if (!SWIG_IsOK(res1
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28564 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28565 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28566 if (!SWIG_IsOK(ecode2
)) {
28567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28569 arg2
= static_cast< wxDouble
>(val2
);
28570 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28571 if (!SWIG_IsOK(ecode3
)) {
28572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28574 arg3
= static_cast< wxDouble
>(val3
);
28575 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28576 if (!SWIG_IsOK(ecode4
)) {
28577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28579 arg4
= static_cast< wxDouble
>(val4
);
28580 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28581 if (!SWIG_IsOK(ecode5
)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28584 arg5
= static_cast< wxDouble
>(val5
);
28587 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28591 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28594 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28604 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
= 0;
28606 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28612 wxColour
*arg7
= 0 ;
28613 wxColour
*arg8
= 0 ;
28614 wxGraphicsBrush result
;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 PyObject
* obj2
= 0 ;
28632 PyObject
* obj3
= 0 ;
28633 PyObject
* obj4
= 0 ;
28634 PyObject
* obj5
= 0 ;
28635 PyObject
* obj6
= 0 ;
28636 PyObject
* obj7
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28646 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28647 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28648 if (!SWIG_IsOK(ecode2
)) {
28649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28651 arg2
= static_cast< wxDouble
>(val2
);
28652 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28653 if (!SWIG_IsOK(ecode3
)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28656 arg3
= static_cast< wxDouble
>(val3
);
28657 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28658 if (!SWIG_IsOK(ecode4
)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28661 arg4
= static_cast< wxDouble
>(val4
);
28662 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28663 if (!SWIG_IsOK(ecode5
)) {
28664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28666 arg5
= static_cast< wxDouble
>(val5
);
28667 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28668 if (!SWIG_IsOK(ecode6
)) {
28669 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28671 arg6
= static_cast< wxDouble
>(val6
);
28674 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28678 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28681 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28691 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= 0;
28693 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28695 wxColour
const &arg3_defvalue
= *wxBLACK
;
28696 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28697 wxGraphicsFont result
;
28703 PyObject
* obj0
= 0 ;
28704 PyObject
* obj1
= 0 ;
28705 PyObject
* obj2
= 0 ;
28706 char * kwnames
[] = {
28707 (char *) "self",(char *) "font",(char *) "col", NULL
28710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28712 if (!SWIG_IsOK(res1
)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28715 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28717 if (!SWIG_IsOK(res2
)) {
28718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28723 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28727 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28731 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28741 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
= 0;
28743 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28744 wxDouble arg2
= (wxDouble
) 1.0 ;
28745 wxDouble arg3
= (wxDouble
) 0.0 ;
28746 wxDouble arg4
= (wxDouble
) 0.0 ;
28747 wxDouble arg5
= (wxDouble
) 1.0 ;
28748 wxDouble arg6
= (wxDouble
) 0.0 ;
28749 wxDouble arg7
= (wxDouble
) 0.0 ;
28750 wxGraphicsMatrix result
;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 PyObject
* obj2
= 0 ;
28768 PyObject
* obj3
= 0 ;
28769 PyObject
* obj4
= 0 ;
28770 PyObject
* obj5
= 0 ;
28771 PyObject
* obj6
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28783 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28784 if (!SWIG_IsOK(ecode2
)) {
28785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28787 arg2
= static_cast< wxDouble
>(val2
);
28790 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28791 if (!SWIG_IsOK(ecode3
)) {
28792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28794 arg3
= static_cast< wxDouble
>(val3
);
28797 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28798 if (!SWIG_IsOK(ecode4
)) {
28799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28801 arg4
= static_cast< wxDouble
>(val4
);
28804 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28805 if (!SWIG_IsOK(ecode5
)) {
28806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28808 arg5
= static_cast< wxDouble
>(val5
);
28811 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28812 if (!SWIG_IsOK(ecode6
)) {
28813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28815 arg6
= static_cast< wxDouble
>(val6
);
28818 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28819 if (!SWIG_IsOK(ecode7
)) {
28820 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28822 arg7
= static_cast< wxDouble
>(val7
);
28825 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28835 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28836 PyObject
*resultobj
= 0;
28837 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28840 PyObject
*swig_obj
[1] ;
28842 if (!args
) SWIG_fail
;
28843 swig_obj
[0] = args
;
28844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28845 if (!SWIG_IsOK(res1
)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28848 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28850 (arg1
)->PushState();
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_Py_Void();
28860 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28861 PyObject
*resultobj
= 0;
28862 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28865 PyObject
*swig_obj
[1] ;
28867 if (!args
) SWIG_fail
;
28868 swig_obj
[0] = args
;
28869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28870 if (!SWIG_IsOK(res1
)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28873 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28875 (arg1
)->PopState();
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= SWIG_Py_Void();
28885 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
= 0;
28887 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28888 wxRegion
*arg2
= 0 ;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 char * kwnames
[] = {
28896 (char *) "self",(char *) "region", NULL
28899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28904 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28906 if (!SWIG_IsOK(res2
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28912 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28914 (arg1
)->Clip((wxRegion
const &)*arg2
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_Py_Void();
28924 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 PyObject
* obj2
= 0 ;
28944 PyObject
* obj3
= 0 ;
28945 PyObject
* obj4
= 0 ;
28946 char * kwnames
[] = {
28947 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28952 if (!SWIG_IsOK(res1
)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28955 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28956 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28957 if (!SWIG_IsOK(ecode2
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28960 arg2
= static_cast< wxDouble
>(val2
);
28961 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28962 if (!SWIG_IsOK(ecode3
)) {
28963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28965 arg3
= static_cast< wxDouble
>(val3
);
28966 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28967 if (!SWIG_IsOK(ecode4
)) {
28968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28970 arg4
= static_cast< wxDouble
>(val4
);
28971 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28972 if (!SWIG_IsOK(ecode5
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28975 arg5
= static_cast< wxDouble
>(val5
);
28977 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= SWIG_Py_Void();
28987 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28988 PyObject
*resultobj
= 0;
28989 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28992 PyObject
*swig_obj
[1] ;
28994 if (!args
) SWIG_fail
;
28995 swig_obj
[0] = args
;
28996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28997 if (!SWIG_IsOK(res1
)) {
28998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29000 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29002 (arg1
)->ResetClip();
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_Py_Void();
29012 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29013 PyObject
*resultobj
= 0;
29014 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29018 PyObject
*swig_obj
[1] ;
29020 if (!args
) SWIG_fail
;
29021 swig_obj
[0] = args
;
29022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29023 if (!SWIG_IsOK(res1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29026 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29028 result
= (void *)(arg1
)->GetNativeContext();
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29038 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
= 0;
29040 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 PyObject
* obj2
= 0 ;
29052 char * kwnames
[] = {
29053 (char *) "self",(char *) "dx",(char *) "dy", NULL
29056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29058 if (!SWIG_IsOK(res1
)) {
29059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29061 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29062 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29063 if (!SWIG_IsOK(ecode2
)) {
29064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29066 arg2
= static_cast< wxDouble
>(val2
);
29067 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29068 if (!SWIG_IsOK(ecode3
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29071 arg3
= static_cast< wxDouble
>(val3
);
29073 (arg1
)->Translate(arg2
,arg3
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 resultobj
= SWIG_Py_Void();
29083 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
= 0;
29085 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 PyObject
* obj2
= 0 ;
29097 char * kwnames
[] = {
29098 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29103 if (!SWIG_IsOK(res1
)) {
29104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29106 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29107 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29108 if (!SWIG_IsOK(ecode2
)) {
29109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29111 arg2
= static_cast< wxDouble
>(val2
);
29112 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29113 if (!SWIG_IsOK(ecode3
)) {
29114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29116 arg3
= static_cast< wxDouble
>(val3
);
29118 (arg1
)->Scale(arg2
,arg3
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 resultobj
= SWIG_Py_Void();
29128 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
= 0;
29130 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29136 PyObject
* obj0
= 0 ;
29137 PyObject
* obj1
= 0 ;
29138 char * kwnames
[] = {
29139 (char *) "self",(char *) "angle", NULL
29142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29144 if (!SWIG_IsOK(res1
)) {
29145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29147 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29148 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29149 if (!SWIG_IsOK(ecode2
)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29152 arg2
= static_cast< wxDouble
>(val2
);
29154 (arg1
)->Rotate(arg2
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_Py_Void();
29164 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
= 0;
29166 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29167 wxGraphicsMatrix
*arg2
= 0 ;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 char * kwnames
[] = {
29175 (char *) "self",(char *) "matrix", NULL
29178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29180 if (!SWIG_IsOK(res1
)) {
29181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29183 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29185 if (!SWIG_IsOK(res2
)) {
29186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29191 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29193 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_Py_Void();
29203 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29206 wxGraphicsMatrix
*arg2
= 0 ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 char * kwnames
[] = {
29214 (char *) "self",(char *) "matrix", NULL
29217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29222 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29224 if (!SWIG_IsOK(res2
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29230 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29232 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= SWIG_Py_Void();
29242 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29245 wxGraphicsMatrix result
;
29248 PyObject
*swig_obj
[1] ;
29250 if (!args
) SWIG_fail
;
29251 swig_obj
[0] = args
;
29252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29258 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29268 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29269 PyObject
*resultobj
= 0;
29270 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29271 wxGraphicsPen
*arg2
= 0 ;
29277 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29282 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29283 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29284 if (!SWIG_IsOK(res2
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29290 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29292 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 resultobj
= SWIG_Py_Void();
29302 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29303 PyObject
*resultobj
= 0;
29304 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29311 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29313 if (!SWIG_IsOK(res1
)) {
29314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29316 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29317 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29318 if (!SWIG_IsOK(res2
)) {
29319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29324 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29326 (arg1
)->SetPen((wxPen
const &)*arg2
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_Py_Void();
29336 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29340 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29345 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29346 _v
= SWIG_CheckState(res
);
29348 if (!_v
) goto check_1
;
29349 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29354 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29358 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29363 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29364 PyObject
*resultobj
= 0;
29365 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29366 wxGraphicsBrush
*arg2
= 0 ;
29372 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29377 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29378 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29379 if (!SWIG_IsOK(res2
)) {
29380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29385 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29387 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= SWIG_Py_Void();
29397 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29398 PyObject
*resultobj
= 0;
29399 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29400 wxBrush
*arg2
= 0 ;
29406 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29411 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29412 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29413 if (!SWIG_IsOK(res2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29419 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29421 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_Py_Void();
29431 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29435 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29440 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29441 _v
= SWIG_CheckState(res
);
29443 if (!_v
) goto check_1
;
29444 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29449 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29453 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29458 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29459 PyObject
*resultobj
= 0;
29460 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29461 wxGraphicsFont
*arg2
= 0 ;
29467 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29469 if (!SWIG_IsOK(res1
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29472 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29473 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29474 if (!SWIG_IsOK(res2
)) {
29475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29480 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29482 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= SWIG_Py_Void();
29492 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29493 PyObject
*resultobj
= 0;
29494 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29496 wxColour
const &arg3_defvalue
= *wxBLACK
;
29497 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29504 if ((nobjs
< 2) || (nobjs
> 3)) 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_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29509 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29510 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29511 if (!SWIG_IsOK(res2
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29517 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29521 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29525 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29528 resultobj
= SWIG_Py_Void();
29535 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29539 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29544 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29545 _v
= SWIG_CheckState(res
);
29547 if (!_v
) goto check_1
;
29548 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29552 if ((argc
>= 2) && (argc
<= 3)) {
29553 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29557 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29562 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
= 0;
29564 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29565 wxGraphicsPath
*arg2
= 0 ;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 char * kwnames
[] = {
29573 (char *) "self",(char *) "path", NULL
29576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29578 if (!SWIG_IsOK(res1
)) {
29579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29581 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29583 if (!SWIG_IsOK(res2
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29589 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29591 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= SWIG_Py_Void();
29601 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
= 0;
29603 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29604 wxGraphicsPath
*arg2
= 0 ;
29605 int arg3
= (int) wxODDEVEN_RULE
;
29612 PyObject
* obj0
= 0 ;
29613 PyObject
* obj1
= 0 ;
29614 PyObject
* obj2
= 0 ;
29615 char * kwnames
[] = {
29616 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29621 if (!SWIG_IsOK(res1
)) {
29622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29624 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29626 if (!SWIG_IsOK(res2
)) {
29627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29632 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29635 if (!SWIG_IsOK(ecode3
)) {
29636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29638 arg3
= static_cast< int >(val3
);
29641 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 resultobj
= SWIG_Py_Void();
29651 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
= 0;
29653 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29654 wxGraphicsPath
*arg2
= 0 ;
29655 int arg3
= (int) wxODDEVEN_RULE
;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29674 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29676 if (!SWIG_IsOK(res2
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29682 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29685 if (!SWIG_IsOK(ecode3
)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29688 arg3
= static_cast< int >(val3
);
29691 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= SWIG_Py_Void();
29701 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
= 0;
29703 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29704 wxString
*arg2
= 0 ;
29709 bool temp2
= false ;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 PyObject
* obj2
= 0 ;
29717 PyObject
* obj3
= 0 ;
29718 char * kwnames
[] = {
29719 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29724 if (!SWIG_IsOK(res1
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29727 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29729 arg2
= wxString_in_helper(obj1
);
29730 if (arg2
== NULL
) SWIG_fail
;
29733 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29734 if (!SWIG_IsOK(ecode3
)) {
29735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29737 arg3
= static_cast< wxDouble
>(val3
);
29738 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29739 if (!SWIG_IsOK(ecode4
)) {
29740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29742 arg4
= static_cast< wxDouble
>(val4
);
29744 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= SWIG_Py_Void();
29762 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
= 0;
29764 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29765 wxString
*arg2
= 0 ;
29771 bool temp2
= false ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 PyObject
* obj2
= 0 ;
29781 PyObject
* obj3
= 0 ;
29782 PyObject
* obj4
= 0 ;
29783 char * kwnames
[] = {
29784 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29789 if (!SWIG_IsOK(res1
)) {
29790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29792 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29794 arg2
= wxString_in_helper(obj1
);
29795 if (arg2
== NULL
) SWIG_fail
;
29798 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29799 if (!SWIG_IsOK(ecode3
)) {
29800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29802 arg3
= static_cast< wxDouble
>(val3
);
29803 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29804 if (!SWIG_IsOK(ecode4
)) {
29805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29807 arg4
= static_cast< wxDouble
>(val4
);
29808 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29809 if (!SWIG_IsOK(ecode5
)) {
29810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29812 arg5
= static_cast< wxDouble
>(val5
);
29814 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= SWIG_Py_Void();
29832 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
= 0;
29834 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29835 wxString
*arg2
= 0 ;
29836 wxDouble
*arg3
= (wxDouble
*) 0 ;
29837 wxDouble
*arg4
= (wxDouble
*) 0 ;
29838 wxDouble
*arg5
= (wxDouble
*) 0 ;
29839 wxDouble
*arg6
= (wxDouble
*) 0 ;
29842 bool temp2
= false ;
29844 int res3
= SWIG_TMPOBJ
;
29846 int res4
= SWIG_TMPOBJ
;
29848 int res5
= SWIG_TMPOBJ
;
29850 int res6
= SWIG_TMPOBJ
;
29851 PyObject
* obj0
= 0 ;
29852 PyObject
* obj1
= 0 ;
29853 char * kwnames
[] = {
29854 (char *) "self",(char *) "text", NULL
29861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29866 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29868 arg2
= wxString_in_helper(obj1
);
29869 if (arg2
== NULL
) SWIG_fail
;
29873 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= SWIG_Py_Void();
29877 if (SWIG_IsTmpObj(res3
)) {
29878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29880 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29883 if (SWIG_IsTmpObj(res4
)) {
29884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29886 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29889 if (SWIG_IsTmpObj(res5
)) {
29890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29892 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29895 if (SWIG_IsTmpObj(res6
)) {
29896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29898 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29915 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
= 0;
29917 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29918 wxString
*arg2
= 0 ;
29919 PyObject
*result
= 0 ;
29922 bool temp2
= false ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 char * kwnames
[] = {
29926 (char *) "self",(char *) "text", NULL
29929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29934 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29936 arg2
= wxString_in_helper(obj1
);
29937 if (arg2
== NULL
) SWIG_fail
;
29941 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= result
;
29959 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29962 wxString
*arg2
= 0 ;
29963 wxArrayDouble result
;
29966 bool temp2
= false ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "self",(char *) "text", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29978 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29980 arg2
= wxString_in_helper(obj1
);
29981 if (arg2
== NULL
) SWIG_fail
;
29985 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= wxArrayDouble2PyList_helper(result
);
30005 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
= 0;
30007 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30008 wxBitmap
*arg2
= 0 ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 PyObject
* obj2
= 0 ;
30028 PyObject
* obj3
= 0 ;
30029 PyObject
* obj4
= 0 ;
30030 PyObject
* obj5
= 0 ;
30031 char * kwnames
[] = {
30032 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30037 if (!SWIG_IsOK(res1
)) {
30038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30040 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30042 if (!SWIG_IsOK(res2
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30048 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30049 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30050 if (!SWIG_IsOK(ecode3
)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30053 arg3
= static_cast< wxDouble
>(val3
);
30054 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30055 if (!SWIG_IsOK(ecode4
)) {
30056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30058 arg4
= static_cast< wxDouble
>(val4
);
30059 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30060 if (!SWIG_IsOK(ecode5
)) {
30061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30063 arg5
= static_cast< wxDouble
>(val5
);
30064 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30065 if (!SWIG_IsOK(ecode6
)) {
30066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30068 arg6
= static_cast< wxDouble
>(val6
);
30070 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_Py_Void();
30080 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30100 PyObject
* obj0
= 0 ;
30101 PyObject
* obj1
= 0 ;
30102 PyObject
* obj2
= 0 ;
30103 PyObject
* obj3
= 0 ;
30104 PyObject
* obj4
= 0 ;
30105 PyObject
* obj5
= 0 ;
30106 char * kwnames
[] = {
30107 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30112 if (!SWIG_IsOK(res1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30115 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30117 if (!SWIG_IsOK(res2
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30123 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30124 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30125 if (!SWIG_IsOK(ecode3
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30128 arg3
= static_cast< wxDouble
>(val3
);
30129 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30130 if (!SWIG_IsOK(ecode4
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30133 arg4
= static_cast< wxDouble
>(val4
);
30134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30135 if (!SWIG_IsOK(ecode5
)) {
30136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30138 arg5
= static_cast< wxDouble
>(val5
);
30139 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30140 if (!SWIG_IsOK(ecode6
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30143 arg6
= static_cast< wxDouble
>(val6
);
30145 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_Py_Void();
30155 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
= 0;
30157 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 PyObject
* obj3
= 0 ;
30176 PyObject
* obj4
= 0 ;
30177 char * kwnames
[] = {
30178 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30186 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30187 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30188 if (!SWIG_IsOK(ecode2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30191 arg2
= static_cast< wxDouble
>(val2
);
30192 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30193 if (!SWIG_IsOK(ecode3
)) {
30194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30196 arg3
= static_cast< wxDouble
>(val3
);
30197 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30198 if (!SWIG_IsOK(ecode4
)) {
30199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30201 arg4
= static_cast< wxDouble
>(val4
);
30202 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30203 if (!SWIG_IsOK(ecode5
)) {
30204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30206 arg5
= static_cast< wxDouble
>(val5
);
30208 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= SWIG_Py_Void();
30218 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
= 0;
30220 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30222 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 char * kwnames
[] = {
30228 (char *) "self",(char *) "points", NULL
30231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30236 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30238 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30239 if (arg3
== NULL
) SWIG_fail
;
30242 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_Py_Void();
30247 if (arg3
) delete [] arg3
;
30252 if (arg3
) delete [] arg3
;
30258 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
= 0;
30260 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30261 PyObject
*arg2
= (PyObject
*) 0 ;
30262 PyObject
*arg3
= (PyObject
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 PyObject
* obj2
= 0 ;
30268 char * kwnames
[] = {
30269 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30274 if (!SWIG_IsOK(res1
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30281 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_Py_Void();
30291 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
= 0;
30293 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30295 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30296 int arg4
= (int) wxODDEVEN_RULE
;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 PyObject
* obj2
= 0 ;
30304 char * kwnames
[] = {
30305 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30310 if (!SWIG_IsOK(res1
)) {
30311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30313 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30315 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30316 if (arg3
== NULL
) SWIG_fail
;
30319 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30320 if (!SWIG_IsOK(ecode4
)) {
30321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30323 arg4
= static_cast< int >(val4
);
30326 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_Py_Void();
30331 if (arg3
) delete [] arg3
;
30336 if (arg3
) delete [] arg3
;
30342 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
= 0;
30344 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 PyObject
* obj2
= 0 ;
30362 PyObject
* obj3
= 0 ;
30363 PyObject
* obj4
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30373 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30374 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30375 if (!SWIG_IsOK(ecode2
)) {
30376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30378 arg2
= static_cast< wxDouble
>(val2
);
30379 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30380 if (!SWIG_IsOK(ecode3
)) {
30381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30383 arg3
= static_cast< wxDouble
>(val3
);
30384 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30385 if (!SWIG_IsOK(ecode4
)) {
30386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30388 arg4
= static_cast< wxDouble
>(val4
);
30389 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30390 if (!SWIG_IsOK(ecode5
)) {
30391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30393 arg5
= static_cast< wxDouble
>(val5
);
30395 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= SWIG_Py_Void();
30405 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
= 0;
30407 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 PyObject
* obj2
= 0 ;
30425 PyObject
* obj3
= 0 ;
30426 PyObject
* obj4
= 0 ;
30427 char * kwnames
[] = {
30428 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30436 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30437 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30438 if (!SWIG_IsOK(ecode2
)) {
30439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30441 arg2
= static_cast< wxDouble
>(val2
);
30442 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30443 if (!SWIG_IsOK(ecode3
)) {
30444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30446 arg3
= static_cast< wxDouble
>(val3
);
30447 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30448 if (!SWIG_IsOK(ecode4
)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30451 arg4
= static_cast< wxDouble
>(val4
);
30452 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30453 if (!SWIG_IsOK(ecode5
)) {
30454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30456 arg5
= static_cast< wxDouble
>(val5
);
30458 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= SWIG_Py_Void();
30468 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
= 0;
30470 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30488 PyObject
* obj0
= 0 ;
30489 PyObject
* obj1
= 0 ;
30490 PyObject
* obj2
= 0 ;
30491 PyObject
* obj3
= 0 ;
30492 PyObject
* obj4
= 0 ;
30493 PyObject
* obj5
= 0 ;
30494 char * kwnames
[] = {
30495 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30500 if (!SWIG_IsOK(res1
)) {
30501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30503 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30504 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30505 if (!SWIG_IsOK(ecode2
)) {
30506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30508 arg2
= static_cast< wxDouble
>(val2
);
30509 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30510 if (!SWIG_IsOK(ecode3
)) {
30511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30513 arg3
= static_cast< wxDouble
>(val3
);
30514 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30515 if (!SWIG_IsOK(ecode4
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30518 arg4
= static_cast< wxDouble
>(val4
);
30519 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30520 if (!SWIG_IsOK(ecode5
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30523 arg5
= static_cast< wxDouble
>(val5
);
30524 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30525 if (!SWIG_IsOK(ecode6
)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30528 arg6
= static_cast< wxDouble
>(val6
);
30530 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_Py_Void();
30540 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30541 PyObject
*resultobj
= 0;
30542 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30546 PyObject
*swig_obj
[1] ;
30548 if (!args
) SWIG_fail
;
30549 swig_obj
[0] = args
;
30550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30551 if (!SWIG_IsOK(res1
)) {
30552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30554 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30556 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30557 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30568 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30571 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30572 return SWIG_Py_Void();
30575 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30576 PyObject
*resultobj
= 0;
30577 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30580 PyObject
*swig_obj
[1] ;
30582 if (!args
) SWIG_fail
;
30583 swig_obj
[0] = args
;
30584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30585 if (!SWIG_IsOK(res1
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30588 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= SWIG_Py_Void();
30601 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30602 PyObject
*resultobj
= 0;
30603 wxGraphicsRenderer
*result
= 0 ;
30605 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30607 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30617 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30618 PyObject
*resultobj
= 0;
30619 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30620 wxWindowDC
*arg2
= 0 ;
30621 wxGraphicsContext
*result
= 0 ;
30627 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30632 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30633 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30634 if (!SWIG_IsOK(res2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30640 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30642 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30652 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30653 PyObject
*resultobj
= 0;
30654 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30655 wxWindow
*arg2
= (wxWindow
*) 0 ;
30656 wxGraphicsContext
*result
= 0 ;
30662 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30664 if (!SWIG_IsOK(res1
)) {
30665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30667 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30668 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30669 if (!SWIG_IsOK(res2
)) {
30670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30674 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30684 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30688 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30693 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30694 _v
= SWIG_CheckState(res
);
30696 if (!_v
) goto check_1
;
30697 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30702 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30706 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30711 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
= 0;
30713 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30714 void *arg2
= (void *) 0 ;
30715 wxGraphicsContext
*result
= 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char * kwnames
[] = {
30722 (char *) "self",(char *) "context", NULL
30725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30730 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30731 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30732 if (!SWIG_IsOK(res2
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30736 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30746 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
= 0;
30748 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30749 void *arg2
= (void *) 0 ;
30750 wxGraphicsContext
*result
= 0 ;
30754 PyObject
* obj0
= 0 ;
30755 PyObject
* obj1
= 0 ;
30756 char * kwnames
[] = {
30757 (char *) "self",(char *) "window", NULL
30760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30762 if (!SWIG_IsOK(res1
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30765 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30766 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30767 if (!SWIG_IsOK(res2
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30771 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30781 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30782 PyObject
*resultobj
= 0;
30783 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30784 wxGraphicsPath result
;
30787 PyObject
*swig_obj
[1] ;
30789 if (!args
) SWIG_fail
;
30790 swig_obj
[0] = args
;
30791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30795 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30797 result
= (arg1
)->CreatePath();
30798 if (PyErr_Occurred()) SWIG_fail
;
30800 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30807 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30808 PyObject
*resultobj
= 0;
30809 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30810 wxDouble arg2
= (wxDouble
) 1.0 ;
30811 wxDouble arg3
= (wxDouble
) 0.0 ;
30812 wxDouble arg4
= (wxDouble
) 0.0 ;
30813 wxDouble arg5
= (wxDouble
) 1.0 ;
30814 wxDouble arg6
= (wxDouble
) 0.0 ;
30815 wxDouble arg7
= (wxDouble
) 0.0 ;
30816 wxGraphicsMatrix result
;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 PyObject
* obj2
= 0 ;
30834 PyObject
* obj3
= 0 ;
30835 PyObject
* obj4
= 0 ;
30836 PyObject
* obj5
= 0 ;
30837 PyObject
* obj6
= 0 ;
30838 char * kwnames
[] = {
30839 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30844 if (!SWIG_IsOK(res1
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30847 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30849 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30850 if (!SWIG_IsOK(ecode2
)) {
30851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30853 arg2
= static_cast< wxDouble
>(val2
);
30856 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30857 if (!SWIG_IsOK(ecode3
)) {
30858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30860 arg3
= static_cast< wxDouble
>(val3
);
30863 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30864 if (!SWIG_IsOK(ecode4
)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30867 arg4
= static_cast< wxDouble
>(val4
);
30870 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30871 if (!SWIG_IsOK(ecode5
)) {
30872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30874 arg5
= static_cast< wxDouble
>(val5
);
30877 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30878 if (!SWIG_IsOK(ecode6
)) {
30879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30881 arg6
= static_cast< wxDouble
>(val6
);
30884 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30885 if (!SWIG_IsOK(ecode7
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30888 arg7
= static_cast< wxDouble
>(val7
);
30891 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30901 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
= 0;
30903 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30905 wxGraphicsPen result
;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 char * kwnames
[] = {
30913 (char *) "self",(char *) "pen", NULL
30916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30918 if (!SWIG_IsOK(res1
)) {
30919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30921 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30923 if (!SWIG_IsOK(res2
)) {
30924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30929 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30931 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30941 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
= 0;
30943 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30944 wxBrush
*arg2
= 0 ;
30945 wxGraphicsBrush result
;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 char * kwnames
[] = {
30953 (char *) "self",(char *) "brush", NULL
30956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30961 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30963 if (!SWIG_IsOK(res2
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30969 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30971 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30981 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
= 0;
30983 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30988 wxColour
*arg6
= 0 ;
30989 wxColour
*arg7
= 0 ;
30990 wxGraphicsBrush result
;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 PyObject
* obj2
= 0 ;
31006 PyObject
* obj3
= 0 ;
31007 PyObject
* obj4
= 0 ;
31008 PyObject
* obj5
= 0 ;
31009 PyObject
* obj6
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31019 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31020 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31021 if (!SWIG_IsOK(ecode2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31024 arg2
= static_cast< wxDouble
>(val2
);
31025 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31026 if (!SWIG_IsOK(ecode3
)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31029 arg3
= static_cast< wxDouble
>(val3
);
31030 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31031 if (!SWIG_IsOK(ecode4
)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31034 arg4
= static_cast< wxDouble
>(val4
);
31035 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31036 if (!SWIG_IsOK(ecode5
)) {
31037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31039 arg5
= static_cast< wxDouble
>(val5
);
31042 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31046 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31049 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31052 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31059 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31060 PyObject
*resultobj
= 0;
31061 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31067 wxColour
*arg7
= 0 ;
31068 wxColour
*arg8
= 0 ;
31069 wxGraphicsBrush result
;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 PyObject
* obj2
= 0 ;
31087 PyObject
* obj3
= 0 ;
31088 PyObject
* obj4
= 0 ;
31089 PyObject
* obj5
= 0 ;
31090 PyObject
* obj6
= 0 ;
31091 PyObject
* obj7
= 0 ;
31092 char * kwnames
[] = {
31093 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31098 if (!SWIG_IsOK(res1
)) {
31099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31101 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31102 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31103 if (!SWIG_IsOK(ecode2
)) {
31104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31106 arg2
= static_cast< wxDouble
>(val2
);
31107 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31108 if (!SWIG_IsOK(ecode3
)) {
31109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31111 arg3
= static_cast< wxDouble
>(val3
);
31112 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31113 if (!SWIG_IsOK(ecode4
)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31116 arg4
= static_cast< wxDouble
>(val4
);
31117 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31118 if (!SWIG_IsOK(ecode5
)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31121 arg5
= static_cast< wxDouble
>(val5
);
31122 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31123 if (!SWIG_IsOK(ecode6
)) {
31124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31126 arg6
= static_cast< wxDouble
>(val6
);
31129 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31133 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31136 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31146 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31150 wxColour
const &arg3_defvalue
= *wxBLACK
;
31151 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31152 wxGraphicsFont result
;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 PyObject
* obj2
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "self",(char *) "font",(char *) "col", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31170 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31172 if (!SWIG_IsOK(res2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31178 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31182 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31186 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31196 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31199 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31200 return SWIG_Py_Void();
31203 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
= 0;
31205 wxWindowDC
*arg1
= 0 ;
31206 wxGCDC
*result
= 0 ;
31209 PyObject
* obj0
= 0 ;
31210 char * kwnames
[] = {
31211 (char *) "dc", NULL
31214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
31215 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31216 if (!SWIG_IsOK(res1
)) {
31217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31222 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31224 if (!wxPyCheckForApp()) SWIG_fail
;
31225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31226 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31237 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31238 PyObject
*resultobj
= 0;
31239 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31242 PyObject
*swig_obj
[1] ;
31244 if (!args
) SWIG_fail
;
31245 swig_obj
[0] = args
;
31246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31250 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= SWIG_Py_Void();
31263 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31264 PyObject
*resultobj
= 0;
31265 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31266 wxGraphicsContext
*result
= 0 ;
31269 PyObject
*swig_obj
[1] ;
31271 if (!args
) SWIG_fail
;
31272 swig_obj
[0] = args
;
31273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31274 if (!SWIG_IsOK(res1
)) {
31275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31277 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31279 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31289 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
= 0;
31291 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31292 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31297 PyObject
* obj0
= 0 ;
31298 PyObject
* obj1
= 0 ;
31299 char * kwnames
[] = {
31300 (char *) "self",(char *) "ctx", NULL
31303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31305 if (!SWIG_IsOK(res1
)) {
31306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31308 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31310 if (!SWIG_IsOK(res2
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31313 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31315 (arg1
)->SetGraphicsContext(arg2
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 resultobj
= SWIG_Py_Void();
31325 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31328 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31329 return SWIG_Py_Void();
31332 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31333 return SWIG_Python_InitShadowInstance(args
);
31336 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31337 PyObject
*resultobj
= 0;
31338 wxOverlay
*result
= 0 ;
31340 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (wxOverlay
*)new wxOverlay();
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31354 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31355 PyObject
*resultobj
= 0;
31356 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31359 PyObject
*swig_obj
[1] ;
31361 if (!args
) SWIG_fail
;
31362 swig_obj
[0] = args
;
31363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31364 if (!SWIG_IsOK(res1
)) {
31365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31367 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31383 PyObject
*resultobj
= 0;
31384 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31387 PyObject
*swig_obj
[1] ;
31389 if (!args
) SWIG_fail
;
31390 swig_obj
[0] = args
;
31391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31392 if (!SWIG_IsOK(res1
)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31395 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_Py_Void();
31409 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31412 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31413 return SWIG_Py_Void();
31416 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31417 return SWIG_Python_InitShadowInstance(args
);
31420 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31421 PyObject
*resultobj
= 0;
31422 wxOverlay
*arg1
= 0 ;
31423 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31428 wxDCOverlay
*result
= 0 ;
31442 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31450 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31451 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31452 if (!SWIG_IsOK(res2
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31455 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31456 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31457 if (!SWIG_IsOK(ecode3
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31460 arg3
= static_cast< int >(val3
);
31461 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31462 if (!SWIG_IsOK(ecode4
)) {
31463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31465 arg4
= static_cast< int >(val4
);
31466 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31467 if (!SWIG_IsOK(ecode5
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31470 arg5
= static_cast< int >(val5
);
31471 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31472 if (!SWIG_IsOK(ecode6
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31475 arg6
= static_cast< int >(val6
);
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31489 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31490 PyObject
*resultobj
= 0;
31491 wxOverlay
*arg1
= 0 ;
31492 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31493 wxDCOverlay
*result
= 0 ;
31499 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31507 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31508 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31509 if (!SWIG_IsOK(res2
)) {
31510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31512 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31515 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31526 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31530 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31533 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31536 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31540 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31545 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31546 PyObject
*resultobj
= 0;
31547 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31550 PyObject
*swig_obj
[1] ;
31552 if (!args
) SWIG_fail
;
31553 swig_obj
[0] = args
;
31554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31558 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= SWIG_Py_Void();
31573 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31574 PyObject
*resultobj
= 0;
31575 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31578 PyObject
*swig_obj
[1] ;
31580 if (!args
) SWIG_fail
;
31581 swig_obj
[0] = args
;
31582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31583 if (!SWIG_IsOK(res1
)) {
31584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31586 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31593 resultobj
= SWIG_Py_Void();
31600 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31603 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31604 return SWIG_Py_Void();
31607 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31608 return SWIG_Python_InitShadowInstance(args
);
31611 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31612 PyObject
*resultobj
= 0;
31615 int arg3
= (int) true ;
31616 int arg4
= (int) 1 ;
31617 wxImageList
*result
= 0 ;
31626 PyObject
* obj0
= 0 ;
31627 PyObject
* obj1
= 0 ;
31628 PyObject
* obj2
= 0 ;
31629 PyObject
* obj3
= 0 ;
31630 char * kwnames
[] = {
31631 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31635 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31636 if (!SWIG_IsOK(ecode1
)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31639 arg1
= static_cast< int >(val1
);
31640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31641 if (!SWIG_IsOK(ecode2
)) {
31642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31644 arg2
= static_cast< int >(val2
);
31646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31647 if (!SWIG_IsOK(ecode3
)) {
31648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31650 arg3
= static_cast< int >(val3
);
31653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31654 if (!SWIG_IsOK(ecode4
)) {
31655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31657 arg4
= static_cast< int >(val4
);
31660 if (!wxPyCheckForApp()) SWIG_fail
;
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31673 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31674 PyObject
*resultobj
= 0;
31675 wxImageList
*arg1
= (wxImageList
*) 0 ;
31678 PyObject
*swig_obj
[1] ;
31680 if (!args
) SWIG_fail
;
31681 swig_obj
[0] = args
;
31682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31683 if (!SWIG_IsOK(res1
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31686 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 wxPyEndAllowThreads(__tstate
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31694 resultobj
= SWIG_Py_Void();
31701 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31702 PyObject
*resultobj
= 0;
31703 wxImageList
*arg1
= (wxImageList
*) 0 ;
31704 wxBitmap
*arg2
= 0 ;
31705 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31706 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31714 PyObject
* obj0
= 0 ;
31715 PyObject
* obj1
= 0 ;
31716 PyObject
* obj2
= 0 ;
31717 char * kwnames
[] = {
31718 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31726 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31728 if (!SWIG_IsOK(res2
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31734 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31736 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31737 if (!SWIG_IsOK(res3
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31743 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= SWIG_From_int(static_cast< int >(result
));
31758 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
= 0;
31760 wxImageList
*arg1
= (wxImageList
*) 0 ;
31761 wxBitmap
*arg2
= 0 ;
31762 wxColour
*arg3
= 0 ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 PyObject
* obj2
= 0 ;
31772 char * kwnames
[] = {
31773 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31778 if (!SWIG_IsOK(res1
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31781 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31783 if (!SWIG_IsOK(res2
)) {
31784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31789 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31792 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= SWIG_From_int(static_cast< int >(result
));
31807 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
= 0;
31809 wxImageList
*arg1
= (wxImageList
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 char * kwnames
[] = {
31819 (char *) "self",(char *) "icon", NULL
31822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31824 if (!SWIG_IsOK(res1
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31827 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31828 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31829 if (!SWIG_IsOK(res2
)) {
31830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31835 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31842 resultobj
= SWIG_From_int(static_cast< int >(result
));
31849 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
= 0;
31851 wxImageList
*arg1
= (wxImageList
*) 0 ;
31853 SwigValueWrapper
<wxBitmap
> result
;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char * kwnames
[] = {
31861 (char *) "self",(char *) "index", NULL
31864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31866 if (!SWIG_IsOK(res1
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31869 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31871 if (!SWIG_IsOK(ecode2
)) {
31872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31874 arg2
= static_cast< int >(val2
);
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31888 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
= 0;
31890 wxImageList
*arg1
= (wxImageList
*) 0 ;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 char * kwnames
[] = {
31900 (char *) "self",(char *) "index", NULL
31903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31908 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31910 if (!SWIG_IsOK(ecode2
)) {
31911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31913 arg2
= static_cast< int >(val2
);
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31927 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
= 0;
31929 wxImageList
*arg1
= (wxImageList
*) 0 ;
31931 wxBitmap
*arg3
= 0 ;
31932 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31933 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31943 PyObject
* obj0
= 0 ;
31944 PyObject
* obj1
= 0 ;
31945 PyObject
* obj2
= 0 ;
31946 PyObject
* obj3
= 0 ;
31947 char * kwnames
[] = {
31948 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31953 if (!SWIG_IsOK(res1
)) {
31954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31956 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31958 if (!SWIG_IsOK(ecode2
)) {
31959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31961 arg2
= static_cast< int >(val2
);
31962 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31963 if (!SWIG_IsOK(res3
)) {
31964 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31969 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31971 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31972 if (!SWIG_IsOK(res4
)) {
31973 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31978 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31983 wxPyEndAllowThreads(__tstate
);
31984 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31995 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31996 PyObject
*resultobj
= 0;
31997 wxImageList
*arg1
= (wxImageList
*) 0 ;
32002 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32003 bool arg7
= (bool) (bool)false ;
32019 PyObject
* obj0
= 0 ;
32020 PyObject
* obj1
= 0 ;
32021 PyObject
* obj2
= 0 ;
32022 PyObject
* obj3
= 0 ;
32023 PyObject
* obj4
= 0 ;
32024 PyObject
* obj5
= 0 ;
32025 PyObject
* obj6
= 0 ;
32026 char * kwnames
[] = {
32027 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32032 if (!SWIG_IsOK(res1
)) {
32033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32035 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32037 if (!SWIG_IsOK(ecode2
)) {
32038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32040 arg2
= static_cast< int >(val2
);
32041 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32042 if (!SWIG_IsOK(res3
)) {
32043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32048 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32050 if (!SWIG_IsOK(ecode4
)) {
32051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32053 arg4
= static_cast< int >(val4
);
32054 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32055 if (!SWIG_IsOK(ecode5
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32058 arg5
= static_cast< int >(val5
);
32060 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32061 if (!SWIG_IsOK(ecode6
)) {
32062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32064 arg6
= static_cast< int >(val6
);
32067 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32068 if (!SWIG_IsOK(ecode7
)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32071 arg7
= static_cast< bool >(val7
);
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32088 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 PyObject
*resultobj
= 0;
32090 wxImageList
*arg1
= (wxImageList
*) 0 ;
32094 PyObject
*swig_obj
[1] ;
32096 if (!args
) SWIG_fail
;
32097 swig_obj
[0] = args
;
32098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32099 if (!SWIG_IsOK(res1
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32102 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 result
= (int)(arg1
)->GetImageCount();
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= SWIG_From_int(static_cast< int >(result
));
32116 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32117 PyObject
*resultobj
= 0;
32118 wxImageList
*arg1
= (wxImageList
*) 0 ;
32125 PyObject
* obj0
= 0 ;
32126 PyObject
* obj1
= 0 ;
32127 char * kwnames
[] = {
32128 (char *) "self",(char *) "index", NULL
32131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32133 if (!SWIG_IsOK(res1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32136 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32138 if (!SWIG_IsOK(ecode2
)) {
32139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32141 arg2
= static_cast< int >(val2
);
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= (bool)(arg1
)->Remove(arg2
);
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32157 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 PyObject
*resultobj
= 0;
32159 wxImageList
*arg1
= (wxImageList
*) 0 ;
32163 PyObject
*swig_obj
[1] ;
32165 if (!args
) SWIG_fail
;
32166 swig_obj
[0] = args
;
32167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32168 if (!SWIG_IsOK(res1
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32171 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (bool)(arg1
)->RemoveAll();
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32187 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32188 PyObject
*resultobj
= 0;
32189 wxImageList
*arg1
= (wxImageList
*) 0 ;
32198 int res3
= SWIG_TMPOBJ
;
32200 int res4
= SWIG_TMPOBJ
;
32201 PyObject
* obj0
= 0 ;
32202 PyObject
* obj1
= 0 ;
32203 char * kwnames
[] = {
32204 (char *) "self",(char *) "index", NULL
32209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32211 if (!SWIG_IsOK(res1
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32214 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32216 if (!SWIG_IsOK(ecode2
)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32219 arg2
= static_cast< int >(val2
);
32221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_Py_Void();
32227 if (SWIG_IsTmpObj(res3
)) {
32228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32233 if (SWIG_IsTmpObj(res4
)) {
32234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32236 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32245 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32248 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32249 return SWIG_Py_Void();
32252 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32253 return SWIG_Python_InitShadowInstance(args
);
32256 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32257 PyObject
*resultobj
= 0;
32258 wxStockGDI
*result
= 0 ;
32260 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 result
= (wxStockGDI
*)new wxStockGDI();
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32274 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32275 PyObject
*resultobj
= 0;
32276 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32279 PyObject
*swig_obj
[1] ;
32281 if (!args
) SWIG_fail
;
32282 swig_obj
[0] = args
;
32283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32284 if (!SWIG_IsOK(res1
)) {
32285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32287 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_Py_Void();
32302 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32303 PyObject
*resultobj
= 0;
32305 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 wxStockGDI::DeleteAll();
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32312 resultobj
= SWIG_Py_Void();
32319 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32320 PyObject
*resultobj
= 0;
32321 wxStockGDI
*result
= 0 ;
32323 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32328 result
= (wxStockGDI
*) &_result_ref
;
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32340 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
= 0;
32342 wxStockGDI::Item arg1
;
32343 wxBrush
*result
= 0 ;
32346 PyObject
* obj0
= 0 ;
32347 char * kwnames
[] = {
32348 (char *) "item", NULL
32351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32353 if (!SWIG_IsOK(ecode1
)) {
32354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32356 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32370 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
= 0;
32372 wxStockGDI::Item arg1
;
32373 wxColour
*result
= 0 ;
32376 PyObject
* obj0
= 0 ;
32377 char * kwnames
[] = {
32378 (char *) "item", NULL
32381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32383 if (!SWIG_IsOK(ecode1
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32386 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32400 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
= 0;
32402 wxStockGDI::Item arg1
;
32403 wxCursor
*result
= 0 ;
32406 PyObject
* obj0
= 0 ;
32407 char * kwnames
[] = {
32408 (char *) "item", NULL
32411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32413 if (!SWIG_IsOK(ecode1
)) {
32414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32416 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32430 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
= 0;
32432 wxStockGDI::Item arg1
;
32433 wxPen
*result
= 0 ;
32436 PyObject
* obj0
= 0 ;
32437 char * kwnames
[] = {
32438 (char *) "item", NULL
32441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32443 if (!SWIG_IsOK(ecode1
)) {
32444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32446 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32460 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32461 PyObject
*resultobj
= 0;
32462 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32463 wxStockGDI::Item arg2
;
32464 wxFont
*result
= 0 ;
32469 PyObject
* obj0
= 0 ;
32470 PyObject
* obj1
= 0 ;
32471 char * kwnames
[] = {
32472 (char *) "self",(char *) "item", NULL
32475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32477 if (!SWIG_IsOK(res1
)) {
32478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32480 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32482 if (!SWIG_IsOK(ecode2
)) {
32483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32485 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32499 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32502 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32503 return SWIG_Py_Void();
32506 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 return SWIG_Python_InitShadowInstance(args
);
32510 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32511 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32516 SWIGINTERN PyObject
*NullBitmap_get(void) {
32517 PyObject
*pyobj
= 0;
32519 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32524 SWIGINTERN
int NullIcon_set(PyObject
*) {
32525 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32530 SWIGINTERN PyObject
*NullIcon_get(void) {
32531 PyObject
*pyobj
= 0;
32533 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32538 SWIGINTERN
int NullCursor_set(PyObject
*) {
32539 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32544 SWIGINTERN PyObject
*NullCursor_get(void) {
32545 PyObject
*pyobj
= 0;
32547 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32552 SWIGINTERN
int NullPen_set(PyObject
*) {
32553 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32558 SWIGINTERN PyObject
*NullPen_get(void) {
32559 PyObject
*pyobj
= 0;
32561 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32566 SWIGINTERN
int NullBrush_set(PyObject
*) {
32567 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32572 SWIGINTERN PyObject
*NullBrush_get(void) {
32573 PyObject
*pyobj
= 0;
32575 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32580 SWIGINTERN
int NullPalette_set(PyObject
*) {
32581 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32586 SWIGINTERN PyObject
*NullPalette_get(void) {
32587 PyObject
*pyobj
= 0;
32589 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32594 SWIGINTERN
int NullFont_set(PyObject
*) {
32595 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32600 SWIGINTERN PyObject
*NullFont_get(void) {
32601 PyObject
*pyobj
= 0;
32603 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32608 SWIGINTERN
int NullColour_set(PyObject
*) {
32609 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32614 SWIGINTERN PyObject
*NullColour_get(void) {
32615 PyObject
*pyobj
= 0;
32617 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32622 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32623 PyObject
*resultobj
= 0;
32624 wxGDIObjListBase
*result
= 0 ;
32626 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32640 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32641 PyObject
*resultobj
= 0;
32642 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32645 PyObject
*swig_obj
[1] ;
32647 if (!args
) SWIG_fail
;
32648 swig_obj
[0] = args
;
32649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32650 if (!SWIG_IsOK(res1
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32653 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32661 resultobj
= SWIG_Py_Void();
32668 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32671 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32672 return SWIG_Py_Void();
32675 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32676 return SWIG_Python_InitShadowInstance(args
);
32679 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32680 PyObject
*resultobj
= 0;
32681 wxPenList
*arg1
= (wxPenList
*) 0 ;
32682 wxColour
*arg2
= 0 ;
32685 wxPen
*result
= 0 ;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 PyObject
* obj2
= 0 ;
32696 PyObject
* obj3
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32703 if (!SWIG_IsOK(res1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32706 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32709 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32712 if (!SWIG_IsOK(ecode3
)) {
32713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32715 arg3
= static_cast< int >(val3
);
32716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32717 if (!SWIG_IsOK(ecode4
)) {
32718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32720 arg4
= static_cast< int >(val4
);
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32734 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
= 0;
32736 wxPenList
*arg1
= (wxPenList
*) 0 ;
32737 wxPen
*arg2
= (wxPen
*) 0 ;
32742 PyObject
* obj0
= 0 ;
32743 PyObject
* obj1
= 0 ;
32744 char * kwnames
[] = {
32745 (char *) "self",(char *) "pen", NULL
32748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32750 if (!SWIG_IsOK(res1
)) {
32751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32753 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32755 if (!SWIG_IsOK(res2
)) {
32756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32758 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32761 (arg1
)->AddPen(arg2
);
32762 wxPyEndAllowThreads(__tstate
);
32763 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= SWIG_Py_Void();
32772 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
= 0;
32774 wxPenList
*arg1
= (wxPenList
*) 0 ;
32775 wxPen
*arg2
= (wxPen
*) 0 ;
32780 PyObject
* obj0
= 0 ;
32781 PyObject
* obj1
= 0 ;
32782 char * kwnames
[] = {
32783 (char *) "self",(char *) "pen", NULL
32786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32788 if (!SWIG_IsOK(res1
)) {
32789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32791 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32793 if (!SWIG_IsOK(res2
)) {
32794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32796 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 (arg1
)->RemovePen(arg2
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32803 resultobj
= SWIG_Py_Void();
32810 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32813 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32814 return SWIG_Py_Void();
32817 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
= 0;
32819 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32820 wxColour
*arg2
= 0 ;
32821 int arg3
= (int) wxSOLID
;
32822 wxBrush
*result
= 0 ;
32828 PyObject
* obj0
= 0 ;
32829 PyObject
* obj1
= 0 ;
32830 PyObject
* obj2
= 0 ;
32831 char * kwnames
[] = {
32832 (char *) "self",(char *) "colour",(char *) "style", NULL
32835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32840 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32847 if (!SWIG_IsOK(ecode3
)) {
32848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32850 arg3
= static_cast< int >(val3
);
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32865 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32866 PyObject
*resultobj
= 0;
32867 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32868 wxBrush
*arg2
= (wxBrush
*) 0 ;
32873 PyObject
* obj0
= 0 ;
32874 PyObject
* obj1
= 0 ;
32875 char * kwnames
[] = {
32876 (char *) "self",(char *) "brush", NULL
32879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32881 if (!SWIG_IsOK(res1
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32884 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32886 if (!SWIG_IsOK(res2
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32889 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 (arg1
)->AddBrush(arg2
);
32893 wxPyEndAllowThreads(__tstate
);
32894 if (PyErr_Occurred()) SWIG_fail
;
32896 resultobj
= SWIG_Py_Void();
32903 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
= 0;
32905 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32906 wxBrush
*arg2
= (wxBrush
*) 0 ;
32911 PyObject
* obj0
= 0 ;
32912 PyObject
* obj1
= 0 ;
32913 char * kwnames
[] = {
32914 (char *) "self",(char *) "brush", NULL
32917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32919 if (!SWIG_IsOK(res1
)) {
32920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32922 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32924 if (!SWIG_IsOK(res2
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32927 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 (arg1
)->RemoveBrush(arg2
);
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_Py_Void();
32941 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32944 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32945 return SWIG_Py_Void();
32948 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32949 PyObject
*resultobj
= 0;
32950 wxFontList
*arg1
= (wxFontList
*) 0 ;
32955 bool arg6
= (bool) false ;
32956 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32958 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32959 wxFont
*result
= 0 ;
32972 bool temp7
= false ;
32975 PyObject
* obj0
= 0 ;
32976 PyObject
* obj1
= 0 ;
32977 PyObject
* obj2
= 0 ;
32978 PyObject
* obj3
= 0 ;
32979 PyObject
* obj4
= 0 ;
32980 PyObject
* obj5
= 0 ;
32981 PyObject
* obj6
= 0 ;
32982 PyObject
* obj7
= 0 ;
32983 char * kwnames
[] = {
32984 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32989 if (!SWIG_IsOK(res1
)) {
32990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32992 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32994 if (!SWIG_IsOK(ecode2
)) {
32995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32997 arg2
= static_cast< int >(val2
);
32998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32999 if (!SWIG_IsOK(ecode3
)) {
33000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33002 arg3
= static_cast< int >(val3
);
33003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33004 if (!SWIG_IsOK(ecode4
)) {
33005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33007 arg4
= static_cast< int >(val4
);
33008 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33009 if (!SWIG_IsOK(ecode5
)) {
33010 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33012 arg5
= static_cast< int >(val5
);
33014 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33015 if (!SWIG_IsOK(ecode6
)) {
33016 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33018 arg6
= static_cast< bool >(val6
);
33022 arg7
= wxString_in_helper(obj6
);
33023 if (arg7
== NULL
) SWIG_fail
;
33028 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33029 if (!SWIG_IsOK(ecode8
)) {
33030 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33032 arg8
= static_cast< wxFontEncoding
>(val8
);
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33055 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
= 0;
33057 wxFontList
*arg1
= (wxFontList
*) 0 ;
33058 wxFont
*arg2
= (wxFont
*) 0 ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char * kwnames
[] = {
33066 (char *) "self",(char *) "font", NULL
33069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33074 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33076 if (!SWIG_IsOK(res2
)) {
33077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33079 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 (arg1
)->AddFont(arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= SWIG_Py_Void();
33093 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
= 0;
33095 wxFontList
*arg1
= (wxFontList
*) 0 ;
33096 wxFont
*arg2
= (wxFont
*) 0 ;
33101 PyObject
* obj0
= 0 ;
33102 PyObject
* obj1
= 0 ;
33103 char * kwnames
[] = {
33104 (char *) "self",(char *) "font", NULL
33107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33109 if (!SWIG_IsOK(res1
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33112 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33114 if (!SWIG_IsOK(res2
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33117 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 (arg1
)->RemoveFont(arg2
);
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33124 resultobj
= SWIG_Py_Void();
33131 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33134 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33135 return SWIG_Py_Void();
33138 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33139 PyObject
*resultobj
= 0;
33140 wxColourDatabase
*result
= 0 ;
33142 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33144 if (!wxPyCheckForApp()) SWIG_fail
;
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 result
= (wxColourDatabase
*)new wxColourDatabase();
33147 wxPyEndAllowThreads(__tstate
);
33148 if (PyErr_Occurred()) SWIG_fail
;
33150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33157 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33158 PyObject
*resultobj
= 0;
33159 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33162 PyObject
*swig_obj
[1] ;
33164 if (!args
) SWIG_fail
;
33165 swig_obj
[0] = args
;
33166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33167 if (!SWIG_IsOK(res1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33170 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 wxPyEndAllowThreads(__tstate
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= SWIG_Py_Void();
33185 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
= 0;
33187 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33188 wxString
*arg2
= 0 ;
33192 bool temp2
= false ;
33193 PyObject
* obj0
= 0 ;
33194 PyObject
* obj1
= 0 ;
33195 char * kwnames
[] = {
33196 (char *) "self",(char *) "name", NULL
33199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33201 if (!SWIG_IsOK(res1
)) {
33202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33204 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33206 arg2
= wxString_in_helper(obj1
);
33207 if (arg2
== NULL
) SWIG_fail
;
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33212 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33216 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33231 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33232 PyObject
*resultobj
= 0;
33233 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33234 wxColour
*arg2
= 0 ;
33239 PyObject
* obj0
= 0 ;
33240 PyObject
* obj1
= 0 ;
33241 char * kwnames
[] = {
33242 (char *) "self",(char *) "colour", NULL
33245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33247 if (!SWIG_IsOK(res1
)) {
33248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33250 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33274 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33275 PyObject
*resultobj
= 0;
33276 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33277 wxString
*arg2
= 0 ;
33278 wxColour
*arg3
= 0 ;
33281 bool temp2
= false ;
33283 PyObject
* obj0
= 0 ;
33284 PyObject
* obj1
= 0 ;
33285 PyObject
* obj2
= 0 ;
33286 char * kwnames
[] = {
33287 (char *) "self",(char *) "name",(char *) "colour", NULL
33290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33292 if (!SWIG_IsOK(res1
)) {
33293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33295 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33297 arg2
= wxString_in_helper(obj1
);
33298 if (arg2
== NULL
) SWIG_fail
;
33303 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33311 resultobj
= SWIG_Py_Void();
33326 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33329 wxString
*arg2
= 0 ;
33335 bool temp2
= false ;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 PyObject
* obj2
= 0 ;
33345 PyObject
* obj3
= 0 ;
33346 PyObject
* obj4
= 0 ;
33347 char * kwnames
[] = {
33348 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33353 if (!SWIG_IsOK(res1
)) {
33354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33356 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33358 arg2
= wxString_in_helper(obj1
);
33359 if (arg2
== NULL
) SWIG_fail
;
33362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33363 if (!SWIG_IsOK(ecode3
)) {
33364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33366 arg3
= static_cast< int >(val3
);
33367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33368 if (!SWIG_IsOK(ecode4
)) {
33369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33371 arg4
= static_cast< int >(val4
);
33372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33373 if (!SWIG_IsOK(ecode5
)) {
33374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33376 arg5
= static_cast< int >(val5
);
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= SWIG_Py_Void();
33398 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33401 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33402 return SWIG_Py_Void();
33405 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33406 return SWIG_Python_InitShadowInstance(args
);
33409 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33410 PyObject
*resultobj
= 0;
33411 wxFontList
*result
= 0 ;
33413 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (wxFontList
*)_wxPyInitTheFontList();
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33427 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33428 PyObject
*resultobj
= 0;
33429 wxPenList
*result
= 0 ;
33431 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 result
= (wxPenList
*)_wxPyInitThePenList();
33435 wxPyEndAllowThreads(__tstate
);
33436 if (PyErr_Occurred()) SWIG_fail
;
33438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33445 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33446 PyObject
*resultobj
= 0;
33447 wxBrushList
*result
= 0 ;
33449 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33463 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33464 PyObject
*resultobj
= 0;
33465 wxColourDatabase
*result
= 0 ;
33467 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33470 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33481 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33482 PyObject
*resultobj
= 0;
33483 wxEffects
*result
= 0 ;
33485 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (wxEffects
*)new wxEffects();
33489 wxPyEndAllowThreads(__tstate
);
33490 if (PyErr_Occurred()) SWIG_fail
;
33492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33499 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33500 PyObject
*resultobj
= 0;
33501 wxEffects
*arg1
= (wxEffects
*) 0 ;
33505 PyObject
*swig_obj
[1] ;
33507 if (!args
) SWIG_fail
;
33508 swig_obj
[0] = args
;
33509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33510 if (!SWIG_IsOK(res1
)) {
33511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33513 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33527 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33528 PyObject
*resultobj
= 0;
33529 wxEffects
*arg1
= (wxEffects
*) 0 ;
33533 PyObject
*swig_obj
[1] ;
33535 if (!args
) SWIG_fail
;
33536 swig_obj
[0] = args
;
33537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33538 if (!SWIG_IsOK(res1
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33541 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33555 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33556 PyObject
*resultobj
= 0;
33557 wxEffects
*arg1
= (wxEffects
*) 0 ;
33561 PyObject
*swig_obj
[1] ;
33563 if (!args
) SWIG_fail
;
33564 swig_obj
[0] = args
;
33565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33569 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33583 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33584 PyObject
*resultobj
= 0;
33585 wxEffects
*arg1
= (wxEffects
*) 0 ;
33589 PyObject
*swig_obj
[1] ;
33591 if (!args
) SWIG_fail
;
33592 swig_obj
[0] = args
;
33593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33594 if (!SWIG_IsOK(res1
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33597 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33611 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33612 PyObject
*resultobj
= 0;
33613 wxEffects
*arg1
= (wxEffects
*) 0 ;
33617 PyObject
*swig_obj
[1] ;
33619 if (!args
) SWIG_fail
;
33620 swig_obj
[0] = args
;
33621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33622 if (!SWIG_IsOK(res1
)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33625 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33639 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
= 0;
33641 wxEffects
*arg1
= (wxEffects
*) 0 ;
33642 wxColour
*arg2
= 0 ;
33646 PyObject
* obj0
= 0 ;
33647 PyObject
* obj1
= 0 ;
33648 char * kwnames
[] = {
33649 (char *) "self",(char *) "c", NULL
33652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33654 if (!SWIG_IsOK(res1
)) {
33655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33657 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33660 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33664 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33668 resultobj
= SWIG_Py_Void();
33675 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
= 0;
33677 wxEffects
*arg1
= (wxEffects
*) 0 ;
33678 wxColour
*arg2
= 0 ;
33682 PyObject
* obj0
= 0 ;
33683 PyObject
* obj1
= 0 ;
33684 char * kwnames
[] = {
33685 (char *) "self",(char *) "c", NULL
33688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33690 if (!SWIG_IsOK(res1
)) {
33691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33693 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33701 wxPyEndAllowThreads(__tstate
);
33702 if (PyErr_Occurred()) SWIG_fail
;
33704 resultobj
= SWIG_Py_Void();
33711 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33712 PyObject
*resultobj
= 0;
33713 wxEffects
*arg1
= (wxEffects
*) 0 ;
33714 wxColour
*arg2
= 0 ;
33718 PyObject
* obj0
= 0 ;
33719 PyObject
* obj1
= 0 ;
33720 char * kwnames
[] = {
33721 (char *) "self",(char *) "c", NULL
33724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33726 if (!SWIG_IsOK(res1
)) {
33727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33729 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33732 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_Py_Void();
33747 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
= 0;
33749 wxEffects
*arg1
= (wxEffects
*) 0 ;
33750 wxColour
*arg2
= 0 ;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 char * kwnames
[] = {
33757 (char *) "self",(char *) "c", NULL
33760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33762 if (!SWIG_IsOK(res1
)) {
33763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33765 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33776 resultobj
= SWIG_Py_Void();
33783 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
= 0;
33785 wxEffects
*arg1
= (wxEffects
*) 0 ;
33786 wxColour
*arg2
= 0 ;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 char * kwnames
[] = {
33793 (char *) "self",(char *) "c", NULL
33796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33798 if (!SWIG_IsOK(res1
)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33801 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= SWIG_Py_Void();
33819 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
= 0;
33821 wxEffects
*arg1
= (wxEffects
*) 0 ;
33822 wxColour
*arg2
= 0 ;
33823 wxColour
*arg3
= 0 ;
33824 wxColour
*arg4
= 0 ;
33825 wxColour
*arg5
= 0 ;
33826 wxColour
*arg6
= 0 ;
33834 PyObject
* obj0
= 0 ;
33835 PyObject
* obj1
= 0 ;
33836 PyObject
* obj2
= 0 ;
33837 PyObject
* obj3
= 0 ;
33838 PyObject
* obj4
= 0 ;
33839 PyObject
* obj5
= 0 ;
33840 char * kwnames
[] = {
33841 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33849 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33856 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33860 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33864 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33868 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= SWIG_Py_Void();
33883 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
= 0;
33885 wxEffects
*arg1
= (wxEffects
*) 0 ;
33888 int arg4
= (int) 1 ;
33896 PyObject
* obj0
= 0 ;
33897 PyObject
* obj1
= 0 ;
33898 PyObject
* obj2
= 0 ;
33899 PyObject
* obj3
= 0 ;
33900 char * kwnames
[] = {
33901 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33906 if (!SWIG_IsOK(res1
)) {
33907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33909 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33911 if (!SWIG_IsOK(res2
)) {
33912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33917 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33920 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33924 if (!SWIG_IsOK(ecode4
)) {
33925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33927 arg4
= static_cast< int >(val4
);
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= SWIG_Py_Void();
33942 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33943 PyObject
*resultobj
= 0;
33944 wxEffects
*arg1
= (wxEffects
*) 0 ;
33947 wxBitmap
*arg4
= 0 ;
33956 PyObject
* obj0
= 0 ;
33957 PyObject
* obj1
= 0 ;
33958 PyObject
* obj2
= 0 ;
33959 PyObject
* obj3
= 0 ;
33960 char * kwnames
[] = {
33961 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33966 if (!SWIG_IsOK(res1
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33969 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33972 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33974 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33975 if (!SWIG_IsOK(res3
)) {
33976 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33981 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33982 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33983 if (!SWIG_IsOK(res4
)) {
33984 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33989 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34005 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34008 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34009 return SWIG_Py_Void();
34012 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34013 return SWIG_Python_InitShadowInstance(args
);
34016 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
= 0;
34021 wxSplitterRenderParams
*result
= 0 ;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 PyObject
* obj2
= 0 ;
34031 char * kwnames
[] = {
34032 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34037 if (!SWIG_IsOK(ecode1
)) {
34038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34040 arg1
= static_cast< int >(val1
);
34041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34042 if (!SWIG_IsOK(ecode2
)) {
34043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34045 arg2
= static_cast< int >(val2
);
34046 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34047 if (!SWIG_IsOK(ecode3
)) {
34048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34050 arg3
= static_cast< bool >(val3
);
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34054 wxPyEndAllowThreads(__tstate
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34064 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34065 PyObject
*resultobj
= 0;
34066 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34069 PyObject
*swig_obj
[1] ;
34071 if (!args
) SWIG_fail
;
34072 swig_obj
[0] = args
;
34073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34074 if (!SWIG_IsOK(res1
)) {
34075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34077 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34085 resultobj
= SWIG_Py_Void();
34092 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34093 PyObject
*resultobj
= 0;
34094 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34098 PyObject
*swig_obj
[1] ;
34100 if (!args
) SWIG_fail
;
34101 swig_obj
[0] = args
;
34102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34103 if (!SWIG_IsOK(res1
)) {
34104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34106 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34107 result
= (int)(int) ((arg1
)->widthSash
);
34108 resultobj
= SWIG_From_int(static_cast< int >(result
));
34115 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34116 PyObject
*resultobj
= 0;
34117 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34121 PyObject
*swig_obj
[1] ;
34123 if (!args
) SWIG_fail
;
34124 swig_obj
[0] = args
;
34125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34126 if (!SWIG_IsOK(res1
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34129 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34130 result
= (int)(int) ((arg1
)->border
);
34131 resultobj
= SWIG_From_int(static_cast< int >(result
));
34138 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34139 PyObject
*resultobj
= 0;
34140 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34144 PyObject
*swig_obj
[1] ;
34146 if (!args
) SWIG_fail
;
34147 swig_obj
[0] = args
;
34148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34149 if (!SWIG_IsOK(res1
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34152 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34153 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34154 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34161 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34164 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34165 return SWIG_Py_Void();
34168 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34169 return SWIG_Python_InitShadowInstance(args
);
34172 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34173 PyObject
*resultobj
= 0;
34174 wxHeaderButtonParams
*result
= 0 ;
34176 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34190 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34191 PyObject
*resultobj
= 0;
34192 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34195 PyObject
*swig_obj
[1] ;
34197 if (!args
) SWIG_fail
;
34198 swig_obj
[0] = args
;
34199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34200 if (!SWIG_IsOK(res1
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34203 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 resultobj
= SWIG_Py_Void();
34218 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34219 PyObject
*resultobj
= 0;
34220 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34221 wxColour
*arg2
= (wxColour
*) 0 ;
34225 PyObject
*swig_obj
[2] ;
34227 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34232 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34235 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34237 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34239 resultobj
= SWIG_Py_Void();
34246 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34247 PyObject
*resultobj
= 0;
34248 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34249 wxColour
*result
= 0 ;
34252 PyObject
*swig_obj
[1] ;
34254 if (!args
) SWIG_fail
;
34255 swig_obj
[0] = args
;
34256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34257 if (!SWIG_IsOK(res1
)) {
34258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34260 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34261 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34269 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34270 PyObject
*resultobj
= 0;
34271 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34272 wxColour
*arg2
= (wxColour
*) 0 ;
34276 PyObject
*swig_obj
[2] ;
34278 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34280 if (!SWIG_IsOK(res1
)) {
34281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34283 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34286 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34288 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34290 resultobj
= SWIG_Py_Void();
34297 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34298 PyObject
*resultobj
= 0;
34299 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34300 wxColour
*result
= 0 ;
34303 PyObject
*swig_obj
[1] ;
34305 if (!args
) SWIG_fail
;
34306 swig_obj
[0] = args
;
34307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34308 if (!SWIG_IsOK(res1
)) {
34309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34311 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34312 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34320 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34321 PyObject
*resultobj
= 0;
34322 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34323 wxString
*arg2
= (wxString
*) 0 ;
34326 bool temp2
= false ;
34327 PyObject
*swig_obj
[2] ;
34329 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34331 if (!SWIG_IsOK(res1
)) {
34332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34334 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34336 arg2
= wxString_in_helper(swig_obj
[1]);
34337 if (arg2
== NULL
) SWIG_fail
;
34340 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34342 resultobj
= SWIG_Py_Void();
34357 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34358 PyObject
*resultobj
= 0;
34359 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34360 wxString
*result
= 0 ;
34363 PyObject
*swig_obj
[1] ;
34365 if (!args
) SWIG_fail
;
34366 swig_obj
[0] = args
;
34367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34368 if (!SWIG_IsOK(res1
)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34371 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34372 result
= (wxString
*)& ((arg1
)->m_labelText
);
34375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34386 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34387 PyObject
*resultobj
= 0;
34388 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34389 wxFont
*arg2
= (wxFont
*) 0 ;
34394 PyObject
*swig_obj
[2] ;
34396 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34401 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34406 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34407 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34409 resultobj
= SWIG_Py_Void();
34416 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34417 PyObject
*resultobj
= 0;
34418 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34419 wxFont
*result
= 0 ;
34422 PyObject
*swig_obj
[1] ;
34424 if (!args
) SWIG_fail
;
34425 swig_obj
[0] = args
;
34426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34427 if (!SWIG_IsOK(res1
)) {
34428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34430 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34431 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34439 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34440 PyObject
*resultobj
= 0;
34441 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34442 wxColour
*arg2
= (wxColour
*) 0 ;
34446 PyObject
*swig_obj
[2] ;
34448 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34450 if (!SWIG_IsOK(res1
)) {
34451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34453 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34456 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34458 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34460 resultobj
= SWIG_Py_Void();
34467 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34468 PyObject
*resultobj
= 0;
34469 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34470 wxColour
*result
= 0 ;
34473 PyObject
*swig_obj
[1] ;
34475 if (!args
) SWIG_fail
;
34476 swig_obj
[0] = args
;
34477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34478 if (!SWIG_IsOK(res1
)) {
34479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34481 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34482 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34490 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34491 PyObject
*resultobj
= 0;
34492 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34493 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34498 PyObject
*swig_obj
[2] ;
34500 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34502 if (!SWIG_IsOK(res1
)) {
34503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34505 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34506 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34507 if (!SWIG_IsOK(res2
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34510 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34511 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34513 resultobj
= SWIG_Py_Void();
34520 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34521 PyObject
*resultobj
= 0;
34522 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34523 wxBitmap
*result
= 0 ;
34526 PyObject
*swig_obj
[1] ;
34528 if (!args
) SWIG_fail
;
34529 swig_obj
[0] = args
;
34530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34531 if (!SWIG_IsOK(res1
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34534 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34535 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34543 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34544 PyObject
*resultobj
= 0;
34545 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34551 PyObject
*swig_obj
[2] ;
34553 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34555 if (!SWIG_IsOK(res1
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34558 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34559 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34560 if (!SWIG_IsOK(ecode2
)) {
34561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34563 arg2
= static_cast< int >(val2
);
34564 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34566 resultobj
= SWIG_Py_Void();
34573 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34574 PyObject
*resultobj
= 0;
34575 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34579 PyObject
*swig_obj
[1] ;
34581 if (!args
) SWIG_fail
;
34582 swig_obj
[0] = args
;
34583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34584 if (!SWIG_IsOK(res1
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34587 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34588 result
= (int) ((arg1
)->m_labelAlignment
);
34589 resultobj
= SWIG_From_int(static_cast< int >(result
));
34596 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34599 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34600 return SWIG_Py_Void();
34603 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34604 return SWIG_Python_InitShadowInstance(args
);
34607 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
= 0;
34611 wxRendererVersion
*result
= 0 ;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 char * kwnames
[] = {
34619 (char *) "version_",(char *) "age_", NULL
34622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34624 if (!SWIG_IsOK(ecode1
)) {
34625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34627 arg1
= static_cast< int >(val1
);
34628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34629 if (!SWIG_IsOK(ecode2
)) {
34630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34632 arg2
= static_cast< int >(val2
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34646 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34647 PyObject
*resultobj
= 0;
34648 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34651 PyObject
*swig_obj
[1] ;
34653 if (!args
) SWIG_fail
;
34654 swig_obj
[0] = args
;
34655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34656 if (!SWIG_IsOK(res1
)) {
34657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34659 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 resultobj
= SWIG_Py_Void();
34674 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
= 0;
34676 wxRendererVersion
*arg1
= 0 ;
34680 PyObject
* obj0
= 0 ;
34681 char * kwnames
[] = {
34682 (char *) "ver", NULL
34685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34686 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34687 if (!SWIG_IsOK(res1
)) {
34688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34693 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34696 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34709 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34710 PyObject
*resultobj
= 0;
34711 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34715 PyObject
*swig_obj
[1] ;
34717 if (!args
) SWIG_fail
;
34718 swig_obj
[0] = args
;
34719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34723 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34724 result
= (int)(int) ((arg1
)->version
);
34725 resultobj
= SWIG_From_int(static_cast< int >(result
));
34732 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34733 PyObject
*resultobj
= 0;
34734 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34738 PyObject
*swig_obj
[1] ;
34740 if (!args
) SWIG_fail
;
34741 swig_obj
[0] = args
;
34742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34743 if (!SWIG_IsOK(res1
)) {
34744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34746 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34747 result
= (int)(int) ((arg1
)->age
);
34748 resultobj
= SWIG_From_int(static_cast< int >(result
));
34755 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34758 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34759 return SWIG_Py_Void();
34762 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34763 return SWIG_Python_InitShadowInstance(args
);
34766 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34767 PyObject
*resultobj
= 0;
34768 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34769 wxWindow
*arg2
= (wxWindow
*) 0 ;
34772 int arg5
= (int) 0 ;
34773 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34774 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 PyObject
* obj2
= 0 ;
34791 PyObject
* obj3
= 0 ;
34792 PyObject
* obj4
= 0 ;
34793 PyObject
* obj5
= 0 ;
34794 PyObject
* obj6
= 0 ;
34795 char * kwnames
[] = {
34796 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34804 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34806 if (!SWIG_IsOK(res2
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34810 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34811 if (!SWIG_IsOK(res3
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34817 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34820 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34823 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34824 if (!SWIG_IsOK(ecode5
)) {
34825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34827 arg5
= static_cast< int >(val5
);
34830 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34831 if (!SWIG_IsOK(ecode6
)) {
34832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34834 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34837 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34838 if (!SWIG_IsOK(res7
)) {
34839 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34841 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34849 resultobj
= SWIG_Py_Void();
34856 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34857 PyObject
*resultobj
= 0;
34858 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34859 wxWindow
*arg2
= (wxWindow
*) 0 ;
34862 int arg5
= (int) 0 ;
34863 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34864 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34878 PyObject
* obj0
= 0 ;
34879 PyObject
* obj1
= 0 ;
34880 PyObject
* obj2
= 0 ;
34881 PyObject
* obj3
= 0 ;
34882 PyObject
* obj4
= 0 ;
34883 PyObject
* obj5
= 0 ;
34884 PyObject
* obj6
= 0 ;
34885 char * kwnames
[] = {
34886 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34891 if (!SWIG_IsOK(res1
)) {
34892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34894 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34896 if (!SWIG_IsOK(res2
)) {
34897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34899 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34900 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34901 if (!SWIG_IsOK(res3
)) {
34902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34907 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34910 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34914 if (!SWIG_IsOK(ecode5
)) {
34915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34917 arg5
= static_cast< int >(val5
);
34920 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34921 if (!SWIG_IsOK(ecode6
)) {
34922 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34924 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34927 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34928 if (!SWIG_IsOK(res7
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34931 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34939 resultobj
= SWIG_Py_Void();
34946 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
= 0;
34948 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34949 wxWindow
*arg2
= (wxWindow
*) 0 ;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 char * kwnames
[] = {
34958 (char *) "self",(char *) "win", NULL
34961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34963 if (!SWIG_IsOK(res1
)) {
34964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34966 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34968 if (!SWIG_IsOK(res2
)) {
34969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34974 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34978 resultobj
= SWIG_From_int(static_cast< int >(result
));
34985 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34986 PyObject
*resultobj
= 0;
34987 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34988 wxWindow
*arg2
= (wxWindow
*) 0 ;
34991 int arg5
= (int) 0 ;
35001 PyObject
* obj0
= 0 ;
35002 PyObject
* obj1
= 0 ;
35003 PyObject
* obj2
= 0 ;
35004 PyObject
* obj3
= 0 ;
35005 PyObject
* obj4
= 0 ;
35006 char * kwnames
[] = {
35007 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35012 if (!SWIG_IsOK(res1
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35015 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35017 if (!SWIG_IsOK(res2
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35021 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35022 if (!SWIG_IsOK(res3
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35028 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35031 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35035 if (!SWIG_IsOK(ecode5
)) {
35036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35038 arg5
= static_cast< int >(val5
);
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_Py_Void();
35053 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
= 0;
35055 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35056 wxWindow
*arg2
= (wxWindow
*) 0 ;
35059 int arg5
= (int) 0 ;
35069 PyObject
* obj0
= 0 ;
35070 PyObject
* obj1
= 0 ;
35071 PyObject
* obj2
= 0 ;
35072 PyObject
* obj3
= 0 ;
35073 PyObject
* obj4
= 0 ;
35074 char * kwnames
[] = {
35075 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35080 if (!SWIG_IsOK(res1
)) {
35081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35083 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35085 if (!SWIG_IsOK(res2
)) {
35086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35089 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35090 if (!SWIG_IsOK(res3
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35096 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35099 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35103 if (!SWIG_IsOK(ecode5
)) {
35104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35106 arg5
= static_cast< int >(val5
);
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35114 resultobj
= SWIG_Py_Void();
35121 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
= 0;
35123 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35124 wxWindow
*arg2
= (wxWindow
*) 0 ;
35128 wxOrientation arg6
;
35129 int arg7
= (int) 0 ;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 PyObject
* obj2
= 0 ;
35146 PyObject
* obj3
= 0 ;
35147 PyObject
* obj4
= 0 ;
35148 PyObject
* obj5
= 0 ;
35149 PyObject
* obj6
= 0 ;
35150 char * kwnames
[] = {
35151 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35156 if (!SWIG_IsOK(res1
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35159 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35161 if (!SWIG_IsOK(res2
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35165 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35166 if (!SWIG_IsOK(res3
)) {
35167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35172 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35175 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35177 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35178 if (!SWIG_IsOK(ecode5
)) {
35179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35181 arg5
= static_cast< int >(val5
);
35182 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35183 if (!SWIG_IsOK(ecode6
)) {
35184 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35186 arg6
= static_cast< wxOrientation
>(val6
);
35188 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35189 if (!SWIG_IsOK(ecode7
)) {
35190 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35192 arg7
= static_cast< int >(val7
);
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35197 wxPyEndAllowThreads(__tstate
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35200 resultobj
= SWIG_Py_Void();
35207 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35208 PyObject
*resultobj
= 0;
35209 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35210 wxWindow
*arg2
= (wxWindow
*) 0 ;
35213 int arg5
= (int) 0 ;
35223 PyObject
* obj0
= 0 ;
35224 PyObject
* obj1
= 0 ;
35225 PyObject
* obj2
= 0 ;
35226 PyObject
* obj3
= 0 ;
35227 PyObject
* obj4
= 0 ;
35228 char * kwnames
[] = {
35229 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35234 if (!SWIG_IsOK(res1
)) {
35235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35237 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35239 if (!SWIG_IsOK(res2
)) {
35240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35243 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35244 if (!SWIG_IsOK(res3
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35250 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35253 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35257 if (!SWIG_IsOK(ecode5
)) {
35258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35260 arg5
= static_cast< int >(val5
);
35263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35264 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35265 wxPyEndAllowThreads(__tstate
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35268 resultobj
= SWIG_Py_Void();
35275 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35276 PyObject
*resultobj
= 0;
35277 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35278 wxWindow
*arg2
= (wxWindow
*) 0 ;
35281 int arg5
= (int) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 PyObject
* obj1
= 0 ;
35293 PyObject
* obj2
= 0 ;
35294 PyObject
* obj3
= 0 ;
35295 PyObject
* obj4
= 0 ;
35296 char * kwnames
[] = {
35297 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35302 if (!SWIG_IsOK(res1
)) {
35303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35305 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35307 if (!SWIG_IsOK(res2
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35310 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35311 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35312 if (!SWIG_IsOK(res3
)) {
35313 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35318 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35321 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35324 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35325 if (!SWIG_IsOK(ecode5
)) {
35326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35328 arg5
= static_cast< int >(val5
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_Py_Void();
35343 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
= 0;
35345 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35346 wxWindow
*arg2
= (wxWindow
*) 0 ;
35349 int arg5
= (int) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 PyObject
* obj2
= 0 ;
35362 PyObject
* obj3
= 0 ;
35363 PyObject
* obj4
= 0 ;
35364 char * kwnames
[] = {
35365 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35370 if (!SWIG_IsOK(res1
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35373 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35375 if (!SWIG_IsOK(res2
)) {
35376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35378 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35379 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35380 if (!SWIG_IsOK(res3
)) {
35381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35386 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35389 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35393 if (!SWIG_IsOK(ecode5
)) {
35394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35396 arg5
= static_cast< int >(val5
);
35399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35400 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35401 wxPyEndAllowThreads(__tstate
);
35402 if (PyErr_Occurred()) SWIG_fail
;
35404 resultobj
= SWIG_Py_Void();
35411 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35412 PyObject
*resultobj
= 0;
35413 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35414 wxWindow
*arg2
= (wxWindow
*) 0 ;
35417 int arg5
= (int) 0 ;
35427 PyObject
* obj0
= 0 ;
35428 PyObject
* obj1
= 0 ;
35429 PyObject
* obj2
= 0 ;
35430 PyObject
* obj3
= 0 ;
35431 PyObject
* obj4
= 0 ;
35432 char * kwnames
[] = {
35433 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35441 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35443 if (!SWIG_IsOK(res2
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35446 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35447 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35448 if (!SWIG_IsOK(res3
)) {
35449 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35454 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35457 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35460 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35461 if (!SWIG_IsOK(ecode5
)) {
35462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35464 arg5
= static_cast< int >(val5
);
35467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35469 wxPyEndAllowThreads(__tstate
);
35470 if (PyErr_Occurred()) SWIG_fail
;
35472 resultobj
= SWIG_Py_Void();
35479 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
= 0;
35481 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35482 wxWindow
*arg2
= (wxWindow
*) 0 ;
35485 int arg5
= (int) 0 ;
35495 PyObject
* obj0
= 0 ;
35496 PyObject
* obj1
= 0 ;
35497 PyObject
* obj2
= 0 ;
35498 PyObject
* obj3
= 0 ;
35499 PyObject
* obj4
= 0 ;
35500 char * kwnames
[] = {
35501 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35506 if (!SWIG_IsOK(res1
)) {
35507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35509 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35511 if (!SWIG_IsOK(res2
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35515 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35516 if (!SWIG_IsOK(res3
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35522 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35525 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35529 if (!SWIG_IsOK(ecode5
)) {
35530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35532 arg5
= static_cast< int >(val5
);
35535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35536 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35537 wxPyEndAllowThreads(__tstate
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35540 resultobj
= SWIG_Py_Void();
35547 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35548 PyObject
*resultobj
= 0;
35549 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35550 wxWindow
*arg2
= (wxWindow
*) 0 ;
35551 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35556 PyObject
* obj0
= 0 ;
35557 PyObject
* obj1
= 0 ;
35558 char * kwnames
[] = {
35559 (char *) "self",(char *) "win", NULL
35562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35564 if (!SWIG_IsOK(res1
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35567 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35569 if (!SWIG_IsOK(res2
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35586 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35587 PyObject
*resultobj
= 0;
35588 wxRendererNative
*result
= 0 ;
35590 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35592 if (!wxPyCheckForApp()) SWIG_fail
;
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35596 result
= (wxRendererNative
*) &_result_ref
;
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35608 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35609 PyObject
*resultobj
= 0;
35610 wxRendererNative
*result
= 0 ;
35612 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35614 if (!wxPyCheckForApp()) SWIG_fail
;
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35618 result
= (wxRendererNative
*) &_result_ref
;
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35630 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35631 PyObject
*resultobj
= 0;
35632 wxRendererNative
*result
= 0 ;
35634 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35636 if (!wxPyCheckForApp()) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35639 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35640 result
= (wxRendererNative
*) &_result_ref
;
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35652 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
= 0;
35654 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35655 wxRendererNative
*result
= 0 ;
35658 PyObject
* obj0
= 0 ;
35659 char * kwnames
[] = {
35660 (char *) "renderer", NULL
35663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35665 if (!SWIG_IsOK(res1
)) {
35666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35668 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35670 if (!wxPyCheckForApp()) SWIG_fail
;
35671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35672 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35673 wxPyEndAllowThreads(__tstate
);
35674 if (PyErr_Occurred()) SWIG_fail
;
35676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35683 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35684 PyObject
*resultobj
= 0;
35685 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35686 SwigValueWrapper
<wxRendererVersion
> result
;
35689 PyObject
*swig_obj
[1] ;
35691 if (!args
) SWIG_fail
;
35692 swig_obj
[0] = args
;
35693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35694 if (!SWIG_IsOK(res1
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35697 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35711 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35714 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35715 return SWIG_Py_Void();
35718 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35719 PyObject
*resultobj
= 0;
35720 wxPseudoDC
*result
= 0 ;
35722 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35725 result
= (wxPseudoDC
*)new wxPseudoDC();
35726 wxPyEndAllowThreads(__tstate
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35736 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35737 PyObject
*resultobj
= 0;
35738 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35741 PyObject
*swig_obj
[1] ;
35743 if (!args
) SWIG_fail
;
35744 swig_obj
[0] = args
;
35745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35746 if (!SWIG_IsOK(res1
)) {
35747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35749 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 (arg1
)->BeginDrawing();
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35756 resultobj
= SWIG_Py_Void();
35763 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35764 PyObject
*resultobj
= 0;
35765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35768 PyObject
*swig_obj
[1] ;
35770 if (!args
) SWIG_fail
;
35771 swig_obj
[0] = args
;
35772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35773 if (!SWIG_IsOK(res1
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35776 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 (arg1
)->EndDrawing();
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35783 resultobj
= SWIG_Py_Void();
35790 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35791 PyObject
*resultobj
= 0;
35792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35795 PyObject
*swig_obj
[1] ;
35797 if (!args
) SWIG_fail
;
35798 swig_obj
[0] = args
;
35799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35800 if (!SWIG_IsOK(res1
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= SWIG_Py_Void();
35818 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35819 PyObject
*resultobj
= 0;
35820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35823 PyObject
*swig_obj
[1] ;
35825 if (!args
) SWIG_fail
;
35826 swig_obj
[0] = args
;
35827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35828 if (!SWIG_IsOK(res1
)) {
35829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35834 (arg1
)->RemoveAll();
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35838 resultobj
= SWIG_Py_Void();
35845 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35846 PyObject
*resultobj
= 0;
35847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35851 PyObject
*swig_obj
[1] ;
35853 if (!args
) SWIG_fail
;
35854 swig_obj
[0] = args
;
35855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35856 if (!SWIG_IsOK(res1
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35859 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 result
= (int)(arg1
)->GetLen();
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 resultobj
= SWIG_From_int(static_cast< int >(result
));
35873 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
= 0;
35875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35881 PyObject
* obj0
= 0 ;
35882 PyObject
* obj1
= 0 ;
35883 char * kwnames
[] = {
35884 (char *) "self",(char *) "id", NULL
35887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35889 if (!SWIG_IsOK(res1
)) {
35890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35894 if (!SWIG_IsOK(ecode2
)) {
35895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35897 arg2
= static_cast< int >(val2
);
35899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35900 (arg1
)->SetId(arg2
);
35901 wxPyEndAllowThreads(__tstate
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35904 resultobj
= SWIG_Py_Void();
35911 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
= 0;
35913 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 char * kwnames
[] = {
35922 (char *) "self",(char *) "id", NULL
35925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35927 if (!SWIG_IsOK(res1
)) {
35928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35930 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35932 if (!SWIG_IsOK(ecode2
)) {
35933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35935 arg2
= static_cast< int >(val2
);
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 (arg1
)->ClearId(arg2
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= SWIG_Py_Void();
35949 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
= 0;
35951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35957 PyObject
* obj0
= 0 ;
35958 PyObject
* obj1
= 0 ;
35959 char * kwnames
[] = {
35960 (char *) "self",(char *) "id", NULL
35963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35965 if (!SWIG_IsOK(res1
)) {
35966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35970 if (!SWIG_IsOK(ecode2
)) {
35971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35973 arg2
= static_cast< int >(val2
);
35975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35976 (arg1
)->RemoveId(arg2
);
35977 wxPyEndAllowThreads(__tstate
);
35978 if (PyErr_Occurred()) SWIG_fail
;
35980 resultobj
= SWIG_Py_Void();
35987 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35988 PyObject
*resultobj
= 0;
35989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 PyObject
* obj2
= 0 ;
36004 PyObject
* obj3
= 0 ;
36005 char * kwnames
[] = {
36006 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36011 if (!SWIG_IsOK(res1
)) {
36012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36016 if (!SWIG_IsOK(ecode2
)) {
36017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36019 arg2
= static_cast< int >(val2
);
36020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36021 if (!SWIG_IsOK(ecode3
)) {
36022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36024 arg3
= static_cast< int >(val3
);
36025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36026 if (!SWIG_IsOK(ecode4
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36029 arg4
= static_cast< int >(val4
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_Py_Void();
36043 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36047 bool arg3
= (bool) true ;
36054 PyObject
* obj0
= 0 ;
36055 PyObject
* obj1
= 0 ;
36056 PyObject
* obj2
= 0 ;
36057 char * kwnames
[] = {
36058 (char *) "self",(char *) "id",(char *) "greyout", NULL
36061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36063 if (!SWIG_IsOK(res1
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36066 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36068 if (!SWIG_IsOK(ecode2
)) {
36069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36071 arg2
= static_cast< int >(val2
);
36073 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36074 if (!SWIG_IsOK(ecode3
)) {
36075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36077 arg3
= static_cast< bool >(val3
);
36080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36081 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36085 resultobj
= SWIG_Py_Void();
36092 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
= 0;
36094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 char * kwnames
[] = {
36104 (char *) "self",(char *) "id", NULL
36107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36109 if (!SWIG_IsOK(res1
)) {
36110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36112 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36114 if (!SWIG_IsOK(ecode2
)) {
36115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36117 arg2
= static_cast< int >(val2
);
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36133 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
= 0;
36135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36138 int arg4
= (int) 1 ;
36139 wxColor
const &arg5_defvalue
= *wxWHITE
;
36140 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36141 PyObject
*result
= 0 ;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36154 PyObject
* obj2
= 0 ;
36155 PyObject
* obj3
= 0 ;
36156 PyObject
* obj4
= 0 ;
36157 char * kwnames
[] = {
36158 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36163 if (!SWIG_IsOK(res1
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36168 if (!SWIG_IsOK(ecode2
)) {
36169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36171 arg2
= static_cast< int >(val2
);
36172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36173 if (!SWIG_IsOK(ecode3
)) {
36174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36176 arg3
= static_cast< int >(val3
);
36178 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36179 if (!SWIG_IsOK(ecode4
)) {
36180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36182 arg4
= static_cast< int >(val4
);
36185 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36186 if (!SWIG_IsOK(res5
)) {
36187 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36192 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36195 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36196 if (PyErr_Occurred()) SWIG_fail
;
36198 resultobj
= result
;
36205 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36206 PyObject
*resultobj
= 0;
36207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36210 PyObject
*result
= 0 ;
36217 PyObject
* obj0
= 0 ;
36218 PyObject
* obj1
= 0 ;
36219 PyObject
* obj2
= 0 ;
36220 char * kwnames
[] = {
36221 (char *) "self",(char *) "x",(char *) "y", NULL
36224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36226 if (!SWIG_IsOK(res1
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36231 if (!SWIG_IsOK(ecode2
)) {
36232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36234 arg2
= static_cast< int >(val2
);
36235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36236 if (!SWIG_IsOK(ecode3
)) {
36237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36239 arg3
= static_cast< int >(val3
);
36241 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= result
;
36251 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36255 wxDC
*arg3
= (wxDC
*) 0 ;
36262 PyObject
* obj0
= 0 ;
36263 PyObject
* obj1
= 0 ;
36264 PyObject
* obj2
= 0 ;
36265 char * kwnames
[] = {
36266 (char *) "self",(char *) "id",(char *) "dc", NULL
36269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36271 if (!SWIG_IsOK(res1
)) {
36272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36276 if (!SWIG_IsOK(ecode2
)) {
36277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36279 arg2
= static_cast< int >(val2
);
36280 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36281 if (!SWIG_IsOK(res3
)) {
36282 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36284 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36287 (arg1
)->DrawIdToDC(arg2
,arg3
);
36288 wxPyEndAllowThreads(__tstate
);
36289 if (PyErr_Occurred()) SWIG_fail
;
36291 resultobj
= SWIG_Py_Void();
36298 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36299 PyObject
*resultobj
= 0;
36300 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36308 PyObject
* obj0
= 0 ;
36309 PyObject
* obj1
= 0 ;
36310 PyObject
* obj2
= 0 ;
36311 char * kwnames
[] = {
36312 (char *) "self",(char *) "id",(char *) "rect", NULL
36315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36317 if (!SWIG_IsOK(res1
)) {
36318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36322 if (!SWIG_IsOK(ecode2
)) {
36323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36325 arg2
= static_cast< int >(val2
);
36328 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36332 (arg1
)->SetIdBounds(arg2
,*arg3
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 resultobj
= SWIG_Py_Void();
36343 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
= 0;
36345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36352 PyObject
* obj0
= 0 ;
36353 PyObject
* obj1
= 0 ;
36354 char * kwnames
[] = {
36355 (char *) "self",(char *) "id", NULL
36358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36360 if (!SWIG_IsOK(res1
)) {
36361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36365 if (!SWIG_IsOK(ecode2
)) {
36366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36368 arg2
= static_cast< int >(val2
);
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36375 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36382 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36383 PyObject
*resultobj
= 0;
36384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36385 wxDC
*arg2
= (wxDC
*) 0 ;
36392 PyObject
* obj0
= 0 ;
36393 PyObject
* obj1
= 0 ;
36394 PyObject
* obj2
= 0 ;
36395 char * kwnames
[] = {
36396 (char *) "self",(char *) "dc",(char *) "rect", NULL
36399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36406 if (!SWIG_IsOK(res2
)) {
36407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36409 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36412 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_Py_Void();
36427 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
= 0;
36429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36430 wxDC
*arg2
= (wxDC
*) 0 ;
36431 wxRegion
*arg3
= 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 PyObject
* obj2
= 0 ;
36441 char * kwnames
[] = {
36442 (char *) "self",(char *) "dc",(char *) "region", NULL
36445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36447 if (!SWIG_IsOK(res1
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36452 if (!SWIG_IsOK(res2
)) {
36453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36455 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36456 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36457 if (!SWIG_IsOK(res3
)) {
36458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36463 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_Py_Void();
36477 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36478 PyObject
*resultobj
= 0;
36479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36480 wxDC
*arg2
= (wxDC
*) 0 ;
36485 PyObject
* obj0
= 0 ;
36486 PyObject
* obj1
= 0 ;
36487 char * kwnames
[] = {
36488 (char *) "self",(char *) "dc", NULL
36491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36493 if (!SWIG_IsOK(res1
)) {
36494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36498 if (!SWIG_IsOK(res2
)) {
36499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36501 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36504 (arg1
)->DrawToDC(arg2
);
36505 wxPyEndAllowThreads(__tstate
);
36506 if (PyErr_Occurred()) SWIG_fail
;
36508 resultobj
= SWIG_Py_Void();
36515 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
= 0;
36517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36520 wxColour
*arg4
= 0 ;
36521 int arg5
= (int) wxFLOOD_SURFACE
;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 PyObject
* obj2
= 0 ;
36534 PyObject
* obj3
= 0 ;
36535 PyObject
* obj4
= 0 ;
36536 char * kwnames
[] = {
36537 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36542 if (!SWIG_IsOK(res1
)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36545 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36547 if (!SWIG_IsOK(ecode2
)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36550 arg2
= static_cast< int >(val2
);
36551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36552 if (!SWIG_IsOK(ecode3
)) {
36553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36555 arg3
= static_cast< int >(val3
);
36558 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36561 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36562 if (!SWIG_IsOK(ecode5
)) {
36563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36565 arg5
= static_cast< int >(val5
);
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36573 resultobj
= SWIG_Py_Void();
36580 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36581 PyObject
*resultobj
= 0;
36582 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36583 wxPoint
*arg2
= 0 ;
36584 wxColour
*arg3
= 0 ;
36585 int arg4
= (int) wxFLOOD_SURFACE
;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 PyObject
* obj2
= 0 ;
36595 PyObject
* obj3
= 0 ;
36596 char * kwnames
[] = {
36597 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36602 if (!SWIG_IsOK(res1
)) {
36603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36605 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36608 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36612 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36616 if (!SWIG_IsOK(ecode4
)) {
36617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36619 arg4
= static_cast< int >(val4
);
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36627 resultobj
= SWIG_Py_Void();
36634 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36635 PyObject
*resultobj
= 0;
36636 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36651 PyObject
* obj0
= 0 ;
36652 PyObject
* obj1
= 0 ;
36653 PyObject
* obj2
= 0 ;
36654 PyObject
* obj3
= 0 ;
36655 PyObject
* obj4
= 0 ;
36656 char * kwnames
[] = {
36657 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36662 if (!SWIG_IsOK(res1
)) {
36663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36665 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36667 if (!SWIG_IsOK(ecode2
)) {
36668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36670 arg2
= static_cast< int >(val2
);
36671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36672 if (!SWIG_IsOK(ecode3
)) {
36673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36675 arg3
= static_cast< int >(val3
);
36676 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36677 if (!SWIG_IsOK(ecode4
)) {
36678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36680 arg4
= static_cast< int >(val4
);
36681 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36682 if (!SWIG_IsOK(ecode5
)) {
36683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36685 arg5
= static_cast< int >(val5
);
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36689 wxPyEndAllowThreads(__tstate
);
36690 if (PyErr_Occurred()) SWIG_fail
;
36692 resultobj
= SWIG_Py_Void();
36699 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36700 PyObject
*resultobj
= 0;
36701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36702 wxPoint
*arg2
= 0 ;
36703 wxPoint
*arg3
= 0 ;
36708 PyObject
* obj0
= 0 ;
36709 PyObject
* obj1
= 0 ;
36710 PyObject
* obj2
= 0 ;
36711 char * kwnames
[] = {
36712 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36717 if (!SWIG_IsOK(res1
)) {
36718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36720 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= SWIG_Py_Void();
36742 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
= 0;
36744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 PyObject
* obj2
= 0 ;
36756 char * kwnames
[] = {
36757 (char *) "self",(char *) "x",(char *) "y", NULL
36760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36762 if (!SWIG_IsOK(res1
)) {
36763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36767 if (!SWIG_IsOK(ecode2
)) {
36768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36770 arg2
= static_cast< int >(val2
);
36771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36772 if (!SWIG_IsOK(ecode3
)) {
36773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36775 arg3
= static_cast< int >(val3
);
36777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36778 (arg1
)->CrossHair(arg2
,arg3
);
36779 wxPyEndAllowThreads(__tstate
);
36780 if (PyErr_Occurred()) SWIG_fail
;
36782 resultobj
= SWIG_Py_Void();
36789 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36790 PyObject
*resultobj
= 0;
36791 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36792 wxPoint
*arg2
= 0 ;
36796 PyObject
* obj0
= 0 ;
36797 PyObject
* obj1
= 0 ;
36798 char * kwnames
[] = {
36799 (char *) "self",(char *) "pt", NULL
36802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36804 if (!SWIG_IsOK(res1
)) {
36805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36807 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36814 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36815 wxPyEndAllowThreads(__tstate
);
36816 if (PyErr_Occurred()) SWIG_fail
;
36818 resultobj
= SWIG_Py_Void();
36825 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36826 PyObject
*resultobj
= 0;
36827 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36848 PyObject
* obj0
= 0 ;
36849 PyObject
* obj1
= 0 ;
36850 PyObject
* obj2
= 0 ;
36851 PyObject
* obj3
= 0 ;
36852 PyObject
* obj4
= 0 ;
36853 PyObject
* obj5
= 0 ;
36854 PyObject
* obj6
= 0 ;
36855 char * kwnames
[] = {
36856 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36861 if (!SWIG_IsOK(res1
)) {
36862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36864 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36866 if (!SWIG_IsOK(ecode2
)) {
36867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36869 arg2
= static_cast< int >(val2
);
36870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36871 if (!SWIG_IsOK(ecode3
)) {
36872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36874 arg3
= static_cast< int >(val3
);
36875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36876 if (!SWIG_IsOK(ecode4
)) {
36877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36879 arg4
= static_cast< int >(val4
);
36880 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36881 if (!SWIG_IsOK(ecode5
)) {
36882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36884 arg5
= static_cast< int >(val5
);
36885 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36886 if (!SWIG_IsOK(ecode6
)) {
36887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36889 arg6
= static_cast< int >(val6
);
36890 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36891 if (!SWIG_IsOK(ecode7
)) {
36892 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36894 arg7
= static_cast< int >(val7
);
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 resultobj
= SWIG_Py_Void();
36908 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
= 0;
36910 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36911 wxPoint
*arg2
= 0 ;
36912 wxPoint
*arg3
= 0 ;
36913 wxPoint
*arg4
= 0 ;
36919 PyObject
* obj0
= 0 ;
36920 PyObject
* obj1
= 0 ;
36921 PyObject
* obj2
= 0 ;
36922 PyObject
* obj3
= 0 ;
36923 char * kwnames
[] = {
36924 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36929 if (!SWIG_IsOK(res1
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36932 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36947 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36948 wxPyEndAllowThreads(__tstate
);
36949 if (PyErr_Occurred()) SWIG_fail
;
36951 resultobj
= SWIG_Py_Void();
36958 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36959 PyObject
*resultobj
= 0;
36960 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36975 PyObject
* obj0
= 0 ;
36976 PyObject
* obj1
= 0 ;
36977 PyObject
* obj2
= 0 ;
36978 PyObject
* obj3
= 0 ;
36979 PyObject
* obj4
= 0 ;
36980 char * kwnames
[] = {
36981 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36986 if (!SWIG_IsOK(res1
)) {
36987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36989 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36991 if (!SWIG_IsOK(ecode2
)) {
36992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36994 arg2
= static_cast< int >(val2
);
36995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36996 if (!SWIG_IsOK(ecode3
)) {
36997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36999 arg3
= static_cast< int >(val3
);
37000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37001 if (!SWIG_IsOK(ecode4
)) {
37002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37004 arg4
= static_cast< int >(val4
);
37005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37006 if (!SWIG_IsOK(ecode5
)) {
37007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37009 arg5
= static_cast< int >(val5
);
37011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37012 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37013 wxPyEndAllowThreads(__tstate
);
37014 if (PyErr_Occurred()) SWIG_fail
;
37016 resultobj
= SWIG_Py_Void();
37023 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37024 PyObject
*resultobj
= 0;
37025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37030 PyObject
* obj0
= 0 ;
37031 PyObject
* obj1
= 0 ;
37032 char * kwnames
[] = {
37033 (char *) "self",(char *) "rect", NULL
37036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37038 if (!SWIG_IsOK(res1
)) {
37039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37041 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37044 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37049 wxPyEndAllowThreads(__tstate
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37052 resultobj
= SWIG_Py_Void();
37059 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37060 PyObject
*resultobj
= 0;
37061 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37082 PyObject
* obj0
= 0 ;
37083 PyObject
* obj1
= 0 ;
37084 PyObject
* obj2
= 0 ;
37085 PyObject
* obj3
= 0 ;
37086 PyObject
* obj4
= 0 ;
37087 PyObject
* obj5
= 0 ;
37088 PyObject
* obj6
= 0 ;
37089 char * kwnames
[] = {
37090 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37095 if (!SWIG_IsOK(res1
)) {
37096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37100 if (!SWIG_IsOK(ecode2
)) {
37101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37103 arg2
= static_cast< int >(val2
);
37104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37105 if (!SWIG_IsOK(ecode3
)) {
37106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37108 arg3
= static_cast< int >(val3
);
37109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37110 if (!SWIG_IsOK(ecode4
)) {
37111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37113 arg4
= static_cast< int >(val4
);
37114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37115 if (!SWIG_IsOK(ecode5
)) {
37116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37118 arg5
= static_cast< int >(val5
);
37119 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37120 if (!SWIG_IsOK(ecode6
)) {
37121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37123 arg6
= static_cast< double >(val6
);
37124 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37125 if (!SWIG_IsOK(ecode7
)) {
37126 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37128 arg7
= static_cast< double >(val7
);
37130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37131 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37132 wxPyEndAllowThreads(__tstate
);
37133 if (PyErr_Occurred()) SWIG_fail
;
37135 resultobj
= SWIG_Py_Void();
37142 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37143 PyObject
*resultobj
= 0;
37144 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37145 wxPoint
*arg2
= 0 ;
37157 PyObject
* obj0
= 0 ;
37158 PyObject
* obj1
= 0 ;
37159 PyObject
* obj2
= 0 ;
37160 PyObject
* obj3
= 0 ;
37161 PyObject
* obj4
= 0 ;
37162 char * kwnames
[] = {
37163 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37168 if (!SWIG_IsOK(res1
)) {
37169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37171 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37178 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37180 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37181 if (!SWIG_IsOK(ecode4
)) {
37182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37184 arg4
= static_cast< double >(val4
);
37185 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37186 if (!SWIG_IsOK(ecode5
)) {
37187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37189 arg5
= static_cast< double >(val5
);
37191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37192 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37193 wxPyEndAllowThreads(__tstate
);
37194 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= SWIG_Py_Void();
37203 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37204 PyObject
*resultobj
= 0;
37205 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37214 PyObject
* obj0
= 0 ;
37215 PyObject
* obj1
= 0 ;
37216 PyObject
* obj2
= 0 ;
37217 char * kwnames
[] = {
37218 (char *) "self",(char *) "x",(char *) "y", NULL
37221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37223 if (!SWIG_IsOK(res1
)) {
37224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37226 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37228 if (!SWIG_IsOK(ecode2
)) {
37229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37231 arg2
= static_cast< int >(val2
);
37232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37233 if (!SWIG_IsOK(ecode3
)) {
37234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37236 arg3
= static_cast< int >(val3
);
37238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37239 (arg1
)->DrawPoint(arg2
,arg3
);
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 resultobj
= SWIG_Py_Void();
37250 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
= 0;
37252 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37253 wxPoint
*arg2
= 0 ;
37257 PyObject
* obj0
= 0 ;
37258 PyObject
* obj1
= 0 ;
37259 char * kwnames
[] = {
37260 (char *) "self",(char *) "pt", NULL
37263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37265 if (!SWIG_IsOK(res1
)) {
37266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37276 wxPyEndAllowThreads(__tstate
);
37277 if (PyErr_Occurred()) SWIG_fail
;
37279 resultobj
= SWIG_Py_Void();
37286 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37287 PyObject
*resultobj
= 0;
37288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37303 PyObject
* obj0
= 0 ;
37304 PyObject
* obj1
= 0 ;
37305 PyObject
* obj2
= 0 ;
37306 PyObject
* obj3
= 0 ;
37307 PyObject
* obj4
= 0 ;
37308 char * kwnames
[] = {
37309 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37314 if (!SWIG_IsOK(res1
)) {
37315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37317 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37319 if (!SWIG_IsOK(ecode2
)) {
37320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37322 arg2
= static_cast< int >(val2
);
37323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37324 if (!SWIG_IsOK(ecode3
)) {
37325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37327 arg3
= static_cast< int >(val3
);
37328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37329 if (!SWIG_IsOK(ecode4
)) {
37330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37332 arg4
= static_cast< int >(val4
);
37333 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37334 if (!SWIG_IsOK(ecode5
)) {
37335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37337 arg5
= static_cast< int >(val5
);
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37344 resultobj
= SWIG_Py_Void();
37351 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37352 PyObject
*resultobj
= 0;
37353 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37358 PyObject
* obj0
= 0 ;
37359 PyObject
* obj1
= 0 ;
37360 char * kwnames
[] = {
37361 (char *) "self",(char *) "rect", NULL
37364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37366 if (!SWIG_IsOK(res1
)) {
37367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37372 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37376 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37377 wxPyEndAllowThreads(__tstate
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37380 resultobj
= SWIG_Py_Void();
37387 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37388 PyObject
*resultobj
= 0;
37389 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37390 wxPoint
*arg2
= 0 ;
37396 PyObject
* obj0
= 0 ;
37397 PyObject
* obj1
= 0 ;
37398 PyObject
* obj2
= 0 ;
37399 char * kwnames
[] = {
37400 (char *) "self",(char *) "pt",(char *) "sz", NULL
37403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37405 if (!SWIG_IsOK(res1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37408 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37415 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37423 resultobj
= SWIG_Py_Void();
37430 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
= 0;
37432 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37450 PyObject
* obj0
= 0 ;
37451 PyObject
* obj1
= 0 ;
37452 PyObject
* obj2
= 0 ;
37453 PyObject
* obj3
= 0 ;
37454 PyObject
* obj4
= 0 ;
37455 PyObject
* obj5
= 0 ;
37456 char * kwnames
[] = {
37457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37462 if (!SWIG_IsOK(res1
)) {
37463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37465 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37467 if (!SWIG_IsOK(ecode2
)) {
37468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37470 arg2
= static_cast< int >(val2
);
37471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37472 if (!SWIG_IsOK(ecode3
)) {
37473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37475 arg3
= static_cast< int >(val3
);
37476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37477 if (!SWIG_IsOK(ecode4
)) {
37478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37480 arg4
= static_cast< int >(val4
);
37481 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37482 if (!SWIG_IsOK(ecode5
)) {
37483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37485 arg5
= static_cast< int >(val5
);
37486 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37487 if (!SWIG_IsOK(ecode6
)) {
37488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37490 arg6
= static_cast< double >(val6
);
37492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37493 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37494 wxPyEndAllowThreads(__tstate
);
37495 if (PyErr_Occurred()) SWIG_fail
;
37497 resultobj
= SWIG_Py_Void();
37504 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37505 PyObject
*resultobj
= 0;
37506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37514 PyObject
* obj0
= 0 ;
37515 PyObject
* obj1
= 0 ;
37516 PyObject
* obj2
= 0 ;
37517 char * kwnames
[] = {
37518 (char *) "self",(char *) "r",(char *) "radius", NULL
37521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37523 if (!SWIG_IsOK(res1
)) {
37524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37526 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37529 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37531 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37532 if (!SWIG_IsOK(ecode3
)) {
37533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37535 arg3
= static_cast< double >(val3
);
37537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37538 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= SWIG_Py_Void();
37549 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
= 0;
37551 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37552 wxPoint
*arg2
= 0 ;
37561 PyObject
* obj0
= 0 ;
37562 PyObject
* obj1
= 0 ;
37563 PyObject
* obj2
= 0 ;
37564 PyObject
* obj3
= 0 ;
37565 char * kwnames
[] = {
37566 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37571 if (!SWIG_IsOK(res1
)) {
37572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37581 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37583 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37584 if (!SWIG_IsOK(ecode4
)) {
37585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37587 arg4
= static_cast< double >(val4
);
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= SWIG_Py_Void();
37601 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37602 PyObject
*resultobj
= 0;
37603 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37615 PyObject
* obj0
= 0 ;
37616 PyObject
* obj1
= 0 ;
37617 PyObject
* obj2
= 0 ;
37618 PyObject
* obj3
= 0 ;
37619 char * kwnames
[] = {
37620 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37625 if (!SWIG_IsOK(res1
)) {
37626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37628 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37630 if (!SWIG_IsOK(ecode2
)) {
37631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37633 arg2
= static_cast< int >(val2
);
37634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37635 if (!SWIG_IsOK(ecode3
)) {
37636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37638 arg3
= static_cast< int >(val3
);
37639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37640 if (!SWIG_IsOK(ecode4
)) {
37641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37643 arg4
= static_cast< int >(val4
);
37645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37646 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37647 wxPyEndAllowThreads(__tstate
);
37648 if (PyErr_Occurred()) SWIG_fail
;
37650 resultobj
= SWIG_Py_Void();
37657 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
= 0;
37659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37660 wxPoint
*arg2
= 0 ;
37667 PyObject
* obj0
= 0 ;
37668 PyObject
* obj1
= 0 ;
37669 PyObject
* obj2
= 0 ;
37670 char * kwnames
[] = {
37671 (char *) "self",(char *) "pt",(char *) "radius", NULL
37674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37676 if (!SWIG_IsOK(res1
)) {
37677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37679 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37685 if (!SWIG_IsOK(ecode3
)) {
37686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37688 arg3
= static_cast< int >(val3
);
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37691 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= SWIG_Py_Void();
37702 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37703 PyObject
*resultobj
= 0;
37704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37719 PyObject
* obj0
= 0 ;
37720 PyObject
* obj1
= 0 ;
37721 PyObject
* obj2
= 0 ;
37722 PyObject
* obj3
= 0 ;
37723 PyObject
* obj4
= 0 ;
37724 char * kwnames
[] = {
37725 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37730 if (!SWIG_IsOK(res1
)) {
37731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37733 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37735 if (!SWIG_IsOK(ecode2
)) {
37736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37738 arg2
= static_cast< int >(val2
);
37739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37740 if (!SWIG_IsOK(ecode3
)) {
37741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37743 arg3
= static_cast< int >(val3
);
37744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37745 if (!SWIG_IsOK(ecode4
)) {
37746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37748 arg4
= static_cast< int >(val4
);
37749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37750 if (!SWIG_IsOK(ecode5
)) {
37751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37753 arg5
= static_cast< int >(val5
);
37755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37756 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37757 wxPyEndAllowThreads(__tstate
);
37758 if (PyErr_Occurred()) SWIG_fail
;
37760 resultobj
= SWIG_Py_Void();
37767 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
= 0;
37769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37774 PyObject
* obj0
= 0 ;
37775 PyObject
* obj1
= 0 ;
37776 char * kwnames
[] = {
37777 (char *) "self",(char *) "rect", NULL
37780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37782 if (!SWIG_IsOK(res1
)) {
37783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37796 resultobj
= SWIG_Py_Void();
37803 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37804 PyObject
*resultobj
= 0;
37805 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37806 wxPoint
*arg2
= 0 ;
37812 PyObject
* obj0
= 0 ;
37813 PyObject
* obj1
= 0 ;
37814 PyObject
* obj2
= 0 ;
37815 char * kwnames
[] = {
37816 (char *) "self",(char *) "pt",(char *) "sz", NULL
37819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37821 if (!SWIG_IsOK(res1
)) {
37822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37824 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37827 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37831 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37835 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37836 wxPyEndAllowThreads(__tstate
);
37837 if (PyErr_Occurred()) SWIG_fail
;
37839 resultobj
= SWIG_Py_Void();
37846 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
= 0;
37848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37860 PyObject
* obj0
= 0 ;
37861 PyObject
* obj1
= 0 ;
37862 PyObject
* obj2
= 0 ;
37863 PyObject
* obj3
= 0 ;
37864 char * kwnames
[] = {
37865 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37870 if (!SWIG_IsOK(res1
)) {
37871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37873 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37875 if (!SWIG_IsOK(res2
)) {
37876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37881 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37883 if (!SWIG_IsOK(ecode3
)) {
37884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37886 arg3
= static_cast< int >(val3
);
37887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37888 if (!SWIG_IsOK(ecode4
)) {
37889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37891 arg4
= static_cast< int >(val4
);
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37895 wxPyEndAllowThreads(__tstate
);
37896 if (PyErr_Occurred()) SWIG_fail
;
37898 resultobj
= SWIG_Py_Void();
37905 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37906 PyObject
*resultobj
= 0;
37907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37909 wxPoint
*arg3
= 0 ;
37915 PyObject
* obj0
= 0 ;
37916 PyObject
* obj1
= 0 ;
37917 PyObject
* obj2
= 0 ;
37918 char * kwnames
[] = {
37919 (char *) "self",(char *) "icon",(char *) "pt", NULL
37922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37924 if (!SWIG_IsOK(res1
)) {
37925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37929 if (!SWIG_IsOK(res2
)) {
37930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37935 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37938 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37942 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37943 wxPyEndAllowThreads(__tstate
);
37944 if (PyErr_Occurred()) SWIG_fail
;
37946 resultobj
= SWIG_Py_Void();
37953 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37954 PyObject
*resultobj
= 0;
37955 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37956 wxBitmap
*arg2
= 0 ;
37959 bool arg5
= (bool) false ;
37970 PyObject
* obj0
= 0 ;
37971 PyObject
* obj1
= 0 ;
37972 PyObject
* obj2
= 0 ;
37973 PyObject
* obj3
= 0 ;
37974 PyObject
* obj4
= 0 ;
37975 char * kwnames
[] = {
37976 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37981 if (!SWIG_IsOK(res1
)) {
37982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37986 if (!SWIG_IsOK(res2
)) {
37987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37992 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37994 if (!SWIG_IsOK(ecode3
)) {
37995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37997 arg3
= static_cast< int >(val3
);
37998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37999 if (!SWIG_IsOK(ecode4
)) {
38000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38002 arg4
= static_cast< int >(val4
);
38004 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38005 if (!SWIG_IsOK(ecode5
)) {
38006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38008 arg5
= static_cast< bool >(val5
);
38011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38012 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38016 resultobj
= SWIG_Py_Void();
38023 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38024 PyObject
*resultobj
= 0;
38025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38026 wxBitmap
*arg2
= 0 ;
38027 wxPoint
*arg3
= 0 ;
38028 bool arg4
= (bool) false ;
38036 PyObject
* obj0
= 0 ;
38037 PyObject
* obj1
= 0 ;
38038 PyObject
* obj2
= 0 ;
38039 PyObject
* obj3
= 0 ;
38040 char * kwnames
[] = {
38041 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38046 if (!SWIG_IsOK(res1
)) {
38047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38049 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38051 if (!SWIG_IsOK(res2
)) {
38052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38057 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38063 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38064 if (!SWIG_IsOK(ecode4
)) {
38065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38067 arg4
= static_cast< bool >(val4
);
38070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38071 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38072 wxPyEndAllowThreads(__tstate
);
38073 if (PyErr_Occurred()) SWIG_fail
;
38075 resultobj
= SWIG_Py_Void();
38082 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
= 0;
38084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38085 wxString
*arg2
= 0 ;
38090 bool temp2
= false ;
38095 PyObject
* obj0
= 0 ;
38096 PyObject
* obj1
= 0 ;
38097 PyObject
* obj2
= 0 ;
38098 PyObject
* obj3
= 0 ;
38099 char * kwnames
[] = {
38100 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38105 if (!SWIG_IsOK(res1
)) {
38106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38110 arg2
= wxString_in_helper(obj1
);
38111 if (arg2
== NULL
) SWIG_fail
;
38114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38115 if (!SWIG_IsOK(ecode3
)) {
38116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38118 arg3
= static_cast< int >(val3
);
38119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38120 if (!SWIG_IsOK(ecode4
)) {
38121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38123 arg4
= static_cast< int >(val4
);
38125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38126 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38130 resultobj
= SWIG_Py_Void();
38145 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38146 PyObject
*resultobj
= 0;
38147 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38148 wxString
*arg2
= 0 ;
38149 wxPoint
*arg3
= 0 ;
38152 bool temp2
= false ;
38154 PyObject
* obj0
= 0 ;
38155 PyObject
* obj1
= 0 ;
38156 PyObject
* obj2
= 0 ;
38157 char * kwnames
[] = {
38158 (char *) "self",(char *) "text",(char *) "pt", NULL
38161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38163 if (!SWIG_IsOK(res1
)) {
38164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38168 arg2
= wxString_in_helper(obj1
);
38169 if (arg2
== NULL
) SWIG_fail
;
38174 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38182 resultobj
= SWIG_Py_Void();
38197 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38198 PyObject
*resultobj
= 0;
38199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38200 wxString
*arg2
= 0 ;
38206 bool temp2
= false ;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 PyObject
* obj2
= 0 ;
38216 PyObject
* obj3
= 0 ;
38217 PyObject
* obj4
= 0 ;
38218 char * kwnames
[] = {
38219 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38224 if (!SWIG_IsOK(res1
)) {
38225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38229 arg2
= wxString_in_helper(obj1
);
38230 if (arg2
== NULL
) SWIG_fail
;
38233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38234 if (!SWIG_IsOK(ecode3
)) {
38235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38237 arg3
= static_cast< int >(val3
);
38238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38239 if (!SWIG_IsOK(ecode4
)) {
38240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38242 arg4
= static_cast< int >(val4
);
38243 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38244 if (!SWIG_IsOK(ecode5
)) {
38245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38247 arg5
= static_cast< double >(val5
);
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38251 wxPyEndAllowThreads(__tstate
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38254 resultobj
= SWIG_Py_Void();
38269 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38270 PyObject
*resultobj
= 0;
38271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38272 wxString
*arg2
= 0 ;
38273 wxPoint
*arg3
= 0 ;
38277 bool temp2
= false ;
38281 PyObject
* obj0
= 0 ;
38282 PyObject
* obj1
= 0 ;
38283 PyObject
* obj2
= 0 ;
38284 PyObject
* obj3
= 0 ;
38285 char * kwnames
[] = {
38286 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38291 if (!SWIG_IsOK(res1
)) {
38292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38296 arg2
= wxString_in_helper(obj1
);
38297 if (arg2
== NULL
) SWIG_fail
;
38302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38304 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38305 if (!SWIG_IsOK(ecode4
)) {
38306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38308 arg4
= static_cast< double >(val4
);
38310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38311 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38315 resultobj
= SWIG_Py_Void();
38330 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38331 PyObject
*resultobj
= 0;
38332 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38334 wxPoint
*arg3
= (wxPoint
*) 0 ;
38335 int arg4
= (int) 0 ;
38336 int arg5
= (int) 0 ;
38343 PyObject
* obj0
= 0 ;
38344 PyObject
* obj1
= 0 ;
38345 PyObject
* obj2
= 0 ;
38346 PyObject
* obj3
= 0 ;
38347 char * kwnames
[] = {
38348 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38353 if (!SWIG_IsOK(res1
)) {
38354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38358 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38359 if (arg3
== NULL
) SWIG_fail
;
38362 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38363 if (!SWIG_IsOK(ecode4
)) {
38364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38366 arg4
= static_cast< int >(val4
);
38369 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38370 if (!SWIG_IsOK(ecode5
)) {
38371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38373 arg5
= static_cast< int >(val5
);
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38378 wxPyEndAllowThreads(__tstate
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38381 resultobj
= SWIG_Py_Void();
38383 if (arg3
) delete [] arg3
;
38388 if (arg3
) delete [] arg3
;
38394 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38395 PyObject
*resultobj
= 0;
38396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38398 wxPoint
*arg3
= (wxPoint
*) 0 ;
38399 int arg4
= (int) 0 ;
38400 int arg5
= (int) 0 ;
38401 int arg6
= (int) wxODDEVEN_RULE
;
38410 PyObject
* obj0
= 0 ;
38411 PyObject
* obj1
= 0 ;
38412 PyObject
* obj2
= 0 ;
38413 PyObject
* obj3
= 0 ;
38414 PyObject
* obj4
= 0 ;
38415 char * kwnames
[] = {
38416 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38421 if (!SWIG_IsOK(res1
)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38426 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38427 if (arg3
== NULL
) SWIG_fail
;
38430 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38431 if (!SWIG_IsOK(ecode4
)) {
38432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38434 arg4
= static_cast< int >(val4
);
38437 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38438 if (!SWIG_IsOK(ecode5
)) {
38439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38441 arg5
= static_cast< int >(val5
);
38444 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38445 if (!SWIG_IsOK(ecode6
)) {
38446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38448 arg6
= static_cast< int >(val6
);
38451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38452 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38456 resultobj
= SWIG_Py_Void();
38458 if (arg3
) delete [] arg3
;
38463 if (arg3
) delete [] arg3
;
38469 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38470 PyObject
*resultobj
= 0;
38471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38472 wxString
*arg2
= 0 ;
38474 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38475 int arg5
= (int) -1 ;
38478 bool temp2
= false ;
38484 PyObject
* obj0
= 0 ;
38485 PyObject
* obj1
= 0 ;
38486 PyObject
* obj2
= 0 ;
38487 PyObject
* obj3
= 0 ;
38488 PyObject
* obj4
= 0 ;
38489 char * kwnames
[] = {
38490 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38495 if (!SWIG_IsOK(res1
)) {
38496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38498 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38500 arg2
= wxString_in_helper(obj1
);
38501 if (arg2
== NULL
) SWIG_fail
;
38506 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38510 if (!SWIG_IsOK(ecode4
)) {
38511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38513 arg4
= static_cast< int >(val4
);
38516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38517 if (!SWIG_IsOK(ecode5
)) {
38518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38520 arg5
= static_cast< int >(val5
);
38523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38524 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38528 resultobj
= SWIG_Py_Void();
38543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38544 PyObject
*resultobj
= 0;
38545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38546 wxString
*arg2
= 0 ;
38547 wxBitmap
*arg3
= 0 ;
38549 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38550 int arg6
= (int) -1 ;
38553 bool temp2
= false ;
38561 PyObject
* obj0
= 0 ;
38562 PyObject
* obj1
= 0 ;
38563 PyObject
* obj2
= 0 ;
38564 PyObject
* obj3
= 0 ;
38565 PyObject
* obj4
= 0 ;
38566 PyObject
* obj5
= 0 ;
38567 char * kwnames
[] = {
38568 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38573 if (!SWIG_IsOK(res1
)) {
38574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38578 arg2
= wxString_in_helper(obj1
);
38579 if (arg2
== NULL
) SWIG_fail
;
38582 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38583 if (!SWIG_IsOK(res3
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38589 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38592 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38595 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38596 if (!SWIG_IsOK(ecode5
)) {
38597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38599 arg5
= static_cast< int >(val5
);
38602 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38603 if (!SWIG_IsOK(ecode6
)) {
38604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38606 arg6
= static_cast< int >(val6
);
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38611 wxPyEndAllowThreads(__tstate
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38614 resultobj
= SWIG_Py_Void();
38629 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
= 0;
38631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38633 wxPoint
*arg3
= (wxPoint
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38638 char * kwnames
[] = {
38639 (char *) "self",(char *) "points", NULL
38642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38649 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38650 if (arg3
== NULL
) SWIG_fail
;
38653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38654 (arg1
)->DrawSpline(arg2
,arg3
);
38655 wxPyEndAllowThreads(__tstate
);
38656 if (PyErr_Occurred()) SWIG_fail
;
38658 resultobj
= SWIG_Py_Void();
38660 if (arg3
) delete [] arg3
;
38665 if (arg3
) delete [] arg3
;
38671 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38672 PyObject
*resultobj
= 0;
38673 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38676 PyObject
*swig_obj
[1] ;
38678 if (!args
) SWIG_fail
;
38679 swig_obj
[0] = args
;
38680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38681 if (!SWIG_IsOK(res1
)) {
38682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38688 wxPyEndAllowThreads(__tstate
);
38689 if (PyErr_Occurred()) SWIG_fail
;
38691 resultobj
= SWIG_Py_Void();
38698 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
= 0;
38700 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38706 PyObject
* obj0
= 0 ;
38707 PyObject
* obj1
= 0 ;
38708 char * kwnames
[] = {
38709 (char *) "self",(char *) "font", NULL
38712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38714 if (!SWIG_IsOK(res1
)) {
38715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38717 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38719 if (!SWIG_IsOK(res2
)) {
38720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38725 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38728 (arg1
)->SetFont((wxFont
const &)*arg2
);
38729 wxPyEndAllowThreads(__tstate
);
38730 if (PyErr_Occurred()) SWIG_fail
;
38732 resultobj
= SWIG_Py_Void();
38739 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
= 0;
38741 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38747 PyObject
* obj0
= 0 ;
38748 PyObject
* obj1
= 0 ;
38749 char * kwnames
[] = {
38750 (char *) "self",(char *) "pen", NULL
38753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38755 if (!SWIG_IsOK(res1
)) {
38756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38758 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38760 if (!SWIG_IsOK(res2
)) {
38761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38766 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 (arg1
)->SetPen((wxPen
const &)*arg2
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38773 resultobj
= SWIG_Py_Void();
38780 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38781 PyObject
*resultobj
= 0;
38782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38783 wxBrush
*arg2
= 0 ;
38788 PyObject
* obj0
= 0 ;
38789 PyObject
* obj1
= 0 ;
38790 char * kwnames
[] = {
38791 (char *) "self",(char *) "brush", NULL
38794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38796 if (!SWIG_IsOK(res1
)) {
38797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38799 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38801 if (!SWIG_IsOK(res2
)) {
38802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38807 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38810 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38811 wxPyEndAllowThreads(__tstate
);
38812 if (PyErr_Occurred()) SWIG_fail
;
38814 resultobj
= SWIG_Py_Void();
38821 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38822 PyObject
*resultobj
= 0;
38823 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38824 wxBrush
*arg2
= 0 ;
38829 PyObject
* obj0
= 0 ;
38830 PyObject
* obj1
= 0 ;
38831 char * kwnames
[] = {
38832 (char *) "self",(char *) "brush", NULL
38835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38837 if (!SWIG_IsOK(res1
)) {
38838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38842 if (!SWIG_IsOK(res2
)) {
38843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38848 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38851 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38855 resultobj
= SWIG_Py_Void();
38862 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38863 PyObject
*resultobj
= 0;
38864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38870 PyObject
* obj0
= 0 ;
38871 PyObject
* obj1
= 0 ;
38872 char * kwnames
[] = {
38873 (char *) "self",(char *) "mode", NULL
38876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38878 if (!SWIG_IsOK(res1
)) {
38879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38881 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38883 if (!SWIG_IsOK(ecode2
)) {
38884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38886 arg2
= static_cast< int >(val2
);
38888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38889 (arg1
)->SetBackgroundMode(arg2
);
38890 wxPyEndAllowThreads(__tstate
);
38891 if (PyErr_Occurred()) SWIG_fail
;
38893 resultobj
= SWIG_Py_Void();
38900 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38901 PyObject
*resultobj
= 0;
38902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38903 wxPalette
*arg2
= 0 ;
38908 PyObject
* obj0
= 0 ;
38909 PyObject
* obj1
= 0 ;
38910 char * kwnames
[] = {
38911 (char *) "self",(char *) "palette", NULL
38914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38916 if (!SWIG_IsOK(res1
)) {
38917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38919 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38921 if (!SWIG_IsOK(res2
)) {
38922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38927 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38930 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38931 wxPyEndAllowThreads(__tstate
);
38932 if (PyErr_Occurred()) SWIG_fail
;
38934 resultobj
= SWIG_Py_Void();
38941 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38942 PyObject
*resultobj
= 0;
38943 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38944 wxColour
*arg2
= 0 ;
38948 PyObject
* obj0
= 0 ;
38949 PyObject
* obj1
= 0 ;
38950 char * kwnames
[] = {
38951 (char *) "self",(char *) "colour", NULL
38954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38956 if (!SWIG_IsOK(res1
)) {
38957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38962 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38966 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38967 wxPyEndAllowThreads(__tstate
);
38968 if (PyErr_Occurred()) SWIG_fail
;
38970 resultobj
= SWIG_Py_Void();
38977 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38978 PyObject
*resultobj
= 0;
38979 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38980 wxColour
*arg2
= 0 ;
38984 PyObject
* obj0
= 0 ;
38985 PyObject
* obj1
= 0 ;
38986 char * kwnames
[] = {
38987 (char *) "self",(char *) "colour", NULL
38990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38992 if (!SWIG_IsOK(res1
)) {
38993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39002 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39003 wxPyEndAllowThreads(__tstate
);
39004 if (PyErr_Occurred()) SWIG_fail
;
39006 resultobj
= SWIG_Py_Void();
39013 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39014 PyObject
*resultobj
= 0;
39015 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39021 PyObject
* obj0
= 0 ;
39022 PyObject
* obj1
= 0 ;
39023 char * kwnames
[] = {
39024 (char *) "self",(char *) "function", NULL
39027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39029 if (!SWIG_IsOK(res1
)) {
39030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39034 if (!SWIG_IsOK(ecode2
)) {
39035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39037 arg2
= static_cast< int >(val2
);
39039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39040 (arg1
)->SetLogicalFunction(arg2
);
39041 wxPyEndAllowThreads(__tstate
);
39042 if (PyErr_Occurred()) SWIG_fail
;
39044 resultobj
= SWIG_Py_Void();
39051 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39054 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39055 return SWIG_Py_Void();
39058 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39059 return SWIG_Python_InitShadowInstance(args
);
39062 static PyMethodDef SwigMethods
[] = {
39063 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39064 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39065 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39066 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39068 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39072 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39073 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39074 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39075 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39076 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39077 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39082 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39086 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39087 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39088 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39090 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39093 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39094 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39095 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39096 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39098 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39099 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39100 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39101 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39102 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39103 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39104 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39111 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39113 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39114 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39118 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39119 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39122 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39126 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39127 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39128 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39129 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39130 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39131 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39132 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39134 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39140 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39142 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39143 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39144 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39145 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39146 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39147 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39148 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39154 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39166 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39167 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39171 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39172 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39173 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39174 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39175 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39176 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39177 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39178 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39179 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39180 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39181 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39182 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39183 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39184 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39185 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39187 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39188 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39194 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39195 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39196 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39197 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39198 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39199 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39200 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39201 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39202 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39203 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39204 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39205 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39207 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39208 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39214 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39215 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39216 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39218 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39219 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39220 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39222 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39223 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39228 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39230 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39231 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39232 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39233 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39239 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39240 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39242 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39243 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39245 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39247 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39248 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39249 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39250 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39253 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39257 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39258 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39260 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39263 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39265 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39266 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39267 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39268 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39273 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39274 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39279 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39280 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39286 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39290 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39301 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39304 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39305 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39307 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39308 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39309 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39310 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39311 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39312 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39313 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39314 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39315 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39316 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39317 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39318 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39319 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39320 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39321 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39322 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39323 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39325 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39326 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39327 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39328 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39329 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39330 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39331 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39332 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39342 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39343 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39345 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39346 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39347 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39348 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39349 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39350 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39351 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39352 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39353 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39355 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39356 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39357 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39360 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39361 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39362 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39365 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39371 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39376 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39377 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39379 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39385 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39388 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39389 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39390 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39391 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39392 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39393 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39394 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39395 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39396 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39397 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39398 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39399 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39400 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39412 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39413 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39414 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39416 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39417 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39419 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39420 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39421 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39422 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39426 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39427 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39429 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39430 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39431 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39432 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39433 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39434 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39435 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39436 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39439 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39442 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39443 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39444 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39445 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39446 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39447 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39448 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39449 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39459 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39460 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39461 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39463 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39467 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39468 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39469 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39470 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39471 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39472 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39478 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39479 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39480 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39530 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39532 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39533 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39534 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39541 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39542 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39543 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39544 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39545 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39550 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39551 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39552 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39553 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39562 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39563 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39564 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39565 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39566 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39567 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39568 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39569 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39570 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39571 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39572 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39573 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39576 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39578 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39580 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39582 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39583 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39586 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39587 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39591 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39593 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39596 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39597 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39598 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39599 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39600 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39601 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39602 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39604 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39611 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39613 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39614 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39615 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39617 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39618 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39619 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39621 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39622 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39623 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39624 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39625 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39626 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39627 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39628 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39631 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39632 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39633 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39635 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39636 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39638 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39639 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39641 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39642 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39647 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39648 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39649 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39650 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39651 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39653 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39654 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39655 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39657 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39658 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39660 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39661 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39664 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39665 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39667 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39670 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39671 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39672 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39674 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39675 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39677 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39678 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39679 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39680 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39681 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39682 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39684 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39685 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39686 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39688 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39689 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39691 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39692 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39693 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39694 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39695 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39696 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39697 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39698 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39699 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39700 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39701 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39702 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39703 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39704 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39705 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39706 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39707 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39708 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39709 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39712 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39714 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39720 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39721 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39722 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39723 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39724 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39725 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39726 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39727 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39729 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39730 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39731 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39738 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39741 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39742 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39743 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39744 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39745 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39746 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39749 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39756 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39757 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39760 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39761 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39767 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39768 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39769 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39770 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39788 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39789 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39790 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39791 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39792 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39795 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39802 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39804 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39805 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39807 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39808 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39809 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39810 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39811 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39812 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39813 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39814 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39815 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39816 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39817 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39818 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39820 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39828 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39830 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39832 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39833 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39834 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39835 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39836 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39837 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39843 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39844 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39845 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39846 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39847 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39848 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39852 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39856 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39860 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39861 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39862 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39867 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39868 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39869 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39870 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39871 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39872 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39873 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39874 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39875 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39876 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39877 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39878 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39887 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39888 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39890 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39891 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39892 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39893 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39894 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39895 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39896 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39897 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39898 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39899 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39900 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39901 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39902 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39903 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39904 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39905 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39906 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39907 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39908 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39909 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39910 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39911 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39913 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39915 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39917 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39918 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39919 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39920 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39933 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39934 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39935 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39937 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39938 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39939 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39940 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39941 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39942 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39943 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39944 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39997 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40007 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40008 { NULL
, NULL
, 0, NULL
}
40012 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40014 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40015 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40017 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40018 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40020 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40021 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40023 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40024 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40026 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40027 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40029 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40030 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40032 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40033 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40035 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40036 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40038 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40039 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40041 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40042 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40044 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40045 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40047 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40048 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40050 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40051 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40053 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40054 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40056 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40057 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40059 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40060 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40062 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40063 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40065 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40066 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40068 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40069 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40071 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40072 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40074 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40075 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40077 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40078 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40080 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40081 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40083 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40084 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40086 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40087 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40089 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40090 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40092 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40093 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40095 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40096 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40098 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40099 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40101 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40102 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40104 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40105 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40107 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40108 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40110 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40111 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40113 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40114 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40116 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40117 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40119 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40120 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40122 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40123 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40125 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40126 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40128 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40129 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40131 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40132 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40134 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40135 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40137 static void *_p_wxPenTo_p_wxObject(void *x
) {
40138 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40140 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40141 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40143 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40144 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40146 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40147 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40149 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40150 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40152 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40153 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40155 static void *_p_wxIconTo_p_wxObject(void *x
) {
40156 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40158 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40159 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40161 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40162 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40164 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40165 return (void *)((wxObject
*) ((wxSizer
*) x
));
40167 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40168 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40170 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40173 static void *_p_wxEventTo_p_wxObject(void *x
) {
40174 return (void *)((wxObject
*) ((wxEvent
*) x
));
40176 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40177 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40179 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40180 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40182 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40183 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40185 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40186 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40188 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40191 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40192 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40194 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40195 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40197 static void *_p_wxDCTo_p_wxObject(void *x
) {
40198 return (void *)((wxObject
*) ((wxDC
*) x
));
40200 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40201 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40203 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40204 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40206 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40207 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40209 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40210 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40212 static void *_p_wxControlTo_p_wxObject(void *x
) {
40213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40215 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40216 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40218 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40219 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40221 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40222 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40224 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40225 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40227 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40228 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40230 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40231 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40233 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40234 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40236 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40237 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40239 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40240 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40242 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40243 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40245 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40246 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40248 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40249 return (void *)((wxObject
*) ((wxEffects
*) x
));
40251 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40252 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40254 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40257 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40258 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40260 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40261 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40263 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40264 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40266 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40267 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40269 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40272 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40273 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40275 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40278 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40279 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40281 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40282 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40284 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40285 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40287 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40288 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40290 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40291 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40293 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40294 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40296 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40299 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40300 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40302 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40303 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40305 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40308 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40309 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40311 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40312 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40314 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40315 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40317 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40318 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40320 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40321 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40323 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40326 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40327 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40329 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40330 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40332 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40333 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40335 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40338 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40339 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40341 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40342 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40344 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40345 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40347 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40348 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40350 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40351 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40353 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40354 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40356 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40357 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40359 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40360 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40362 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40363 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40365 static void *_p_wxImageTo_p_wxObject(void *x
) {
40366 return (void *)((wxObject
*) ((wxImage
*) x
));
40368 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40369 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40371 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40372 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40374 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40375 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40377 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40378 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40380 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40381 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40383 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40384 return (void *)((wxObject
*) ((wxImageList
*) x
));
40386 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40387 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40389 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40390 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40392 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40393 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40395 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40396 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40398 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40399 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40401 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40404 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40405 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40407 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40408 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40410 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40411 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40413 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40414 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40416 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40419 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40420 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40422 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40423 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40425 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40426 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40428 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40429 return (void *)((wxObject
*) ((wxMask
*) x
));
40431 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40432 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40434 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40437 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40438 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40440 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40441 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40443 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40444 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40446 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40447 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40449 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40450 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40452 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40455 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40456 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40458 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40459 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40461 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40462 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40464 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40467 static void *_p_wxFontTo_p_wxObject(void *x
) {
40468 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40470 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40471 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40473 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40474 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40476 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40479 static void *_p_wxColourTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) ((wxColour
*) x
));
40482 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40485 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40488 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40489 return (void *)((wxWindow
*) ((wxControl
*) x
));
40491 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40492 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40494 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40495 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40497 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40498 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40500 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40501 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40503 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40504 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40505 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40506 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};
40507 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40508 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40509 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40510 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40511 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40512 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40513 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40514 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40515 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40516 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40517 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40518 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40519 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40520 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40521 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40522 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40523 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40524 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40525 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40526 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40527 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40528 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40529 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40530 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40531 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40532 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40533 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40534 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40535 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40536 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40537 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40538 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40539 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40540 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40541 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40542 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40543 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40544 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40545 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40546 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40547 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40548 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40549 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40550 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40551 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40552 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40553 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40554 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40555 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40556 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40557 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40558 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40559 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40560 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40561 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40562 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40563 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40564 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40565 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40566 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40567 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40568 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40569 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40570 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40571 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40572 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40573 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40574 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40575 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40576 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40577 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40578 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40579 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40580 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40581 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40582 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40583 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40584 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40585 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40586 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40587 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40588 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40589 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40590 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40591 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40592 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40593 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40594 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40595 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40596 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40597 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40598 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40599 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40600 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40601 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40602 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40603 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40604 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40605 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40606 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40607 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40608 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40609 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40610 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40611 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40612 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40613 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40614 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40615 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40616 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40617 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40618 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40619 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40620 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40621 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40622 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40623 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40624 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40625 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40626 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40627 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40628 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40629 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40630 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40631 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40632 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40633 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40634 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40635 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40636 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40637 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40638 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40639 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40640 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40641 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40642 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40643 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40644 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40645 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40646 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40647 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40648 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40649 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40650 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40651 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40652 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40653 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40654 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40655 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40656 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40657 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40658 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40659 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40660 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40661 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40662 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40663 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40664 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40665 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40666 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40667 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40668 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40669 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40670 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40671 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40672 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40673 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40675 static swig_type_info
*swig_type_initial
[] = {
40679 &_swigt__p_form_ops_t
,
40681 &_swigt__p_unsigned_char
,
40682 &_swigt__p_unsigned_int
,
40683 &_swigt__p_unsigned_long
,
40685 &_swigt__p_wxANIHandler
,
40686 &_swigt__p_wxAcceleratorTable
,
40687 &_swigt__p_wxActivateEvent
,
40688 &_swigt__p_wxAlphaPixelData
,
40689 &_swigt__p_wxAlphaPixelData_Accessor
,
40690 &_swigt__p_wxAutoBufferedPaintDC
,
40691 &_swigt__p_wxBMPHandler
,
40692 &_swigt__p_wxBitmap
,
40693 &_swigt__p_wxBoxSizer
,
40694 &_swigt__p_wxBrush
,
40695 &_swigt__p_wxBrushList
,
40696 &_swigt__p_wxBufferedDC
,
40697 &_swigt__p_wxBufferedPaintDC
,
40698 &_swigt__p_wxCURHandler
,
40700 &_swigt__p_wxChildFocusEvent
,
40701 &_swigt__p_wxClientDC
,
40702 &_swigt__p_wxClipboardTextEvent
,
40703 &_swigt__p_wxCloseEvent
,
40704 &_swigt__p_wxColor
,
40705 &_swigt__p_wxColour
,
40706 &_swigt__p_wxColourDatabase
,
40707 &_swigt__p_wxCommandEvent
,
40708 &_swigt__p_wxContextMenuEvent
,
40709 &_swigt__p_wxControl
,
40710 &_swigt__p_wxControlWithItems
,
40711 &_swigt__p_wxCursor
,
40713 &_swigt__p_wxDCBrushChanger
,
40714 &_swigt__p_wxDCClipper
,
40715 &_swigt__p_wxDCOverlay
,
40716 &_swigt__p_wxDCPenChanger
,
40717 &_swigt__p_wxDCTextColourChanger
,
40719 &_swigt__p_wxDateEvent
,
40720 &_swigt__p_wxDisplayChangedEvent
,
40721 &_swigt__p_wxDropFilesEvent
,
40722 &_swigt__p_wxDuplexMode
,
40723 &_swigt__p_wxEffects
,
40724 &_swigt__p_wxEncodingConverter
,
40725 &_swigt__p_wxEraseEvent
,
40726 &_swigt__p_wxEvent
,
40727 &_swigt__p_wxEvtHandler
,
40728 &_swigt__p_wxFSFile
,
40729 &_swigt__p_wxFileSystem
,
40730 &_swigt__p_wxFlexGridSizer
,
40731 &_swigt__p_wxFocusEvent
,
40733 &_swigt__p_wxFontList
,
40734 &_swigt__p_wxFontMapper
,
40735 &_swigt__p_wxGBSizerItem
,
40737 &_swigt__p_wxGDIObjListBase
,
40738 &_swigt__p_wxGDIObject
,
40739 &_swigt__p_wxGIFHandler
,
40740 &_swigt__p_wxGraphicsBrush
,
40741 &_swigt__p_wxGraphicsContext
,
40742 &_swigt__p_wxGraphicsFont
,
40743 &_swigt__p_wxGraphicsMatrix
,
40744 &_swigt__p_wxGraphicsObject
,
40745 &_swigt__p_wxGraphicsPath
,
40746 &_swigt__p_wxGraphicsPen
,
40747 &_swigt__p_wxGraphicsRenderer
,
40748 &_swigt__p_wxGridBagSizer
,
40749 &_swigt__p_wxGridSizer
,
40750 &_swigt__p_wxHeaderButtonParams
,
40751 &_swigt__p_wxICOHandler
,
40753 &_swigt__p_wxIconBundle
,
40754 &_swigt__p_wxIconLocation
,
40755 &_swigt__p_wxIconizeEvent
,
40756 &_swigt__p_wxIdleEvent
,
40757 &_swigt__p_wxImage
,
40758 &_swigt__p_wxImageHandler
,
40759 &_swigt__p_wxImageList
,
40760 &_swigt__p_wxIndividualLayoutConstraint
,
40761 &_swigt__p_wxInitDialogEvent
,
40762 &_swigt__p_wxJPEGHandler
,
40763 &_swigt__p_wxKeyEvent
,
40764 &_swigt__p_wxLanguageInfo
,
40765 &_swigt__p_wxLayoutConstraints
,
40766 &_swigt__p_wxLocale
,
40768 &_swigt__p_wxMaximizeEvent
,
40769 &_swigt__p_wxMemoryDC
,
40771 &_swigt__p_wxMenuBar
,
40772 &_swigt__p_wxMenuEvent
,
40773 &_swigt__p_wxMenuItem
,
40774 &_swigt__p_wxMetaFile
,
40775 &_swigt__p_wxMetaFileDC
,
40776 &_swigt__p_wxMirrorDC
,
40777 &_swigt__p_wxMouseCaptureChangedEvent
,
40778 &_swigt__p_wxMouseCaptureLostEvent
,
40779 &_swigt__p_wxMouseEvent
,
40780 &_swigt__p_wxMoveEvent
,
40781 &_swigt__p_wxNativeEncodingInfo
,
40782 &_swigt__p_wxNativeFontInfo
,
40783 &_swigt__p_wxNativePixelData
,
40784 &_swigt__p_wxNativePixelData_Accessor
,
40785 &_swigt__p_wxNavigationKeyEvent
,
40786 &_swigt__p_wxNcPaintEvent
,
40787 &_swigt__p_wxNotifyEvent
,
40788 &_swigt__p_wxObject
,
40789 &_swigt__p_wxOverlay
,
40790 &_swigt__p_wxPCXHandler
,
40791 &_swigt__p_wxPNGHandler
,
40792 &_swigt__p_wxPNMHandler
,
40793 &_swigt__p_wxPaintDC
,
40794 &_swigt__p_wxPaintEvent
,
40795 &_swigt__p_wxPalette
,
40796 &_swigt__p_wxPaletteChangedEvent
,
40797 &_swigt__p_wxPaperSize
,
40799 &_swigt__p_wxPenList
,
40800 &_swigt__p_wxPixelDataBase
,
40801 &_swigt__p_wxPoint
,
40802 &_swigt__p_wxPoint2D
,
40803 &_swigt__p_wxPoint2DDouble
,
40804 &_swigt__p_wxPostScriptDC
,
40805 &_swigt__p_wxPrintData
,
40806 &_swigt__p_wxPrinterDC
,
40807 &_swigt__p_wxPseudoDC
,
40808 &_swigt__p_wxPyApp
,
40809 &_swigt__p_wxPyCommandEvent
,
40810 &_swigt__p_wxPyEvent
,
40811 &_swigt__p_wxPyFontEnumerator
,
40812 &_swigt__p_wxPyImageHandler
,
40813 &_swigt__p_wxPyLocale
,
40814 &_swigt__p_wxPySizer
,
40815 &_swigt__p_wxPyValidator
,
40816 &_swigt__p_wxQueryNewPaletteEvent
,
40818 &_swigt__p_wxRect2DDouble
,
40819 &_swigt__p_wxRegion
,
40820 &_swigt__p_wxRegionIterator
,
40821 &_swigt__p_wxRendererNative
,
40822 &_swigt__p_wxRendererVersion
,
40823 &_swigt__p_wxScreenDC
,
40824 &_swigt__p_wxScrollEvent
,
40825 &_swigt__p_wxScrollWinEvent
,
40826 &_swigt__p_wxSetCursorEvent
,
40827 &_swigt__p_wxShowEvent
,
40829 &_swigt__p_wxSizeEvent
,
40830 &_swigt__p_wxSizer
,
40831 &_swigt__p_wxSizerItem
,
40832 &_swigt__p_wxSplitterRenderParams
,
40833 &_swigt__p_wxStaticBoxSizer
,
40834 &_swigt__p_wxStdDialogButtonSizer
,
40835 &_swigt__p_wxStockGDI
,
40836 &_swigt__p_wxString
,
40837 &_swigt__p_wxSysColourChangedEvent
,
40838 &_swigt__p_wxTGAHandler
,
40839 &_swigt__p_wxTIFFHandler
,
40840 &_swigt__p_wxUpdateUIEvent
,
40841 &_swigt__p_wxValidator
,
40842 &_swigt__p_wxWindow
,
40843 &_swigt__p_wxWindowCreateEvent
,
40844 &_swigt__p_wxWindowDC
,
40845 &_swigt__p_wxWindowDestroyEvent
,
40846 &_swigt__p_wxXPMHandler
,
40849 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40850 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40851 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40852 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40853 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40854 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40855 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40856 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40857 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40858 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40859 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40860 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40861 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40862 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40863 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40864 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}};
40865 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40866 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40867 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}};
40868 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40869 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40870 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40871 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40872 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}};
40873 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40874 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40875 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40876 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40877 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40878 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40879 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40880 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40881 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40882 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40883 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40884 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40885 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40886 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}};
40887 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}};
40888 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40889 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40890 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40891 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40892 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}};
40893 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40894 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40895 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40896 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40897 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40898 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40899 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40900 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40901 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40902 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40903 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}};
40904 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40905 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}};
40906 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40907 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40908 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40909 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40910 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40911 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40912 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40913 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40914 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40915 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40916 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40917 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40918 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40919 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40920 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40921 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40922 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40923 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40924 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40925 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40926 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40927 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40928 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40929 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40930 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40931 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40932 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40933 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40934 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40935 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40936 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40937 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40938 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40939 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40940 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40941 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40942 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40943 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40944 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40945 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40946 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40947 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40948 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40949 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40950 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40951 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40952 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40953 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40954 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40955 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40956 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40957 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40958 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40959 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40960 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40961 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40962 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40963 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40964 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40965 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40966 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40967 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40968 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40969 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40970 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40971 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40972 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40973 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40974 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40975 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40976 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40977 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40978 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40979 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40980 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40981 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40982 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40983 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40984 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40985 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40986 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40987 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40988 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40989 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40990 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}};
40991 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40992 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40993 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40994 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40995 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40996 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40997 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}};
40998 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40999 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41000 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41001 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41002 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41003 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41004 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41005 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41006 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41007 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41008 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
41009 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41010 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41011 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41012 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41013 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41014 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41015 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41016 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41018 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}};
41019 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}};
41021 static swig_cast_info
*swig_cast_initial
[] = {
41025 _swigc__p_form_ops_t
,
41027 _swigc__p_unsigned_char
,
41028 _swigc__p_unsigned_int
,
41029 _swigc__p_unsigned_long
,
41031 _swigc__p_wxANIHandler
,
41032 _swigc__p_wxAcceleratorTable
,
41033 _swigc__p_wxActivateEvent
,
41034 _swigc__p_wxAlphaPixelData
,
41035 _swigc__p_wxAlphaPixelData_Accessor
,
41036 _swigc__p_wxAutoBufferedPaintDC
,
41037 _swigc__p_wxBMPHandler
,
41038 _swigc__p_wxBitmap
,
41039 _swigc__p_wxBoxSizer
,
41041 _swigc__p_wxBrushList
,
41042 _swigc__p_wxBufferedDC
,
41043 _swigc__p_wxBufferedPaintDC
,
41044 _swigc__p_wxCURHandler
,
41046 _swigc__p_wxChildFocusEvent
,
41047 _swigc__p_wxClientDC
,
41048 _swigc__p_wxClipboardTextEvent
,
41049 _swigc__p_wxCloseEvent
,
41051 _swigc__p_wxColour
,
41052 _swigc__p_wxColourDatabase
,
41053 _swigc__p_wxCommandEvent
,
41054 _swigc__p_wxContextMenuEvent
,
41055 _swigc__p_wxControl
,
41056 _swigc__p_wxControlWithItems
,
41057 _swigc__p_wxCursor
,
41059 _swigc__p_wxDCBrushChanger
,
41060 _swigc__p_wxDCClipper
,
41061 _swigc__p_wxDCOverlay
,
41062 _swigc__p_wxDCPenChanger
,
41063 _swigc__p_wxDCTextColourChanger
,
41065 _swigc__p_wxDateEvent
,
41066 _swigc__p_wxDisplayChangedEvent
,
41067 _swigc__p_wxDropFilesEvent
,
41068 _swigc__p_wxDuplexMode
,
41069 _swigc__p_wxEffects
,
41070 _swigc__p_wxEncodingConverter
,
41071 _swigc__p_wxEraseEvent
,
41073 _swigc__p_wxEvtHandler
,
41074 _swigc__p_wxFSFile
,
41075 _swigc__p_wxFileSystem
,
41076 _swigc__p_wxFlexGridSizer
,
41077 _swigc__p_wxFocusEvent
,
41079 _swigc__p_wxFontList
,
41080 _swigc__p_wxFontMapper
,
41081 _swigc__p_wxGBSizerItem
,
41083 _swigc__p_wxGDIObjListBase
,
41084 _swigc__p_wxGDIObject
,
41085 _swigc__p_wxGIFHandler
,
41086 _swigc__p_wxGraphicsBrush
,
41087 _swigc__p_wxGraphicsContext
,
41088 _swigc__p_wxGraphicsFont
,
41089 _swigc__p_wxGraphicsMatrix
,
41090 _swigc__p_wxGraphicsObject
,
41091 _swigc__p_wxGraphicsPath
,
41092 _swigc__p_wxGraphicsPen
,
41093 _swigc__p_wxGraphicsRenderer
,
41094 _swigc__p_wxGridBagSizer
,
41095 _swigc__p_wxGridSizer
,
41096 _swigc__p_wxHeaderButtonParams
,
41097 _swigc__p_wxICOHandler
,
41099 _swigc__p_wxIconBundle
,
41100 _swigc__p_wxIconLocation
,
41101 _swigc__p_wxIconizeEvent
,
41102 _swigc__p_wxIdleEvent
,
41104 _swigc__p_wxImageHandler
,
41105 _swigc__p_wxImageList
,
41106 _swigc__p_wxIndividualLayoutConstraint
,
41107 _swigc__p_wxInitDialogEvent
,
41108 _swigc__p_wxJPEGHandler
,
41109 _swigc__p_wxKeyEvent
,
41110 _swigc__p_wxLanguageInfo
,
41111 _swigc__p_wxLayoutConstraints
,
41112 _swigc__p_wxLocale
,
41114 _swigc__p_wxMaximizeEvent
,
41115 _swigc__p_wxMemoryDC
,
41117 _swigc__p_wxMenuBar
,
41118 _swigc__p_wxMenuEvent
,
41119 _swigc__p_wxMenuItem
,
41120 _swigc__p_wxMetaFile
,
41121 _swigc__p_wxMetaFileDC
,
41122 _swigc__p_wxMirrorDC
,
41123 _swigc__p_wxMouseCaptureChangedEvent
,
41124 _swigc__p_wxMouseCaptureLostEvent
,
41125 _swigc__p_wxMouseEvent
,
41126 _swigc__p_wxMoveEvent
,
41127 _swigc__p_wxNativeEncodingInfo
,
41128 _swigc__p_wxNativeFontInfo
,
41129 _swigc__p_wxNativePixelData
,
41130 _swigc__p_wxNativePixelData_Accessor
,
41131 _swigc__p_wxNavigationKeyEvent
,
41132 _swigc__p_wxNcPaintEvent
,
41133 _swigc__p_wxNotifyEvent
,
41134 _swigc__p_wxObject
,
41135 _swigc__p_wxOverlay
,
41136 _swigc__p_wxPCXHandler
,
41137 _swigc__p_wxPNGHandler
,
41138 _swigc__p_wxPNMHandler
,
41139 _swigc__p_wxPaintDC
,
41140 _swigc__p_wxPaintEvent
,
41141 _swigc__p_wxPalette
,
41142 _swigc__p_wxPaletteChangedEvent
,
41143 _swigc__p_wxPaperSize
,
41145 _swigc__p_wxPenList
,
41146 _swigc__p_wxPixelDataBase
,
41148 _swigc__p_wxPoint2D
,
41149 _swigc__p_wxPoint2DDouble
,
41150 _swigc__p_wxPostScriptDC
,
41151 _swigc__p_wxPrintData
,
41152 _swigc__p_wxPrinterDC
,
41153 _swigc__p_wxPseudoDC
,
41155 _swigc__p_wxPyCommandEvent
,
41156 _swigc__p_wxPyEvent
,
41157 _swigc__p_wxPyFontEnumerator
,
41158 _swigc__p_wxPyImageHandler
,
41159 _swigc__p_wxPyLocale
,
41160 _swigc__p_wxPySizer
,
41161 _swigc__p_wxPyValidator
,
41162 _swigc__p_wxQueryNewPaletteEvent
,
41164 _swigc__p_wxRect2DDouble
,
41165 _swigc__p_wxRegion
,
41166 _swigc__p_wxRegionIterator
,
41167 _swigc__p_wxRendererNative
,
41168 _swigc__p_wxRendererVersion
,
41169 _swigc__p_wxScreenDC
,
41170 _swigc__p_wxScrollEvent
,
41171 _swigc__p_wxScrollWinEvent
,
41172 _swigc__p_wxSetCursorEvent
,
41173 _swigc__p_wxShowEvent
,
41175 _swigc__p_wxSizeEvent
,
41177 _swigc__p_wxSizerItem
,
41178 _swigc__p_wxSplitterRenderParams
,
41179 _swigc__p_wxStaticBoxSizer
,
41180 _swigc__p_wxStdDialogButtonSizer
,
41181 _swigc__p_wxStockGDI
,
41182 _swigc__p_wxString
,
41183 _swigc__p_wxSysColourChangedEvent
,
41184 _swigc__p_wxTGAHandler
,
41185 _swigc__p_wxTIFFHandler
,
41186 _swigc__p_wxUpdateUIEvent
,
41187 _swigc__p_wxValidator
,
41188 _swigc__p_wxWindow
,
41189 _swigc__p_wxWindowCreateEvent
,
41190 _swigc__p_wxWindowDC
,
41191 _swigc__p_wxWindowDestroyEvent
,
41192 _swigc__p_wxXPMHandler
,
41196 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41198 static swig_const_info swig_const_table
[] = {
41199 {0, 0, 0, 0.0, 0, 0}};
41204 /* -----------------------------------------------------------------------------
41205 * Type initialization:
41206 * This problem is tough by the requirement that no dynamic
41207 * memory is used. Also, since swig_type_info structures store pointers to
41208 * swig_cast_info structures and swig_cast_info structures store pointers back
41209 * to swig_type_info structures, we need some lookup code at initialization.
41210 * The idea is that swig generates all the structures that are needed.
41211 * The runtime then collects these partially filled structures.
41212 * The SWIG_InitializeModule function takes these initial arrays out of
41213 * swig_module, and does all the lookup, filling in the swig_module.types
41214 * array with the correct data and linking the correct swig_cast_info
41215 * structures together.
41217 * The generated swig_type_info structures are assigned staticly to an initial
41218 * array. We just loop though that array, and handle each type individually.
41219 * First we lookup if this type has been already loaded, and if so, use the
41220 * loaded structure instead of the generated one. Then we have to fill in the
41221 * cast linked list. The cast data is initially stored in something like a
41222 * two-dimensional array. Each row corresponds to a type (there are the same
41223 * number of rows as there are in the swig_type_initial array). Each entry in
41224 * a column is one of the swig_cast_info structures for that type.
41225 * The cast_initial array is actually an array of arrays, because each row has
41226 * a variable number of columns. So to actually build the cast linked list,
41227 * we find the array of casts associated with the type, and loop through it
41228 * adding the casts to the list. The one last trick we need to do is making
41229 * sure the type pointer in the swig_cast_info struct is correct.
41231 * First off, we lookup the cast->type name to see if it is already loaded.
41232 * There are three cases to handle:
41233 * 1) If the cast->type has already been loaded AND the type we are adding
41234 * casting info to has not been loaded (it is in this module), THEN we
41235 * replace the cast->type pointer with the type pointer that has already
41237 * 2) If BOTH types (the one we are adding casting info to, and the
41238 * cast->type) are loaded, THEN the cast info has already been loaded by
41239 * the previous module so we just ignore it.
41240 * 3) Finally, if cast->type has not already been loaded, then we add that
41241 * swig_cast_info to the linked list (because the cast->type) pointer will
41243 * ----------------------------------------------------------------------------- */
41253 #define SWIGRUNTIME_DEBUG
41257 SWIG_InitializeModule(void *clientdata
) {
41259 swig_module_info
*module_head
;
41260 static int init_run
= 0;
41262 clientdata
= clientdata
;
41264 if (init_run
) return;
41267 /* Initialize the swig_module */
41268 swig_module
.type_initial
= swig_type_initial
;
41269 swig_module
.cast_initial
= swig_cast_initial
;
41271 /* Try and load any already created modules */
41272 module_head
= SWIG_GetModule(clientdata
);
41274 swig_module
.next
= module_head
->next
;
41275 module_head
->next
= &swig_module
;
41277 /* This is the first module loaded */
41278 swig_module
.next
= &swig_module
;
41279 SWIG_SetModule(clientdata
, &swig_module
);
41282 /* Now work on filling in swig_module.types */
41283 #ifdef SWIGRUNTIME_DEBUG
41284 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41286 for (i
= 0; i
< swig_module
.size
; ++i
) {
41287 swig_type_info
*type
= 0;
41288 swig_type_info
*ret
;
41289 swig_cast_info
*cast
;
41291 #ifdef SWIGRUNTIME_DEBUG
41292 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41295 /* if there is another module already loaded */
41296 if (swig_module
.next
!= &swig_module
) {
41297 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41300 /* Overwrite clientdata field */
41301 #ifdef SWIGRUNTIME_DEBUG
41302 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41304 if (swig_module
.type_initial
[i
]->clientdata
) {
41305 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41306 #ifdef SWIGRUNTIME_DEBUG
41307 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41311 type
= swig_module
.type_initial
[i
];
41314 /* Insert casting types */
41315 cast
= swig_module
.cast_initial
[i
];
41316 while (cast
->type
) {
41317 /* Don't need to add information already in the list */
41319 #ifdef SWIGRUNTIME_DEBUG
41320 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41322 if (swig_module
.next
!= &swig_module
) {
41323 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41324 #ifdef SWIGRUNTIME_DEBUG
41325 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41329 if (type
== swig_module
.type_initial
[i
]) {
41330 #ifdef SWIGRUNTIME_DEBUG
41331 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41336 /* Check for casting already in the list */
41337 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41338 #ifdef SWIGRUNTIME_DEBUG
41339 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41341 if (!ocast
) ret
= 0;
41346 #ifdef SWIGRUNTIME_DEBUG
41347 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41350 type
->cast
->prev
= cast
;
41351 cast
->next
= type
->cast
;
41357 /* Set entry in modules->types array equal to the type */
41358 swig_module
.types
[i
] = type
;
41360 swig_module
.types
[i
] = 0;
41362 #ifdef SWIGRUNTIME_DEBUG
41363 printf("**** SWIG_InitializeModule: Cast List ******\n");
41364 for (i
= 0; i
< swig_module
.size
; ++i
) {
41366 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41367 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41368 while (cast
->type
) {
41369 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41373 printf("---- Total casts: %d\n",j
);
41375 printf("**** SWIG_InitializeModule: Cast List ******\n");
41379 /* This function will propagate the clientdata field of type to
41380 * any new swig_type_info structures that have been added into the list
41381 * of equivalent types. It is like calling
41382 * SWIG_TypeClientData(type, clientdata) a second time.
41385 SWIG_PropagateClientData(void) {
41387 swig_cast_info
*equiv
;
41388 static int init_run
= 0;
41390 if (init_run
) return;
41393 for (i
= 0; i
< swig_module
.size
; i
++) {
41394 if (swig_module
.types
[i
]->clientdata
) {
41395 equiv
= swig_module
.types
[i
]->cast
;
41397 if (!equiv
->converter
) {
41398 if (equiv
->type
&& !equiv
->type
->clientdata
)
41399 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41401 equiv
= equiv
->next
;
41421 /* Python-specific SWIG API */
41422 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41423 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41424 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41426 /* -----------------------------------------------------------------------------
41427 * global variable support code.
41428 * ----------------------------------------------------------------------------- */
41430 typedef struct swig_globalvar
{
41431 char *name
; /* Name of global variable */
41432 PyObject
*(*get_attr
)(void); /* Return the current value */
41433 int (*set_attr
)(PyObject
*); /* Set the value */
41434 struct swig_globalvar
*next
;
41437 typedef struct swig_varlinkobject
{
41439 swig_globalvar
*vars
;
41440 } swig_varlinkobject
;
41442 SWIGINTERN PyObject
*
41443 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41444 return PyString_FromString("<Swig global variables>");
41447 SWIGINTERN PyObject
*
41448 swig_varlink_str(swig_varlinkobject
*v
) {
41449 PyObject
*str
= PyString_FromString("(");
41450 swig_globalvar
*var
;
41451 for (var
= v
->vars
; var
; var
=var
->next
) {
41452 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41453 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41455 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41460 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41461 PyObject
*str
= swig_varlink_str(v
);
41462 fprintf(fp
,"Swig global variables ");
41463 fprintf(fp
,"%s\n", PyString_AsString(str
));
41469 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41470 swig_globalvar
*var
= v
->vars
;
41472 swig_globalvar
*n
= var
->next
;
41479 SWIGINTERN PyObject
*
41480 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41481 PyObject
*res
= NULL
;
41482 swig_globalvar
*var
= v
->vars
;
41484 if (strcmp(var
->name
,n
) == 0) {
41485 res
= (*var
->get_attr
)();
41490 if (res
== NULL
&& !PyErr_Occurred()) {
41491 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41497 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41499 swig_globalvar
*var
= v
->vars
;
41501 if (strcmp(var
->name
,n
) == 0) {
41502 res
= (*var
->set_attr
)(p
);
41507 if (res
== 1 && !PyErr_Occurred()) {
41508 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41513 SWIGINTERN PyTypeObject
*
41514 swig_varlink_type(void) {
41515 static char varlink__doc__
[] = "Swig var link object";
41516 static PyTypeObject varlink_type
;
41517 static int type_init
= 0;
41519 const PyTypeObject tmp
41521 PyObject_HEAD_INIT(NULL
)
41522 0, /* Number of items in variable part (ob_size) */
41523 (char *)"swigvarlink", /* Type name (tp_name) */
41524 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41525 0, /* Itemsize (tp_itemsize) */
41526 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41527 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41528 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41529 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41530 0, /* tp_compare */
41531 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41532 0, /* tp_as_number */
41533 0, /* tp_as_sequence */
41534 0, /* tp_as_mapping */
41537 (reprfunc
)swig_varlink_str
, /* tp_str */
41538 0, /* tp_getattro */
41539 0, /* tp_setattro */
41540 0, /* tp_as_buffer */
41542 varlink__doc__
, /* tp_doc */
41543 0, /* tp_traverse */
41545 0, /* tp_richcompare */
41546 0, /* tp_weaklistoffset */
41547 #if PY_VERSION_HEX >= 0x02020000
41548 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41550 #if PY_VERSION_HEX >= 0x02030000
41553 #ifdef COUNT_ALLOCS
41554 0,0,0,0 /* tp_alloc -> tp_next */
41557 varlink_type
= tmp
;
41558 varlink_type
.ob_type
= &PyType_Type
;
41561 return &varlink_type
;
41564 /* Create a variable linking object for use later */
41565 SWIGINTERN PyObject
*
41566 SWIG_Python_newvarlink(void) {
41567 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41571 return ((PyObject
*) result
);
41575 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41576 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41577 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41579 size_t size
= strlen(name
)+1;
41580 gv
->name
= (char *)malloc(size
);
41582 strncpy(gv
->name
,name
,size
);
41583 gv
->get_attr
= get_attr
;
41584 gv
->set_attr
= set_attr
;
41585 gv
->next
= v
->vars
;
41591 SWIGINTERN PyObject
*
41593 static PyObject
*_SWIG_globals
= 0;
41594 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41595 return _SWIG_globals
;
41598 /* -----------------------------------------------------------------------------
41599 * constants/methods manipulation
41600 * ----------------------------------------------------------------------------- */
41602 /* Install Constants */
41604 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41607 for (i
= 0; constants
[i
].type
; ++i
) {
41608 switch(constants
[i
].type
) {
41609 case SWIG_PY_POINTER
:
41610 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41612 case SWIG_PY_BINARY
:
41613 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41620 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41626 /* -----------------------------------------------------------------------------*/
41627 /* Fix SwigMethods to carry the callback ptrs when needed */
41628 /* -----------------------------------------------------------------------------*/
41631 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41632 swig_const_info
*const_table
,
41633 swig_type_info
**types
,
41634 swig_type_info
**types_initial
) {
41636 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41637 const char *c
= methods
[i
].ml_doc
;
41638 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41640 swig_const_info
*ci
= 0;
41641 const char *name
= c
+ 10;
41642 for (j
= 0; const_table
[j
].type
; ++j
) {
41643 if (strncmp(const_table
[j
].name
, name
,
41644 strlen(const_table
[j
].name
)) == 0) {
41645 ci
= &(const_table
[j
]);
41650 size_t shift
= (ci
->ptype
) - types
;
41651 swig_type_info
*ty
= types_initial
[shift
];
41652 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41653 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41654 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41657 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41659 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41661 strncpy(buff
, "swig_ptr: ", 10);
41663 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41664 methods
[i
].ml_doc
= ndoc
;
41676 /* -----------------------------------------------------------------------------*
41677 * Partial Init method
41678 * -----------------------------------------------------------------------------*/
41683 SWIGEXPORT
void SWIG_init(void) {
41686 /* Fix SwigMethods to carry the callback ptrs when needed */
41687 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41689 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41690 d
= PyModule_GetDict(m
);
41692 SWIG_InitializeModule(0);
41693 SWIG_InstallConstants(d
,swig_const_table
);
41696 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41697 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41698 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41699 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41700 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41701 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41702 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41703 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41704 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41705 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41706 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41707 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41708 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41709 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41710 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41711 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41712 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41713 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41714 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41715 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41716 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41717 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41718 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41719 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41720 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41721 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41722 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41723 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41724 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41725 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41726 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41727 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41728 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41729 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41730 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41731 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41732 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41733 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41734 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41735 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41736 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41737 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41738 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41739 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41740 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41741 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41742 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41743 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41744 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41745 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41746 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41747 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41748 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41749 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41750 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41751 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41752 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41753 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41754 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41755 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41756 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41757 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41758 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41759 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41760 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41761 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41762 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41763 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41764 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41765 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41766 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41767 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41768 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41769 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41770 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41771 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41772 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41773 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41774 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41775 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41776 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41777 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41778 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41779 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41780 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41781 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41782 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41783 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41784 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41785 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41786 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41787 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41788 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41789 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41790 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41791 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41792 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41793 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41794 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41795 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41796 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41797 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41798 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41799 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41800 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41801 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41802 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41803 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41804 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41805 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41806 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41807 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41808 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41809 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41810 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41811 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41812 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41813 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41814 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41815 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41816 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41817 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41818 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41819 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41820 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41821 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41822 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41823 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41824 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41825 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41826 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41827 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41829 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41831 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41832 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41833 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41834 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41835 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41836 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41837 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41838 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41839 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41840 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41841 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41842 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41843 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41844 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41845 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41846 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41847 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41848 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41849 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41850 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41851 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41852 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41853 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41854 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41855 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41856 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41857 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41858 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41859 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41860 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41861 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41862 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41863 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41864 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41865 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41866 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41867 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41868 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41869 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41870 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41871 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41872 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41873 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41874 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41875 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41876 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41877 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41878 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41879 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41880 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41881 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41882 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41883 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41884 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41885 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41886 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41887 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41888 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41889 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41890 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41891 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41892 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41893 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41894 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41895 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41896 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41897 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41898 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41899 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41900 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41901 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41902 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41903 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41904 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41905 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41906 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41907 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41908 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41909 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41910 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41911 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41912 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41913 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41914 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41915 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41916 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41917 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41918 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41919 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41920 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41921 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41922 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41923 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41924 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41925 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41926 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41927 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41928 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41929 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41930 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41931 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41932 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41933 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41934 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41935 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41936 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41937 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41938 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41939 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41940 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41941 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41942 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41943 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41944 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41945 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41946 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41947 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41948 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41949 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41950 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41951 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41952 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41953 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41954 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41955 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41956 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41957 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41958 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41959 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41960 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41961 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41962 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41963 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41964 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41965 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41966 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41967 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41968 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41969 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41970 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41971 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41972 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41973 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41974 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41975 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41976 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41977 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41978 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41979 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41980 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41981 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41982 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41983 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41984 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41985 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41986 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41987 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41988 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41989 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41990 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41991 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41992 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41993 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41994 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41995 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41996 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41997 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41998 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41999 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42000 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42001 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42002 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42003 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42004 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42005 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42006 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42007 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42008 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42009 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42010 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42011 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42012 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42013 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42014 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42015 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42016 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42017 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42018 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42019 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42020 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42021 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42022 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42023 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42024 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42025 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42026 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42027 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42028 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42029 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42030 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42031 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42032 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42033 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42034 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42035 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42036 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42037 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42038 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42039 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42040 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42041 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42042 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42043 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42044 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42045 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42046 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42047 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42048 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42049 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42050 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42051 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42052 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42053 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42054 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42055 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42056 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42057 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42058 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42059 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42060 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42061 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42062 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42063 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42064 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42065 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42066 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42067 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42068 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42069 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42070 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42071 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42072 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42073 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42074 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42075 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42076 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42077 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42078 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42079 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42080 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42081 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42082 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42083 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42084 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42085 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42086 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42087 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42088 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42089 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42090 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42091 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42092 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42093 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42094 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42095 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42096 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42097 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42098 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42099 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42100 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42101 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42102 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42103 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42104 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42105 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42106 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42107 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42108 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42109 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42110 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42111 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42112 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42113 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42114 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42115 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42116 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42117 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42118 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42119 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42120 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42121 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42122 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42123 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42124 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42125 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42126 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42127 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42128 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42129 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42130 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42131 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42132 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42133 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42134 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42135 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42136 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42137 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42138 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42139 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42140 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42141 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42142 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42143 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42144 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42145 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42146 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42147 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42148 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42149 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42150 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42151 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42152 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42153 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42154 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42156 // Work around a chicken/egg problem in drawlist.cpp
42157 wxPyDrawList_SetAPIPtr();